(this["webpackJsonpchuo-licolla-ls-client"]=this["webpackJsonpchuo-licolla-ls-client"]||[]).push([[6],{20:function(t,e,n){"use strict";var r=n(171),o={licolla_account:{URL:"http://localhost:8080/licolla_account/api/v1",AUTH_URL:"http://localhost:8080/licolla_account/api/v1",ACCOUNT_LOGIN_URL:"http://localhost:8080/licolla_account/api/v1/authorize",ACCOUNT_LOGOUT_URL:"http://localhost:8080/licolla_account/api/v1/logout",CLIENT_ID:"P0tNCrdvAmHrnw6o",LOGIN_REDIRECT_URL:"http://localhost:4000/home",LOGOUT_REDIRECT_URL:"http://localhost:4000/",SIGN_CAMPAIGN_CLIENT_ID:"slfv9wcsXqfLdIVT"},licolla_ls:{URL:"http://localhost:9080/licolla_ls/api/v1",AUTH_URL:"http://localhost:9080/licolla_ls/api/v1",POINT_URL:"https://dev.point.licolla.jp/redirect?r=",POINT_MYPAGE_URL:"https://dev.point.licolla.jp/",POINT_UTM_URL:"https://dev.point.licolla.jp/?utm_source=licolla&utm_medium=banner&utm_campaign=top&utm_content=mypage",POINT_RELEASE_CAMPAIGN_URL:"https://dev.point.licolla.jp/lp/release-campaign",TERMS_URL:"https://support.dev.licolla.jp/account_terms",LICOLLA_POINT_TERMS_URL:"https://support.dev.licolla.jp/licolla_point_terms",INQUIRY_URL:"https://rezil.co.jp/contact/",FAQ_URL:"https://denki.dev.licolla.jp/faq",S3_IMAGE_BUCKET:"https://files.dev.licolla.jp"},licolla_denki:{URL:"http://localhost:9081/licolla_denki/api/v1",AUTH_URL:"http://localhost:9081/licolla_denki/api/v1",USAGELIST_URL:"http://localhost:4001/usagelist"},rise_portal:{USAGELIST_URL:"http://localhost:4003/usagelist"},inspection_portal:{EXECUTION_URL:"http://localhost:4002/execution"},cookies:{domain:"",name:"ticket"},isEnablePoint:!0,gtm_id:"GTM-TS65469",point_setsuden2022_url:"https://dev.point.licolla.jp/setsuden2022",setsuden2022_corporation_params:{submitURL:"https://webto.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8",keys:{orgid:"orgid",retURL:"retURL",external:"external",recordType:"recordType",subject:"subject",suppliedCompany:"company",spid:"00N2v00000Y8VXM",contractNumber:"00N7F00000ROdR7",email:"email",phone:"phone",name:"name"},vals:{orgid:"00D7F000004dUnz",retURL:"https://www.stg.licolla.jp/setsuden2022_entry_completed",external:"1",recordType:"0122v000001eBbq",subject:"\u7bc0\u96fb\u30d7\u30ed\u30b0\u30e9\u30e02022\uff08\u6cd5\u4eba\uff09"}}},a=o;a={licolla_account:{URL:"https://api.account.licolla.jp/api/v1",AUTH_URL:"https://api.account.licolla.jp/auth/api/v1",ACCOUNT_LOGIN_URL:"https://api.account.licolla.jp/api/v1/authorize",ACCOUNT_LOGOUT_URL:"https://api.account.licolla.jp/api/v1/logout",CLIENT_ID:"ChuoClientID01",LOGIN_REDIRECT_URL:"https://www.licolla.jp/home",LOGOUT_REDIRECT_URL:"https://www.licolla.jp/",SIGN_CAMPAIGN_CLIENT_ID:"ChuoClientID91"},licolla_ls:{URL:"https://api.ls.licolla.jp/api/v1",AUTH_URL:"https://api.ls.licolla.jp/auth/api/v1",POINT_URL:"https://point.licolla.jp/redirect?r=",POINT_MYPAGE_URL:"https://point.licolla.jp/",POINT_UTM_URL:"https://point.licolla.jp/?utm_source=licolla&utm_medium=banner&utm_campaign=top&utm_content=mypage",POINT_RELEASE_CAMPAIGN_URL:"https://point.licolla.jp/lp/release-campaign",TERMS_URL:"https://support.licolla.jp/account_terms",LICOLLA_POINT_TERMS_URL:"https://support.licolla.jp/licolla_point_terms",INQUIRY_URL:"https://rezil.co.jp/contact/",FAQ_URL:"https://denki.licolla.jp/faq",S3_IMAGE_BUCKET:"https://files.licolla.jp"},licolla_denki:{URL:"https://api.denki.licolla.jp/api/v1",AUTH_URL:"https://api.denki.licolla.jp/auth/api/v1",USAGELIST_URL:"https://denki.licolla.jp/usagelist"},rise_portal:{USAGELIST_URL:"https://denryoku.licolla.jp/usagelist"},inspection_portal:{EXECUTION_URL:"https://hoan.licolla.jp/execution"},cookies:{domain:"licolla.jp",name:"ticket"},isEnablePoint:!0,gtm_id:"GTM-TS65469",point_setsuden2022_url:"https://point.licolla.jp/setsuden2022",setsuden2022_corporation_params:{submitURL:"https://webto.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8",keys:{orgid:"orgid",retURL:"retURL",external:"external",recordType:"recordType",subject:"subject",suppliedCompany:"company",spid:"00N2v00000Y8VXM",contractNumber:"00N7F00000ROdR7",email:"email",phone:"phone",name:"name"},vals:{orgid:"00D7F000004dUnz",retURL:"https://www.licolla.jp/setsuden2022_entry_completed",external:"1",recordType:"0122v000001eBbq",subject:"\u7bc0\u96fb\u30d7\u30ed\u30b0\u30e9\u30e02022\uff08\u6cd5\u4eba\uff09"}}},e.a=Object(r.a)({MAX_ATTACHMENT_SIZE:5e6},a)},264:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(35),o=n(36),a=n(37),i=n(38),c=n(1),u=n.n(c),s=(n(528),function(t){Object(a.a)(n,t);var e=Object(i.a)(n);function n(){return Object(r.a)(this,n),e.apply(this,arguments)}return Object(o.a)(n,[{key:"render",value:function(){return this.props.isActive?u.a.createElement("div",{className:"loading-box"},u.a.createElement("div",{className:"progress"},u.a.createElement("div",{className:"indeterminate"}))):null}}]),n}(u.a.Component))},269:function(t,e,n){t.exports=n(533)},3:function(t,e,n){"use strict";n.d(e,"j",(function(){return d})),n.d(e,"h",(function(){return m})),n.d(e,"i",(function(){return v})),n.d(e,"n",(function(){return g})),n.d(e,"g",(function(){return y})),n.d(e,"l",(function(){return b})),n.d(e,"k",(function(){return _})),n.d(e,"a",(function(){return w})),n.d(e,"b",(function(){return L})),n.d(e,"c",(function(){return O})),n.d(e,"m",(function(){return E})),n.d(e,"p",(function(){return j})),n.d(e,"e",(function(){return x})),n.d(e,"o",(function(){return k})),n.d(e,"d",(function(){return T})),n.d(e,"E",(function(){return I})),n.d(e,"D",(function(){return S})),n.d(e,"F",(function(){return U})),n.d(e,"G",(function(){return C})),n.d(e,"z",(function(){return N})),n.d(e,"A",(function(){return A})),n.d(e,"B",(function(){return R})),n.d(e,"C",(function(){return P})),n.d(e,"y",(function(){return G})),n.d(e,"t",(function(){return M})),n.d(e,"r",(function(){return F})),n.d(e,"v",(function(){return z})),n.d(e,"s",(function(){return H})),n.d(e,"x",(function(){return B})),n.d(e,"w",(function(){return Y})),n.d(e,"f",(function(){return q})),n.d(e,"u",(function(){return $})),n.d(e,"q",(function(){return Z}));var r=n(57),o=n(52),a=n.n(o),i=n(20),c=(n(167),n(127)),u=n.n(c),s=(n(522),n(128)),l=n.n(s),p=n(267),h=n.n(p);function f(){f=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),c=new S(r||[]);return o(i,"_invoke",{value:x(t,n,c)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",d="executing",m="completed",v={};function g(){}function y(){}function b(){}var _={};s(_,i,(function(){return this}));var w=Object.getPrototypeOf,L=w&&w(w(U([])));L&&L!==n&&r.call(L,i)&&(_=L);var O=b.prototype=g.prototype=Object.create(_);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function n(o,a,i,c){var u=p(t[o],t,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(l).then((function(t){s.value=t,i(s)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}var a;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return a=a?a.then(o,o):o()}})}function x(e,n,r){var o=h;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(r.method=a,r.arg=i;;){var c=r.delegate;if(c){var u=k(c,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=p(e,n,r);if("normal"===s.type){if(o=r.done?m:"suspendedYield",s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=m,r.method="throw",r.arg=s.arg)}}}function k(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var a=p(o,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function U(e){if(e||""===e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=b,o(O,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=s(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},E(j.prototype),s(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new j(l(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},E(O),s(O,u,"Generator"),s(O,i,(function(){return this})),s(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=U,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),I(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:U(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}var d="licolla_ls",m="licolla_account",v="licolla_denki",g="rise_portal",y="inspection_portal";function b(t,e,n){var r="".concat(i.a[t].URL).concat(e);return new Promise((function(t,e){a.a.post(r,n,{headers:{"Cache-Control":"no-cache"}}).then((function(e){t(e.data)})).catch((function(t){e(t)}))}))}function _(t,e,n){(n=n||{}).t=Date.now();var r="".concat(i.a[t].URL).concat(e);return new Promise((function(t,e){a.a.get(r,{params:n,headers:{"Cache-Control":"no-cache"}}).then((function(e){t(e.data)})).catch((function(t){e(t)}))}))}function w(t,e,n){(n=n||{}).t=Date.now();var r="".concat(i.a[t].AUTH_URL).concat(e),o=x("accessToken");return new Promise((function(t,e){a.a.get(r,{withCredentials:!0,headers:{Authorization:"Bearer ".concat(o),"Cache-Control":"no-cache"},params:n}).then((function(e){t(e.data)})).catch((function(t){e(t)}))}))}function L(t,e,n){var r="".concat(i.a[t].AUTH_URL).concat(e),o=x("accessToken");return new Promise((function(t,e){a.a.post(r,n,{withCredentials:!0,headers:{Authorization:"Bearer ".concat(o),"Cache-Control":"no-cache"}}).then((function(e){t(e.data)})).catch((function(t){e(t)}))}))}function O(t,e,n){var r="".concat(i.a[t].AUTH_URL).concat(e),o=x("accessToken");return new Promise((function(t,e){a.a.put(r,n,{withCredentials:!0,headers:{Authorization:"Bearer ".concat(o),"Cache-Control":"no-cache"}}).then((function(e){t(e.data)})).catch((function(t){e(t)}))}))}function E(t,e,n,r){var o="".concat(i.a[t].URL).concat(e);return new Promise((function(t,e){a.a.post(o,r,{headers:{Authorization:"Basic ".concat(n),"Cache-Control":"no-cache"}}).then((function(e){t(e.data)})).catch((function(t){e(t)}))}))}function j(t,e){localStorage.setItem("LICOLLA_LS_GLOBAL_"+t,e)}function x(t){return localStorage.getItem("LICOLLA_LS_GLOBAL_"+t)}function k(t){return localStorage.removeItem("LICOLLA_LS_GLOBAL_"+t)}function T(t){return h.a.get(t)}function I(t){try{var e=u.a.PhoneNumberUtil.getInstance(),n=e.parse(t,"JP");if(e.isValidNumber(n))return!0}catch(r){}return!1}function S(t){return!/^s*$/.test(t)}function U(t){return/^[^\x20-\x7e]*$/.test(t)}function C(t){return/^[\u30a2-\u30f3\u309b\u309c\u30a1-\u30a9\u30e3-\u30e7\u30fc\u300c\u300d\u3001\u3000]+$/.test(t)}function N(t){return/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)}function A(t){return/^[!-~]+$/.test(t)}function R(t){return/^(?=.*?[A-Za-z])(?=.*?\d)[!-~]+$/.test(t)}function P(t){return/^[0-9]+$/.test(t)}function G(t){return l()(t,"YYYY/MM/DD").isValid()}function M(t){var e=u.a.PhoneNumberFormat,n=u.a.PhoneNumberUtil.getInstance(),r=n.parse(t,"JP");return n.isValidNumber(r)?n.format(r,e.NATIONAL):"INVALID"}function F(t){return D.apply(this,arguments)}function D(){return(D=Object(r.a)(f().mark((function t(e){return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!("clipboard"in navigator)){t.next=6;break}return t.next=3,navigator.clipboard.writeText(e);case 3:return t.abrupt("return",t.sent);case 6:return t.abrupt("return",document.execCommand("copy",!0,e));case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function z(t,e,n,r,o,a,i){if(1===a){var c="";if(i)switch(e){case"BANNER":c="/banner"}else switch(e){case"BANNER":c="/bannerlist"}c=c+"/"+n,"_self"===o?t.push(c):"_blank"===o&&(window.open().location=c)}else 0===a&&("_self"===o?window.location=r:"_blank"===o&&(window.open().location=r))}function H(t,e){t.target.onerror=null;var n="/img/defaut_coupon_o.png";"PHONE_CALL"===e?n="/img/defaut_coupon_b.png":"SHOW_COUPON"===e?n="/img/defaut_coupon_g.png":"SCAN_BARCODE"===e?n="/img/defaut_coupon_p.png":"COUPON_CATEGORY"===e&&(n="/img/default_coupon_category.jpg"),t.target.src=n}function B(t){return Number(t.replace(/,/g,""))}function Y(t){if(t){var e=document.getElementById(t);e&&e.scrollIntoView({block:"center",behavior:"smooth"})}}function q(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),n=window.location.search.substr(1).match(e);return null!=n?n[2]:null}function $(t){var e;do{e=Math.floor(Math.random()*Math.pow(10,t))}while(e<Math.pow(10,t-1));return e}function Z(t,e,n){if(n)switch(e.code){case"TokenExpiredException":n.show("error","\u30c8\u30fc\u30af\u30f3\u306e\u6709\u52b9\u671f\u9650\u304c\u5207\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002");break;case 404:case 400:n.show("error",e.message);break;default:e.message&&e.message.length>0&&("Network Error"===e.message?n.show("error","\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u63a5\u7d9a\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002"):t.history.push("/error"))}else e.message&&e.message.length>0&&(e.code&&62===e.code?t.history.push("/exception"):t.history.push("/error"))}},528:function(t,e,n){},533:function(t,e,n){"use strict";n.r(e);n(270),n(288);var r=n(1),o=n.n(r),a=n(172),i=n.n(a),c=n(35),u=n(36),s=n(37),l=n(38),p=n(71),h=n(57),f=n(84),d=n(17);function m(){m=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),c=new S(r||[]);return o(i,"_invoke",{value:x(t,n,c)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",f="executing",d="completed",v={};function g(){}function y(){}function b(){}var _={};s(_,i,(function(){return this}));var w=Object.getPrototypeOf,L=w&&w(w(U([])));L&&L!==n&&r.call(L,i)&&(_=L);var O=b.prototype=g.prototype=Object.create(_);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function n(o,a,i,c){var u=p(t[o],t,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(l).then((function(t){s.value=t,i(s)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}var a;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return a=a?a.then(o,o):o()}})}function x(e,n,r){var o=h;return function(a,i){if(o===f)throw new Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(r.method=a,r.arg=i;;){var c=r.delegate;if(c){var u=k(c,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=f;var s=p(e,n,r);if("normal"===s.type){if(o=r.done?d:"suspendedYield",s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=d,r.method="throw",r.arg=s.arg)}}}function k(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var a=p(o,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function U(e){if(e||""===e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=b,o(O,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=s(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},E(j.prototype),s(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new j(l(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},E(O),s(O,u,"Generator"),s(O,i,(function(){return this})),s(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=U,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),I(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:U(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function v(t){return function(e){Object(s.a)(r,e);var n=Object(l.a)(r);function r(t){var e;return Object(c.a)(this,r),(e=n.call(this,t)).state={component:null},e}return Object(u.a)(r,[{key:"componentDidMount",value:function(){var e=Object(h.a)(m().mark((function e(){var n,r;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.hasLoadedComponent()){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t();case 4:n=e.sent,r=n.default,this.setState({component:r});case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"hasLoadedComponent",value:function(){return null!==this.state.component}},{key:"componentWillUnmount",value:function(){this.setState=function(t,e){}}},{key:"render",value:function(){var t=this.state.component;return t?o.a.createElement(t,this.props):null}}]),r}(r.Component)}var g=["component","props"],y=function(t){Object(s.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(c.a)(this,n),(r=e.call(this,t)).state={},r}return Object(u.a)(n,[{key:"render",value:function(){var t=this.props,e=t.component,n=t.props,r=Object(f.a)(t,g);return o.a.createElement(d.b,Object.assign({},r,{render:function(t){return o.a.createElement(e,Object.assign({},t,n))}}))}}]),n}(o.a.Component),b=n(3),_=["component","props"],w=function(t){Object(s.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(c.a)(this,n),(r=e.call(this,t)).state={},r}return Object(u.a)(n,[{key:"render",value:function(){var t=this.props,e=t.component,n=t.props,r=Object(f.a)(t,_);return Object(b.e)("ticket")?o.a.createElement(d.b,Object.assign({},r,{render:function(t){return o.a.createElement(e,Object.assign({},t,n))}})):o.a.createElement(d.a,{to:{pathname:"/jump",state:{from:this.props.location.pathname}}})}}]),n}(o.a.Component),L=n(169),O=["title"],E=v((function(){return n.e(28).then(n.bind(null,637))})),j=v((function(){return Promise.all([n.e(0),n.e(1),n.e(4),n.e(5),n.e(9)]).then(n.bind(null,653))})),x=v((function(){return Promise.all([n.e(0),n.e(1),n.e(16),n.e(2),n.e(20)]).then(n.bind(null,638))})),k=v((function(){return Promise.all([n.e(0),n.e(1),n.e(5),n.e(12),n.e(15)]).then(n.bind(null,655))})),T=v((function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(19)]).then(n.bind(null,656))})),I=v((function(){return Promise.all([n.e(0),n.e(2),n.e(26)]).then(n.bind(null,657))})),S=v((function(){return Promise.all([n.e(0),n.e(2),n.e(11)]).then(n.bind(null,642))})),U=v((function(){return Promise.all([n.e(0),n.e(2),n.e(24)]).then(n.bind(null,643))})),C=v((function(){return Promise.all([n.e(0),n.e(10),n.e(2),n.e(22)]).then(n.bind(null,644))})),N=v((function(){return Promise.all([n.e(0),n.e(1),n.e(4),n.e(27),n.e(14)]).then(n.bind(null,645))})),A=v((function(){return Promise.all([n.e(0),n.e(1),n.e(4),n.e(2),n.e(18)]).then(n.bind(null,646))})),R=v((function(){return Promise.all([n.e(0),n.e(1),n.e(5),n.e(21),n.e(13)]).then(n.bind(null,647))})),P=v((function(){return Promise.all([n.e(0),n.e(3),n.e(17)]).then(n.bind(null,648))})),G=v((function(){return Promise.all([n.e(0),n.e(3),n.e(23)]).then(n.bind(null,649))})),M=v((function(){return Promise.all([n.e(3),n.e(30)]).then(n.bind(null,650))})),F=v((function(){return Promise.all([n.e(3),n.e(25)]).then(n.bind(null,651))})),D=v((function(){return Promise.all([n.e(3),n.e(29)]).then(n.bind(null,652))})),z=function(t){var e=t.title,n=Object(f.a)(t,O);return o.a.createElement(o.a.Fragment,null,o.a.createElement(L.Helmet,null,o.a.createElement("title",null,e," | \u30ea\u30b3\u30e9")),o.a.createElement(w,n))},H=function(t){var e=t.childProps;return o.a.createElement(d.d,null,o.a.createElement(y,{path:"/jump",exact:!0,component:E,props:e}),o.a.createElement(y,{path:"/",exact:!0,component:j,props:e,title:"\u30c8\u30c3\u30d7"}),o.a.createElement(y,{path:"/sign_campaign",exact:!0,component:C,props:e,title:"\u62db\u5f85\u30b3\u30fc\u30c9\u5165\u529b"}),o.a.createElement(y,{path:"/coupon/:couponId",exact:!0,component:N,props:e,title:"\u30af\u30fc\u30dd\u30f3\u8a73\u7d30"}),o.a.createElement(y,{path:"/banner/:bannerId",exact:!0,component:A,props:e,title:"\u30d0\u30ca\u30fc\u8a73\u7d30"}),o.a.createElement(y,{path:"/category/:categoryId",exact:!0,component:R,props:e,title:"\u30af\u30fc\u30dd\u30f3\u30ab\u30c6\u30b4\u30ea\u4e00\u89a7"}),o.a.createElement(z,{path:"/home",exact:!0,component:j,props:e,title:"Home"}),o.a.createElement(z,{path:"/account",exact:!0,component:x,props:e,title:"\u30ed\u30b0\u30a4\u30f3ID\u30fb\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a"}),o.a.createElement(z,{path:"/profile",exact:!0,component:k,props:e,title:"\u30ea\u30b3\u30e9\u57fa\u672c\u60c5\u5831\u8a2d\u5b9a"}),o.a.createElement(z,{path:"/usagelist",exact:!0,component:T,props:e,title:"\u96fb\u6c17\u6599\u91d1\u78ba\u8a8d"}),o.a.createElement(z,{path:"/couponlist/:couponId",exact:!0,component:N,props:e,title:"\u30af\u30fc\u30dd\u30f3\u8a73\u7d30"}),o.a.createElement(z,{path:"/bannerlist/:bannerId",exact:!0,component:A,props:e,title:"\u30d0\u30ca\u30fc\u8a73\u7d30"}),o.a.createElement(z,{path:"/categorylist/:categoryId",exact:!0,component:R,props:e,title:"\u30af\u30fc\u30dd\u30f3\u30ab\u30c6\u30b4\u30ea\u4e00\u89a7"}),o.a.createElement(y,{path:"/setsuden2022_home",exact:!0,component:P,props:e,title:"\u7bc0\u96fb2022"}),o.a.createElement(y,{path:"/setsuden2022_entry",exact:!0,component:G,props:e,title:"\u7bc0\u96fb2022\u30a8\u30f3\u30c8\u30ea"}),o.a.createElement(y,{path:"/setsuden2022_error",exact:!0,component:M,props:e,title:"\u7bc0\u96fb2022\u30a8\u30e9\u30fc"}),o.a.createElement(y,{path:"/setsuden2022_corporation",exact:!0,component:F,props:e,title:"\u7bc0\u96fb2022"}),o.a.createElement(y,{path:"/setsuden2022_entry_completed",exact:!0,component:D,props:e,title:"\u7bc0\u96fb2022"}),o.a.createElement(y,{path:"/error",exact:!0,component:S,props:e,title:"\u30a8\u30e9\u30fc"}),o.a.createElement(y,{path:"/exception",exact:!0,component:U,props:e,title:"\u30ab\u30b9\u30bf\u30e0\u30a8\u30e9\u30fc"}),o.a.createElement(y,{component:I,props:e,title:"URL\u30a8\u30e9\u30fc"}))},B=n(264),Y=n(20);function q(){q=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new I(r||[]);return o(i,"_invoke",{value:j(t,n,c)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",f="executing",d="completed",m={};function v(){}function g(){}function y(){}var b={};s(b,i,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(S([])));w&&w!==n&&r.call(w,i)&&(b=w);var L=y.prototype=v.prototype=Object.create(b);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function n(o,a,i,c){var u=p(t[o],t,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(l).then((function(t){s.value=t,i(s)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}var a;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return a=a?a.then(o,o):o()}})}function j(e,n,r){var o=h;return function(a,i){if(o===f)throw new Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(r.method=a,r.arg=i;;){var c=r.delegate;if(c){var u=x(c,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=f;var s=p(e,n,r);if("normal"===s.type){if(o=r.done?d:"suspendedYield",s.arg===m)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=d,r.method="throw",r.arg=s.arg)}}}function x(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,x(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var a=p(o,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function S(e){if(e||""===e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return g.prototype=y,o(L,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:g,configurable:!0}),g.displayName=s(y,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},O(E.prototype),s(E.prototype,c,(function(){return this})),e.AsyncIterator=E,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new E(l(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},O(L),s(L,u,"Generator"),s(L,i,(function(){return this})),s(L,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=S,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:S(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}var $=function(t){Object(s.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(c.a)(this,n),(r=e.call(this,t)).getService=function(t,e){var n={isExist:!1,serviceOriginalMemberId:null};return e.forEach((function(e){if(t.indexOf(e.serviceClass)>-1)return n={isExist:!0,serviceOriginalMemberId:e.serviceOriginalMemberId}})),n},r.setCustomMessage=function(t){Object(b.p)("customMessage",t)},r.getCustomMessage=function(){return Object(b.e)("customMessage")},r.setUserInfo=function(t){r.setState({userinfo:t})},r.getUserInfo=function(){return r.state.userinfo},r.setServiceInfo=function(t){r.setState({serviceinfo:t})},r.getServiceInfo=function(){return r.state.serviceinfo},r.setLoading=function(t){r.setState({loading:t})},r.getLoading=function(){return r.state.loading},r.setClick=function(t){r.setState({click:t})},r.getClick=function(){return r.state.click},r.onFooterPosition=function(){},r.onSSOToken=Object(h.a)(q().mark((function t(){var e,n,o,a,i,c,u,s,l,p,h,f,d,m,v,g,y;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=Object(b.d)(Y.a.cookies.name))){t.next=54;break}if(n=r.props.location.search,o=new URLSearchParams(n),a=o.get("state"),i=o.get("code"),c=Object(b.e)("state"),u=Object(b.e)("code"),s=Object(b.e)("internal"),i&&i!==u&&Object(b.p)("ticket",e),!a||a===c){t.next=14;break}return r.onSignOut(),r.onGoTop(),t.abrupt("return");case 14:if(!i||i===u){t.next=54;break}return r.setState({loading:!0}),t.prev=16,l={clientId:"true"===s?Y.a.licolla_account.SIGN_CAMPAIGN_CLIENT_ID:Y.a.licolla_account.CLIENT_ID},t.next=20,Object(b.l)(b.h,"/sign",l);case 20:if(200!==(p=t.sent).status){t.next=44;break}return h={grant_type:"authorization_code",code:i},t.next=25,Object(b.m)(b.h,"/token",p.data.sign,h);case 25:if(200!==(f=t.sent).status){t.next=40;break}return Object(b.p)("refreshToken",f.data.refresh_token),Object(b.p)("accessToken",f.data.access_token),Object(b.p)("idToken",f.data.id_token),Object(b.p)("accessTokenExpiredAt",f.data.access_token_expired_at),Object(b.p)("code",i),d={id_token:f.data.id_token},t.next=35,Object(b.l)(b.h,"/verifyIdToken",d);case 35:200!==(m=t.sent).status&&(v={code:m.status,message:m.message},Object(b.q)(r.props,v,null)),6===a.length&&(Object(b.p)("setsuden2022",!0),r.props.history.push("/setsuden2022_entry")),t.next=42;break;case 40:g={code:f.status,message:f.message},Object(b.q)(r.props,g,null);case 42:t.next=46;break;case 44:y={code:p.status,message:p.message},Object(b.q)(r.props,y,null);case 46:t.next=51;break;case 48:t.prev=48,t.t0=t.catch(16),Object(b.q)(r.props,t.t0,null);case 51:return t.prev=51,r.setState({loading:!1}),t.finish(51);case 54:case"end":return t.stop()}}),t,null,[[16,48,51,54]])}))),r.onSSOCheck=Object(h.a)(q().mark((function t(){var e,n,o,a,i,c,u,s,l,p,h;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=Object(b.d)(Y.a.cookies.name)){t.next=4;break}return r.onSignOut(),t.abrupt("return",!1);case 4:if(!Object(b.e)("accessToken")){t.next=51;break}if(n=Object(b.e)("ticket"),e===n){t.next=9;break}return r.onSignOut(),t.abrupt("return",!1);case 9:if(!(o=r.state.userinfo.ticket)||o===n){t.next=13;break}return r.onSignOut(),t.abrupt("return",!1);case 13:if(t.prev=13,r.setState({loading:!0}),(a=Object(b.e)("accessTokenExpiredAt"))&&!(a&&Date.now()>Number(a))){t.next=41;break}return i={clientId:Y.a.licolla_account.CLIENT_ID},t.next=20,Object(b.l)(b.h,"/sign",i);case 20:if(200!==(c=t.sent).status){t.next=39;break}return u={grant_type:"refresh_token",refresh_token:Object(b.e)("refreshToken")},t.next=25,Object(b.m)(b.h,"/token",c.data.sign,u);case 25:if(200!==(s=t.sent).status){t.next=35;break}l=s.data.access_token,p=s.data.id_token,h=s.data.access_token_expired_at,Object(b.p)("accessToken",l),Object(b.p)("idToken",p),Object(b.p)("accessTokenExpiredAt",h),t.next=37;break;case 35:return r.onSignOut(),t.abrupt("return",!1);case 37:t.next=41;break;case 39:return r.onSignOut(),t.abrupt("return",!1);case 41:t.next=46;break;case 43:t.prev=43,t.t0=t.catch(13),Object(b.q)(r.props,t.t0,null);case 46:return t.prev=46,r.setState({loading:!1}),t.finish(46);case 49:t.next=52;break;case 51:return t.abrupt("return",!1);case 52:return t.abrupt("return",!0);case 53:case"end":return t.stop()}}),t,null,[[13,43,46,49]])}))),r.onGenerateState=function(){var t;do{t=Math.floor(1e4*Math.random())}while(t<1e3);return t},r.onSleep=function(t){return new Promise((function(e){return setTimeout(e,t)}))},r.onSetClickAndLoading=function(t){r.setClick(t),r.setLoading(t)},r.onScrollToElement=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;document.documentElement.scrollTop=document.getElementById(t).offsetTop-e},r.onSignOut=function(){Object(b.o)("state"),Object(b.o)("internal"),Object(b.o)("ticket"),Object(b.o)("refreshToken"),Object(b.o)("accessToken"),Object(b.o)("idToken"),Object(b.o)("accessTokenExpiredAt"),Object(b.o)("isProxy"),Object(b.o)("customMessage"),Object(b.o)("code"),Object(b.o)("setsuden2022")},r.onChangeLocationHref=function(t,e){e&&"_self"===e?window.location=t:window.open().location=t},r.onGetHostFromUrl=function(t){var e=t.split("//"),n=e[1].split("/");return e[0]+"//"+n[0]},r.onGoTop=function(){r.props.history.push("/")},r.state={click:!1,loading:!1,isLogining:!0,userinfo:{},serviceinfo:{}},r.childProps={setClick:r.setClick,getClick:r.getClick,setLoading:r.setLoading,getLoading:r.getLoading,history:r.props.history,setUserInfo:r.setUserInfo,getUserInfo:r.getUserInfo,setServiceInfo:r.setServiceInfo,getServiceInfo:r.getServiceInfo,onFooterPosition:r.onFooterPosition,onSetClickAndLoading:r.onSetClickAndLoading,onScrollToElement:r.onScrollToElement,onSignOut:r.onSignOut,onChangeLocationHref:r.onChangeLocationHref,setCustomMessage:r.setCustomMessage,getCustomMessage:r.getCustomMessage,onSSOCheck:r.onSSOCheck,onSleep:r.onSleep,onGenerateState:r.onGenerateState,onGetHostFromUrl:r.onGetHostFromUrl,onGoTop:r.onGoTop},r}return Object(u.a)(n,[{key:"componentDidMount",value:function(){var t=Object(h.a)(q().mark((function t(){var e,n,r,o;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.onSSOToken();case 2:return t.next=4,this.onSSOCheck();case 4:if(!t.sent){t.next=20;break}return this.setState({loading:!0}),t.prev=6,t.next=9,Object(b.a)(b.j,"/member/service");case 9:200===(e=t.sent).status?(n=e.data[0].memberId,r=e.data[0].memberName,this.setState({userinfo:{memberId:n,memberName:r,ticket:Object(b.e)("ticket")},serviceinfo:{inetService:this.getService("chuo_billing_scm01,chuo_billing_scm03",e.data),riseService:this.getService("chuo_rise_portal",e.data),inspectionService:this.getService("chuo_inspection_portal",e.data)}}),window.newrelic&&window.newrelic.setCustomAttribute("username",n)):(o={code:e.status,message:e.message},Object(b.q)(this.props,o,null)),t.next=17;break;case 13:return t.prev=13,t.t0=t.catch(6),Object(b.q)(this.props,t.t0,null),t.abrupt("return");case 17:return t.prev=17,this.setState({loading:!1}),t.finish(17);case 20:this.setState({isLogining:!1});case 21:case"end":return t.stop()}}),t,this,[[6,13,17,20]])})));return function(){return t.apply(this,arguments)}}()},{key:"render",value:function(){return o.a.createElement(o.a.Fragment,null,o.a.createElement(B.a,{isActive:this.state.loading}),!this.state.isLogining&&o.a.createElement(H,{childProps:this.childProps}))}}]),n}(o.a.Component),Z=Object(d.g)($),V=function(t){Object(s.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(c.a)(this,n),(r=e.call(this,t)).state={},r}return Object(u.a)(n,[{key:"render",value:function(){return o.a.createElement(p.a,null,o.a.createElement(Z,null))}}]),n}(r.Component);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));n(529);var W=n(268),X=n.n(W),J={gtmId:Y.a.gtm_id};X.a.initialize(J),!function(){if(!navigator.cookieEnabled)return!1;var t="tmp_check="+Date.now(),e=document.cookie;if(document.cookie=t,e===document.cookie)return!1;return document.cookie=t+";expires="+new Date(0).toUTCString()+";max-age=0;",!0}()?document.write('<div class="vh-100 d-flex align-items-center m-0 row"><div class="col-md-6 col-sm-8 col-10 offset-md-3 offset-sm-2 offset-1"><div role="alert" class="fade text-center alert alert-info show"><p class="pt-4"><svg width="40" height="40" viewBox="0 0 16 16" fill="currentColor"><path fill-rule="evenodd" d="M6.95.435c.58-.58 1.52-.58 2.1 0l6.515 6.516c.58.58.58 1.519 0 2.098L9.05 15.565c-.58.58-1.519.58-2.098 0L.435 9.05a1.482 1.482 0 010-2.098L6.95.435zm1.4.7a.495.495 0 00-.7 0L1.134 7.65a.495.495 0 000 .7l6.516 6.516a.495.495 0 00.7 0l6.516-6.516a.495.495 0 000-.7L8.35 1.134z"></path><path d="M7.002 11a1 1 0 112 0 1 1 0 01-2 0zM7.1 4.995a.905.905 0 111.8 0l-.35 3.507a.552.552 0 01-1.1 0L7.1 4.995z"></path></svg></p><p>Cookie\u304c\u30d6\u30ed\u30c3\u30af\u3055\u308c\u307e\u3057\u305f\u3002Cookie\u306e\u53d7\u3051\u5165\u308c\u3092\u8a31\u53ef\u3057\u3001\u3082\u3046\u4e00\u5ea6\u64cd\u4f5c\u3092\u3084\u308a\u76f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002</p></div></div></div>'):i.a.render(o.a.createElement(V,null),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(t){t.unregister()}))}},[[269,7,8]]]);