1import{a as me,e as he}from"./chunk-236E4HER.js";import{ma as ge}from"./chunk-DFUKPMQN.js";import"./chunk-7ELP4SZV.js";import{Ra as de,i as pe,y as _e}from"./chunk-GDCS72TQ.js";import"./chunk-SCC7ACRQ.js";import"./chunk-E64BWJFD.js";import"./chunk-CLLFYLUG.js";import"./chunk-GNMYUIWE.js";import"./chunk-FDI4RDCW.js";import"./chunk-XJEW5TDR.js";import"./chunk-W24Y3QFI.js";import"./chunk-7Z7I53LX.js";import"./chunk-B3J4M45L.js";import"./chunk-J3ZZA6JQ.js";import"./chunk-7MAOHMQL.js";import{O as ae,P as ye,Pb as ue,Q as oe,R as se,Rb as le,w as re,x as De}from"./chunk-MNGIZMQL.js";import{Aa as X,Fa as Y,Ka as Z,N as J,Oa as ee,P as we,Sa as te,Ta as ie,X as G,Z as Q,i as L,ka as K,m as Be,oa as W,t as R,x as V,y as U}from"./chunk-M7EWG22K.js";import{Bd as O,Ca as _,Da as d,Db as w,Dd as N,E as $,Ec as n,F,Fc as b,Ib as T,Jb as E,Ld as z,Nb as S,Pa as be,Rc as D,Ud as q,ec as m,fc as i,gc as r,hc as x,la as xe,lc as j,mc as H,oc as k,qc as g,sb as u,sc as l,sd as P,ta as A,xa as M}from"./chunk-LWKSSQIT.js";import{a as ce,b as Se}from"./chunk-GNET6V3H.js";import"./chunk-YFS56YF6.js";import"./chunk-V74UPKQA.js";import"./chunk-WZV4MCBN.js";import"./chunk-JDW7CRRD.js";import"./chunk-5P62Z3LP.js";import{b as ne,f as ke}from"./chunk-PLG2FR2B.js";import"./chunk-KSKAC24W.js";import"./chunk-5J5MGKDM.js";import"./chunk-6LDQVY2Z.js";import"./chunk-CANMTA5I.js";import"./chunk-2W6AMNZB.js";import"./chunk-EDDAJQLE.js";import"./chunk-LEHPC5KV.js";import"./chunk-I5RU5ILP.js";import"./chunk-MMTCPDNB.js";import"./chunk-P3NO7XK7.js";import"./chunk-UGZ4NCUX.js";import"./chunk-3CATNTMZ.js";import"./chunk-PBT2ZP43.js";import"./chunk-2LKA543C.js";import"./chunk-4PB2IVUM.js";import"./chunk-376JE37I.js";import"./chunk-JIJY6HMW.js";import"./chunk-JYHY4IRZ.js";import"./chunk-NHW5QJWD.js";import"./chunk-UNVPVZMR.js";import"./chunk-I3OFYBCA.js";import"./chunk-FKVIE2NW.js";import"./chunk-SVP5PGQS.js";import"./chunk-ZL6DIT67.js";import{k as v}from"./chunk-LTMWWKVK.js";q();we();ie();U();P();le();ke();Se();De();xe();be();se();ye();P();le();ie();Be();se();U();q();var y=s=>({active:s});function Ae(s,c){s&1&&x(0,"s-gnb-top",5)}function Ee(s,c){s&1&&x(0,"s-gnb-top",6)}function Pe(s,c){if(s&1){let a=k();i(0,"div",13)(1,"div",14)(2,"span",11),n(3,"\uC704\uCE58\uC815\uBCF4 \uC870\uD68C\uB3D9\uC758"),r(),i(4,"span",15),n(5,"\uC704\uCE58\uC815\uBCF4\uB97C \uC870\uD68C\uD558\uC5EC, \uAC00\uAE4C\uC6B4 \uB9E4\uC7A5\uC704\uCE58, \uC9C0\uB3C4\uBCF4\uAE30 \uB4F1\uC758 \uC11C\uBE44\uC2A4\uB97C \uC81C\uACF5\uD574\uB4DC\uB9BD\uB2C8\uB2E4."),r()(),i(6,"ion-toggle",16),g("ionChange",function(t){_(a);let o=l(2);return d(o.changeLocationAccept(t,"accept"))}),r()()}if(s&2){let a=l(2);u(6),m("checked",a.is_accept_location)}}function Ve(s,c){if(s&1){let a=k();i(0,"div",13)(1,"div",14)(2,"span",11),n(3,"\uC571 \uC2E4\uD589\uC2DC \uB9E4\uC7A5\uCC3E\uAE30"),r(),i(4,"span",15),n(5,"\uC571 \uC2E4\uD589\uC2DC \uB9E4\uC7A5 \uADFC\uCC98\uC5D0 \uC788\uB2E4\uBA74, \uD574\uB2F9 \uBE0C\uB79C\uB4DC \uBA54\uB274 \uBC14\uB85C\uAC00\uAE30 \uD31D\uC5C5\uC744 \uBCF4\uC5EC\uB4DC\uB9BD\uB2C8\uB2E4."),r()(),i(6,"ion-toggle",16),g("ionChange",function(t){_(a);let o=l(2);return d(o.changeLocationAccept(t,"find"))}),r()()}if(s&2){let a=l(2);u(6),m("checked",a.is_accept_location_popup)}}function Ie(s,c){if(s&1){let a=k();i(0,"button",10),g("click",function(){_(a);let t=l(2);return d(t.open_alarm_setting())}),i(1,"span",11),n(2,"\uC54C\uB9BC \uC124\uC815"),r(),i(3,"span",12),n(4,"\u203A"),r()()}}function $e(s,c){if(s&1){let a=k();i(0,"div",7),S(1,Pe,7,1,"div",8)(2,Ve,7,1,"div",8)(3,Ie,5,0,"button",9),i(4,"button",10),g("click",function(){_(a);let t=l();return d(t.go_version_info())}),i(5,"span",11),n(6,"\uBC84\uC804 \uC815\uBCF4"),r(),i(7,"span",12),n(8,"\u203A"),r()()()}if(s&2){let a=l();u(),m("ngIf",a.app.cache_service.user&&a.app.device_service.isApp()&&a.app.channel_code=="giftistar"),u(),m("ngIf",a.app.cache_service.user&&a.is_accept_location&&a.app.device_service.isApp()&&a.app.channel_code=="giftistar"),u(),m("ngIf",a.app.cache_service.user)}}function Fe(s,c){if(s&1){let a=k();i(0,"div",30)(1,"span"),n(2," \uBC84\uC804 \uBCC0\uACBD "),r(),i(3,"div",31)(4,"button",32),g("click",function(){_(a);let t=l(2);return d(t.change_branch("master"))}),n(5," master "),r(),i(6,"button",32),g("click",function(){_(a);let t=l(2);return d(t.change_branch("local"))}),n(7," local "),r(),i(8,"button",32),g("click",function(){_(a);let t=l(2);return d(t.change_branch("oper"))}),n(9," oper "),r(),i(10,"button",32),g("click",function(){_(a);let t=l(2);return d(t.change_branch("alpha"))}),n(11," alpha "),r(),i(12,"button",32),g("click",function(){_(a);let t=l(2);return d(t.change_kb_branch("kb-master"))}),n(13," kb-master "),r(),i(14,"button",32),g("click",function(){_(a);let t=l(2);return d(t.change_kb_branch("kb-oper"))}),n(15," kb-oper "),r()()()}if(s&2){let a=l(2);u(4),m("ngClass",D(6,y,a.curr_channel=="master")),u(2),m("ngClass",D(8,y,a.curr_channel=="local")),u(2),m("ngClass",D(10,y,a.curr_channel=="oper")),u(2),m("ngClass",D(12,y,a.curr_channel=="alpha")),u(2),m("ngClass",D(14,y,a.curr_channel=="master")),u(2),m("ngClass",D(16,y,a.curr_channel=="oper"))}}function Me(s,c){if(s&1){let a=k();i(0,"div",30)(1,"span"),n(2," \uD558\uB098\uC740\uD589 \uD14C\uC2A4\uD2B8 "),r(),i(3,"div",31)(4,"button",33),g("click",function(){_(a);let t=l(2);return d(t.check_loaded_scripts())}),n(5," \uC2A4\uD06C\uB9BD\uD2B8"),x(6,"br"),n(7,"\uB85C\uB4DC \uD655\uC778 "),r(),i(8,"button",34),g("click",function(){_(a);let t=l(2);return d(t.check_hana_environment())}),n(9," \uD658\uACBD"),x(10,"br"),n(11,"\uD655\uC778 "),r(),i(12,"button",35),g("click",function(){_(a);let t=l(2);return d(t.check_back_key_status())}),n(13," \uBC31\uD0A4 \uC0C1\uD0DC"),x(14,"br"),n(15,"\uD655\uC778 "),r(),i(16,"button",36),g("
1click",function(){_(a);let t=l(2);return d(t.test_back_key())}),n(17," \uBC31\uD0A4"),x(18,"br"),n(19,"\uD14C\uC2A4\uD2B8 "),r(),i(20,"button",37),g("click",function(){_(a);let t=l(2);return d(t.clear_hana_scripts())}),n(21," \uC2A4\uD06C\uB9BD\uD2B8"),x(22,"br"),n(23,"\uC815\uB9AC "),r()(),i(24,"div",38)(25,"div"),n(26,"\u2022 "),i(27,"strong"),n(28,"\uC2A4\uD06C\uB9BD\uD2B8 \uB85C\uB4DC \uD655\uC778"),r(),n(29,": \uD604\uC7AC \uB85C\uB4DC\uB41C \uD558\uB098\uC740\uD589 JS \uD30C\uC77C \uC0C1\uC138 \uD655\uC778"),r(),i(30,"div"),n(31,"\u2022 "),i(32,"strong"),n(33,"\uD658\uACBD \uD655\uC778"),r(),n(34,": \uB3C4\uBA54\uC778 \uAE30\uBC18 \uC6B4\uC601/\uC2A4\uD14C\uC774\uC9D5 \uD658\uACBD, \uB85C\uB4DC\uB41C \uC2A4\uD06C\uB9BD\uD2B8 \uD655\uC778"),r(),i(35,"div"),n(36,"\u2022 "),i(37,"strong"),n(38,"\uBC31\uD0A4 \uC0C1\uD0DC \uD655\uC778"),r(),n(39,": getBridge, HanaPartner, \uBC31\uD0A4 \uB9AC\uC2A4\uB108 \uC0C1\uD0DC"),r(),i(40,"div"),n(41,"\u2022 "),i(42,"strong"),n(43,"\uBC31\uD0A4 \uD14C\uC2A4\uD2B8"),r(),n(44,": \uBC31\uD0A4 \uC774\uBCA4\uD2B8 \uB4F1\uB85D \uBC0F \uC2DC\uBBAC\uB808\uC774\uC158"),r(),i(45,"div"),n(46,"\u2022 "),i(47,"strong"),n(48,"\uC2A4\uD06C\uB9BD\uD2B8 \uC815\uB9AC"),r(),n(49,": \uBAA8\uB4E0 \uD558\uB098\uC740\uD589 \uC2A4\uD06C\uB9BD\uD2B8\uC640 \uAD00\uB828 \uB370\uC774\uD130 \uC815\uB9AC"),r()()()}}function Te(s,c){if(s&1){let a=k();j(0),i(1,"div",17)(2,"div",18),g("click",function(){_(a);let t=l();return d(t.test_btn())}),i(3,"span",19),n(4,"\uBC84\uC804 \uC815\uBCF4"),r(),i(5,"span",20),n(6),r()(),i(7,"div",21)(8,"span",19),n(9,"\uBC14\uC774\uB108\uB9AC \uBC84\uC804"),r(),i(10,"span",20),n(11),r()(),i(12,"div",21)(13,"span",19),n(14,"\uC571 \uD50C\uB7AB\uD3FC"),r(),i(15,"span",20),n(16),r()(),i(17,"div",21)(18,"span",19),n(19,"\uC571 \uB514\uBC14\uC774\uC2A4 \uC544\uC774\uB514"),r(),i(20,"span",20),n(21),r()()(),i(22,"p",22),n(23,"\uC624\uB958 \uBB38\uC758 \uC2DC \uACE0\uAC1D\uC13C\uD130\uC5D0 \uC774 \uD654\uBA74\uC744 \uCEA1\uCC98\uD574 \uD568\uAED8 \uBCF4\uB0B4\uC8FC\uC2DC\uBA74 \uD655\uC778\uC774 \uBE68\uB77C\uC838\uC694."),r(),i(24,"div",23)(25,"div",24),g("click",function(){_(a);let t=l();return d(t.re_register_fcm())}),i(26,"span",19),n(27,"\uD478\uC2DC \uD1A0\uD070 \uC124\uC815"),r(),i(28,"span",20),n(29,"\uD1A0\uD070 \uC7AC\uB4F1\uB85D"),r()(),i(30,"div",25),g("click",function(){_(a);let t=l();return d(t.show_safearea_info())}),x(31,"ion-ripple-effect"),i(32,"div",26)(33,"span",19),n(34,"\uD654\uBA74 \uC5EC\uBC31 \uC9C4\uB2E8"),r(),i(35,"span",20),n(36,"\uC815\uBCF4 \uBCF4\uAE30"),r()(),i(37,"span",27),n(38,"\uD654\uBA74 \uC544\uB798\uCABD \uC5EC\uBC31\uC774 \uC774\uC0C1\uD558\uAC8C \uBCF4\uC77C \uB54C, \uC774 \uBC84\uD2BC\uC744 \uB20C\uB7EC \uB098\uC624\uB294 \uB0B4\uC6A9\uC744 \uCEA1\uCC98\uD574 \uBCF4\uB0B4\uC8FC\uC138\uC694."),r()(),i(39,"div",21)(40,"span",19),n(41,"\uD638\uC2A4\uD2B8"),r(),i(42,"span",20),n(43),r()(),i(44,"div",21)(45,"span",19),n(46,"API"),r(),i(47,"span",20),n(48),r()(),i(49,"div",21)(50,"span",19),n(51,"\uB514\uBC14\uC774\uC2A4"),r(),i(52,"span",20),n(53),r()(),i(54,"div",21)(55,"span",28),n(56),r()()(),S(57,Fe,16,18,"div",29)(58,Me,50,0,"div",29),H()}if(s&2){let a=l();u(6),b(a.app.package_app_version),u(5),b(a.app_version),u(5),b(a.platform),u(5),b(a.temp_user_idx),u(22),b(a.host),u(5),b(a.app.api_endpoint),u(5),b(a.device),u(3),b(a.device_more),u(),m("ngIf",a.check_allow_user),u(),m("ngIf",a.check_allow_user&&a.app.channel_code=="kebhana")}}var I=(()=>{let c=class c{constructor(e,t,o,p,h,C,B){this.app=e,this.alertController=t,this.navCtrl=o,this.modalCtrl=p,this.http=h,this.rest=C,this.route=B,this.view="main",this.is_manager=!1,this.alarm_value=!1,this.current_build_id="",this.current_version_id="",this.check_allow_user=!1,this.is_accept_location=!1,this.is_accept_location_popup=!1,this.temp_user_idx="",this.token_service=M(ae)}getFullHost(){return window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}ngOnInit(){return v(this,null,function*(){this.view=this.route.snapshot.data?.view==="version"?"version":"main";try{yield this.app.google_tag_manager_service.log_page_view(this.view==="version"?"ACCOUNT:Settings:Version":"ACCOUNT:Settings")}catch(e){console.error("Error logging page view:",e)}this.platform=`${ne.getPlatform()}`,this.host=this.getFullHost(),this.app.set_title("\uAE30\uD504\uD2F0\uC2A4\uD0C0 \uC124\uC815"),this.is_app=this.app.device_service.isApp(),this.token_service.is_login()&&(this.app.cache_service.user&&this.app.cache_service.user.role&&(this.is_tester=this.app.cache_service.user.role.role.includes("tester")),this.check_allow_user=yield this.check_allow_change_branch_user(),this.app.cache&&this.app.cache_service.user&&(this.alarm_value=this.app.cache_service.user.pu
1sh_alarm_onoff)),this.temp_user_idx=this.app.storage_service.getTempUserIdx();try{let e=yield re.getInfo();this.device=`${e.manufacturer} (${e.model})`,this.device_more=`${e.operatingSystem}, ${e.osVersion}, ${e.name?e.name:"noname"}, ${e.platform}, ${e.webViewVersion?e.webViewVersion:"noversion"}`}catch{}if(this.app.device_service.isApp()){let e=yield ce.getInfo();this.binaryVersionName=e.build,this.binaryVersionCode=e.version,this.app_version=`${this.binaryVersionCode}(${this.binaryVersionName})`}else this.app_version="browser"})}changePushAlarm(e){return v(this,null,function*(){window.console_log(e);try{if(this.app.cache_service.user&&(this.app.cache_service.user.push_alarm_onoff=e.detail.checked),this.app.user_service.isLogin()){let t={push_alarm_onoff:e.detail.checked,accept_marketing_datetime:new Date};yield this.app.db.update_user_for_client(t)}}catch(t){console.error(t)}try{e.detail.checked?this.app.google_tag_manager_service.ready_eec_data("\uC124\uC815_\uD478\uC2DC\uC54C\uB78C\uC124\uC815_\uCF1C\uAE30").send():this.app.google_tag_manager_service.ready_eec_data("\uC124\uC815_\uD478\uC2DC\uC54C\uB78C\uC124\uC815_\uB044\uAE30").send()}catch{}})}re_register_fcm(){this.app.navigation_service.go("device-info")}open_alarm_setting(){this.app.service.openModal(pe,{},()=>{})}go_version_info(){this.app.navigation_service.go("setting/version")}show_safearea_info(){return v(this,null,function*(){try{let e=yield me();this.app.ctrl.alert(he(e))}catch(e){this.app.ctrl.alert(`\uC9C4\uB2E8 \uC2E4\uD328: ${e}`)}})}check_allow_change_branch_user(){return v(this,null,function*(){if(!this.app.cache_service.user)return!1;try{return(yield this.app.db.select_allow_branch_user_list()).includes(this.app.cache_service.user.user_idx)}catch{return!1}})}change_branch(e){return v(this,null,function*(){if(!this.app.device_service.isApp()){alert("\uC571\uC5D0\uC11C\uB9CC \uAC00\uB2A5\uD569\uB2C8\uB2E4.");return}if(!this.check_allow_change_branch_user()){this.app.ctrl.alert("\uC798\uBABB\uB41C \uC811\uADFC\uC785\uB2C8\uB2E4.");return}this.app.ctrl.alertConfirm(`${e} \uB85C \uBCC0\uACBD\uD569\uB2C8\uB2E4.`,()=>this.branch_switch(e),()=>{})})}change_kb_branch(e){return v(this,null,function*(){if(!this.check_allow_change_branch_user()){this.app.ctrl.alert("\uC798\uBABB\uB41C \uC811\uADFC\uC785\uB2C8\uB2E4.");return}this.app.ctrl.alertConfirm(`${e} \uB85C \uBCC0\uACBD\uD569\uB2C8\uB2E4.`,()=>this.branch_switch(e),()=>{})})}branch_switch(e){let t;e==="oper"?t="https://portal.giftistar.net":e==="master"?t="https://dev-user.giftistar.org":e==="beta"?t="https://portal-beta.giftistar.net":e==="local"?t="http://localhost":e==="alpha"?t="https://portal-alpha.giftistar.net":e==="kb-oper"?t="https://kbstar.giftistar.net/landing/kbstar?a=kb1&pass=8b3e361547123a0a2d343ebdb28eb4a71fcb81586882a90a2704cbd471711f90":e==="kb-master"&&(t="https://dev-kbstar.giftistar.org/landing/kbstar?a=kb5&pass=cf47ff99a603c3d563a77912a3097a73104d3115f86d17f29bc3fd2d651c75ca"),window.location.replace(t)}change_location(e){return v(this,null,function*(){this.app.storage_service.setValue("test_location_distance",e);try{this.app.google_tag_manager_service.ready_eec_data("\uC124\uC815_\uD14C\uC2A4\uD2B8\uC704\uCE58\uC815\uBCF4\uAC70\uB9AC").send()}catch{}})}changeLocationAccept(e,t){return v(this,null,function*(){t=="accept"?(this.is_accept_location=e.detail.checked,this.is_accept_location||this.app.storage_service.setValue("accept_location_popup",e.detail.checked),yield this.app.db.upsert_user_extend({user_idx:this.app.cache_service.user.user_idx,is_accept_location:e.detail.checked?1:0})):t=="find"&&this.app.storage_service.setValue("accept_location_popup",e.detail.checked);try{e.detail.checked?this.app.google_tag_manager_service.ready_eec_data("\uC124\uC815_\uC704\uCE58\uC815\uBCF4_\uC870\uD68C\uB3D9\uC758_\uCF1C\uAE30",{location_type:t}).send():this.app.google_tag_manager_service.ready_eec_data("\uC124\uC815_\uC704\uCE58\uC815\uBCF4_\uC870\uD68C\uB3D9\uC758_\uB044\uAE30",{location_type:t}).send()}catch{}})}test_btn(){return v(this,null,function*(){try{let t=yield $(this.http.get("https://api.giftistar.net",{responseType:"text"}).pipe(F(2e4)));return this.rest.postJandiToError({body:"\uD14C\uC2A4\uD2B8 \uBC84\uD2BC \uD638\uCD9C \uC131\uACF5",connectColor:"#FAC11B",connectInfo:[{title:"\uD14C\uC2A4\uD2B8 \uBC84\uD2BC \uD638\uCD9C",description:t}]}),t}catch(e){throw console.error("\uD638\uCD9C \uC2E4\uD328",e),e}})}check_loaded_scripts(){if(!this.check_allow_change_branch_user()){this.app.ctrl.alert("\uC798\uBABB\uB41C \uC811\uADFC\uC785\uB2C8\uB2E4.");return}let e=window,o=new URLSearchParams(window.location.search).get("auth_mode")||sessionStorage.getItem("hana_auth_mode"),p=location.hostname.includes("kebhana.giftistar.net"),h=this.get_detailed_script_info(),C="";o==="new"?C=p?`\u2022 bridge.js (oqf.hanabank.com) 2\u2022 partner.js (oqf.hanabank.com)`:`\u2022 bridge.js (stg11-oqf.hanabank.com) 3\u2022 partner.js (stg11-oqf.hanabank.com)`:C=p?`\u2022 miaps_hybrid.js (mbp.hanabank.com) 4\u2022 pbk_mbp_partner.js (mbp.hanabank.com)`:`\u2022 miaps_hybrid.js (dev
412-mbp.hanabank.com) 5\u2022 pbk_mbp_partner.js (dev12-mbp.hanabank.com)`;let B=` 6\u{1F4DC} \uB85C\uB4DC\uB41C \uC2A4\uD06C\uB9BD\uD2B8 \uC0C1\uC138 \uC815\uBCF4 7 8\u{1F527} \uC778\uC99D \uBAA8\uB4DC: ${o||"\uC5C6\uC74C (legacy auth)"} 9\u{1F310} \uD658\uACBD: ${p?"\u{1F534} \uC6B4\uC601":"\u{1F7E1} \uAC1C\uBC1C"} 10 11\u{1F4CB} \uC608\uC0C1 \uC2A4\uD06C\uB9BD\uD2B8: 12${C} 13 14\u{1F4E6} \uC2E4\uC81C \uB85C\uB4DC\uB41C \uC2A4\uD06C\uB9BD\uD2B8: 15${h.length>0?h.join(` 16`):"\u274C \uB85C\uB4DC\uB41C \uD558\uB098\uC740\uD589 \uC2A4\uD06C\uB9BD\uD2B8 \uC5C6\uC74C"} 17 18\u{1F50D} \uC804\uC5ED \uAC1D\uCCB4 \uC0C1\uD0DC: 19\u2022 HanaPartner: ${typeof e.HanaPartner<"u"?"\u2705 \uC874\uC7AC":"\u274C \uC5C6\uC74C"} 20\u2022 getBridge: ${typeof e.getBridge=="function"?"\u2705 \uC874\uC7AC":"\u274C \uC5C6\uC74C"} 21\u2022 MiAPS: ${typeof e.MiAPS<"u"?"\u2705 \uC874\uC7AC":"\u274C \uC5C6\uC74C"} 22 `;this.app.ctrl.alert(B.trim())}check_hana_environment(){if(!this.check_allow_change_branch_user()){this.app.ctrl.alert("\uC798\uBABB\uB41C \uC811\uADFC\uC785\uB2C8\uB2E4.");return}let e=window,t=location.hostname.includes("kebhana.giftistar.net"),o=sessionStorage.getItem("hana_auth_mode"),p=this.get_loaded_hana_scripts(),h=typeof e.getBridge=="function",C=!1;try{if(h){let f=e.getBridge();C=f&&typeof f.on=="function"}}catch{}let B=` 23\u{1F3E6} \uD558\uB098\uC740\uD589 \uD658\uACBD \uC815\uBCF4 24 25\u{1F4CD} \uD604\uC7AC \uD658\uACBD: 26\u2022 \uB3C4\uBA54\uC778: ${location.hostname} 27\u2022 \uD658\uACBD \uD310\uBCC4: ${t?"\u{1F534} \uC6B4\uC601":"\u{1F7E1} \uAC1C\uBC1C/\uC2A4\uD14C\uC774\uC9D5"} 28\u2022 auth_mode: ${o||"\uC5C6\uC74C"} 29 30\u{1F4DC} \uB85C\uB4DC\uB41C \uC2A4\uD06C\uB9BD\uD2B8: 31${p.length>0?p.map((f,ve)=>`${ve+1}. ${f}`).join(` 32`):"\u274C \uB85C\uB4DC\uB41C \uC2A4\uD06C\uB9BD\uD2B8 \uC5C6\uC74C"} 33 34\u{1F527} Bridge \uC0C1\uD0DC: 35\u2022 getBridge \uD568\uC218: ${h?"\u2705":"\u274C"} 36\u2022 bridge.on \uBA54\uC11C\uB4DC: ${C?"\u2705":"\u274C"} 37\u2022 HanaPartner \uAC1D\uCCB4: ${typeof e.HanaPartner=="object"?"\u2705":"\u274C"} 38 39\u{1F4CB} \uBC31\uD0A4 \uB9AC\uC2A4\uB108: 40\u2022 remove_back_button_listener: ${typeof e.remove_back_button_listener=="function"?"\u2705 \uB4F1\uB85D\uB428":"\u274C \uC5C6\uC74C"} 41 `;this.app.ctrl.alert(B.trim())}check_back_key_status(){if(!this.check_allow_change_branch_user()){this.app.ctrl.alert("\uC798\uBABB\uB41C \uC811\uADFC\uC785\uB2C8\uB2E4.");return}let e=window,t=this.get_back_key_info(),o=` 42\u{1F50D} \uBC31\uD0A4 \uC0C1\uD0DC \uD655\uC778 43 44\u{1F4F1} \uD658\uACBD: 45\u2022 \uD50C\uB7AB\uD3FC: ${this.app.device_service.getPlatform()} 46\u2022 \uCC44\uB110\uCF54\uB4DC: ${this.app.channel_code} 47\u2022 \uD604\uC7AC Route: ${t.current_route} 48 49\u{1F527} Bridge \uC0C1\uD0DC: 50\u2022 getBridge: ${t.get_bridge_exists?"\u2705":"\u274C"} 51\u2022 bridge.on: ${t.has_on_method?"\u2705":"\u274C"} 52\u2022 \uBC31\uD0A4 \uB9AC\uC2A4\uB108: ${t.remove_listener_exists?"\u2705 \uB4F1\uB85D\uB428":"\u274C \uC5C6\uC74C"} 53 54\u{1F3E6} HanaPartner: 55\u2022 \uAC1D\uCCB4 \uC874\uC7AC: ${t.hana_partner_exists?"\u2705":"\u274C"} 56\u2022 closePartnerPopup: ${t.has_close_popup?"\u2705":"\u274C"} 57\u2022 goMain: ${t.has_go_main?"\u2705":"\u274C"} 58 `;this.app.ctrl.alert(o.trim())}test_back_key(){if(!this.check_allow_change_branch_user()){this.app.ctrl.alert("\uC798\uBABB\uB41C \uC811\uADFC\uC785\uB2C8\uB2E4.");return}let e=window,t=[];if(typeof e.getBridge=="function")try{let o=e.getBridge();if(o&&typeof o.on=="function"){t.push("\u2705 getBridge().on() \uC0AC\uC6A9 \uAC00\uB2A5");let p=()=>{this.app.ctrl.alert("\u2705 \uBC31\uD0A4 \uC774\uBCA4\uD2B8 \uC218\uC2E0\uB428!")},h=o.on("Navigate","back",p);h&&(t.push("\u2705 \uBC31\uD0A4 \uC774\uBCA4\uD2B8 \uB4F1\uB85D \uC131\uACF5"),h())}else t.push("\u274C bridge.on \uBA54\uC11C\uB4DC \uC5C6\uC74C")}catch(o){t.push(`\u274C Bridge \uD14C\uC2A4\uD2B8 \uC2E4\uD328: ${o.message}`)}else t.push("\u274C getBridge \uD568\uC218 \uC5C6\uC74C");e.HanaPartner?(t.push("\u2705 HanaPartner \uAC1D\uCCB4 \uC874\uC7AC"),typeof e.HanaPartner.closePartnerPopup=="function"&&t.push("\u2705 closePartnerPopup \uBA54\uC11C\uB4DC \uC874\uC7AC")):t.push("\u274C HanaPartner \uAC1D\uCCB4 \uC5C6\uC74C"),typeof e.remove_back_button_listener=="function"?t.push("\u2705 \uBC31\uD0A4 \uB9AC\uC2A4\uB108 \uB4F1\uB85D\uB428"):t.push("\u26A0\uFE0F \uBC31\uD0A4 \uB9AC\uC2A4\uB108 \uBBF8\uB4F1\uB85D"),this.app.ctrl.alertConfirm(`\uBC31\uD0A4 \uD14C\uC2A4\uD2B8 \uACB0\uACFC: 59 60${t.join(` 61`)} 62 63\uBC31\uD0A4 \uC2DC\uBBAC\uB808\uC774\uC158\uC744 \uC2E4\uD589\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?`,()=>{this.simulate_back_key()},()=>{})}simulate_back_key(){let e=window;try{if(typeof e.getBridge=="function"){let t=e.getBridge();if(t&&typeof t.on=="function"){let o=()=>{this.app.ctrl.alert(`\u2705 \uBC31\uD0A4 \uC774\uBCA4\uD2B8 \uD578\uB4E4\uB7EC \uB3D9\uC791 \uD655\uC778! 64 65\uC2E4\uC81C \uBC31\uD0A4\uB294 \uD558\uB098\uC6D0\uD050 \uC571\uC5D0\uC11C \uC804\uB2EC\uB429\uB2C8\uB2E4.`)},p=t.on("Navigate","back",o);setTimeout(()=>{this.app.ctrl.alert(`\u{1F4CD} \uBC31\uD0A4 \uD14C\uC2A4\uD2B8 \uC644\uB8CC 66 67\uC2E4\uC81C \uB124\uC774\uD2F0\uBE0C \uBC31\uD0A4\uB294 \uD558\uB098\uC6D0\uD050 \uC571\uC5D0\uC11C \uC804\uB2EC\uD574\uC57C \uD569\uB2C8\uB2E4.`),p&&p()},100);return}}this.app.ctrl.alert(`\u{1F4CD} getBridge \uC5C6\uC74C 68 69history.back()\uC73C\uB85C \uD14C\uC2A4\uD2B8\uD569\uB2C8\uB2E4.`),window.history.back()}catch(t){this.app.ctrl.alert(`\u274C \uBC31\uD0A4 \uC2DC\uBBAC\uB808\uC774\uC158 \uC2E4\uD328: ${t.message}`)}}clear_hana_scripts(){if(!this.check_allow_change_branch_user()){this.app.ctrl.alert("\uC798\uBABB\uB41C \uC811\uADFC\uC785\uB2C8\uB2E4.");return}this.app.ctrl.alertConfirm("\uBAA8\uB4E0 \uD558\uB098\uC740\uD589 \uC2A4\uD06C\uB9BD\uD2B8\uC640 \uAD00\uB828 \uB370\uC774\uD130\uB97C \uC815\uB9AC\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",()=>{let e=window,t=0;document.querySelectorAll('script[src*="hanabank.com"]').forEach(o=>{o.remove(),t++}),sessionStorage.removeItem("hana_auth_mode");try{delete e.getBridge,delete e.HanaPartner,delete e.remove_back_button_listener}catch{}this.app.ctrl.alert(`\u2705 \uC815\uB9AC \uC644\uB8CC 70 71\u2022 \uC81C\uAC70\uB41C \uC2A4\uD06C\uB9BD\uD2B8: ${t}\uAC1C 72\u2022 sessionStorage \uC815\uB9AC\uB428`)},()=>{})}get_detailed_script_info(){let e=[];return document.querySelectorAll('script[src*="hanabank.com"]').forEach(t=>{let o=t.getAttribute("src");if(o){let p=o.match(/https?:\/\/([^\/]+)/),h=p?p[1]:"unknown",C=o.split("/").pop()||"unknown",B="\u{1F534}";(o.includes("dev12-mbp")||o.includes("stg11-oqf")||o.includes("stg12-mbp"))&&(B="\u{1F7E1}");let f="";C.includes("miaps_hybrid")?f="[MiAPS]":C.includes("pbk_mbp_partner")?f="[Partner-Legacy]":C==="bridge.js"?f="[Bridge-New]":C==="partner.js"&&(f="[Partner-New]"),e.push(`${B} ${f} ${C}`),e.push(` \u2514\u2500 ${h}`)}}),e}get_loaded_hana_scripts(){let e=[];return document.querySelectorAll('script[src*="hanabank.com"]').forEach(t=>{let o=t.getAttribute("src");if(o){let p=o.includes("stg11-oqf"),h=o.split("/").pop()||"unknown";e.push(`${p?"\u{1F7E1}":"\u{1F534}"} ${h}`)}}),e}get_back_key_info(){let e=window,t=!1,o=!1;try{if(t=typeof e.getBridge=="function",t){let p=e.getBridge();o=p&&typeof p.on=="function"}}catch{}return{current_route:this.get_current_route(),get_bridge_exists:t,has_on_method:o,remove_listener_exists:typeof e.remove_back_button_listener=="function",hana_partner_exists:typeof e.HanaPartner=="object",has_close_popup:e.HanaPartner&&typeof e.HanaPartner.closePartnerPopup=="function",has_go_main:e.HanaPartner&&typeof e.HanaPartner.goMain=="function"}}get_current_route(){let e=location.hash;if(e&&e.length>1){let t=e.substring(1).split("/");return t[1]||t[0]||"home"}return location.pathname.substring(1)||"home"}};c.\u0275fac=function(t){return new(t||c)(w(ue),w(Z),w(G),w(ee),w(L),w(oe),w(R))},c.\u0275cmp=T({type:c,selectors:[["app-setting"]],standalone:!1,decls:6,vars:4,consts:[["backButton","true","backHref","profile","class","giftistar","title","\uC571 \uC124\uC815","title_class","gnb-title-strong",4,"ngIf"],["backButton","true","backHref","setting","class","giftistar","title","\uBC84\uC804 \uC815\uBCF4","title_class","gnb-title-strong",4,"ngIf"],[1,"setting-content"],["class","setting-menu",4,"ngIf"],[4,"ngIf"],["backButton","true","backHref","profile","title","\uC571 \uC124\uC815","title_class","gnb-title-strong",1,"giftistar"],["backButton","true","backHref","setting","title","\uBC84\uC804 \uC815\uBCF4","title_class","gnb-title-strong",1,"giftistar"],[1,"setting-menu"],["class","setting-menu-row",4,"ngIf"],["class","setting-menu-row link","type","button",3,"click",4,"ngIf"],["type","button",1,"setting-menu-row","link",3,"click"],[1,"setting-menu-title"],[1,"setting-menu-arrow"],[1,"setting-menu-row"],[1,"setting-menu-text"],[1,"setting-menu-desc"],[3,"ionChange","checked"],[1,"version-list"],[1,"version-row",3,"click"],[1,"version-label"],[1,"version-value"],[1,"version-row"],[1,"version-guide"],[1,"version-list","diagnostics"],[1,"version-row","clickable",3,"click"],[1,"version-row","clickable","column","ion-activatable",3,"click"],[1,"version-row-line"],[1,"version-desc"],[1,"version-value","full"],["class","menu-item",4,"ngIf"],[1,"menu-item"],[1,"appflow-change-btns"],[2,"width","100px","height","60px","margin-right","15px",3,"click","ngClass"],[2,"width","100px","height","60px","margin-right","10px","background-color","#28a745","color","white","font-size","11px",3,"click"],[2,"width","100px","height","60px","margin-right","10px","background-color","#007bff","color","white","font-size","11px",3,"click"],[2,"width","100px","height","60px","margin-right","10px","background-color","#17a2b8","color","white","font-size","11px",3,"click"],[2,"width","100px","height","60px","margin-right","10px","background-color","#6610f2","color","white","font-size","11px",3,"click"],[2,"width","100px","height","60px","margin-right","10px","background-color","#6c757d","color","white","font-size","11px",3,"click"],[2,"margin-top","10px","font-size","11px","color","#666","line-height","1.3"]],template:function(t,o){t&1&&(i(0,"ion-header"),S(1,Ae,1,0,"s-gnb-top",0)(2,Ee,1,0,"s-gnb-top",1),r(),i(3,"ion-content",2),S(4,$e,9,3,"div",3)(5,Te,59,10,"ng-container",4),r()),t&2&&(u(),m("ngIf",o.view==="main"),u(),m("ngIf",o.view==="version"),u(2),m("ngIf",o.view==="main"),u(),m("ngIf",o.view==="version"))},dependencies:[O,N,K,W,X,Y,Q,_e],styles:[`.setting-content[_ngcontent-%COMP%]{--background: #fff}.setting-menu[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:7px 19px 19px}.setting-menu-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;margin:0;padding:17px 0;border:0;border-bottom:1px solid #f0f2f4;background:none;font-family:inherit;text-align:left}.setting-menu-row[_ngcontent-%COMP%]:last-child{border-bottom:0}.setting-menu-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:0}.setting-menu-title[_ngcontent-%COMP%]{font-size:17px;font-weight:700;line-height:1.2;color:#222}.setting-menu-desc[_ngcontent-%COMP%]{margin-top:5px;font-size:13px;line-height:1.4;color:#859198}.setting-menu-arrow[_ngcontent-%COMP%]{flex-shrink:0;font-size:16px;line-height:1;color:#859198}.version-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:7px 19px 19px}.version-list.diagnostics[_ngcontent-%COMP%]{padding-top:29px}.version-row[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 0;border-top:1px solid #f0f2f4;overflow:hidden}.version-row.clickable[_ngcontent-%COMP%]{cursor:pointer}.version-row.column[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;gap:7px}.version-row-line[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:14px}.version-label[_ngcontent-%COMP%]{flex-shrink:0;font-size:16px;font-weight:700;line-height:1.2;color:#222}.version-value[_ngcontent-%COMP%]{min-width:0;font-size:14px;line-height:1.2;text-align:right;color:#859198;overflow-wrap:anywhere}.version-value.full[_ngcontent-%COMP%]{width:100%}.version-desc[_ngcontent-%COMP%]{font-size:13px;line-height:1.5;color:#859198}.version-guide[_ngcontent-%COMP%]{margin:0;padding:14px 19px 0;font-size:13px;line-height:1.6;color:#859198} 73/*# sourceMappingURL=setting.page-6QGBT2VP.css.map */`]});let s=c;return s})();P();var je=[{path:"",component:I},{path:"version",component:I,data:{view:"version"}}],fe=(()=>{let c=class c{};c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=E({type:c}),c.\u0275inj=A({imports:[V.forChild(je),V]});let s=c;return s})();P();var ft=(()=>{let c=class c{};c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=E({type:c}),c.\u0275inj=A({imports:[z,J,te,fe,ge,de]});let s=c;return s})();export{ft as SettingPageModule}; 74//# sourceMappingURL=setting.module-RHP3CXTP.js.map
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.