{"version":3,"sources":["webpack:///./src/models/goods/GoodsOption.ts","webpack:///./src/models/goods/Goods.ts","webpack:///./src/components/SerialCodeCheckbox.vue?6047","webpack:///./src/models/coupon/SerialCodeParam.ts","webpack:///./src/components/SerialCodeCheckbox.vue","webpack:///./src/components/SerialCodeCheckbox.vue?bda1","webpack:///./src/components/SerialCodeCheckbox.vue?fce5","webpack:///./src/components/ExamGuide.vue?b4c4","webpack:///./src/components/ExamGuide.vue","webpack:///./src/components/ExamGuide.vue?b870","webpack:///./src/components/ExamGuide.vue?2594","webpack:///./src/views/goods/detail/GoodsDetail.vue?2ef7","webpack:///./src/models/goods/GoodsOptionType.ts","webpack:///./src/models/cart/Cart.ts","webpack:///./src/models/cart/apiParam/PutCartItem.ts","webpack:///./src/views/goods/detail/GoodsDetail.vue","webpack:///./src/views/goods/detail/GoodsDetail.vue?bfab","webpack:///./src/views/goods/detail/GoodsDetail.vue?9f17","webpack:///./src/models/exam/DesignResource.ts","webpack:///./src/models/goods/GoodsDetail.ts","webpack:///./src/classification/SessionStorageKey.ts","webpack:///./src/common/Messages.ts","webpack:///./src/views/goods/list/GoodsList.vue?7dce","webpack:///./src/views/goods/list/GoodsList.vue","webpack:///./src/views/goods/list/GoodsList.vue?6bbb","webpack:///./src/views/goods/list/GoodsList.vue?599f","webpack:///./src/components/ExamNav.vue?e2cf","webpack:///./src/components/ExamNav.vue","webpack:///./src/components/ExamNav.vue?a818","webpack:///./src/components/ExamNav.vue?6665","webpack:///./src/components/ExamFooter.vue?db17","webpack:///./src/components/ExamFooter.vue","webpack:///./src/components/ExamFooter.vue?0a78","webpack:///./src/components/ExamFooter.vue?9346","webpack:///./node_modules/@stripe/stripe-js/dist/stripe.esm.js","webpack:///./src/views/goods/GoodsConfirm.vue?fb11","webpack:///./src/models/cart/apiParam/CartPurchaseParam.ts","webpack:///./src/models/cart/CartItem.ts","webpack:///./src/views/goods/GoodsConfirm.vue","webpack:///./src/views/goods/GoodsConfirm.vue?5340","webpack:///./src/views/goods/GoodsConfirm.vue?dc4d","webpack:///./src/components/ExamHeader.vue?a462","webpack:///./src/components/ExamHeader.vue","webpack:///./src/components/ExamHeader.vue?e297","webpack:///./src/components/ExamHeader.vue?2002","webpack:///./src/views/goods/result/GoodsResult.vue?8e4b","webpack:///./src/views/goods/result/GoodsResult.vue","webpack:///./src/views/goods/result/GoodsResult.vue?7939","webpack:///./src/views/goods/result/GoodsResult.vue?c054","webpack:///./src/models/exam/ExamInfo.ts"],"names":["this","goodsOptionId","goodsOptionTypeTitle","optionTitle","GoodsOption","goodsCode","goodsTitle","fee","thumbnail","alternativeText","Goods","render","_vm","_h","$createElement","_c","_self","staticClass","staticStyle","_v","attrs","domProps","value","on","$event","$emit","target","inputCheck","class","isChecked","staticRenderFns","serialCode","undefined","SerialCodeParam","StringUtil","required","SerialCodeCheckbox","component","scrollToAnchor","path","paths","TOP","hash","isTop","mounted","$route","anchor","$scrollTo","ExamGuide","BaseView","goods","_s","designPathCreate","invisible","showFee","formatPrice","goodsOptionTypes","length","_l","goodsOptionType","key","goodsOptionTypeId","validateMessage","text","directives","name","rawName","expression","composing","$set","option","_e","isValidateQuantityFail","goodsQuantity","goodsQuantityValidateMessage","canPurchase","transitionToEntry","overview","twitterShareUri","otherGoods","GOODS_DETAIL","query","goods_code","isIndicatorDisplay","goodsOptions","Array","v","Number","selectedOption","find","GoodsOptionType","cartCode","cartItems","Cart","goodsId","quantity","goodsOptionIds","PutCartItem","ExamRepository","RepositoryFactory","get","exam","GoodsRepository","CartRepository","cart","selectedGoodsOptions","resources","EXAM_RANK_ICON","DesignResource","TWITTER_SHARE_DETAIL_TEXT","created","$router","replace","CommonCss","document","createElement","rel","href","$el","appendChild","GoodsListCss","getExamConfigCss","then","cssElement","init","CommonJs","src","onUrlChange","to","from","getGoods","getNewCart","getGoodsList","String","response","status","goodsCodeOrg","data","goods_title","MarkdownToHTML","canBuy","can_buy","forEach","resource","display_place_key","DesignCode","resource_uri","alternative_text","tmp","displayPlaceKey","displayText","display_text","cssClassName","css_class_name","resourceUri","resourceFileName","resource_file_name","options","optionType","goods_option_type_id","goods_option_type_title","goods_options","o","goods_option_id","option_title","push","JwtUtil","catch","cart_code","goods_list","goodsObj","fees","jwt","validateGoodsOption","putCartItem","sessionStorage","setItem","GOODS_CONFIRM","LOGIN","param","invalid","setTwitterShareUri","url","ext","encodeURIComponent","immediate","deep","GoodsDetail","components","ExamHeader","ExamFooter","ExamNav","IndicatorModal","periodStart","periodEnd","REGISTER_USER_INFO","EXAMINEE_ITEMS","generateMessage","item","template","generateLengthMessage","TEMPLATE_REQUIRED_INPUT","TEMPLATE_REQUIRED_SELECT","INVALID_CREDENTIALS","INVALID_RESPONSE","CONFLICT","SEND_MAIL_FAILURE","UPDATE_PASSWORD_FAILURE","PRE_REGISTER_FAILURE","LOGIN_FAILURE","RESET_PASSWORD_FAILURE","INVALID_TOKEN_OR_BIRTHDAY","INVALID_GOODS_QUANTITY","REQUIRED_GOODS_OPTION","REQUIRED_MAIL_ADDRESS","REQUIRED_MAIL_ADDRESS_CONFIRM","REQUIRED_LOGIN_ID","REQUIRED_PASSWORD","REQUIRED_PASSWORD_CONFIRM","REQUIRED_CURRENT_PASSWORD","REQUIRED_GENDER","REQUIRED_BIRTHDAY","REQUIRED_LAST_NAME","REQUIRED_FIRST_NAME","REQUIRED_LAST_NAME_KANA","REQUIRED_FIRST_NAME_KANA","REQUIRED_POSTAL_CODE","REQUIRED_PREFECTURE","REQUIRED_CITY","REQUIRED_STREET","REQUIRED_PHONE_NUMBER","LOGIN_ID_LENGTH","PASSWORD_LENGTH","NAME_LENGTH","NAME_KANA_LENGTH","POSTAL_CODE_LENGTH","PREFECTURE_LENGTH","CITY_LENGTH","STREET_LENGTH","BUILDING_NAME_LENGTH","PHONE_NUMBER_LENGTH","LOGIN_ID_STRING_TYPE","PASSWORD_STRING_TYPE","NAME_STRING_TYPE","NAME_KANA_STRING_TYPE","POSTAL_CODE_STRING_TYPE","PHONE_NUMBER_STRING_TYPE","EXISTS_ID","ILLEGAL_MAIL_ADDRESS","MAIL_ADDRESS_MISMATCH","PASSWORD_MISMATCH","NEW_PASSWORD_MISMATCH","MAIL_NO_CHANGE","INVALID_TOKEN_OR_PASSWORD","INVALID_BIRTHDAY","INCLUDE_INVALID_STRING","_m","goodsList","examTitle","getExamInfo","getExam","exam_title","GoodsList","showNav","navLogoUri","navLogoAltText","userId","MY_PAGE","logout","transitionLogin","FAQ","TEST_EXAM_READY","isLogin","topMvLogoUri","topMvLogoAltText","$store","state","getAccount","window","addEventListener","onScroll","beforeDestroy","removeEventListener","storedExam","bindLogo","AccountRepository","account","user_id","e","scrollTop","routerPath","DesignPathCreator","inquiryUrl","privacyPolicyUrl","commit","TOKUSHOHO","copyright","bindResources","_toConsumableArray","arr","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","isArray","i","arr2","iter","Symbol","iterator","Object","prototype","toString","call","TypeError","V3_URL","V3_URL_REGEX","EXISTING_SCRIPT_MESSAGE","findScript","scripts","querySelectorAll","concat","script","test","injectScript","params","queryString","advancedFraudSignals","headOrBody","head","body","Error","registerWrapper","stripe","_registerWrapper","version","stripePromise","loadScript","Promise","resolve","reject","Stripe","console","warn","error","initStripe","maybeStripe","args","apply","stripePromise$1","loadCalled","err","loadStripe","_len","arguments","_key","cartItem","isUseSerialcode","preventDefault","purchaseSubmit","goodsItemOption","examInfo","changeCheckBox","model","callback","$$v","GoodsPurchaseParam","goodsItemOptions","CartItem","ExamInfo","isEntryBadCondition","msgEntryBadCondition","redirectToTOP","getCartInfo","initialStaticScript","useNameFlg","use_name_flg","useNameKanaFlg","use_name_kana_flg","useGenderFlg","use_gender_flg","useAddressFlg","use_address_flg","useMailAnnounceFlg","use_mail_announce_flg","usePaymentsKonbiniFlg","use_payments_konbni_flg","usePaymentsSerialFlg","use_payments_serial_flg","konbiniExpireDays","konbini_expire_days","getCart","format","cart_item","cart_items","sale_period_start","sale_period_end","cart_item_options","goodsOption","PURCHASE_CANNOT_PURCHASE","removeItem","purchaseCart","CartPurchaseParam","stripe_session_id","redirectToCheckout","sessionId","AccountCommonCss","ConfirmCss","GoodsConfirm","additionalClass","logoUri","logoAltText","default","GOODS_LIST","purchasedGoodsCode","TWITTER_SHARE_RESULT_TEXT","initStaticScripts","inPeriod","in_period","GoodsResultCss","GoodsResult","benefitsResources","news","about","rankTitle","paymentType"],"mappings":"qIAGA,aACE,aACEA,KAAKC,cAAgB,EACrBD,KAAKE,qBAAuB,GAC5BF,KAAKG,YAAc,GAQvB,OAZqBC,EAAW,gBAD/B,wBAAW,gBACSA,GAYrB,EAZA,GAAqB,U,4ECCrB,aACE,aACEJ,KAAKK,UAAY,GACjBL,KAAKM,WAAa,GAClBN,KAAKO,IAAM,EACXP,KAAKQ,UAAY,GACjBR,KAAKS,gBAAkB,GAgB3B,OAXE,sBAAW,2BAAY,C,IAAvB,WACE,OAAO,yBAA+BT,KAAKK,Y,gCAZ1BK,EAAK,gBADzB,wBAAW,UACSA,GAsBrB,EAtBA,GAAqB,U,oCCJrB,IAAIC,EAAS,WAAa,IAAIC,EAAIZ,KAASa,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,YAAYC,YAAY,CAAC,aAAa,WAAW,CAACH,EAAG,MAAMA,EAAG,IAAI,CAACH,EAAIO,GAAG,kBAAkBJ,EAAG,QAAQ,CAACG,YAAY,CAAC,MAAQ,OAAOE,MAAM,CAAC,KAAO,OAAO,GAAK,cAAcC,SAAS,CAAC,MAAQT,EAAIU,OAAOC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOZ,EAAIa,MAAM,QAASD,EAAOE,OAAOJ,QAAQ,OAASV,EAAIe,cAAcZ,EAAG,MAAMA,EAAG,MAAMA,EAAG,SAAS,CAACE,YAAY,aAAaW,MAAM,CAAE,SAAYhB,EAAIiB,WAAYT,MAAM,CAAC,KAAO,WAAW,CAACR,EAAIO,GAAG,aAChiBW,EAAkB,G,g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,gBADC,0BAAa,4B,2CAId,gBADC,0BAAa,sBAAuB,MAAM,I,wCAI3C,gBADC,0BAAa,c,gCAId,gBADC,0BAAa,uB,wCAId,gBADC,0BAAa,S,2BArEKhD,EAAQ,gBAD5B,wBAAW,aACSA,GA8ErB,EA9EA,GAAqB","file":"js/goods.35990c32.js","sourcesContent":["import { JsonObject } from 'json2typescript';\n\n@JsonObject('GoodsOption')\nexport default class GoodsOption {\n constructor() {\n this.goodsOptionId = 0;\n this.goodsOptionTypeTitle = '';\n this.optionTitle = '';\n }\n\n public goodsOptionId: number;\n\n public goodsOptionTypeTitle: string;\n\n public optionTitle: string;\n}\n","import { JsonObject } from 'json2typescript';\nimport * as StringUtil from '@/common/StringUtil';\n\n@JsonObject('Goods')\nexport default class Goods {\n constructor() {\n this.goodsCode = '';\n this.goodsTitle = '';\n this.fee = 0;\n this.thumbnail = '';\n this.alternativeText = '';\n }\n\n public goodsCode: string;\n\n public get orgGoodsCode(): string {\n return StringUtil.decodeFromBase64Url(this.goodsCode);\n }\n\n public goodsTitle: string;\n\n public fee: number;\n\n public thumbnail: string;\n\n public alternativeText: string;\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-box\",staticStyle:{\"text-align\":\"center\"}},[_c('br'),_c('p',[_vm._v(\" シリアルコード入力欄 \")]),_c('input',{staticStyle:{\"width\":\"50%\"},attrs:{\"type\":\"text\",\"id\":\"serialCode\"},domProps:{\"value\":_vm.value},on:{\"input\":function($event){return _vm.$emit('input', $event.target.value)},\"change\":_vm.inputCheck}}),_c('br'),_c('br'),_c('button',{staticClass:\"btn-strong\",class:{ 'disable': !_vm.isChecked },attrs:{\"type\":\"submit\"}},[_vm._v(\"申し込み\")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { JsonObject, JsonProperty } from 'json2typescript';\n\n/**\n * シリアルコード使用\n */\n@JsonObject('SerialCodeParam')\nexport default class SerialCodeParam {\n constructor() {\n this.serialCode = undefined;\n }\n\n @JsonProperty('serialCode')\n public serialCode?: string;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport * as StringUtil from '@/common/StringUtil';\n\nimport SerialCodeParam from '@/models/coupon/SerialCodeParam';\n\n@Component\nexport default class SerialCodeCheckbox extends Vue {\n private SerialCodeParam = new SerialCodeParam();\n\n private isChecked = false;\n\n @Prop({ required: true })\n value!: string\n\n /**\n * シリアルコード入力チェック(入力がない場合、申し込み不可)\n */\n private inputCheck() {\n this.SerialCodeParam.serialCode = this.value;\n if (!StringUtil.isEmpty(this.SerialCodeParam.serialCode)) {\n this.isChecked = true;\n } else {\n this.isChecked = false;\n }\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--13-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SerialCodeCheckbox.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--13-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SerialCodeCheckbox.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SerialCodeCheckbox.vue?vue&type=template&id=d363aee0&\"\nimport script from \"./SerialCodeCheckbox.vue?vue&type=script&lang=ts&\"\nexport * from \"./SerialCodeCheckbox.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"guide bg-link\"},[(_vm.isTop)?_c('a',{on:{\"click\":function($event){return _vm.scrollToAnchor('#entry')}}},[_vm._v(\"受付中の\"),_c('br'),_vm._v(\"検定\")]):_c('router-link',{attrs:{\"to\":{ path: _vm.paths.TOP, hash: '#entry' },\"replace\":\"\"}},[_vm._v(\"受付中の\"),_c('br'),_vm._v(\"検定\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\nimport { Component } from 'vue-property-decorator';\nimport BaseView from '@/views/BaseView.vue';\n\n@Component\nexport default class ExamGuide extends BaseView {\n private isTop = false;\n\n private mounted() {\n this.isTop = this.$route.path === this.paths.TOP;\n }\n\n private scrollToAnchor(anchor: string) {\n this.$scrollTo(anchor);\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--13-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExamGuide.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--13-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExamGuide.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ExamGuide.vue?vue&type=template&id=809c3e4e&\"\nimport script from \"./ExamGuide.vue?vue&type=script&lang=ts&\"\nexport * from \"./ExamGuide.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"goods-detail-wrapper\",attrs:{\"id\":\"wrapper\"}},[_c('e-header',{attrs:{\"additionalClass\":(\"goods-detail-header-\" + (_vm.goods.goodsCodeOrg))}}),_c('e-nav'),_c('main',[_c('article',[_c('section',{staticClass:\"goods-info-section\"},[_c('div',{staticClass:\"title-h1 bg-base\"},[_c('h1',[_vm._v(_vm._s(_vm.goods.goodsTitle))])]),_c('div',{staticClass:\"contents-body\"},[_c('div',{staticClass:\"goods-info-box\"},[_c('dl',[_c('dt',[_c('img',{attrs:{\"src\":_vm.designPathCreate(_vm.goods.thumbnail),\"alt\":_vm.goods.alternativeText}})]),_c('dd',{staticClass:\"w100\"},[_c('p',{staticClass:\"goods-info-box-title\"},[_vm._v(\" \"+_vm._s(_vm.goods.goodsTitle)+\" \")]),_c('p',{staticClass:\"goods-info-box-price color-link\",class:{invisible: !_vm.showFee }},[_c('span',[_vm._v(_vm._s(_vm.formatPrice(_vm.goods.fee))+\" 円\")]),_vm._v(\"(税込) \")])])])]),(_vm.goods.goodsOptionTypes.length > 0)?_c('div',{staticClass:\"contents-body goods-option-form\"},[_c('div',{staticClass:\"table\"},[_c('table',_vm._l((_vm.goods.goodsOptionTypes),function(goodsOptionType){return _c('tr',{key:goodsOptionType.goodsOptionTypeId},[_c('th',[_vm._v(_vm._s(goodsOptionType.goodsOptionTypeTitle))]),_c('td',[_c('div',{staticClass:\"input-box\",class:{ 'error': goodsOptionType.validateMessage.length > 0 }},[_c('div',{staticClass:\"select\"},[_c('dl',[_c('dt',[(goodsOptionType.text === '')?_c('p',[_vm._v(\" 選択してください \")]):_c('p',[_vm._v(\" \"+_vm._s(goodsOptionType.text)+\" \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(goodsOptionType.innerValue),expression:\"goodsOptionType.innerValue\"}],staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"text\"},domProps:{\"value\":(goodsOptionType.innerValue)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(goodsOptionType, \"innerValue\", $event.target.value)}}})]),_c('dd',[_c('ul',_vm._l((goodsOptionType.goodsOptions),function(option){return _c('li',{key:option.goodsOptionId,attrs:{\"data-value\":option.goodsOptionId}},[_vm._v(\" \"+_vm._s(option.optionTitle)+\" \")])}),0)])])]),_c('div',{staticClass:\"error-text\"},[_vm._v(\" \"+_vm._s(goodsOptionType.validateMessage)+\" \")])])])])}),0)])]):_vm._e(),_c('div',{staticClass:\"contents-body goods-quantity-form\"},[_c('div',{staticClass:\"table\"},[_c('table',[_c('tr',[_c('th',[_vm._v(\"数量\")]),_c('td',[_c('div',{staticClass:\"input-box\",class:{ 'error' : _vm.isValidateQuantityFail }},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.goodsQuantity),expression:\"goodsQuantity\"}],attrs:{\"type\":\"number\",\"min\":\"1\",\"max\":\"100\"},domProps:{\"value\":(_vm.goodsQuantity)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.goodsQuantity=$event.target.value}}}),_c('div',{staticClass:\"error-text\"},[_vm._v(\" \"+_vm._s(_vm.goodsQuantityValidateMessage)+\" \")])])])])])])]),_c('a',{staticClass:\"btn-large\",class:{ 'disable' : !_vm.canPurchase },on:{\"click\":_vm.transitionToEntry}},[_c('span',[_vm._v(\"購入する\")])])])]),_c('section',{staticClass:\"goods-detail-section\"},[_c('div',{staticClass:\"contents-body\"},[_c('h2',{staticClass:\"title-h2\"},[_vm._v(\"グッズ詳細\")]),_c('p',{staticClass:\"markdown-contents\",domProps:{\"innerHTML\":_vm._s(_vm.goods.overview)}}),(_vm.twitterShareUri.length > 0)?_c('div',{staticClass:\"goods-detail-share\"},[_c('div',{staticClass:\"goods-share-button\"},[_c('a',{attrs:{\"target\":\"_blank\",\"href\":_vm.twitterShareUri}},[_vm._v(\" このグッズをツイート \")])])]):_vm._e(),_c('a',{staticClass:\"btn-large btn-detail-entry\",class:{ 'disable' : !_vm.canPurchase },on:{\"click\":_vm.transitionToEntry}},[_c('span',[_vm._v(\"購入する\")])]),(_vm.otherGoods.length > 0)?_c('h2',{staticClass:\"title-h2\"},[_vm._v(\"グッズ一覧\")]):_vm._e(),(_vm.otherGoods.length > 0)?_c('div',{staticClass:\"goods-card-list\"},[_c('ul',_vm._l((_vm.otherGoods),function(goods){return _c('li',{key:goods.goodsCode,staticClass:\"other-goods\"},[_c('div',{staticClass:\"goods-card-wrapper\",class:(\"goods-card-wrapper-goods-\" + (goods.orgGoodsCode))},[_c('router-link',{staticClass:\"goods-card\",attrs:{\"to\":{ path: _vm.paths.GOODS_DETAIL, query: { goods_code: goods.goodsCode } },\"replace\":\"\"}},[_c('div',{staticClass:\"card-pic\"},[_c('img',{attrs:{\"src\":_vm.designPathCreate(goods.thumbnail),\"alt\":goods.alternativeText}})]),_c('div',{staticClass:\"card-body\"},[_c('p',{staticClass:\"card-title color-main\"},[_vm._v(_vm._s(goods.goodsTitle))]),_c('p',{staticClass:\"card-price color-main\"},[_c('strong',[_vm._v(_vm._s(_vm.formatPrice(goods.fee)))]),_c('span',[_vm._v(\"円\")]),_vm._v(\"(税込)\")]),_c('p',{staticClass:\"btn\"},[_c('span',[_vm._v(\"グッズ詳細へ\")])])])])],1)])}),0)]):_vm._e()])])])]),_c('e-guide'),_c('e-footer'),_c('e-indicator',{attrs:{\"display\":_vm.isIndicatorDisplay}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { JsonObject } from 'json2typescript';\nimport GoodsOption from './GoodsOption';\n\n@JsonObject('GoodsOptionType')\nexport default class GoodsOptionType {\n constructor() {\n this.goodsOptionTypeId = 0;\n this.goodsOptionTypeTitle = '';\n this.goodsOptions = new Array();\n\n this.value = 0;\n this.validateMessage = '';\n }\n\n public goodsOptionTypeId: number;\n\n public goodsOptionTypeTitle: string;\n\n public goodsOptions: Array;\n\n /** 編集用 */\n public value: number;\n\n public get innerValue(): string {\n return `${this.value}`;\n }\n\n public set innerValue(v: string) {\n this.value = Number(v);\n }\n\n public get text(): string {\n if (this.value < 1) {\n return '';\n }\n const selectedOption = this.goodsOptions.find((v) => v.goodsOptionId === this.value);\n if (selectedOption === undefined) {\n return '';\n }\n return selectedOption.optionTitle;\n }\n\n public validateMessage: string;\n}\n","import { JsonObject } from 'json2typescript';\nimport CartItem from './CartItem';\n\n@JsonObject('Cart')\nexport default class Cart {\n constructor() {\n this.cartCode = '';\n this.cartItems = new Array();\n }\n\n public cartCodeOrg: string;\n\n public cartCode: string;\n\n public cartItems: Array;\n}\n","import { JsonObject, JsonProperty } from 'json2typescript';\n\n@JsonObject('PutCartItem')\nexport default class PutCartItem {\n constructor() {\n this.cartCode = undefined;\n this.goodsId = undefined;\n this.goodsCode = undefined;\n this.quantity = 1;\n this.goodsOptionIds = [];\n }\n\n @JsonProperty('cart_code')\n public cartCode?: string;\n\n @JsonProperty('goods_id', null, true)\n public goodsId?: number;\n\n @JsonProperty('goods_code', null, true)\n public goodsCode?: string;\n\n @JsonProperty('quantity')\n public quantity: number;\n\n @JsonProperty('goods_option_ids', [Number], true)\n public goodsOptionIds: number[];\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component } from 'vue-mixin-decorator';\nimport { Watch } from 'vue-property-decorator';\nimport BaseView from '@/views/BaseView.vue';\nimport ExamHeader from '@/components/ExamHeader.vue';\nimport ExamFooter from '@/components/ExamFooter.vue';\nimport ExamGuide from '@/components/ExamGuide.vue';\nimport ExamNav from '@/components/ExamNav.vue';\nimport IndicatorModal from '@/components/IndicatorModal.vue';\n\nimport * as DesignCode from '@/classification/DesignCode';\n\nimport MarkdownToHTML from '@/common/MarkdownToHTML';\nimport * as JwtUtil from '@/common/JwtUtil';\nimport * as StringUtil from '@/common/StringUtil';\nimport * as Msgs from '@/common/Messages';\n\nimport RepositoryFactory from '@/repository/RepositoryFactory';\n\nimport DesignResource from '@/models/exam/DesignResource';\nimport Goods from '@/models/goods/Goods';\nimport GoodsDetailDto from '@/models/goods/GoodsDetail';\nimport GoodsOptionType from '@/models/goods/GoodsOptionType';\nimport GoodsOption from '@/models/goods/GoodsOption';\nimport Cart from '@/models/cart/Cart';\nimport PutCartItem from '@/models/cart/apiParam/PutCartItem';\n\n@Component(\n {\n components: {\n 'e-header': ExamHeader,\n 'e-footer': ExamFooter,\n 'e-guide': ExamGuide,\n 'e-nav': ExamNav,\n 'e-indicator': IndicatorModal,\n },\n },\n)\nexport default class GoodsDetail extends BaseView {\n private ExamRepository = RepositoryFactory.get().exam;\n\n private GoodsRepository = RepositoryFactory.get().goods;\n\n private CartRepository = RepositoryFactory.get().cart;\n\n private goods = new GoodsDetailDto();\n\n private cart = new Cart();\n\n private selectedGoodsOptions: any = {};\n\n private otherGoods: Goods[] = [];\n\n private resources = {\n EXAM_RANK_ICON: new DesignResource(),\n TWITTER_SHARE_DETAIL_TEXT: new DesignResource(),\n };\n\n private twitterShareUri = '';\n\n private goodsQuantity = 1;\n\n private goodsQuantityValidateMessage = '';\n\n private isValidateQuantityFail = false;\n\n private isIndicatorDisplay = false;\n\n private canPurchase = false;\n\n private showFee = false;\n\n private created() {\n // パラメータチェック\n if (!this.$route.query.goods_code) {\n this.$router.replace(this.paths.TOP);\n }\n }\n\n private async mounted() {\n const CommonCss = document.createElement('link');\n CommonCss.rel = 'stylesheet';\n CommonCss.href = '/css/common.css';\n this.$el.appendChild(CommonCss);\n\n const GoodsListCss = document.createElement('link');\n GoodsListCss.rel = 'stylesheet';\n GoodsListCss.href = '/css/goods/css/goods_list.css';\n this.$el.appendChild(GoodsListCss);\n\n this.getExamConfigCss().then((cssElement: HTMLLinkElement) => {\n this.$el.appendChild(cssElement);\n });\n await this.init();\n\n const CommonJs = document.createElement('script');\n CommonJs.src = '/js/common.js';\n this.$el.appendChild(CommonJs);\n }\n\n @Watch('$route', { immediate: true, deep: true })\n private onUrlChange(to: any, from: any) {\n // 変更情報が存在しない場合は何もしない\n if (!to || !from) return;\n\n // rankパラメータが存在しない場合何もしない(createdでTOPに戻す)\n if (StringUtil.isEmpty(to.query.goods_code) || StringUtil.isEmpty(from.query.goods_code)) {\n return;\n }\n\n if (to.query.goods_code !== from.query.goods_code) {\n // インスタンスの再生成が行えないためデータ取得処理を再呼び出し\n this.init();\n }\n }\n\n /**\n * 初期データセット\n */\n private async init() {\n this.isIndicatorDisplay = true;\n await this.getGoods();\n await this.getNewCart();\n await this.getGoodsList();\n this.isIndicatorDisplay = false;\n }\n\n /**\n * グッズ情報取得\n */\n private async getGoods() {\n this.goods = new GoodsDetailDto();\n const goodsCode = String(this.$route.query.goods_code);\n await this.GoodsRepository.getGoods(goodsCode).then((response: any) => {\n if (response.status !== 200) {\n this.$router.replace(this.paths.TOP);\n return;\n }\n this.goods.goodsCodeOrg = response.data.goods_code;\n this.goods.goodsCode = StringUtil.encodeToBase64Url(response.data.goods_code);\n this.goods.goodsTitle = response.data.goods_title;\n this.goods.overview = MarkdownToHTML(response.data.overview);\n this.goods.canBuy = response.data.can_buy;\n\n this.goods.fee = 0;\n if (response.data.fee !== undefined) {\n this.goods.fee = Number(response.data.fee.fee);\n }\n\n // デザインリソース\n if (response.data.resources !== undefined) {\n response.data.resources.forEach((resource: any) => {\n const key = resource.display_place_key;\n if (resource.display_place_key === DesignCode.EXAM_RANK_ICON) {\n this.goods.thumbnail = resource.resource_uri;\n this.goods.alternativeText = resource.alternative_text;\n }\n if (key in this.resources) {\n const tmp = new DesignResource();\n tmp.displayPlaceKey = resource.display_place_key;\n tmp.displayText = StringUtil.isEmpty(resource.display_text) ? '' : resource.display_text;\n tmp.cssClassName = StringUtil.isEmpty(resource.css_class_name) ? '' : resource.css_class_name;\n tmp.resourceUri = StringUtil.isEmpty(resource.resource_uri) ? '' : resource.resource_uri;\n tmp.resourceFileName = StringUtil.isEmpty(resource.resource_file_name) ? '' : resource.resource_file_name;\n tmp.alternativeText = StringUtil.isEmpty(resource.alternative_text) ? '' : resource.alternative_text;\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n this.resources[key] = tmp;\n }\n });\n }\n // オプション\n if (response.data.options !== undefined) {\n response.data.options.forEach((optionType: any) => {\n const tmp = new GoodsOptionType();\n tmp.goodsOptionTypeId = optionType.goods_option_type_id;\n tmp.goodsOptionTypeTitle = optionType.goods_option_type_title;\n this.selectedGoodsOptions[`type${tmp.goodsOptionTypeId}`] = { value: 0, text: '' };\n if (optionType.goods_options !== undefined) {\n optionType.goods_options.forEach((option: any) => {\n const o = new GoodsOption();\n o.goodsOptionId = option.goods_option_id;\n o.optionTitle = option.option_title;\n tmp.goodsOptions.push(o);\n });\n }\n this.goods.goodsOptionTypes.push(tmp);\n });\n }\n\n // 料金が設定されている場合ボタン活性化 ただし、ログインしていて資格が無い場合は不可\n this.canPurchase = (this.goods.fee > 0 && (JwtUtil.getJwtInfo() === null || (JwtUtil.getJwtInfo() !== null && this.goods.canBuy)));\n // 料金が設定されている場合のみ料金表示\n this.showFee = this.goods.fee > 0;\n }).catch(() => {\n this.$router.replace(this.paths.TOP);\n });\n }\n\n /**\n * カートを新規作成\n */\n private async getNewCart() {\n await this.CartRepository.getNewCart().then((response: any) => {\n if (response.status !== 200) {\n this.$router.replace(this.paths.TOP);\n }\n this.cart.cartCode = response.data.cart_code;\n }).catch(() => {\n this.$router.replace(this.paths.TOP);\n });\n }\n\n /**\n * グッズ一覧取得\n */\n private async getGoodsList() {\n // 画面再描画時、直前のデータが残ってしまうため初期化\n this.otherGoods = [];\n\n await this.GoodsRepository.getGoodsList().then((response: any) => {\n if (response.status === 200) {\n response.data.goods_list.forEach((goods: any) => {\n const goodsObj = new Goods();\n goodsObj.goodsCode = StringUtil.encodeToBase64Url(goods.goods_code);\n goodsObj.goodsTitle = goods.goods_title;\n goodsObj.fee = 0;\n if (goods.fees.length > 0) {\n goodsObj.fee = Number(goods.fees[0].fee);\n }\n\n // eslint-disable-next-line prefer-destructuring\n const resources = goods.resources;\n if (resources !== undefined && resources.length > 0) {\n resources.forEach((resource: any) => {\n if (resource.display_place_key === DesignCode.EXAM_RANK_ICON) {\n goodsObj.thumbnail = resource.resource_uri;\n goodsObj.alternativeText = resource.alternative_text;\n }\n });\n }\n\n // 詳細表示中のグッズは除外\n if (this.goods.goodsCodeOrg !== goods.goods_code) {\n this.otherGoods.push(goodsObj);\n }\n });\n } else {\n this.$router.replace(this.paths.TOP);\n }\n }).catch(() => {\n this.$router.replace(this.paths.TOP);\n });\n }\n\n /**\n * 申し込み(購入)画面へ遷移\n */\n private async transitionToEntry() {\n this.isIndicatorDisplay = true;\n this.goodsQuantityValidateMessage = '';\n this.isValidateQuantityFail = false;\n const jwt = JwtUtil.getJwtInfo();\n if (this.goodsQuantity < 1 || this.goodsQuantity > 100) {\n this.goodsQuantityValidateMessage = Msgs.INVALID_GOODS_QUANTITY;\n this.isValidateQuantityFail = true;\n } else if (this.validateGoodsOption()) {\n //\n } else if (jwt !== null && !this.goods.canBuy) {\n // 購入条件を満たしていない場合は購入ボタンを押せないが念のため再チェック\n // 購入不可 不正操作のためTOPへ\n this.$router.replace(this.paths.TOP);\n } else {\n // 買い物カゴに商品を入れる\n await this.putCartItem()\n .then(() => {\n if (jwt == null) {\n // 未ログインの場合、ログイン/仮登録画面へ\n sessionStorage.setItem(JwtUtil.SESSION_RETURN_PATH_KEY, `${this.paths.GOODS_CONFIRM}?cart_code=${this.cart.cartCode}`);\n // eslint-disable-next-line @typescript-eslint/camelcase\n this.$router.replace({ path: this.paths.LOGIN });\n } else {\n // 内容確認画面へ\n // eslint-disable-next-line @typescript-eslint/camelcase\n this.$router.replace({ path: this.paths.GOODS_CONFIRM, query: { cart_code: this.cart.cartCode } });\n }\n });\n }\n this.isIndicatorDisplay = false;\n }\n\n private async putCartItem() {\n const param = new PutCartItem();\n param.cartCode = this.cart.cartCode;\n param.goodsCode = this.goods.goodsCodeOrg;\n param.quantity = this.goodsQuantity;\n this.goods.goodsOptionTypes.forEach((v) => {\n param.goodsOptionIds.push(v.value);\n });\n await this.CartRepository.putCartItem(param)\n .then((response) => {\n if (response.status !== 201 && response.status !== 204) {\n this.$router.replace(this.paths.TOP);\n }\n })\n .catch(() => {\n this.$router.replace(this.paths.TOP);\n });\n }\n\n /**\n * オプションを選んでいるかチェックする\n * 未選択があれば true\n */\n private validateGoodsOption(): boolean {\n let invalid = false;\n this.goods.goodsOptionTypes.forEach((v) => {\n // eslint-disable-next-line no-param-reassign\n v.validateMessage = '';\n if (v.value < 1) {\n // eslint-disable-next-line no-param-reassign\n v.validateMessage = Msgs.REQUIRED_GOODS_OPTION;\n invalid = true;\n }\n });\n return invalid;\n }\n\n @Watch('resources.TWITTER_SHARE_DETAIL_TEXT')\n private setTwitterShareUri() {\n if (StringUtil.isEmpty(this.resources.TWITTER_SHARE_DETAIL_TEXT.displayText)) {\n this.twitterShareUri = '';\n return;\n }\n let url = '';\n if (!StringUtil.isEmpty(this.resources.TWITTER_SHARE_DETAIL_TEXT.resourceUri)) {\n const ext = StringUtil.getExt(this.resources.TWITTER_SHARE_DETAIL_TEXT.resourceUri);\n url = this.resources.TWITTER_SHARE_DETAIL_TEXT.resourceUri.replace(`.${ext}`, '.html');\n } else {\n const ext = StringUtil.getExt(this.goods.thumbnail);\n url = this.goods.thumbnail.replace(`.${ext}`, '.html');\n }\n this.twitterShareUri = `https://twitter.com/intent/tweet?text=${encodeURIComponent(this.resources.TWITTER_SHARE_DETAIL_TEXT.displayText)}&url=${encodeURIComponent(this.designPathCreate(url))}`;\n }\n\n // eslint-disable-next-line class-methods-use-this\n formatPrice(fee: number): string {\n return StringUtil.separateNumber(fee);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??ref--13-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsDetail.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??ref--13-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsDetail.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GoodsDetail.vue?vue&type=template&id=df25b40e&\"\nimport script from \"./GoodsDetail.vue?vue&type=script&lang=ts&\"\nexport * from \"./GoodsDetail.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { JsonObject, JsonProperty } from 'json2typescript';\n\n@JsonObject('DesignResource')\nexport default class DesignResource {\n @JsonProperty('display_place_key')\n public displayPlaceKey = '';\n\n @JsonProperty('display_text')\n public displayText = '';\n\n @JsonProperty('css_class_name')\n public cssClassName = '';\n\n @JsonProperty('resource_uri')\n public resourceUri = '';\n\n @JsonProperty('resource_file_name')\n public resourceFileName = '';\n\n @JsonProperty('alternative_text')\n public alternativeText = '';\n}\n","import { JsonObject } from 'json2typescript';\nimport GoodsOptionType from './GoodsOptionType';\n\n@JsonObject('GoodsDetail')\nexport default class GoodsDetail {\n constructor() {\n this.goodsCode = '';\n this.goodsTitle = '';\n this.overview = '';\n this.periodStart = '';\n this.periodEnd = '';\n this.canBuy = false;\n this.fee = 0;\n this.thumbnail = '';\n this.alternativeText = '';\n this.goodsOptionTypes = new Array();\n }\n\n public goodsCodeOrg: string;\n\n public goodsCode: string;\n\n public goodsTitle: string;\n\n public overview: string;\n\n public periodStart: string;\n\n public periodEnd: string;\n\n public canBuy: boolean;\n\n public fee: number;\n\n public thumbnail: string;\n\n public alternativeText: string;\n\n public goodsOptionTypes: Array;\n}\n","export const REGISTER_USER_INFO = 'registerUserInfo';\n\nexport const EXAMINEE_ITEMS = 'examineeItems';\n","function generateMessage(item: string, template: string) {\n return `${item}${template}`;\n}\n\nexport function generateLengthMessage(item: string, length: string) {\n return `${item}は${length}で入力してください`;\n}\n\n// テンプレート\nexport const TEMPLATE_REQUIRED_INPUT = 'を入力してください';\nexport const TEMPLATE_REQUIRED_SELECT = 'を選択してください';\n\n// 処理失敗\nexport const INVALID_CREDENTIALS = '認証情報が不正なため処理を中断しました';\nexport const INVALID_RESPONSE = 'サーバーからのレスポンスが不正なため処理を中断しました';\nexport const CONFLICT = '対象のデータが変更されているため画面を更新して下さい';\nexport const SEND_MAIL_FAILURE = 'メールの送信に失敗しました';\nexport const UPDATE_PASSWORD_FAILURE = 'パスワードの更新に失敗しました';\nexport const PRE_REGISTER_FAILURE = '仮会員登録に失敗しました';\nexport const LOGIN_FAILURE = 'IDまたはパスワードが違います';\nexport const RESET_PASSWORD_FAILURE = 'パスワードの再設定に失敗しました';\nexport const INVALID_TOKEN_OR_BIRTHDAY = '生年月日が違うかトークンが無効なため再設定に失敗しました';\nexport const INVALID_GOODS_QUANTITY = '個数が適正範囲外です。1~100 の数字を指定してください';\nexport const REQUIRED_GOODS_OPTION = '選択してください';\n\n// アカウント バリデーションエラー\nexport const REQUIRED_MAIL_ADDRESS = generateMessage('メールアドレス', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_MAIL_ADDRESS_CONFIRM = generateMessage('メールアドレス(確認)', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_LOGIN_ID = generateMessage('ID', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_PASSWORD = generateMessage('パスワード', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_PASSWORD_CONFIRM = generateMessage('パスワード(確認)', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_CURRENT_PASSWORD = generateMessage('現在のパスワード', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_GENDER = generateMessage('性別', TEMPLATE_REQUIRED_SELECT);\nexport const REQUIRED_BIRTHDAY = generateMessage('生年月日', TEMPLATE_REQUIRED_SELECT);\nexport const REQUIRED_LAST_NAME = generateMessage('氏名(姓)', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_FIRST_NAME = generateMessage('氏名(名)', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_LAST_NAME_KANA = generateMessage('氏名フリガナ(姓)', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_FIRST_NAME_KANA = generateMessage('氏名フリガナ(名)', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_POSTAL_CODE = generateMessage('郵便番号', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_PREFECTURE = generateMessage('都道府県', TEMPLATE_REQUIRED_SELECT);\nexport const REQUIRED_CITY = generateMessage('市区町村', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_STREET = generateMessage('番地', TEMPLATE_REQUIRED_INPUT);\nexport const REQUIRED_PHONE_NUMBER = generateMessage('電話番号', TEMPLATE_REQUIRED_INPUT);\n\nexport const LOGIN_ID_LENGTH = generateLengthMessage('ID', '3文字以上、30文字以下');\nexport const PASSWORD_LENGTH = generateLengthMessage('パスワード', '8文字以上');\nexport const NAME_LENGTH = generateLengthMessage('氏名', '合計20文字以内');\nexport const NAME_KANA_LENGTH = generateLengthMessage('氏名フリガナ', '合計20文字以内');\nexport const POSTAL_CODE_LENGTH = generateLengthMessage('郵便番号', '7文字以下');\nexport const PREFECTURE_LENGTH = generateLengthMessage('都道府県', '4文字以下');\nexport const CITY_LENGTH = generateLengthMessage('市区町村', '255文字以下');\nexport const STREET_LENGTH = generateLengthMessage('番地', '255文字以下');\nexport const BUILDING_NAME_LENGTH = generateLengthMessage('建物名・部屋番号', '255文字以下');\nexport const PHONE_NUMBER_LENGTH = generateLengthMessage('電話番号', '各4文字以下');\n\nexport const LOGIN_ID_STRING_TYPE = 'IDは半角英小文字、半角数字、アンダースコア(_)のみ使用できます';\nexport const PASSWORD_STRING_TYPE = 'パスワードは「英大文字」「英小文字」「数字または記号」のみ使用でき、すべてを含む必要があります';\nexport const NAME_STRING_TYPE = '氏名は全角で入力してください';\nexport const NAME_KANA_STRING_TYPE = '氏名フリガナは全角カタカナで入力してください';\nexport const POSTAL_CODE_STRING_TYPE = '郵便番号はハイフンなしの半角数字で入力してください';\nexport const PHONE_NUMBER_STRING_TYPE = '電話番号は半角数字で入力してください';\n\nexport const EXISTS_ID = 'すでにIDが使われています';\nexport const ILLEGAL_MAIL_ADDRESS = 'メールアドレスの形式が不正です';\nexport const MAIL_ADDRESS_MISMATCH = 'メールアドレスとメールアドレス(確認)が一致していません';\nexport const PASSWORD_MISMATCH = 'パスワードとパスワード(確認)が一致していません';\nexport const NEW_PASSWORD_MISMATCH = '新しいパスワードと新しいパスワード(確認)が一致していません';\nexport const MAIL_NO_CHANGE = '現在のメールアドレスと同一のメールアドレスです';\nexport const INVALID_TOKEN_OR_PASSWORD = 'パスワードが違うかトークンが無効なため更新に失敗しました';\nexport const INVALID_BIRTHDAY = '生年月日が不正な日付です';\nexport const INCLUDE_INVALID_STRING = '使用できない文字が含まれています';\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"goods-list-wrapper\",attrs:{\"id\":\"wrapper\"}},[_c('e-header'),_c('e-nav'),_c('main',{staticClass:\"template\"},[_c('article',[_vm._m(0),_c('section',{staticClass:\"goods-list-section\"},[_c('div',{staticClass:\"contents-body\"},[(_vm.goodsList.length > 0)?_c('div',{staticClass:\"goods-card-list\"},[_c('ul',_vm._l((_vm.goodsList),function(goods){return _c('li',{key:goods.goodsCode},[_c('router-link',{staticClass:\"goods-card\",attrs:{\"to\":{ path: _vm.paths.GOODS_DETAIL, query: { goods_code: goods.goodsCode } },\"replace\":\"\"}},[_c('div',{staticClass:\"card-pic\"},[_c('img',{attrs:{\"src\":_vm.designPathCreate(goods.thumbnail),\"alt\":goods.alternativeText}})]),_c('div',{staticClass:\"card-body\"},[_c('p',{staticClass:\"card-title color-main\"},[_vm._v(_vm._s(goods.goodsTitle))]),_c('p',{staticClass:\"card-price color-main\"},[_c('strong',[_vm._v(_vm._s(_vm.formatPrice(goods.fee)))]),_c('span',[_vm._v(\"円\")]),_vm._v(\"(税込)\")]),_c('p',{staticClass:\"btn\"},[_c('span',[_vm._v(\"グッズ詳細へ\")])])])])],1)}),0)]):_c('p',[_vm._v(\" 現在購入可能なグッズはありません \")])])])])]),_c('e-guide'),_c('e-footer'),_c('e-indicator',{attrs:{\"display\":_vm.isIndicatorDisplay}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"title-h1 bg-base goods-list-header\"},[_c('h1',[_vm._v(\"グッズ一覧\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component } from 'vue-mixin-decorator';\n\nimport BaseView from '@/views/BaseView.vue';\nimport ExamHeader from '@/components/ExamHeader.vue';\nimport ExamFooter from '@/components/ExamFooter.vue';\nimport ExamGuide from '@/components/ExamGuide.vue';\nimport ExamNav from '@/components/ExamNav.vue';\nimport IndicatorModal from '@/components/IndicatorModal.vue';\n\nimport RepositoryFactory from '@/repository/RepositoryFactory';\n\nimport * as StringUtil from '@/common/StringUtil';\n\nimport * as DesignCode from '@/classification/DesignCode';\n\nimport Goods from '@/models/goods/Goods';\n\n@Component(\n {\n components: {\n 'e-header': ExamHeader,\n 'e-footer': ExamFooter,\n 'e-guide': ExamGuide,\n 'e-nav': ExamNav,\n 'e-indicator': IndicatorModal,\n },\n },\n)\nexport default class GoodsList extends BaseView {\n private isIndicatorDisplay = false;\n\n private examTitle = '';\n\n private goodsList: Goods[] = [];\n\n private async mounted() {\n this.isIndicatorDisplay = true;\n\n const CommonCss = document.createElement('link');\n CommonCss.rel = 'stylesheet';\n CommonCss.href = '/css/common.css';\n this.$el.appendChild(CommonCss);\n\n const GoodsListCss = document.createElement('link');\n GoodsListCss.rel = 'stylesheet';\n GoodsListCss.href = '/css/goods/css/goods_list.css';\n this.$el.appendChild(GoodsListCss);\n\n this.getExamConfigCss().then((cssElement: HTMLLinkElement) => {\n this.$el.appendChild(cssElement);\n });\n\n try {\n this.isIndicatorDisplay = true;\n await this.getExamInfo();\n await this.getGoodsList();\n this.isIndicatorDisplay = false;\n } catch (e) {\n this.$router.replace(this.paths.TOP);\n } finally {\n this.isIndicatorDisplay = false;\n }\n\n const CommonJs = document.createElement('script');\n CommonJs.src = '/js/common.js';\n this.$el.appendChild(CommonJs);\n }\n\n /**\n * 検定情報取得\n */\n private async getExamInfo() {\n // 検定情報APIを呼び出し、お知らせを生成\n const ExamRepository = RepositoryFactory.get().exam;\n await ExamRepository.getExam().then((response) => {\n if (response.status === 200) {\n this.examTitle = response.data.exam_title;\n }\n });\n }\n\n /**\n * グッズ一覧取得\n */\n private async getGoodsList() {\n const GoodsRepository = RepositoryFactory.get().goods;\n await GoodsRepository.getGoodsList().then((response: any) => {\n if (response.status === 200) {\n response.data.goods_list.forEach((goods: any) => {\n const goodsObj = new Goods();\n goodsObj.goodsCode = StringUtil.encodeToBase64Url(goods.goods_code);\n goodsObj.goodsTitle = goods.goods_title;\n goodsObj.fee = 0;\n if (goods.fees.length > 0) {\n goodsObj.fee = Number(goods.fees[0].fee);\n }\n\n // eslint-disable-next-line prefer-destructuring\n const resources = goods.resources;\n if (resources !== undefined && resources.length > 0) {\n resources.forEach((resource: any) => {\n if (resource.display_place_key === DesignCode.EXAM_RANK_ICON) {\n goodsObj.thumbnail = resource.resource_uri;\n goodsObj.alternativeText = resource.alternative_text;\n }\n });\n }\n this.goodsList.push(goodsObj);\n });\n }\n });\n }\n\n // eslint-disable-next-line class-methods-use-this\n formatPrice(fee: number): string {\n return StringUtil.separateNumber(fee);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??ref--13-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??ref--13-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GoodsList.vue?vue&type=template&id=5bc813ea&\"\nimport script from \"./GoodsList.vue?vue&type=script&lang=ts&\"\nexport * from \"./GoodsList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:\"nav\",class:{ on: _vm.showNav },attrs:{\"id\":\"nav\"}},[_c('div',{staticClass:\"nav-menu bg-link\"},[_c('img',{attrs:{\"src\":_vm.designPathCreate('img/nav_menu.png'),\"alt\":\"\"}})]),_c('div',{staticClass:\"nav-head\"},[_c('img',{attrs:{\"src\":_vm.designPathCreate(_vm.navLogoUri),\"alt\":_vm.navLogoAltText}})]),_c('dl',[_c('dt',{staticClass:\"nav-logo\"},[_c('a',{on:{\"click\":function($event){return _vm.$router.replace(_vm.paths.TOP)}}},[_c('img',{attrs:{\"src\":_vm.designPathCreate(_vm.navLogoUri),\"alt\":_vm.navLogoAltText}})])]),_c('dd',[_c('div',{staticClass:\"nav-user\"},[(_vm.isLogin)?_c('div',{staticClass:\"nav-user-icon bg-sub\"},[_c('img',{attrs:{\"src\":_vm.designPathCreate('img/nav_icon_user.png'),\"alt\":\"\"}})]):_vm._e(),(_vm.isLogin)?_c('p',{staticClass:\"nav-user-name\"},[_vm._v(_vm._s(_vm.userId))]):_vm._e(),(_vm.isLogin)?_c('ul',{staticClass:\"nav-user-menu\"},[_c('li',[_c('router-link',{staticClass:\"btn-strong\",attrs:{\"to\":_vm.paths.MY_PAGE,\"replace\":\"\"}},[_c('span',[_vm._v(\"マイページ\")])])],1),_c('li',[_c('a',{staticClass:\"btn\",on:{\"click\":_vm.logout}},[_c('span',[_vm._v(\"ログアウト\")])])])]):_c('ul',{staticClass:\"nav-user-menu\"},[_c('li',[_c('a',{staticClass:\"btn-strong\",on:{\"click\":_vm.transitionLogin}},[_c('span',[_vm._v(\"ログイン\")])])]),_c('li',[_c('a',{staticClass:\"btn\",on:{\"click\":_vm.transitionLogin}},[_c('span',[_vm._v(\"新規登録\")])])])])]),_c('ul',{staticClass:\"nav-links\"},[_c('li',[(_vm.isTop)?_c('a',{on:{\"click\":function($event){return _vm.scrollToAnchor('#entry')}}},[_vm._v(\"検定一覧\")]):_vm._e(),(!_vm.isTop)?_c('router-link',{attrs:{\"to\":{ path: _vm.paths.TOP, hash: '#entry' },\"replace\":\"\"}},[_vm._v(\"検定一覧\")]):_vm._e()],1),_c('li',[(_vm.isTop)?_c('a',{on:{\"click\":function($event){return _vm.scrollToAnchor('#outline')}}},[_vm._v(\"検定概要\")]):_vm._e(),(!_vm.isTop)?_c('router-link',{attrs:{\"to\":{ path: _vm.paths.TOP, hash: '#outline' },\"replace\":\"\"}},[_vm._v(\"検定概要\")]):_vm._e()],1),_c('li',[(_vm.isTop)?_c('a',{on:{\"click\":function($event){return _vm.scrollToAnchor('#benefits')}}},[_vm._v(\"特典紹介\")]):_vm._e(),(!_vm.isTop)?_c('router-link',{attrs:{\"to\":{ path: _vm.paths.TOP, hash: '#benefits' },\"replace\":\"\"}},[_vm._v(\"特典紹介\")]):_vm._e()],1),_c('li',[(_vm.isTop)?_c('a',{on:{\"click\":function($event){return _vm.scrollToAnchor('#step')}}},[_vm._v(\"受験の流れ\")]):_vm._e(),(!_vm.isTop)?_c('router-link',{attrs:{\"to\":{ path: _vm.paths.TOP, hash: '#step' },\"replace\":\"\"}},[_vm._v(\"受験の流れ\")]):_vm._e()],1),_c('li',[_c('router-link',{attrs:{\"to\":_vm.paths.FAQ,\"replace\":\"\"}},[_vm._v(\"よくある質問\")])],1),_c('li',[_c('router-link',{attrs:{\"to\":_vm.paths.TEST_EXAM_READY,\"replace\":\"\"}},[_vm._v(\"体験版を受験\")])],1)])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Mixins } from 'vue-mixin-decorator';\nimport DesignPathCreator from '@/components/mixin/DesignPathCreator.vue';\n\nimport * as JwtUtil from '@/common/JwtUtil';\n\nimport RepositoryFactory from '@/repository/RepositoryFactory';\n\nimport * as DesignCode from '@/classification/DesignCode';\n\n@Component\nexport default class ExamNav extends Mixins(DesignPathCreator) {\n private userId = '';\n\n private isTop = false;\n\n private isLogin = false;\n\n private showNav = false;\n\n private navLogoUri = '';\n\n private navLogoAltText = '';\n\n private topMvLogoUri = '';\n\n private topMvLogoAltText = '';\n\n get storedExam() {\n return this.$store.state.exam;\n }\n\n get navUserId() {\n return this.userId;\n }\n\n private mounted() {\n const jwt = JwtUtil.getJwtInfo();\n this.isLogin = jwt != null;\n this.isTop = this.$route.path === this.paths.TOP;\n\n this.getExamInfo();\n\n if (this.isLogin) {\n this.getAccount();\n }\n window.addEventListener('scroll.nav', this.onScroll, true);\n }\n\n private beforeDestroy() {\n window.removeEventListener('scroll.nav', this.onScroll, true);\n }\n\n /**\n * 検定情報の取得\n */\n private getExamInfo() {\n if (this.storedExam !== null && this.storedExam.resources !== undefined) {\n this.bindLogo(this.storedExam.resources);\n } else {\n const ExamRepository = RepositoryFactory.get().exam;\n ExamRepository.getExam().then((response) => {\n if (response.status === 200 && response.data.resources !== undefined) {\n this.bindLogo(response.data.resources);\n }\n });\n }\n }\n\n /**\n * リソースからロゴをセット\n * @param resource リソース情報\n */\n bindLogo(resources: any) {\n resources.forEach((resource: any) => {\n if (resource.display_place_key === DesignCode.NAV_LOGO) {\n this.navLogoUri = resource.resource_uri;\n this.navLogoAltText = resource.alternative_text;\n } else if (resource.display_place_key === DesignCode.TOP_MV_LOGO) {\n this.topMvLogoUri = resource.resource_uri;\n this.topMvLogoAltText = resource.alternative_text;\n }\n });\n }\n\n /**\n * ユーザー情報取得\n * 取得したユーザーIDをナビゲーションに表示\n */\n async getAccount() {\n try {\n const AccountRepository = RepositoryFactory.get().account;\n await AccountRepository.getAccount().then((response) => {\n this.userId = response.data.user_id;\n }).catch(() => {\n JwtUtil.deleteJwt();\n this.$router.replace(this.paths.LOGIN);\n });\n } catch (e) {\n JwtUtil.deleteJwt();\n this.$router.replace(this.paths.LOGIN);\n }\n }\n\n /**\n * ログアウト\n * 成功時はSessionStorageのJWTを削除しログイン画面に遷移\n */\n async logout() {\n try {\n const AccountRepository = RepositoryFactory.get().account;\n await AccountRepository.logout().then(() => {\n JwtUtil.deleteJwt();\n this.$router.replace(this.paths.LOGIN);\n }).catch(() => {\n JwtUtil.deleteJwt();\n this.$router.replace(this.paths.LOGIN);\n });\n } catch (e) {\n JwtUtil.deleteJwt();\n this.$router.replace(this.paths.LOGIN);\n }\n }\n\n /**\n * 検定詳細画面に遷移します。\n *\n * @param ランクコード(Base64エンコードされたコード)\n */\n private transitionLogin() {\n if (this.$route.path !== this.paths.LOGIN) {\n this.$router.replace(this.paths.LOGIN);\n }\n }\n\n /**\n * スクロール時にナビゲーションの表示非表示を切り替える\n */\n onScroll(e: any) {\n if (e.target.scrollTop > 300) {\n this.showNav = true;\n } else {\n this.showNav = false;\n }\n }\n\n private scrollToAnchor(anchor: string) {\n this.$scrollTo(anchor);\n }\n\n get paths() {\n return this.$store.state.routerPath;\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--13-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExamNav.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--13-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExamNav.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ExamNav.vue?vue&type=template&id=665d9db0&\"\nimport script from \"./ExamNav.vue?vue&type=script&lang=ts&\"\nexport * from \"./ExamNav.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',{staticClass:\"footer\"},[_c('div',{staticClass:\"contents-body\"},[_c('div',{staticClass:\"footer-links\"},[_c('ul',[_c('li',[_c('a',{staticClass:\"color-main\",on:{\"click\":function($event){return _vm.$router.replace(_vm.paths.FAQ)}}},[_vm._v(\"よくあるご質問\")])]),_c('li',[_c('a',{staticClass:\"color-main\",attrs:{\"href\":_vm.inquiryUrl,\"target\":\"_blank\",\"rel\":\"noopener noreferrer\"}},[_vm._v(\"お問い合わせ\")])]),_c('li',[_c('a',{staticClass:\"color-main\",attrs:{\"href\":_vm.privacyPolicyUrl,\"target\":\"_blank\",\"rel\":\"noopener noreferrer\"}},[_vm._v(\"プライバシーポリシー\")])]),_c('li',[_c('a',{staticClass:\"color-main\",on:{\"click\":function($event){return _vm.$store.commit('displayTermsModal', true)}}},[_vm._v(\"利用規約\")])]),_c('li',[_c('a',{staticClass:\"color-main\",on:{\"click\":function($event){return _vm.$router.replace(_vm.paths.TOKUSHOHO)}}},[_vm._v(\"特定商取引法に基づく表記\")])])])]),_c('div',{staticClass:\"footer-copy\"},[_c('ul',[_c('li',[_vm._v(_vm._s(_vm.copyright))])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\n\nimport RepositoryFactory from '@/repository/RepositoryFactory';\n\nimport * as DesignCode from '@/classification/DesignCode';\n\n@Component\nexport default class ExamFooter extends Vue {\n private copyright = '';\n\n private inquiryUrl = '';\n\n private privacyPolicyUrl = 'https://my.cybird.ne.jp/sp-inq/agreement';\n\n get paths() {\n return this.$store.state.routerPath;\n }\n\n get storedExam() {\n return this.$store.state.exam;\n }\n\n private mounted() {\n // コピーライト取得 問い合わせURL取得\n if (this.storedExam !== null && this.storedExam.resources !== undefined) {\n this.bindResources(this.storedExam.resources);\n } else {\n const ExamRepository = RepositoryFactory.get().exam;\n ExamRepository.getExam().then((response) => {\n if (response.status === 200 && response.data.resources !== undefined) {\n this.bindResources(response.data.resources);\n }\n });\n }\n }\n\n /**\n * リソースから各値をセット\n */\n private bindResources(resources: any) {\n resources.forEach((resource: any) => {\n if (resource.display_place_key === DesignCode.INQUIRY_URL) {\n this.inquiryUrl = resource.display_text;\n } else if (resource.display_place_key === DesignCode.PRIVACY_POLICY_URL && resource.display_text) {\n this.privacyPolicyUrl = resource.display_text;\n } else if (resource.display_place_key === DesignCode.COPY_RIGHT) {\n this.copyright = resource.display_text;\n }\n });\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--13-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExamFooter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--13-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExamFooter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ExamFooter.vue?vue&type=template&id=718fbace&\"\nimport script from \"./ExamFooter.vue?vue&type=script&lang=ts&\"\nexport * from \"./ExamFooter.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","function _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n\n return arr2;\n }\n}\n\nfunction _iterableToArray(iter) {\n if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n}\n\nvar V3_URL = 'https://js.stripe.com/v3';\nvar V3_URL_REGEX = /^https:\\/\\/js\\.stripe\\.com\\/v3\\/?(\\?.*)?$/;\nvar EXISTING_SCRIPT_MESSAGE = 'loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used';\nvar findScript = function findScript() {\n var scripts = document.querySelectorAll(\"script[src^=\\\"\".concat(V3_URL, \"\\\"]\"));\n\n for (var i = 0; i < scripts.length; i++) {\n var script = scripts[i];\n\n if (!V3_URL_REGEX.test(script.src)) {\n continue;\n }\n\n return script;\n }\n\n return null;\n};\n\nvar injectScript = function injectScript(params) {\n var queryString = params && !params.advancedFraudSignals ? '?advancedFraudSignals=false' : '';\n var script = document.createElement('script');\n script.src = \"\".concat(V3_URL).concat(queryString);\n var headOrBody = document.head || document.body;\n\n if (!headOrBody) {\n throw new Error('Expected document.body not to be null. Stripe.js requires a element.');\n }\n\n headOrBody.appendChild(script);\n return script;\n};\n\nvar registerWrapper = function registerWrapper(stripe) {\n if (!stripe || !stripe._registerWrapper) {\n return;\n }\n\n stripe._registerWrapper({\n name: 'stripe-js',\n version: \"1.8.0\"\n });\n};\n\nvar stripePromise = null;\nvar loadScript = function loadScript(params) {\n // Ensure that we only attempt to load Stripe.js at most once\n if (stripePromise !== null) {\n return stripePromise;\n }\n\n stripePromise = new Promise(function (resolve, reject) {\n if (typeof window === 'undefined') {\n // Resolve to null when imported server side. This makes the module\n // safe to import in an isomorphic code base.\n resolve(null);\n return;\n }\n\n if (window.Stripe && params) {\n console.warn(EXISTING_SCRIPT_MESSAGE);\n }\n\n if (window.Stripe) {\n resolve(window.Stripe);\n return;\n }\n\n try {\n var script = findScript();\n\n if (script && params) {\n console.warn(EXISTING_SCRIPT_MESSAGE);\n } else if (!script) {\n script = injectScript(params);\n }\n\n script.addEventListener('load', function () {\n if (window.Stripe) {\n resolve(window.Stripe);\n } else {\n reject(new Error('Stripe.js not available'));\n }\n });\n script.addEventListener('error', function () {\n reject(new Error('Failed to load Stripe.js'));\n });\n } catch (error) {\n reject(error);\n return;\n }\n });\n return stripePromise;\n};\nvar initStripe = function initStripe(maybeStripe, args) {\n if (maybeStripe === null) {\n return null;\n }\n\n var stripe = maybeStripe.apply(void 0, _toConsumableArray(args));\n registerWrapper(stripe);\n return stripe;\n};\n\n// own script injection.\n\nvar stripePromise$1 = Promise.resolve().then(function () {\n return loadScript(null);\n});\nvar loadCalled = false;\nstripePromise$1[\"catch\"](function (err) {\n if (!loadCalled) {\n console.warn(err);\n }\n});\nvar loadStripe = function loadStripe() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n loadCalled = true;\n return stripePromise$1.then(function (maybeStripe) {\n return initStripe(maybeStripe, args);\n });\n};\n\nexport { loadStripe };\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"goods-confirm-wrapper\",attrs:{\"id\":\"wrapper\"}},[_c('e-nav'),_c('main',[_c('article',[_c('section',{staticClass:\"goods-confirm-section\"},[_c('div',{staticClass:\"contents-body\"},[_c('h2',{staticClass:\"title-h2\"},[_vm._v(\"内容確認\")]),(!_vm.cartItem.canBuy)?_c('div',[_vm._v(\" 購入条件を満たしていません \")]):_vm._e(),(_vm.jwt !== null)?_c('div',{staticClass:\"account-steps\"},[_vm._m(0)]):_vm._e(),(_vm.cartItem.canBuy && !_vm.isUseSerialcode)?_c('div',{staticClass:\"goods-confirm-purchase-button\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.purchaseSubmit($event)}}},[_c('button',{staticClass:\"btn-strong\",attrs:{\"type\":\"submit\"}},[_vm._v(\"決済へ進む\")])])]):_vm._e(),_c('div',{staticClass:\"goods-confirm-text\"},[(_vm.cartItem.canBuy)?_c('div',{staticClass:\"goods-confirm-notice\"},[_c('p',[_vm._v(\"申し込みを完了させる場合は「決済へ進む」ボタンを押下し、決済を完了させてください。\")]),_vm._m(1),_c('br'),_vm._m(2),_vm._m(3),_vm._m(4)]):_vm._e()]),(_vm.cartItem.canBuy)?_c('div',{staticClass:\"goods-confirm-box\"},[_c('h3',[_vm._v(\"申し込みグッズ情報\")]),_c('div',{staticClass:\"table\"},[_c('table',[_c('tr',{staticClass:\"goods-confirm-title\"},[_c('th',[_vm._v(\" グッズ名 \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.cartItem.goodsTitle)+\" \")])]),_c('tr',{staticClass:\"goods-confirm-period\"},[_c('th',[_vm._v(\" 販売期間 \")]),(_vm.cartItem.periodStart === '' && _vm.cartItem.periodStart === '')?_c('td',{staticClass:\"goods-confirm-period-none\"},[_vm._v(\" 未定 \")]):_c('td',[_c('span',[_vm._v(_vm._s(_vm.cartItem.periodStart))]),_vm._v(\" ~ \"),_c('span',[_vm._v(_vm._s(_vm.cartItem.periodEnd))])])]),_vm._l((_vm.cartItem.goodsItemOptions),function(goodsItemOption){return _c('tr',{key:goodsItemOption.goodsOptionId,staticClass:\"goods-confirm-goods-option\"},[_c('th',[_vm._v(\" \"+_vm._s(goodsItemOption.goodsOptionTypeTitle)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(goodsItemOption.optionTitle)+\" \")])])}),_c('tr',{staticClass:\"goods-confirm-fee\"},[_c('th',[_vm._v(\" 単価 \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.formatPrice(_vm.cartItem.fee))+\"円(税込) \")])]),_c('tr',{staticClass:\"goods-confirm-quantity\"},[_c('th',[_vm._v(\" 数量 \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.cartItem.quantity)+\" \")])]),_c('tr',{staticClass:\"goods-confirm-total-price\"},[_c('th',[_vm._v(\" 合計 \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.formatPrice(_vm.cartItem.quantity * _vm.cartItem.fee))+\"円(税込) \")])])],2)])]):_vm._e(),(_vm.examInfo.usePaymentsSerialFlg)?_c('div',{staticClass:\"goods-confirm-text\"},[_c('label',{staticClass:\"input-checkbox\"},[_c('input',{attrs:{\"type\":\"checkbox\"},on:{\"click\":_vm.changeCheckBox}}),_c('span',[_vm._v(\":シリアルコードを使用する\")])])]):_vm._e(),(_vm.isUseSerialcode === true)?_c('SerialCodeCheckbox',{model:{value:(_vm.serialCode),callback:function ($$v) {_vm.serialCode=$$v},expression:\"serialCode\"}}):_vm._e(),_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.purchaseSubmit($event)}}},[(_vm.isUseSerialcode === false)?_c('button',{staticClass:\"btn-strong\",attrs:{\"type\":\"submit\"}},[_vm._v(\"決済へ進む\")]):_vm._e(),(!_vm.cartItem.canBuy)?_c('button',{staticClass:\"btn-strong\",attrs:{\"type\":\"submit\"}},[_vm._v(\"マイページへ\")]):_vm._e()])],1)])])]),_c('e-guide'),_c('e-footer'),_c('e-indicator',{attrs:{\"display\":_vm.isIndicatorDisplay}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',[_c('li',{staticClass:\"on\"},[_c('p',[_vm._v(\"STEP1. \"),_c('br',{staticClass:\"sp\"}),_vm._v(\"申し込み内容\"),_c('br',{staticClass:\"sp\"}),_vm._v(\"確認\")])]),_c('li',[_c('p',[_vm._v(\"STEP2. 決済\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-attention\"},[_c('ul',[_c('li',[_vm._v(\"※お支払い方法は検定概要をご確認ください。\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"goods-confirm-about-cancel\"},[_c('p',{staticClass:\"font-bold\"},[_vm._v(\"キャンセルについて\")]),_c('p',[_vm._v(\"商品の返品(交換を含む)は、商品到着後8日以内に限り返品・交換が可能です。これを過ぎた場合は、不良品であっても商品の返品はお受けできませんので、予めご了承ください。\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"goods-confirm-about-shipping\"},[_c('p',{staticClass:\"font-bold\"},[_vm._v(\"送料について\")]),_c('p',[_vm._v(\"全商品送料込みの価格となっております。\")]),_c('p',[_vm._v(\"不良品の往復送料は当社負担、お客様の都合による返品はお客様負担となります。\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"goods-confirm-about-schedule\"},[_c('p',{staticClass:\"font-bold\"},[_vm._v(\"引渡し時期について\")]),_c('p',[_vm._v(\"商品は受注生産となっております。引き渡しは、申込期限最終日から3ゕ月以内に発送を予定しております。\")]),_c('p',[_vm._v(\"以下の理由による場合は商品のお届けが遅れる場合がございますので予めご了承ください。\")]),_c('ul',[_c('li',[_vm._v(\"お申込が集中した場合\")]),_c('li',[_vm._v(\"天災等の不可抗力、およびこれに類する事情による場合\")])]),_c('p',[_vm._v(\"商品のお届け先は日本国内のみの配送とさせていただいております。\")])])}]\n\nexport { render, staticRenderFns }","import { JsonObject, JsonProperty } from 'json2typescript';\n\n/**\n * 買い物カゴ購入パラメータ\n */\n@JsonObject('CartPurchaseParam')\nexport default class GoodsPurchaseParam {\n constructor() {\n this.cartCode = '';\n this.serialCode = '';\n }\n\n @JsonProperty('cart_code')\n public cartCode: string;\n\n @JsonProperty('serial_code')\n public serialCode: string;\n}\n","import { JsonObject } from 'json2typescript';\nimport GoodsOption from './GoodsOption';\n\n@JsonObject('CartItem')\nexport default class CartItem {\n constructor() {\n this.goodsCode = '';\n this.goodsTitle = '';\n this.quantity = 1;\n this.canBuy = false;\n this.fee = 0;\n this.periodStart = '';\n this.periodEnd = '';\n this.goodsItemOptions = new Array();\n }\n\n public goodsCode: string;\n\n public goodsTitle: string;\n\n public quantity: number;\n\n public canBuy: boolean;\n\n public fee: number;\n\n public periodStart: string;\n\n public periodEnd: string;\n\n public goodsItemOptions: Array;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component } from 'vue-mixin-decorator';\nimport { loadStripe } from '@stripe/stripe-js';\n\nimport BaseView from '@/views/BaseView.vue';\nimport ExamFooter from '@/components/ExamFooter.vue';\nimport ExamGuide from '@/components/ExamGuide.vue';\nimport ExamNav from '@/components/ExamNav.vue';\nimport IndicatorModal from '@/components/IndicatorModal.vue';\nimport SerialCodeCheckbox from '@/components/SerialCodeCheckbox.vue';\n\nimport { REGISTER_USER_INFO, EXAMINEE_ITEMS } from '@/classification/SessionStorageKey';\n\nimport * as JwtUtil from '@/common/JwtUtil';\nimport * as StringUtil from '@/common/StringUtil';\n\nimport RepositoryFactory from '@/repository/RepositoryFactory';\n\nimport ExamInfo from '@/models/exam/ExamInfo';\nimport CartPurchaseParam from '@/models/cart/apiParam/CartPurchaseParam';\nimport CartItem from '@/models/cart/CartItem';\nimport GoodsOption from '@/models/goods/GoodsOption';\n\n@Component(\n {\n components: {\n 'e-footer': ExamFooter,\n 'e-guide': ExamGuide,\n 'e-nav': ExamNav,\n 'e-indicator': IndicatorModal,\n SerialCodeCheckbox,\n },\n },\n)\nexport default class GoodsConfirm extends BaseView {\n private isUseSerialcode = false;\n\n private examInfo = new ExamInfo();\n\n private jwt = null;\n\n private GoodsRepository = RepositoryFactory.get().goods;\n\n private CartRepository = RepositoryFactory.get().cart;\n\n private isIndicatorDisplay = false;\n\n private isEntryBadCondition = false;\n\n private msgEntryBadCondition = '';\n\n private cartCode = '';\n\n private cartItem = new CartItem();\n\n private serialCode = '';\n\n private async created() {\n this.isIndicatorDisplay = true;\n this.jwt = JwtUtil.getJwtInfo();\n if (this.jwt === null) {\n this.redirectToTOP();\n }\n\n /* eslint-disable @typescript-eslint/camelcase */\n const { cart_code } = this.$route.query;\n if (cart_code === undefined) {\n this.redirectToTOP();\n }\n // グッズ購入用処理\n this.cartCode = String(cart_code);\n await this.getExamInfo();\n await this.getCartInfo();\n\n this.isIndicatorDisplay = false;\n }\n\n private mounted() {\n this.initialStaticScript();\n }\n\n /**\n * 検定情報を取得する\n */\n private async getExamInfo() {\n try {\n const ExamRepository = RepositoryFactory.get().exam;\n await ExamRepository.getExam().then((response) => {\n this.examInfo.examTitle = response.data.exam_title;\n this.examInfo.useNameFlg = response.data.use_name_flg;\n this.examInfo.useNameKanaFlg = response.data.use_name_kana_flg;\n this.examInfo.useGenderFlg = response.data.use_gender_flg;\n this.examInfo.useAddressFlg = response.data.use_address_flg;\n this.examInfo.useMailAnnounceFlg = response.data.use_mail_announce_flg;\n this.examInfo.usePaymentsKonbiniFlg = response.data.use_payments_konbni_flg;\n this.examInfo.usePaymentsSerialFlg = response.data.use_payments_serial_flg;\n this.examInfo.konbiniExpireDays = response.data.konbini_expire_days;\n }).catch(() => {\n this.redirectToTOP();\n });\n } catch (e) {\n this.redirectToTOP();\n }\n }\n\n /**\n * 買い物カゴ情報を取得する\n */\n private async getCartInfo() {\n try {\n await this.CartRepository.getCart(this.cartCode).then((response) => {\n if (response.status !== 200) {\n this.redirectToTOP();\n }\n const format = 'YYYY年MM月DD日(dd) HH:mm:ss';\n const cart_item = response.data.cart_items[0];\n this.cartItem.goodsCode = cart_item.goods_code;\n this.cartItem.goodsTitle = cart_item.goods_title;\n this.cartItem.quantity = Number(cart_item.quantity);\n this.cartItem.canBuy = cart_item.can_buy;\n this.cartItem.fee = Number(cart_item.fee.fee);\n this.cartItem.periodStart = StringUtil.toJapanDateString(cart_item.sale_period_start, format);\n this.cartItem.periodEnd = StringUtil.toJapanDateString(cart_item.sale_period_end, format);\n\n if (cart_item.cart_item_options !== undefined && Array.isArray(cart_item.cart_item_options)) {\n cart_item.cart_item_options.forEach((v: any) => {\n const goodsOption = new GoodsOption();\n goodsOption.goodsOptionId = v.goods_option_id;\n goodsOption.goodsOptionTypeTitle = v.goods_option_type_title;\n goodsOption.optionTitle = v.option_title;\n this.cartItem.goodsItemOptions.push(goodsOption);\n });\n }\n if (!this.cartItem.canBuy) {\n this.$router.replace({ path: this.paths.PURCHASE_CANNOT_PURCHASE });\n }\n }).catch(() => {\n this.redirectToTOP();\n });\n } catch (e) {\n this.redirectToTOP();\n }\n }\n\n /**\n * 決済の実行\n */\n private async purchaseSubmit() {\n this.isIndicatorDisplay = true;\n this.isEntryBadCondition = false;\n this.msgEntryBadCondition = '';\n\n // SessionStorageの登録情報を削除 // 会員登録とは別手続きになったので無用だが念の為\n sessionStorage.removeItem(REGISTER_USER_INFO);\n sessionStorage.removeItem(EXAMINEE_ITEMS);\n\n if (!this.cartItem.canBuy) {\n this.$router.replace({ path: this.paths.PURCHASE_CANNOT_PURCHASE });\n return;\n }\n\n await this.purchaseCart();\n }\n\n /** グッズの購入手続き */\n private async purchaseCart() {\n try {\n let sessionId = null;\n const param = new CartPurchaseParam();\n param.cartCode = this.cartCode;\n param.serialCode = this.serialCode;\n await this.CartRepository.purchaseCart(param).then((response: any) => {\n sessionId = response.data.stripe_session_id;\n }).catch((err) => {\n if (err.response.status === 400) {\n this.isEntryBadCondition = true;\n this.msgEntryBadCondition = String(err.response.data.error).replace(/\\r?\\n/g, '
');\n if (this.msgEntryBadCondition === 'undefined') {\n this.msgEntryBadCondition = '購入手続きに失敗しました。';\n }\n } else {\n this.isEntryBadCondition = true;\n this.msgEntryBadCondition = '購入手続きに失敗しました。';\n }\n });\n\n if (this.isEntryBadCondition) return;\n\n if (sessionId === null) {\n // eslint-disable-next-line @typescript-eslint/camelcase\n this.$router.replace({ path: this.paths.GOODS_DETAIL, query: { goods_code: this.cartItem.goodsCode } });\n } else {\n // セッションIDを使ってCheckout(Stripeの支払い画面)にリダイレクト\n const stripe = await loadStripe(String(process.env.VUE_APP_STRIPE_SITE_KEY));\n if (stripe !== null) {\n stripe.redirectToCheckout({ sessionId });\n }\n }\n } catch (_) {\n JwtUtil.deleteJwt();\n } finally {\n this.isIndicatorDisplay = false;\n }\n }\n\n /**\n * CSSとJSの読み込み\n */\n private initialStaticScript() {\n const CommonCss = document.createElement('link');\n CommonCss.rel = 'stylesheet';\n CommonCss.href = '/css/common.css';\n this.$el.appendChild(CommonCss);\n\n const AccountCommonCss = document.createElement('link');\n AccountCommonCss.rel = 'stylesheet';\n AccountCommonCss.href = '/account/css/common.css';\n this.$el.appendChild(AccountCommonCss);\n\n const ConfirmCss = document.createElement('link');\n ConfirmCss.rel = 'stylesheet';\n ConfirmCss.href = '/css/goods/css/confirm.css';\n this.$el.appendChild(ConfirmCss);\n\n this.getExamConfigCss().then((cssElement: HTMLLinkElement) => {\n this.$el.appendChild(cssElement);\n });\n\n const CommonJs = document.createElement('script');\n CommonJs.src = '/js/common.js';\n this.$el.appendChild(CommonJs);\n }\n\n /**\n * TOP画面に遷移\n */\n private redirectToTOP() {\n this.$router.replace(this.paths.TOP);\n }\n\n /**\n * シリアルコード使用のチェック切り替え\n */\n private changeCheckBox() {\n this.isUseSerialcode = !this.isUseSerialcode;\n // シリアルコード使用のチェックを外した場合、シリアルコード入力欄・エラー表示をリセット\n if (this.isUseSerialcode === false) {\n this.serialCode = '';\n this.isEntryBadCondition = false;\n this.msgEntryBadCondition = '';\n }\n }\n\n // eslint-disable-next-line class-methods-use-this\n formatPrice(fee: number): string {\n return StringUtil.separateNumber(fee);\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??ref--13-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsConfirm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??ref--13-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsConfirm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GoodsConfirm.vue?vue&type=template&id=07bd5e9e&\"\nimport script from \"./GoodsConfirm.vue?vue&type=script&lang=ts&\"\nexport * from \"./GoodsConfirm.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:\"header\",class:_vm.additionalClass,attrs:{\"id\":\"header\"}},[_c('div',{staticClass:\"header-logo\"},[_c('img',{attrs:{\"src\":_vm.designPathCreate(_vm.logoUri),\"alt\":_vm.logoAltText}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\nimport { Component, Mixins } from 'vue-mixin-decorator';\nimport { Prop } from 'vue-property-decorator';\n\nimport DesignPathCreator from '@/components/mixin/DesignPathCreator.vue';\n\nimport * as DesignCode from '@/classification/DesignCode';\n\nimport RepositoryFactory from '@/repository/RepositoryFactory';\n\n@Component\nexport default class ExamHeader extends Mixins(DesignPathCreator) {\n private logoUri = '';\n\n private logoAltText = '';\n\n @Prop({ default: '' })\n additionalClass: string;\n\n private created() {\n try {\n const ExamRepository = RepositoryFactory.get().exam;\n ExamRepository.getExam().then((response: any) => {\n if (response.status === 200 && response.data.resources !== undefined) {\n response.data.resources.forEach((resource: any) => {\n if (resource.display_place_key === DesignCode.TOP_MV_LOGO) {\n this.logoUri = resource.resource_uri;\n this.logoAltText = resource.alternative_text;\n }\n });\n }\n });\n } catch (error) {\n //\n }\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--13-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExamHeader.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--13-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExamHeader.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ExamHeader.vue?vue&type=template&id=217cecb3&\"\nimport script from \"./ExamHeader.vue?vue&type=script&lang=ts&\"\nexport * from \"./ExamHeader.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"goods-result-wrapper\",attrs:{\"id\":\"wrapper\"}},[_c('e-nav'),_c('main',[_c('article',[_vm._m(0),_c('section',{staticClass:\"goods-result-share-section\"},[(_vm.twitterShareUri.length > 0)?_c('div',{staticClass:\"goods-share-button\"},[_c('a',{attrs:{\"target\":\"_blank\",\"href\":_vm.twitterShareUri}},[_vm._v(\" 購入したグッズをツイート \")])]):_vm._e()]),_c('section',{staticClass:\"goods-result-links-section\"},[_c('div',{staticClass:\"contents-body\"},[_c('a',{staticClass:\"btn-strong\",on:{\"click\":function($event){return _vm.$router.replace(_vm.paths.GOODS_LIST)}}},[_c('span',[_vm._v(\"グッズ一覧へ\")])]),(_vm.otherGoods.length > 0)?_c('h2',{staticClass:\"title-h2\"},[_vm._v(\" その他のグッズ \")]):_vm._e(),(_vm.otherGoods.length > 0)?_c('div',{staticClass:\"goods-card-list\"},[_c('ul',_vm._l((_vm.otherGoods),function(goods){return _c('li',{key:goods.goodsCode,class:(\"goods-card-list-\" + (goods.orgGoodsCode))},[_c('router-link',{staticClass:\"goods-card\",attrs:{\"to\":{ path: _vm.paths.GOODS_DETAIL, query: { goods_code: goods.goodsCode } },\"replace\":\"\"}},[_c('div',{staticClass:\"card-pic\"},[_c('img',{attrs:{\"src\":_vm.designPathCreate(goods.thumbnail),\"alt\":goods.alternativeText}})]),_c('div',{staticClass:\"card-body\"},[_c('p',{staticClass:\"card-title color-main\"},[_vm._v(_vm._s(goods.goodsTitle))]),_c('p',{staticClass:\"card-price color-main\"},[_c('strong',[_vm._v(_vm._s(goods.fee))]),_c('span',[_vm._v(\"円\")]),_vm._v(\"(税込)\")]),_c('p',{staticClass:\"btn\"},[_c('span',[_vm._v(\"グッズ詳細へ\")])])])])],1)}),0)]):_vm._e()])])])]),_c('e-guide'),_c('e-footer'),_c('e-indicator',{attrs:{\"display\":_vm.isIndicatorDisplay}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"goods-result-score-section\"},[_c('div',{staticClass:\"contents-body\"},[_c('h2',{staticClass:\"align-center title-h2\"},[_vm._v(\" グッズ購入完了 \")]),_c('div',{staticClass:\"goods-result-score-title\"},[_c('h3',[_vm._v(\"ご購入ありがとうございました!\")]),_c('p',[_vm._v(\"商品のお届けまで、もうしばらくお待ちくださいませ。\")])])])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component } from 'vue-mixin-decorator';\nimport { Watch } from 'vue-property-decorator';\n\nimport BaseView from '@/views/BaseView.vue';\nimport ExamFooter from '@/components/ExamFooter.vue';\nimport ExamGuide from '@/components/ExamGuide.vue';\nimport ExamNav from '@/components/ExamNav.vue';\nimport IndicatorModal from '@/components/IndicatorModal.vue';\n\nimport * as StringUtil from '@/common/StringUtil';\n\nimport * as DesignCode from '@/classification/DesignCode';\n\nimport RepositoryFactory from '@/repository/RepositoryFactory';\n\nimport ExamInfo from '@/models/exam/ExamInfo';\nimport DesignResource from '@/models/exam/DesignResource';\nimport Goods from '@/models/goods/Goods';\n\n@Component(\n {\n components: {\n 'e-footer': ExamFooter,\n 'e-guide': ExamGuide,\n 'e-nav': ExamNav,\n 'e-indicator': IndicatorModal,\n },\n },\n)\nexport default class GoodsResult extends BaseView {\n private examInfo: ExamInfo = new ExamInfo();\n\n private purchasedGoodsCode = '';\n\n private twitterShareUri = '';\n\n private otherGoods: Goods[] = [];\n\n private isIndicatorDisplay = false;\n\n private resources = {\n EXAM_RANK_ICON: new DesignResource(),\n TWITTER_SHARE_RESULT_TEXT: new DesignResource(),\n };\n\n private async created() {\n // パラメータなし・該当データ存在しない場合はTOPへ遷移\n if (!this.$route.query.goods_code) {\n this.$router.replace(this.paths.TOP);\n }\n const goodsCode = String(this.$route.query.goods_code);\n const GoodsRepository = RepositoryFactory.get().goods;\n await GoodsRepository.getGoods(goodsCode).then((response: any) => {\n if (response.status === 200) {\n this.purchasedGoodsCode = response.data.goods_code;\n // デザインリソース\n if (response.data.resources !== undefined) {\n response.data.resources.forEach((resource: any) => {\n const key = resource.display_place_key;\n if (key in this.resources) {\n const tmp = new DesignResource();\n tmp.displayPlaceKey = resource.display_place_key;\n tmp.displayText = StringUtil.isEmpty(resource.display_text) ? '' : resource.display_text;\n tmp.cssClassName = StringUtil.isEmpty(resource.css_class_name) ? '' : resource.css_class_name;\n tmp.resourceUri = StringUtil.isEmpty(resource.resource_uri) ? '' : resource.resource_uri;\n tmp.resourceFileName = StringUtil.isEmpty(resource.resource_file_name) ? '' : resource.resource_file_name;\n tmp.alternativeText = StringUtil.isEmpty(resource.alternative_text) ? '' : resource.alternative_text;\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n this.resources[key] = tmp;\n }\n });\n }\n } else {\n this.$router.replace(this.paths.TOP);\n }\n }).catch(() => {\n this.$router.replace(this.paths.TOP);\n });\n }\n\n private async mounted() {\n this.initStaticScripts();\n\n this.isIndicatorDisplay = true;\n\n // 検定情報を取得する\n const ExamRepository = RepositoryFactory.get().exam;\n await ExamRepository.getExam().then((response: any) => {\n if (response.status === 200) {\n // eslint-disable-next-line prefer-destructuring\n const data = response.data;\n this.examInfo.examTitle = data.exam_title;\n this.examInfo.inPeriod = data.in_period;\n }\n });\n\n // グッズ一覧を取得\n const GoodsRepository = RepositoryFactory.get().goods;\n await GoodsRepository.getGoodsList().then((response: any) => {\n if (response.status === 200) {\n response.data.goods_list.forEach((goods: any) => {\n const goodsObj = new Goods();\n goodsObj.goodsCode = StringUtil.encodeToBase64Url(goods.goods_code);\n goodsObj.goodsTitle = goods.goods_title;\n goodsObj.fee = 0;\n if (goods.fees.length > 0) {\n goodsObj.fee = Number(goods.fees[0].fee);\n }\n\n // eslint-disable-next-line prefer-destructuring\n const resources = goods.resources;\n if (resources !== undefined && resources.length > 0) {\n resources.forEach((resource: any) => {\n if (resource.display_place_key === DesignCode.EXAM_RANK_ICON) {\n goodsObj.thumbnail = resource.resource_uri;\n goodsObj.alternativeText = resource.alternative_text;\n }\n });\n }\n\n // 購入したグッズは除外\n if (this.purchasedGoodsCode !== goods.goods_code) {\n this.otherGoods.push(goodsObj);\n }\n });\n }\n });\n\n this.isIndicatorDisplay = false;\n }\n\n @Watch('resources.TWITTER_SHARE_RESULT_TEXT')\n private setTwitterShareUri() {\n if (StringUtil.isEmpty(this.resources.TWITTER_SHARE_RESULT_TEXT.displayText)) {\n this.twitterShareUri = '';\n return;\n }\n let url = '';\n if (!StringUtil.isEmpty(this.resources.TWITTER_SHARE_RESULT_TEXT.resourceUri)) {\n const ext = StringUtil.getExt(this.resources.TWITTER_SHARE_RESULT_TEXT.resourceUri);\n url = this.resources.TWITTER_SHARE_RESULT_TEXT.resourceUri.replace(`.${ext}`, '.html');\n } else {\n const ext = StringUtil.getExt(this.resources.EXAM_RANK_ICON.resourceUri);\n url = this.resources.EXAM_RANK_ICON.resourceUri.replace(`.${ext}`, '.html');\n }\n this.twitterShareUri = `https://twitter.com/intent/tweet?text=${encodeURIComponent(this.resources.TWITTER_SHARE_RESULT_TEXT.displayText)}&url=${encodeURIComponent(this.designPathCreate(url))}`;\n }\n\n // eslint-disable-next-line class-methods-use-this\n formatPrice(fee: number): string {\n return StringUtil.separateNumber(fee);\n }\n\n /**\n * 静的CssとJsの読み込み\n */\n private initStaticScripts() {\n const CommonCss = document.createElement('link');\n CommonCss.rel = 'stylesheet';\n CommonCss.href = '/css/common.css';\n this.$el.appendChild(CommonCss);\n\n const GoodsResultCss = document.createElement('link');\n GoodsResultCss.rel = 'stylesheet';\n GoodsResultCss.href = '/css/goods/css/result.css';\n this.$el.appendChild(GoodsResultCss);\n\n const GoodsListCss = document.createElement('link');\n GoodsListCss.rel = 'stylesheet';\n GoodsListCss.href = '/css/goods/css/goods_list.css';\n this.$el.appendChild(GoodsListCss);\n\n this.getExamConfigCss().then((cssElement: HTMLLinkElement) => {\n this.$el.appendChild(cssElement);\n });\n\n const CommonJs = document.createElement('script');\n CommonJs.src = '/js/common.js';\n this.$el.appendChild(CommonJs);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??ref--13-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsResult.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??ref--13-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsResult.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GoodsResult.vue?vue&type=template&id=0817eace&\"\nimport script from \"./GoodsResult.vue?vue&type=script&lang=ts&\"\nexport * from \"./GoodsResult.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { JsonObject, JsonProperty } from 'json2typescript';\nimport Resource from '@/models/exam/Resource';\nimport BenefitsResource from '@/models/exam/BenefitsResource';\nimport News from '@/models/exam/News';\n\n@JsonObject('ExamInfo')\nexport default class ExamInfo {\n constructor() {\n this.examTitle = undefined;\n this.periodStart = undefined;\n this.periodEnd = undefined;\n this.overview = undefined;\n this.about = undefined;\n this.fee = undefined;\n this.useNameFlg = false;\n this.useNameKanaFlg = false;\n this.useGenderFlg = false;\n this.useAddressFlg = false;\n this.useMailAnnounceFlg = false;\n this.usePaymentsKonbiniFlg = undefined;\n this.usePaymentsSerialFlg = false;\n this.konbiniExpireDays = undefined;\n this.rankTitle = undefined;\n this.paymentType = undefined;\n this.inPeriod = false;\n }\n\n @JsonProperty('exam_title')\n public examTitle?: string;\n\n @JsonProperty('period_start')\n public periodStart?: string;\n\n @JsonProperty('period_end')\n public periodEnd?: string;\n\n @JsonProperty('overview')\n public overview?: string;\n\n @JsonProperty('about')\n public about?: string;\n\n @JsonProperty('fee')\n public fee?: string;\n\n @JsonProperty('use_name_flg')\n public useNameFlg: boolean;\n\n @JsonProperty('use_name_kana_flg')\n public useNameKanaFlg: boolean;\n\n @JsonProperty('use_gender_flg')\n public useGenderFlg: boolean;\n\n @JsonProperty('use_address_flg')\n public useAddressFlg: boolean;\n\n @JsonProperty('use_mail_announce_flg')\n public useMailAnnounceFlg: boolean;\n\n @JsonProperty('use_payments_konbini_flg', null, true)\n public usePaymentsKonbiniFlg?: number;\n\n @JsonProperty('use_payments_serial_flg')\n public usePaymentsSerialFlg: boolean;\n\n @JsonProperty('konbini_expire_days', null, true)\n public konbiniExpireDays?: number;\n\n @JsonProperty('resources')\n public resources: Array = [];\n\n @JsonProperty('benefits_resources')\n public benefitsResources: Array = [];\n\n @JsonProperty('news')\n public news: Array = [];\n\n // 内部パラメータ\n public rankTitle?: string;\n\n public paymentType?: string;\n\n public inPeriod: boolean;\n}\n"],"sourceRoot":""}