1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,955695,752687,227876,398166,879413,284874,791673,16568,74087,214644,134441,596058,332813,432213,668674,863233,677677,586340,488600,841050,665276,557638,864196,682576,348840,112886,821352,71083,245749,421827,590368,372863,528997,605344,984790,909409,85047,761715,516241,31276,143008,498914,712157,609986,401133,342128,638261,423024,596857,713941,91714,121713,453577,623777,644373,829925,637814,883363,201855,749967,358785,297830,296289,669178,848340,545340,773913,10998,654586,360420,658576,889560,797515,850261,57102,351575,e=>{"use strict";let i="http://localhost:8083".replace(/\/+$/,"");class t{configuration;constructor(e={}){this.configuration=e}set config(e){this.configuration=e}get basePath(){return null!=this.configuration.basePath?this.configuration.basePath:i}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||function e(i,t=""){return Object.keys(i).map(a=>(function i(t,a,r=""){let o=r+(r.length?`[${t}]`:t);if(a instanceof Array){let e=a.map(e=>encodeURIComponent(String(e))).join(`&${encodeURIComponent(o)}=`);return`${encodeURIComponent(o)}=${e}`}return a instanceof Set?i(t,Array.from(a),r):a instanceof Date?`${encodeURIComponent(o)}=${encodeURIComponent(a.toISOString())}`:a instanceof Object?e(a,o):`${encodeURIComponent(o)}=${encodeURIComponent(String(a))}`})(a,i[a],t)).filter(e=>e.length>0).join("&")}}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){let e=this.configuration.apiKey;if(e)return"function"==typeof e?e:()=>e}get accessToken(){let e=this.configuration.accessToken;if(e)return"function"==typeof e?e:async()=>e}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}let a=new t;class r{configuration;static jsonRegex=RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i");middleware;constructor(e=a){this.configuration=e,this.fetchApi=async(e,i)=>{let t,a={url:e,init:i};for(let e of this.middleware)e.pre&&(a=await e.pre({fetch:this.fetchApi,...a})||a);try{t=await (this.configuration.fetchApi||fetch)(a.url,a.init)}catch(e){for(let i of this.middleware)i.onError&&(t=await i.onError({fetch:this.fetchApi,url:a.url,init:a.init,error:e,response:t?t.clone():void 0})||t);if(void 0===t)if(e instanceof Error)throw new n(e,"The request failed and the interceptors did not return an alternative response");else throw e}for(let e of this.middleware)e.post&&(t=await e.post({fetch:this.fetchApi,url:a.url,init:a.init,response:t.clone()})||t);return t},this.middleware=e.middleware}withMiddleware(...e){let i=this.clone();return i.middleware=i.middleware.concat(...e),i}withPreMiddleware(...e){let i=e.map(e=>({pre:e}));return this.withMiddleware(...i)}withPostMiddleware(...e){let i=e.map(e=>({post:e}));return this.withMiddleware(...i)}isJsonMime(e){return!!e&&r.jsonRegex.test(e)}async request(e,i){let{url:t,init:a}=await this.createFetchParams(e,i),r=await this.fetchApi(t,a);if(r&&r.status>=200&&r.status<300)return r;throw new o(r,"Response returned an error code")}async createFetchParams(e,i){var t,a;let r,o=this.configuration.basePath+e.path;void 0!==e.query&&0!==Object.keys(e.query).length&&(o+="?"+this.configuration.queryParamsStringify(e.query));let n=Object.assign({},this.configuration.headers,e.headers);Object.keys(n).forEach(e=>void 0===n[e]?delete n[e]:{});let s={method:e.method,headers:n,body:e.body,credentials:this.configuration.credentials},d={...s,...await ("function"==typeof i?i:async()=>i)({init:s,context:e})};return t=d.body,r="u">typeof FormData&&t instanceof FormData||d.body instanceof URLSearchParams||(a=d.body,"u">typeof Blob&&a instanceof Blob)?d.body:this.isJsonMime(n["Content-Type"])?JSON.stringify(d.body):d.body,{url:o,init:{...d,body:r}}}fetchApi;clone(){let e=new this.constructor(this.configuration);return e.middleware=this.middleware.slice(),e}}
1class o extends Error{response;name;constructor(e,i){super(i),this.response=e,this.name="ResponseError"}}class n extends Error{cause;name;constructor(e,i){super(i),this.cause=e,this.name="FetchError"}}function s(e,i){return null!=e[i]}function d(e){var i;return null==(i=e)?i:{id:i.id,name:s(i,"name")?i.name:void 0,role:s(i,"role")?i.role:void 0,authorPageLink:s(i,"authorPageLink")?i.authorPageLink:void 0}}function l(e){var i;return null==(i=e)?i:{id:s(i,"id")?i.id:void 0,url:i.url,width:s(i,"width")?i.width:void 0,height:s(i,"height")?i.height:void 0}}function u(e){var i;return null==(i=e)?i:{id:i.id,contentId:s(i,"contentId")?i.contentId:void 0,images:s(i,"images")?l(i.images):void 0,url:s(i,"url")?i.url:void 0,releaseDate:s(i,"releaseDate")?i.releaseDate:void 0,releaseEndDate:s(i,"releaseEndDate")?i.releaseEndDate:void 0,isNewTab:s(i,"isNewTab")?i.isNewTab:void 0}}function c(e){var i;return null==(i=e)?i:{type:s(i,"type")?i.type:void 0,align:s(i,"align")?i.align:void 0,children:s(i,"children")?i.children.map(c):void 0,text:s(i,"text")?i.text:void 0,service:s(i,"service")?i.service:void 0,html:s(i,"html")?i.html:void 0,src:s(i,"src")?i.src:void 0,bold:s(i,"bold")?i.bold:void 0,url:s(i,"url")?i.url:void 0,link:s(i,"link")?i.link:void 0,width:s(i,"width")?i.width:void 0,height:s(i,"height")?i.height:void 0,viewerId:s(i,"viewerId")?i.viewerId:void 0}}function p(e){var i;return null==(i=e)?i:{episodeId:i.episodeId,hasAccess:i.hasAccess,isDisableBonus:s(i,"isDisableBonus")?i.isDisableBonus:void 0,isCampaign:i.isCampaign,accessType:i.accessType,timeRemainingInSeconds:s(i,"timeRemainingInSeconds")?i.timeRemainingInSeconds:void 0,price:s(i,"price")?i.price:void 0,priceUnit:s(i,"priceUnit")?i.priceUnit:void 0,read:i.read}}function m(e){var i;return null==(i=e)?i:{id:s(i,"id")?i.id:void 0,url:i.url,width:s(i,"width")?i.width:void 0,height:s(i,"height")?i.height:void 0,size:s(i,"size")?i.size:void 0}}function h(e){var i;return null==(i=e)?i:{contentId:i.contentId,id:i.id,indexId:s(i,"indexId")?i.indexId:void 0,title:i.title,url:i.url,author:s(i,"author")?i.author.map(d):void 0,datePublished:s(i,"datePublished")?i.datePublished:void 0,numLikes:s(i,"numLikes")?i.numLikes:void 0,thumbnailImages:s(i,"thumbnailImages")?i.thumbnailImages.map(m):void 0,access:s(i,"access")?p(i.access):void 0,storeItemVolumeIds:s(i,"storeItemVolumeIds")?i.storeItemVolumeIds:void 0,isWebLead:s(i,"isWebLead")?i.isWebLead:void 0}}function g(e){var i;return null==(i=e)?i:{id:s(i,"id")?i.id:void 0,url:i.url,width:s(i,"width")?i.width:void 0,height:s(i,"height")?i.height:void 0,size:s(i,"size")?i.size:void 0}}function w(e){var i;return null==(i=e)?i:{id:i.id,name:i.name}}function v(e){var i;return null==(i=e)?i:{contentId:i.contentId,id:i.id,indexId:s(i,"indexId")?i.indexId:void 0,name:i.name,daysOfWeek:s(i,"daysOfWeek")?i.daysOfWeek:void 0,description:s(i,"description")?i.description:void 0,publishDate:s(i,"publishDate")?i.publishDate:void 0,updatedOn:s(i,"updatedOn")?i.updatedOn:void 0,waitAndFreeRecoveryTime:s(i,"waitAndFreeRecoveryTime")?i.waitAndFreeRecoveryTime:void 0,seriesWaitOn:s(i,"seriesWaitOn")?i.seriesWaitOn:void 0,status:s(i,"status")?i.status:void 0,numFavorite:s(i,"numFavorite")?i.numFavorite:void 0,numLikesTotal:s(i,"numLikesTotal")?i.numLikesTotal:void 0,author:s(i,"author")?i.author.map(d):void 0,images:s(i,"images")?i.images.map(l):void 0,thumbnailImages:s(i,"thumbnailImages")?i.thumbnailImages.map(g):void 0,isCompleted:i.isCompleted,descriptionType:s(i,"descriptionType")?i.descriptionType:void 0,numEpisodes:i.numEpisodes,tag:s(i,"tag")?i.tag.map(w):void 0,isUp:s(i,"isUp")?i.isUp:void 0,category:s(i,"category")?i.category:void 0,isOnCampaign:s(i,"isOnCampaign")?i.isOnCampaign:void 0,campaignEndDatetime:s(i,"campaignEndDatetime")?i.campaignEndDatetime:void 0,freeArticleCount:s(i,"freeArticleCount")?i.freeArticleCount:void 0,waitFreeArticleCount:s(i,"waitFreeArticleCount")?i.waitFreeArticleCount:void 0,waitFreeStartArticleIndex:s(i,"waitFreeStartArticleIndex")?i.waitFreeStartArticleIndex:void 0,waitFreeEndArticleIndex:s(i,"waitFreeEndArticleIndex")?i.waitFreeEndArticleIndex:void 0,defaultSort:s(i,"defaultSort")?i.defaultSort:void 0,isAppVisible:i.isAppVisible,isSexualExpression:s(i,"isSexualExpression")?i.isSexualExpression:void 0,isExtremeExpression:s(i,"isExtremeExpression")?i.isExtremeExpression:void 0,webLeadEpisodeCount:s(i,"webLeadEpisodeCount")?i.webLeadEpisodeCount:void 0,ageLimit:s(i,"ageLimit")?i.ageLimit:void 0}}function R(e){var i;return null==(i=e)?i:{id:i.id,url:i.url,name:i.name,banner:s(i,"banner")?i.banner:void 0}}function y(e){var i;return null==(i=e)?i:{id:i.id,url:s(i,"url")?i.url:void 0,image:l(i.image),name:s(i,"name")?i.name:void 0,type:i.type,loginJsonUrl:s(i,"loginJsonUrl")?i.loginJsonUrl:void 0,notLoginJsonUrl:s(i,"notLoginJsonUrl")?i.notLoginJsonUrl:void 0}}function T(e){var i;return null==(i=e)?i:{seriesSummary:v(i.seriesSummary),articleLatestPublishDate:s(i,"articleLatestPublishDate")?i.articleLatestPublishDate:void 0,isFreeCharged:s(i,"isFreeCharged")?i.isFreeCharged:void 0}}function f(e){var i;return null==(i=e)?i:{contentId:s(i,"contentId")?i.contentId:void 0,userMissionId:s(i,"userMissionId")?i.userMissionId:void 0,title:s(i,"title")?i.title:void 0,endDate:s(i,"endDate")?i.endDate:void 0,achievementCount:s(i,"achievementCount")?i.achievementCount:void 0,targetAchievementCount:s(i,"targetAchievementCount")?i.targetAchievementCount:void 0,isAchieved:s(i,"isAchieved")?i.isAchieved:void 0,isRecommendedMission:s(i,"isRecommendedMission")?i.isRecommendedMission:void 0,achievedDate:s(i,"achievedDate")?i.achievedDate:void 0,status:s(i,"status")?i.status:void 0,promotionId:s(i,"promotionId")?i.promotionId:void 0,rewardTicketNumber:s(i,"rewardTicketNumber")?i.rewardTicketNumber:void 0,linkDestination:s(i,"linkDestination")?i.linkDestination:void 0}}function q(e){var i;return null==(i=e)?i:{id:i.id,message:i.message,url:s(i,"url")?i.url:void 0,isRead:i.isRead,updatedOn:s(i,"updatedOn")?i.updatedOn:void 0,createdOn:s(i,"createdOn")?i.createdOn:void 0}}function C(e){var i;return null==(i=e)?i:{seriesSummary:s(i,"seriesSummary")?v(i.seriesSummary):void 0,episodeSummary:s(i,"episodeSummary")?h(i.episodeSummary):void 0}}function S(e){var i;return null==(i=e)?i:{id:s(i,"id")?i.id:void 0,status:s(i,"status")?i.status:void 0,url:s(i,"url")?i.url:void 0,missionPromotionId:s(i,"missionPromotionId")?i.missionPromotionId:void 0,title:s(i,"title")?i.title:void 0,type:s(i,"type")?i.type:void 0,achievementCount:s(i,"achievementCount")?i.achievementCount:void 0,targetAchievementCount:s(i,"targetAchievementCount")?i.targetAchievementCount:void 0,limit:s(i,"limit")?i.limit:void 0}}function k(e){var i;return null==(i=e)?i:{startDayOfWeeklyMission:s(i,"startDayOfWeeklyMission")?i.startDayOfWeeklyMission:void 0,isStartDayOfWeeklyMission:s(i,"isStartDayOfWeeklyMission")?i.isStartDayOfWeeklyMission:void 0,tutorialMissionList:s(i,"tutorialMissionList")?i.tutorialMissionList.map(f):void 0,dailyMissionList:s(i,"dailyMissionList")?i.dailyMissionList.map(f):void 0,weeklyMissionList:s(i,"weeklyMissionList")?i.weeklyMissionList.map(f):void 0,monthlyMissionList:s(i,"monthlyMissionList")?i.monthlyMissionList.map(f):void 0,yearlyMissionList:s(i,"yearlyMissionList")?i.yearlyMissionList.map(f):void 0,campaignMissionList:s(i,"campaignMissionList")?i.campaignMissionList.map(f):void 0,noneMissionList:s(i,"noneMissionList")?i.noneMissionList.map(f):void 0}}function U(e){var i;return null==(i=e)?i:{userPopupNewArticleId:s(i,"userPopupNewArticleId")?i.userPopupNewArticleId:void 0,articleId:s(i,"articleId")?i.articleId:void 0,articleTitle:s(i,"articleTitle")?i.articleTitle:void 0,userId:s(i,"userId")?i.userId:void 0,userName:s(i,"userName")?i.userName:void 0,userType:s(i,"userType")?i.userType:void 0,seriesName:s(i,"seriesName")?i.seriesName:void 0,seriesId:s(i,"seriesId")?i.seriesId:void 0,isRental:s(i,"isRental")?i.isRental:void 0,episodeUrl:s(i,"episodeUrl")?i.episodeUrl:void 0,largeImageUrl:s(i,"largeImageUrl")?i.largeImageUrl:void 0,smallImageUrl:s(i,"smallImageUrl")?i.smallImageUrl:void 0,thumbnailImageUrl:s(i,"thumbnailImageUrl")?i.thumbnailImageUrl:void 0}}function I(e){var i;
1return null==(i=e)?i:{id:i.id,title:i.title,descriptionType:s(i,"descriptionType")?i.descriptionType:void 0,body:s(i,"body")?i.body:void 0,datePublished:i.datePublished,visualImage:s(i,"visualImage")?l(i.visualImage):void 0,category:s(i,"category")?i.category:void 0,isAdminMode:s(i,"isAdminMode")?i.isAdminMode:void 0}}function A(e){var i;return null==(i=e)?i:{contentPopupBannerId:s(i,"contentPopupBannerId")?i.contentPopupBannerId:void 0,destinationUrl:i.destinationUrl,image:l(i.image),startDate:s(i,"startDate")?i.startDate:void 0,endDate:s(i,"endDate")?i.endDate:void 0,displayWeekdays:s(i,"displayWeekdays")?i.displayWeekdays:void 0}}function O(e){var i;return null==(i=e)?i:{id:i.id,displayName:s(i,"displayName")?i.displayName:void 0,link:s(i,"link")?i.link:void 0,image:s(i,"image")?l(i.image):void 0,type:s(i,"type")?i.type:void 0}}function P(e){var i;return null==(i=e)?i:{readingCompletedEpisodeIndex:s(i,"readingCompletedEpisodeIndex")?i.readingCompletedEpisodeIndex:void 0,readingCompletedNextEpisodeId:s(i,"readingCompletedNextEpisodeId")?i.readingCompletedNextEpisodeId:void 0}}function x(e){var i;return null==(i=e)?i:{id:i.id,images:s(i,"images")?i.images.map(g):void 0,url:s(i,"url")?i.url:void 0,alt:s(i,"alt")?i.alt:void 0}}function E(e){var i,t=e;if(null==t)return t;return{contentId:t.contentId,id:t.id,fromSection:s(t,"fromSection")?t.fromSection:void 0,title:s(t,"title")?t.title:void 0,storeItem:s(t,"storeItem")?null==(i=t.storeItem)?i:{id:i.id,title:i.title,seriesHashKey:s(i,"seriesHashKey")?i.seriesHashKey:void 0,seriesTitle:s(i,"seriesTitle")?i.seriesTitle:void 0,type:s(i,"type")?i.type:void 0,otherName:s(i,"otherName")?i.otherName:void 0,url:s(i,"url")?i.url:void 0,magazineName:s(i,"magazineName")?i.magazineName:void 0,magazineUrl:s(i,"magazineUrl")?i.magazineUrl:void 0,description:s(i,"description")?i.description:void 0,descriptionType:s(i,"descriptionType")?i.descriptionType:void 0,isMailSent:i.isMailSent,enabled:s(i,"enabled")?i.enabled:void 0,trialComiciUrl:s(i,"trialComiciUrl")?i.trialComiciUrl:void 0,trialOtherUrl:s(i,"trialOtherUrl")?i.trialOtherUrl:void 0,status:s(i,"status")?i.status:void 0,image:s(i,"image")?l(i.image):void 0,images:s(i,"images")?i.images.map(g):void 0,authors:s(i,"authors")?i.authors.map(d):void 0,publishStartOn:s(i,"publishStartOn")?i.publishStartOn:void 0,publishEndOn:s(i,"publishEndOn")?i.publishEndOn:void 0,storeItemBanners:s(i,"storeItemBanners")?i.storeItemBanners.map(x):void 0,seriesThumbnailImages:s(i,"seriesThumbnailImages")?null===i.seriesThumbnailImages?null:i.seriesThumbnailImages.map(g):void 0,defaultSort:s(i,"defaultSort")?i.defaultSort:void 0}:void 0,kanaTitle:s(t,"kanaTitle")?t.kanaTitle:void 0,trialArticleId:s(t,"trialArticleId")?t.trialArticleId:void 0,isMailSent:s(t,"isMailSent")?t.isMailSent:void 0,isbn:s(t,"isbn")?t.isbn:void 0,description:s(t,"description")?t.description:void 0,descriptionType:s(t,"descriptionType")?t.descriptionType:void 0,price:s(t,"price")?t.price:void 0,bookSize:s(t,"bookSize")?t.bookSize:void 0,pageCount:s(t,"pageCount")?t.pageCount:void 0,image:s(t,"image")?l(t.image):void 0,images:s(t,"images")?t.images.map(g):void 0,releaseDateOn:s(t,"releaseDateOn")?t.releaseDateOn:void 0,publishDateOn:s(t,"publishDateOn")?t.publishDateOn:void 0,jdcn:s(t,"jdcn")?t.jdcn:void 0,isEnable:s(t,"isEnable")?t.isEnable:void 0}}function D(e){var i;return null==(i=e)?i:{id:i.id,url:i.url,storeType:i.storeType,otherType:s(i,"otherType")?i.otherType:void 0,otherName:s(i,"otherName")?i.otherName:void 0,name:i.name,iconUrl:i.iconUrl,code:i.code}}e.s(["BaseAPI",0,r,"COLLECTION_FORMATS",0,{csv:",",ssv:" ",tsv:" ",pipes:"|"},"Configuration",0,t,"JSONApiResponse",0,class{raw;transformer;constructor(e,i=e=>e){this.raw=e,this.transformer=i}async value(){return this.transformer(await this.raw.json())}},"RequiredError",0,class extends Error{field;name;constructor(e,i){super(i),this.field=e,this.name="RequiredError"}},"ResponseError",0,o,"TextApiResponse",0,class{raw;constructor(e){this.raw=e}async value(){return await this.raw.text()}},"VoidApiResponse",0,class{raw;constructor(e){this.raw=e}async value(){}},"canConsumeForm",0,function(e){for(let i of e)if("multipart/form-data"===i.contentType)return!0;return!1},"exists",0,s],752687),e.s(["AppPaymentRequestModelToJSON",0,function(e){if(void 0!==e)return null===e?null:{pointTypeId:e.pointTypeId,paymentType:e.paymentType,transactionId:e.transactionId,token:e.token,productId:e.productId}}],227876),e.s(["ArticleHashModelFromJSON",0,function(e){var i;return null==(i=e)?i:{hashKey:s(i,"hashKey")?i.hashKey:void 0}}],398166),e.s(["AssignDailyBonus200ResponseFromJSON",0,function(e){var i;return null==(i=e)?i:{isUseTicket:s(i,"isUseTicket")?i.isUseTicket:void 0,bonusValue:s(i,"bonusValue")?i.bonusValue:void 0}}],879413),e.s(["CheckMailExistence200ResponseFromJSON",0,function(e){var i;
1return null==(i=e)?i:{isDuplicated:s(i,"isDuplicated")?i.isDuplicated:void 0,userIdBasedOnMail:s(i,"userIdBasedOnMail")?i.userIdBasedOnMail:void 0}}],284874),e.s(["CheckUserIdExistence200ResponseFromJSON",0,function(e){var i;return null==(i=e)?i:{isDuplicated:s(i,"isDuplicated")?i.isDuplicated:void 0}}],791673),e.s(["ContentBannerModelFromJSON",0,u],16568),e.s(["ContentCarouselModelFromJSON",0,function(e){var i;return null==(i=e)?i:{id:i.id,childContentId:s(i,"childContentId")?i.childContentId:void 0,banner:u(i.banner),order:i.order,daysOfWeek:s(i,"daysOfWeek")?i.daysOfWeek:void 0}}],74087),e.s(["EpisodeSummaryModelFromJSON",0,h],214644),e.s(["TagModelFromJSON",0,w],134441),e.s(["SeriesSummaryModelFromJSON",0,v],596058),e.s(["EpisodeModelFromJSON",0,function(e){var i,t=e;if(null==t)return t;return{contentId:t.contentId,id:t.id,indexId:s(t,"indexId")?t.indexId:void 0,series:v(t.series),summary:h(t.summary),content:s(t,"content")?t.content.map(c):void 0,contentRowJson:s(t,"contentRowJson")?t.contentRowJson:void 0,description:s(t,"description")?t.description.map(c):void 0,descriptionRowJson:s(t,"descriptionRowJson")?t.descriptionRowJson:void 0,access:p(t.access),firstEpisodeId:s(t,"firstEpisodeId")?t.firstEpisodeId:void 0,previousEpisodeId:s(t,"previousEpisodeId")?t.previousEpisodeId:void 0,nextEpisodeId:s(t,"nextEpisodeId")?t.nextEpisodeId:void 0,seriesEpisodeNumber:s(t,"seriesEpisodeNumber")?t.seriesEpisodeNumber:void 0,isAdminMode:s(t,"isAdminMode")?t.isAdminMode:void 0,fanLetterUrl:s(t,"fanLetterUrl")?t.fanLetterUrl:void 0,shareMessage:s(t,"shareMessage")?t.shareMessage:void 0,webNextEpisode:s(t,"webNextEpisode")?null==(i=t.webNextEpisode)?i:{id:i.id,title:i.title,url:i.url,thumbnailImages:s(i,"thumbnailImages")?i.thumbnailImages.map(m):void 0}:void 0,viewer:s(t,"viewer")?function(e){var i;if(null==e)return e;return{isReadingHorizontal:e.isReadingHorizontal,readingDirection:e.readingDirection,dataComicInfo:null==(i=e.dataComicInfo)?i:{id:i.id,title:s(i,"title")?i.title:void 0,dataComicTitle:s(i,"dataComicTitle")?i.dataComicTitle:void 0,description:s(i,"description")?i.description:void 0,thumbnail:s(i,"thumbnail")?i.thumbnail:void 0,store:s(i,"store")?i.store.map(R):void 0,ebook:s(i,"ebook")?i.ebook.map(R):void 0},viewerBanner:s(e,"viewerBanner")?e.viewerBanner.map(y):void 0}}(t.viewer):void 0}}],332813),e.s(["EpisodeReadCompleteModelFromJSON",0,function(e){var i;return null==(i=e)?i:{contentId:s(i,"contentId")?i.contentId:void 0,readingCompletedEpisodeIndex:i.readingCompletedEpisodeIndex,readingCompletedNextEpisodeId:i.readingCompletedNextEpisodeId}}],432213),e.s(["EpisodeRentalHistoryModelFromJSON",0,function(e){var i;return null==(i=e)?i:{episodeSummary:s(i,"episodeSummary")?h(i.episodeSummary):void 0,seriesSummary:s(i,"seriesSummary")?v(i.seriesSummary):void 0,rentalStatus:s(i,"rentalStatus")?i.rentalStatus:void 0,rentalExpiredDate:s(i,"rentalExpiredDate")?i.rentalExpiredDate:void 0}}],668674),e.s(["FavoriteSeriesResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{totalCount:s(i,"totalCount")?i.totalCount:void 0,favoriteSeries:s(i,"favoriteSeries")?i.favoriteSeries.map(T):void 0}}],863233),e.s(["FixPageResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{contentId:i.contentId,id:i.id,title:s(i,"title")?i.title:void 0,description:s(i,"description")?i.description:void 0,descriptionType:s(i,"descriptionType")?i.descriptionType:void 0,css:s(i,"css")?i.css:void 0,metaDescription:s(i,"metaDescription")?i.metaDescription:void 0,ogpImageUrl:s(i,"ogpImageUrl")?i.ogpImageUrl:void 0,permanentLink:s(i,"permanentLink")?i.permanentLink:void 0,isExternal:s(i,"isExternal")?i.isExternal:void 0}}],677677),e.s(["UserMissionItemModelFromJSON",0,f],586340),e.s(["GachaModelFromJSON",0,function(e){var i;return null==(i=e)?i:{canRollGacha:s(i,"canRollGacha")?i.canRollGacha:void 0,gachaTimes:s(i,"gachaTimes")?i.gachaTimes:void 0,gachaBonusResult:s(i,"gachaBonusResult")?i.gachaBonusResult:void 0,reasonNoRollGacha:s(i,"reasonNoRollGacha")?i.reasonNoRollGacha:void 0,achievedMissionList:s(i,"achievedMissionList")?i.achievedMissionList.map(f):void 0}}],488600),e.s(["NotificationModelFromJSON",0,q],841050),e.s(["GetNotifications200ResponseFromJSON",0,function(e){var i;return null==(i=e)?i:{notifications:s(i,"notifications")?i.notifications.map(q):void 0,totalUnreadNotificationNum:s(i,"totalUnreadNotificationNum")?i.totalUnreadNotificationNum:void 0}}],665276),e.s(["HeaderModelFromJSON",0,function(e){var i;return null==(i=e)?i:{name:i.name,imagePath:s(i,"imagePath")?i.imagePath:void 0,path:i.path,displayOrder:i.displayOrder,isNewTab:s(i,"isNewTab")?i.isNewTab:void 0,enabled:i.enabled}}],557638),e.s(["InAppPaymentChargeStatusResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{status:s(i,"status")?i.status:void 0,errorCode:s(i,"errorCode")?i.errorCode:void 0,errorMessage:s(i,"errorMessage")?i.errorMessage:void 0}}],864196),e.s(["LikedEpisodeModelFromJSON",0,C],682576),e.s(["LikedEpisodesResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{totalCount:s(i,"totalCount")?i.totalCount:void 0,likedEpisodes:s(i,"likedEpisodes")?i.likedEpisodes.map(C):void 0}}],348840),e.s(["MagazineLogoModelFromJSON",0,function(e){var i;return null==(i=e)?i:{contentId:i.contentId,images:l(i.images),url:i.url,name:s(i,"name")?i.name:void 0,appHeaderColor:s(i,"appHeaderColor")?i.appHeaderColor:void 0,showDayOfWeek:s(i,"showDayOfWeek")?i.showDayOfWeek:void 0}}
1],112886),e.s(["UserMissionItemsModelFromJSON",0,k],821352),e.s(["NewsContentModelFromJSON",0,I],71083),e.s(["NewsModelFromJSON",0,function(e){var i;return null==(i=e)?i:{news:i.news.map(I),categories:i.categories}}],245749),e.s(["NormalAuthResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{idToken:s(i,"idToken")?i.idToken:void 0,refreshToken:s(i,"refreshToken")?i.refreshToken:void 0,agreement:s(i,"agreement")?i.agreement:void 0,comebackLoginMissions:s(i,"comebackLoginMissions")?i.comebackLoginMissions.map(f):void 0}}],421827),e.s(["PayPayPaymentChargeRequestModelToJSON",0,function(e){if(void 0!==e)return null===e?null:{pointTypeId:e.pointTypeId,message:e.message,paymentId:e.paymentId,merchantPaymentId:e.merchantPaymentId}}],590368),e.s(["PayPayPaymentStatusResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{paymentStatus:i.paymentStatus,message:s(i,"message")?i.message:void 0,merchantPaymentId:i.merchantPaymentId,paymentId:s(i,"paymentId")?i.paymentId:void 0,paymentResultRowJson:s(i,"paymentResultRowJson")?i.paymentResultRowJson:void 0}}],372863),e.s(["PaymentChargeAvailabilityResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{canCharge:i.canCharge,reason:s(i,"reason")?i.reason:void 0,remainingSeconds:s(i,"remainingSeconds")?i.remainingSeconds:void 0,nextAvailableAt:s(i,"nextAvailableAt")?i.nextAvailableAt:void 0}}],528997),e.s(["PostConnectSidCheckUserExists200ResponseFromJSON",0,function(e){var i;return null==(i=e)?i:{_exists:s(i,"exists")?i.exists:void 0}}],605344),e.s(["ProductModelFromJSON",0,function(e){var i,t=e;if(null==t)return t;return{id:t.id,type:t.type,name:t.name,price:t.price,currency:t.currency,paymentMethods:t.paymentMethods,points:s(t,"points")?null==(i=t.points)?i:{value:i.value,bonusValue:i.bonusValue}:void 0}}],984790),e.s(["UserModelFromJSON",0,O],909409),e.s(["RankingSeriesModelFromJSON",0,function(e){var i;return null==(i=e)?i:{contentId:s(i,"contentId")?i.contentId:void 0,id:i.id,indexId:s(i,"indexId")?i.indexId:void 0,title:i.title,image:s(i,"image")?l(i.image):void 0,thumbnailImages:s(i,"thumbnailImages")?i.thumbnailImages.map(g):void 0,author:s(i,"author")?i.author.map(O):void 0,url:i.url,isUp:s(i,"isUp")?i.isUp:void 0,isOnCampaign:s(i,"isOnCampaign")?i.isOnCampaign:void 0,campaignEndDatetime:s(i,"campaignEndDatetime")?i.campaignEndDatetime:void 0,freeArticleCount:s(i,"freeArticleCount")?i.freeArticleCount:void 0,waitFreeStartArticleIndex:s(i,"waitFreeStartArticleIndex")?i.waitFreeStartArticleIndex:void 0,waitFreeEndArticleIndex:s(i,"waitFreeEndArticleIndex")?i.waitFreeEndArticleIndex:void 0,defaultSort:s(i,"defaultSort")?i.defaultSort:void 0}}],85047),e.s(["RentalRequestModelToJSON",0,function(e){if(void 0!==e)return null===e?null:{articleHashKeys:e.articleHashKeys,seriesHashKey:e.seriesHashKey,amount:e.amount,ticketCount:e.ticketCount}}],761715),e.s(["SbpsPaymentErrorResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{pointTypeId:s(i,"pointTypeId")?i.pointTypeId:void 0,amount:s(i,"amount")?i.amount:void 0,bonus:s(i,"bonus")?i.bonus:void 0,code:s(i,"code")?i.code:void 0,message:s(i,"message")?i.message:void 0}}],516241),e.s(["SbpsPaymentSuccessResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{pointTypeId:s(i,"pointTypeId")?i.pointTypeId:void 0,amount:s(i,"amount")?i.amount:void 0,bonus:s(i,"bonus")?i.bonus:void 0,code:s(i,"code")?i.code:void 0,message:s(i,"message")?i.message:void 0}}],31276),e.s(["SearchResultModelFromJSON",0,function(e){var i,t,a,r=e;if(null==r)return r;return{series:s(r,"series")?null==(i=r.series)?i:{total:i.total,series:i.series.map(v)}:void 0,episode:s(r,"episode")?null==(t=r.episode)?t:{total:t.total,episodes:t.episodes.map(h)}:void 0,seriesByAuthor:s(r,"seriesByAuthor")?null==(a=r.seriesByAuthor)?a:{total:a.total,seriesByAuthor:a.seriesByAuthor.map(v)}:void 0}}],143008),e.s(["SendVerifyMailRequestToJSON",0,function(e){if(void 0!==e)return null===e?null:{referrerUrl:e.referrerUrl}}],498914),e.s(["SeriesAccessModelFromJSON",0,function(e){var i;return null==(i=e)?i:{seriesId:i.seriesId,episodeAccesses:s(i,"episodeAccesses")?i.episodeAccesses.map(p):void 0,episodeReadCompleteInfo:s(i,"episodeReadCompleteInfo")?i.episodeReadCompleteInfo.map(P):void 0}}],712157),e.s(["SeriesDetailModelFromJSON",0,function(e){var i;
1return null==(i=e)?i:{summary:v(i.summary),contentId:i.contentId}}],609986),e.s(["SeriesMatomeModelFromJSON",0,function(e){var i;return null==(i=e)?i:{contentId:s(i,"contentId")?i.contentId:void 0,id:s(i,"id")?i.id:void 0,image:s(i,"image")?l(i.image):void 0,spImage:s(i,"spImage")?l(i.spImage):void 0,title:s(i,"title")?i.title:void 0,description:s(i,"description")?i.description:void 0,enabled:s(i,"enabled")?i.enabled:void 0,endedSeries:s(i,"endedSeries")?i.endedSeries.map(v):void 0,series:s(i,"series")?i.series.map(v):void 0}}],401133),e.s(["SeriesModelFromJSON",0,function(e){var i;return null==(i=e)?i:{summary:v(i.summary),isAdminMode:s(i,"isAdminMode")?i.isAdminMode:void 0,shareMessage:s(i,"shareMessage")?i.shareMessage:void 0,episodes:s(i,"episodes")?i.episodes.map(h):void 0}}],342128),e.s(["StoreItemVolumeDetailModelFromJSON",0,E],638261),e.s(["SeriesStoreItemVolumeModelFromJSON",0,function(e){var i;return null==(i=e)?i:{totalCount:s(i,"totalCount")?i.totalCount:void 0,storeItemId:s(i,"storeItemId")?i.storeItemId:void 0,storeItemVolumeDetailModels:s(i,"storeItemVolumeDetailModels")?i.storeItemVolumeDetailModels.map(E):void 0}}],423024),e.s(["SeriesSummaryWithCampaignInfoFromJSON",0,function(e){var i;return null==(i=e)?i:{contentId:i.contentId,id:i.id,indexId:s(i,"indexId")?i.indexId:void 0,name:i.name,daysOfWeek:s(i,"daysOfWeek")?i.daysOfWeek:void 0,description:s(i,"description")?i.description:void 0,publishDate:s(i,"publishDate")?i.publishDate:void 0,updatedOn:s(i,"updatedOn")?i.updatedOn:void 0,waitAndFreeRecoveryTime:s(i,"waitAndFreeRecoveryTime")?i.waitAndFreeRecoveryTime:void 0,seriesWaitOn:s(i,"seriesWaitOn")?i.seriesWaitOn:void 0,status:s(i,"status")?i.status:void 0,numFavorite:s(i,"numFavorite")?i.numFavorite:void 0,numLikesTotal:s(i,"numLikesTotal")?i.numLikesTotal:void 0,author:s(i,"author")?i.author.map(d):void 0,images:s(i,"images")?i.images.map(l):void 0,thumbnailImages:s(i,"thumbnailImages")?i.thumbnailImages.map(g):void 0,isCompleted:i.isCompleted,descriptionType:s(i,"descriptionType")?i.descriptionType:void 0,numEpisodes:i.numEpisodes,tag:s(i,"tag")?i.tag.map(w):void 0,isUp:s(i,"isUp")?i.isUp:void 0,category:s(i,"category")?i.category:void 0,isOnCampaign:s(i,"isOnCampaign")?i.isOnCampaign:void 0,campaignEndDatetime:s(i,"campaignEndDatetime")?i.campaignEndDatetime:void 0,freeArticleCount:s(i,"freeArticleCount")?i.freeArticleCount:void 0,waitFreeArticleCount:s(i,"waitFreeArticleCount")?i.waitFreeArticleCount:void 0,waitFreeStartArticleIndex:s(i,"waitFreeStartArticleIndex")?i.waitFreeStartArticleIndex:void 0,waitFreeEndArticleIndex:s(i,"waitFreeEndArticleIndex")?i.waitFreeEndArticleIndex:void 0,defaultSort:s(i,"defaultSort")?i.defaultSort:void 0,isAppVisible:i.isAppVisible,isSexualExpression:s(i,"isSexualExpression")?i.isSexualExpression:void 0,isExtremeExpression:s(i,"isExtremeExpression")?i.isExtremeExpression:void 0,webLeadEpisodeCount:s(i,"webLeadEpisodeCount")?i.webLeadEpisodeCount:void 0,ageLimit:s(i,"ageLimit")?i.ageLimit:void 0,campaignInfo:s(i,"campaignInfo")?i.campaignInfo:void 0}}],596857),e.s(["SidAuthCodeRequestModelToJSON",0,function(e){if(void 0!==e)return null===e?null:{code:e.code,code_verifier:e.codeVerifier,utmSource:e.utmSource,utmMedium:e.utmMedium,utmCampaign:e.utmCampaign}}],713941),e.s(["SidWebhookResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{message:s(i,"message")?i.message:void 0}}],91714),e.s(["SignupModelFromJSON",0,function(e){var i;return null==(i=e)?i:{idToken:i.idToken,refreshToken:i.refreshToken,achievedMissionList:i.achievedMissionList.map(f)}}],121713),e.s(["SignupRequestModelToJSON",0,function(e){if(void 0!==e)return null===e?null:{mailAddress:e.mailAddress,password:e.password,comiciId:e.comiciId,genderType:e.genderType,yearAge:e.yearAge,userType:e.userType,isAgreementChecked:e.isAgreementChecked,encodeType:e.encodeType,encodeSocialId:e.encodeSocialId,utmSource:e.utmSource,utmMedium:e.utmMedium,utmCampaign:e.utmCampaign}}],453577),e.s(["SiteSettingModelFromJSON",0,function(e){var i;return null==(i=e)?i:{name:s(i,"name")?i.name:void 0,message:s(i,"message")?i.message:void 0,catchCopy:s(i,"CatchCopy")?i.CatchCopy:void 0,metaKeyword:s(i,"metaKeyword")?i.metaKeyword:void 0,metaDescription:s(i,"metaDescription")?i.metaDescription:void 0,faviconUrl:s(i,"faviconUrl")?i.faviconUrl:void 0,appleTouchIconUrl:s(i,"appleTouchIconUrl")?i.appleTouchIconUrl:void 0,ogpImageUrl:s(i,"ogpImageUrl")?i.ogpImageUrl:void 0,fanLetterLink:s(i,"fanLetterLink")?i.fanLetterLink:void 0,logoImageUrl:s(i,"logoImageUrl")?i.logoImageUrl:void 0,footerLogoImageUrl:s(i,"footerLogoImageUrl")?i.footerLogoImageUrl:void 0,smartNewsLogoImageUrl:s(i,"smartNewsLogoImageUrl")?i.smartNewsLogoImageUrl:void 0,spLogoImageUrl:s(i,"spLogoImageUrl")?i.spLogoImageUrl:void 0,guestUserGachaBonus:s(i,"guestUserGachaBonus")?i.guestUserGachaBonus:void 0,abjImageUrl:s(i,"abjImageUrl")?i.abjImageUrl:void 0,jasracImageUrl:s(i,"jasracImageUrl")?i.jasracImageUrl:void 0,jasracLicenseNumber:s(i,"jasracLicenseNumber")?i.jasracLicenseNumber:void 0}}],623777),e.s(["SiteToppageResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{sectionTitle:s(i,"section_title")?i.section_title:void 0,displayOrder:s(i,"dis
1play_order")?i.display_order:void 0}}],644373),e.s(["SocialCallbackModelFromJSON",0,function(e){var i;return null==(i=e)?i:{idToken:s(i,"idToken")?i.idToken:void 0,refreshToken:s(i,"refreshToken")?i.refreshToken:void 0,agreement:s(i,"agreement")?i.agreement:void 0,comebackLoginMissions:s(i,"comebackLoginMissions")?i.comebackLoginMissions.map(f):void 0,encodeType:s(i,"encodeType")?i.encodeType:void 0,encodeSocialId:s(i,"encodeSocialId")?i.encodeSocialId:void 0,originDomain:s(i,"originDomain")?i.originDomain:void 0,mailAddress:s(i,"mailAddress")?i.mailAddress:void 0,comiciId:s(i,"comiciId")?i.comiciId:void 0}}],829925),e.s(["SocialVerifyModelFromJSON",0,function(e){var i;return null==(i=e)?i:{code:s(i,"code")?i.code:void 0,secret:s(i,"secret")?i.secret:void 0,type:s(i,"type")?i.type:void 0,id:s(i,"id")?i.id:void 0,email:s(i,"email")?i.email:void 0,username:s(i,"username")?i.username:void 0}}],637814),e.s(["StoreItemVolumeModelFromJSON",0,function(e){var i;return null==(i=e)?i:{summary:s(i,"summary")?E(i.summary):void 0,storeItemVolumeLinks:s(i,"storeItemVolumeLinks")?i.storeItemVolumeLinks.map(D):void 0,isAdminMode:s(i,"isAdminMode")?i.isAdminMode:void 0}}],883363),e.s(["StoreItemVolumeSimpleModelFromJSON",0,function(e){var i;return null==(i=e)?i:{contentId:s(i,"contentId")?i.contentId:void 0,id:s(i,"id")?i.id:void 0,title:s(i,"title")?i.title:void 0,volumeNumber:s(i,"volumeNumber")?i.volumeNumber:void 0,volumeNumberDisp:s(i,"volumeNumberDisp")?i.volumeNumberDisp:void 0,images:s(i,"images")?i.images.map(g):void 0}}],201855),e.s(["StripeCustomerModelFromJSON",0,function(e){var i;return null==(i=e)?i:{cardToken:s(i,"cardToken")?i.cardToken:void 0,stripeCustomerCd:s(i,"stripeCustomerCd")?i.stripeCustomerCd:void 0}}],749967),e.s(["StripePaymentChargeStatusResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{status:s(i,"status")?i.status:void 0,errorCode:s(i,"errorCode")?i.errorCode:void 0,errorMessage:s(i,"errorMessage")?i.errorMessage:void 0}}],358785);function M(e,i){return null==e?e:{nameTrimTagline:s(e,"nameTrimTagline")?e.nameTrimTagline:void 0,termUrl:s(e,"termUrl")?e.termUrl:void 0,agreementVersion:s(e,"agreementVersion")?e.agreementVersion:void 0}}function N(e){var i;return null==(i=e)?i:{id:s(i,"id")?i.id:void 0,title:s(i,"title")?i.title:void 0,itemUrl:s(i,"itemUrl")?i.itemUrl:void 0,itemAppUrl:s(i,"itemAppUrl")?i.itemAppUrl:void 0,spImage:s(i,"spImage")?l(i.spImage):void 0,spResizeImages:s(i,"spResizeImages")?i.spResizeImages.map(g):void 0,pcImage:s(i,"pcImage")?l(i.pcImage):void 0,pcResizeImages:s(i,"pcResizeImages")?i.pcResizeImages.map(g):void 0,series:s(i,"series")?v(i.series):void 0,size:s(i,"size")?i.size:void 0}}e.s(["StripePaymentStatusResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{paymentIntentId:s(i,"paymentIntentId")?i.paymentIntentId:void 0,amount:s(i,"amount")?i.amount:void 0,bonus:s(i,"bonus")?i.bonus:void 0}}],297830);function b(e,i){return null==e?e:{isAlreadyDisplayed:s(e,"isAlreadyDisplayed")?e.isAlreadyDisplayed:void 0,articleId:s(e,"articleId")?e.articleId:void 0}}function F(e){var i;return null==(i=e)?i:{id:s(i,"id")?i.id:void 0,title:s(i,"title")?i.title:void 0,author:s(i,"author")?i.author:void 0,image:s(i,"image")?l(i.image):void 0,url:s(i,"url")?i.url:void 0}}function J(e){var i;return null==(i=e)?i:{seriesSummary:v(i.seriesSummary),articleLatestPublishDate:s(i,"articleLatestPublishDate")?i.articleLatestPublishDate:void 0,isFreeCharged:s(i,"isFreeCharged")?i.isFreeCharged:void 0}}function B(e){var i;return null==(i=e)?i:{imageUrl:s(i,"imageUrl")?i.imageUrl:void 0,scramble:s(i,"scramble")?i.scramble:void 0,sort:s(i,"sort")?i.sort:void 0,width:s(i,"width")?i.width:void 0,height:s(i,"height")?i.height:void 0,expiresOn:s(i,"expiresOn")?i.expiresOn:void 0}}function _(e){var i;return null==(i=e)?i:{imageUrl:i.imageUrl,scramble:i.scramble,sort:i.sort,width:i.width,height:i.height,expiresOn:i.expiresOn}}e.s(["TopItemModelFromJSON",0,function(e){var i;return null==(i=e)?i:{title:s(i,"title")?i.title:void 0,topItem:s(i,"topItem")?i.topItem.map(N):void 0}}],296289),e.s(["TopPopupModelFromJSON",0,function(e){var i,t=e;if(null==t)return t;return{userId:s(t,"userId")?t.userId:void 0,userName:s(t,"userName")?t.userName:void 0,campaignPopup:s(t,"campaignPopup")?t.campaignPopup.map(A):void 0,waitFreeChargeCompletePopup:s(t,"waitFreeChargeCompletePopup")?t.waitFreeChargeCompletePopup.map(F):void 0,newArticlePopup:s(t,"newArticlePopup")?t.newArticlePopup.map(U):void 0,recommendationPopup:s(t,"recommendationPopup")?b(t.recommendationPopup,!1):void 0,agreementTermPopup:s(t,"agreementTermPopup")?M(t.agreementTermPopup,!1):void 0,missionPopup:s(t,"missionPopup")?null==(i=t.missionPopup)?i:{isAlreadyShown:s(i,"isAlreadyShown")?i.isAlreadyShown:void 0,missions:s(i,"missions")?i.missions.map(S):void 0}:void 0}}],669178),e.s(["TopPopupResponseModelFromJSON",0,function(e){var i,t=e;if(null==t)return t;return{userId:s(t,"userId")?t.userId:void 0,userName:s(t,"userName")?t.userName:void 0,campaignPopup:s(t,"campaignPopup")?t.campaignPopup.map(A):void 0,waitFreeChargeCompletePopup:s(t,"waitFreeChargeCompletePopup")?t.waitFreeChargeCompletePopup.map(F):void 0,newArticlePopup:s(t,"newArticlePopup")?t.newArticlePopup.map(U):void 0,recommendationPopup:s(t,"recommendationPopup")?b(t.recommendationPopup,!1):void 0,agreementTermPopup:s(t,"agreementTermPopup")?M(t.agreementTermPopup,!1):void 0,missionPopup:s(t,"missionPopup")?null==(i=t.missionPopup)?i:{isAlreadyShown:s(i,"isAlreadyShown")?i.isAlreadyShown:void 0,userMissionItems
1Model:s(i,"userMissionItemsModel")?k(i.userMissionItemsModel):void 0}:void 0}}],848340),e.s(["UpdateUserIdRequestToJSON",0,function(e){if(void 0!==e)return null===e?null:{userId:e.userId,newUserId:e.newUserId}}],545340),e.s(["UserPointHistoriesSummaryModelFromJSON",0,function(e){var i;return null==(i=e)?i:{point:s(i,"point")?i.point:void 0,expireDatetime:s(i,"expireDatetime")?i.expireDatetime:void 0,rentalPeriod:s(i,"rentalPeriod")?i.rentalPeriod:void 0,chargedDatetime:s(i,"chargedDatetime")?i.chargedDatetime:void 0,description:s(i,"description")?i.description:void 0,title:s(i,"title")?i.title:void 0,bonusTicket:s(i,"bonusTicket")?i.bonusTicket:void 0,chargedPoint:s(i,"chargedPoint")?i.chargedPoint:void 0,isCharged:s(i,"isCharged")?i.isCharged:void 0,isMission:s(i,"isMission")?i.isMission:void 0,isTicket:s(i,"isTicket")?i.isTicket:void 0,isExpired:s(i,"isExpired")?i.isExpired:void 0,isGifted:s(i,"isGifted")?i.isGifted:void 0,seriesUrl:s(i,"seriesUrl")?i.seriesUrl:void 0,articleUrl:s(i,"articleUrl")?i.articleUrl:void 0,seriesTitle:s(i,"seriesTitle")?i.seriesTitle:void 0,articleTitle:s(i,"articleTitle")?i.articleTitle:void 0,seriesId:s(i,"seriesId")?i.seriesId:void 0,articleId:s(i,"articleId")?i.articleId:void 0,paymentType:s(i,"paymentType")?i.paymentType:void 0}}
1,"UserPointHistoriesSummaryModelPaymentTypeEnum",0,{CreditCard:"CREDIT_CARD",ApplePay:"APPLE_PAY",Point:"POINT",GooglePay:"GOOGLE_PAY",PayPay:"PAY_PAY",CarrierDocomo:"CARRIER_DOCOMO",CarrierAu:"CARRIER_AU",CarrierSoftbank:"CARRIER_SOFTBANK",AppApplePay:"APP_APPLE_PAY",AppGooglePay:"APP_GOOGLE_PAY"}],773913),e.s(["UserSettingModelFromJSON",0,function(e){var i,t=e;if(null==t)return t;return{user:null==(i=t.user)?i:{id:i.id,displayName:s(i,"displayName")?i.displayName:void 0,link:s(i,"link")?i.link:void 0,image:s(i,"image")?l(i.image):void 0,type:s(i,"type")?i.type:void 0,username:i.username},isContentAdmin:s(t,"isContentAdmin")?t.isContentAdmin:void 0,mailAddress:s(t,"mailAddress")?t.mailAddress:void 0,genderType:s(t,"genderType")?t.genderType:void 0,ageYear:s(t,"ageYear")?t.ageYear:void 0,isAppNoticeFavoriteSeriesUpdated:s(t,"isAppNoticeFavoriteSeriesUpdated")?t.isAppNoticeFavoriteSeriesUpdated:void 0,isNoticeFavoriteSeriesUpdated:s(t,"isNoticeFavoriteSeriesUpdated")?t.isNoticeFavoriteSeriesUpdated:void 0,isNoticePostNewsletter:s(t,"isNoticePostNewsletter")?t.isNoticePostNewsletter:void 0,isMailAddressVerified:s(t,"isMailAddressVerified")?t.isMailAddressVerified:void 0,isAppPushNotificationEnabled:s(t,"isAppPushNotificationEnabled")?t.isAppPushNotificationEnabled:void 0}}],10998),e.s(["UserSettingRequestModelToJSON",0,function(e){if(void 0!==e)return null===e?null:{genderType:e.genderType,ageYear:e.ageYear,isAppNoticeFavoriteSeriesUpdated:e.isAppNoticeFavoriteSeriesUpdated,isNoticeFavoriteSeriesUpdated:e.isNoticeFavoriteSeriesUpdated,isNoticePostNewsletter:e.isNoticePostNewsletter,isAppPushNotificationEnabled:e.isAppPushNotificationEnabled}}],654586),e.s(["UserWalletResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{paidCoin:s(i,"paidCoin")?i.paidCoin:void 0,bonusValue:s(i,"bonusValue")?i.bonusValue:void 0,expireValue:s(i,"expireValue")?i.expireValue:void 0,expireDatetime:s(i,"expireDatetime")?i.expireDatetime:void 0,expireCategory:s(i,"expireCategory")?i.expireCategory:void 0}}],360420),e.s(["ViewedPopupRequestModelToJSON",0,function(e){if(void 0!==e)return null===e?null:{campaignPopup:function(e){if(void 0!==e)return null===e?null:{userId:e.userId,contentPopupBannerId:e.contentPopupBannerId,noShowNextIds:e.noShowNextIds,viewedIds:e.viewedIds}}(e.campaignPopup),waitFreeChargeCompletePopup:function(e){if(void 0!==e)return null===e?null:{userId:e.userId}}(e.waitFreeChargeCompletePopup),newArticlePopup:function(e){if(void 0!==e)return null===e?null:{userPopupNewArticleId:e.userPopupNewArticleId}}(e.newArticlePopup),recommendationPopup:function(e){if(void 0!==e)return null===e?null:{userId:e.userId,articleId:e.articleId}}(e.recommendationPopup),agreementTermPopup:function(e){if(void 0!==e)return null===e?null:{userId:e.userId}}(e.agreementTermPopup),missionPopup:function(e){if(void 0!==e)return null===e?null:{userId:e.userId}}(e.missionPopup)}}],658576),e.s(["ViewedSeriesModelFromJSON",0,J],889560),e.s(["ViewedSeriesResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{totalCount:s(i,"totalCount")?i.totalCount:void 0,viewedSeries:s(i,"viewedSeries")?i.viewedSeries.map(J):void 0}}],797515),e.s(["ViewerContentModelFromJSON",0,function(e){var i;return null==(i=e)?i:{viewer:i.viewer.map(B),totalPages:i.totalPages,scrollDirection:s(i,"scrollDirection")?i.scrollDirection:void 0,spreadDesignation:s(i,"spreadDesignation")?i.spreadDesignation:void 0}}],850261),e.s(["ViewerPagesResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{totalPages:i.totalPages,scrollDirection:i.scrollDirection,spreadDesignation:i.spreadDesignation,result:s(i,"result")?i.result.map(_):void 0}}],57102),e.s(["WithdrawalRequestModelToJSON",0,function(e){if(void 0!==e)return null===e?null:{reasons:e.reasons,message:e.message}}],351575),e.s([],955695)},727930,291193,972978,950315,733957,608785,9863,109612,88245,569286,665418,969723,478543,924936,269871,989284,784636,166944,161050,e=>{"use strict";var i=e.i(752687);e.i(955695);var t=e.i(284874),a=e.i(791673),r=e.i(498914),o=e.i(121713),n=e.i(453577),s=e.i(749967),d=e.i(545340),l=e.i(586340),u=e.i(909409),c=e.i(10998),p=e.i(654586),m=e.i(351575);class h extends i.BaseAPI{async checkMailExistenceRaw(e,a){if(null===e.mail||void 0===e.mail)throw new i.RequiredError("mail","Required parameter requestParameters.mail was null or undefined when calling checkMailExistence.");let r={};void 0!==e.mail&&(r.mail=e.mail);let o={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(o["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(o.Authorization=`Bearer ${i}`)}let n=await this.request({path:"/v1/accounts/checkDuplicateEmail",method:"GET",headers:o,query:r},a);return new i.JSONApiResponse(n,e=>(0,t.CheckMailExistence200ResponseFromJSON)(e))}async checkMailExistence(e,i){let t=await this.checkMailExistenceRaw(e,i);return await t.value()}async checkUserIdExistenceRaw(e,t){if(null===e.userId||void 0===e.userId)throw new i.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling checkUserIdExistence.");let r={};void 0!==e.userId&&(r.userId=e.userId);let o={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(o["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(o.Authorization=`Bearer ${i}`)}let n=await this.request({path:"/v1/accounts/checkDuplicateUserId",method:"GET",headers:o,query:r},t);return new i.JSONApiResponse(n,e=>(0,a.CheckUserIdExistence200ResponseFromJSON)(e))}async checkUserIdExistence(e,i){let t=await this.checkUserIdExistenceRaw(e,i);return await t.value()}async createOrUpdateStripeCustomerRaw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling createOrUpdateStripeCustomer.");if(null===e.stripeCustomerRequestModel||void 0===e.stripeCustomerRequestModel)throw new i.RequiredError("stripeCustomerRequestModel","Required parameter requestParameters.stripeCustomerRequestModel was null or undefined when calling createOrUpdateStripeCustomer.");let a={};if(a["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/accounts/stripeCustomer",method:"POST",headers:a,query:{},body:function(e){if(void 0!==e)return null===e?null:{stripeCustomerCd:e.stripeCustomerCd,cardToken:e.cardToken,paymentType:e.paymentType}}(e.stripeCustomerRequestModel)},t);return new i.VoidApiResponse(r)}async createOrUpdateStripeCustomer(e,i){await this.createOrUpdateStripeCustomerRaw(e,i)}async deleteStripeCustomerRaw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling deleteStripeCustomer.");let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/accounts/stripeCustomer",method:"DELETE",headers:a,query:{}},t);return new i.VoidApiResponse(r)}async deleteStripeCustomer(e,i){await this.deleteStripeCustomerRaw(e,i)}async editUserProfileRaw(e,t){let a;if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling editUserProfile.");let r={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(r["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(r["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(r.Authorization=`Bearer ${i}`)}let o=i.canConsumeForm([{contentType:"multipart/form-data"}]);a=o?new FormData:new URLSearchParams,void 0!==e.imageFile&&a.append("imageFile",e.imageFile),void 0!==e.nickname&&a.append("nickname",e.nickname),void 0!==e.profile&&a.append("profile",e.profile);let n=await this.request({path:"/v1/accounts/prifile",method:"POST",headers:r,query:{},body:a},t);return new i.JSONApiResponse(n,e=>(0,u.UserModelFromJSON)(e))}async editUserProfile(e,i){let t=await this.editUserProfileRaw(e,i);return await t.value()}async getStripeCustomerRaw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getStripeCustomer.");let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/accounts/stripeCustomer",method:"GET",headers:a,query:{}},t);return new i.JSONApiResponse(r,e=>(0,s.StripeCustomerModelFromJSON)(e))}
1async getStripeCustomer(e,i){let t=await this.getStripeCustomerRaw(e,i);return await t.value()}async getUserSettingsRaw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getUserSettings.");let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/accounts/settings",method:"GET",headers:a,query:{}},t);return new i.JSONApiResponse(r,e=>(0,c.UserSettingModelFromJSON)(e))}async getUserSettings(e,i){let t=await this.getUserSettingsRaw(e,i);return await t.value()}async mailStopRaw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling mailStop.");if(null===e.noticeType||void 0===e.noticeType)throw new i.RequiredError("noticeType","Required parameter requestParameters.noticeType was null or undefined when calling mailStop.");let a={};void 0!==e.noticeType&&(a.noticeType=e.noticeType);let r={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(r["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(r["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(r.Authorization=`Bearer ${i}`)}let o=await this.request({path:"/v1/accounts/mailNotification",method:"DELETE",headers:r,query:a},t);return new i.VoidApiResponse(o)}async mailStop(e,i){await this.mailStopRaw(e,i)}async mailStopByEncryptUsernameRaw(e,t){if(null===e.noticeType||void 0===e.noticeType)throw new i.RequiredError("noticeType","Required parameter requestParameters.noticeType was null or undefined when calling mailStopByEncryptUsername.");if(null===e.eu||void 0===e.eu)throw new i.RequiredError("eu","Required parameter requestParameters.eu was null or undefined when calling mailStopByEncryptUsername.");let a={};void 0!==e.noticeType&&(a.noticeType=e.noticeType),void 0!==e.eu&&(a.eu=e.eu);let r={};void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(r["alpha-operation-datetime"]=String(e.alphaOperationDatetime));let o=await this.request({path:"/v1/accounts/mailNotification/unsubscribe",method:"DELETE",headers:r,query:a},t);return new i.VoidApiResponse(o)}async mailStopByEncryptUsername(e,i){await this.mailStopByEncryptUsernameRaw(e,i)}async resetPasswordRaw(e,t){if(null===e.token||void 0===e.token)throw new i.RequiredError("token","Required parameter requestParameters.token was null or undefined when calling resetPassword.");if(null===e.resetPasswordRequest||void 0===e.resetPasswordRequest)throw new i.RequiredError("resetPasswordRequest","Required parameter requestParameters.resetPasswordRequest was null or undefined when calling resetPassword.");let a={};void 0!==e.token&&(a.token=e.token);let r={};if(r["Content-Type"]="application/json",void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(r["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(r.Authorization=`Bearer ${i}`)}let o=await this.request({path:"/v1/accounts/password/reset",method:"PUT",headers:r,query:a,body:function(e){if(void 0!==e)return null===e?null:{newPassword:e.newPassword}}(e.resetPasswordRequest)},t);return new i.VoidApiResponse(o)}async resetPassword(e,i){await this.resetPasswordRaw(e,i)}async resetPasswordSendMailRaw(e,t){let a={};if(a["Content-Type"]="application/json",void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/accounts/password/reset",method:"POST",headers:a,query:{},body:function(e){if(void 0!==e)return null===e?null:{mailAddress:e.mailAddress}}(e.resetPasswordSendMailRequest)},t);return new i.VoidApiResponse(r)}async resetPasswordSendMail(e={},i){await this.resetPasswordSendMailRaw(e,i)}async sendVerifyMailRaw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling sendVerifyMail.");if(null===e.sendVerifyMailRequest||void 0===e.sendVerifyMailRequest)throw new i.RequiredError("sendVerifyMailRequest","Required parameter requestParameters.sendVerifyMailRequest was null or undefined when calling sendVerifyMail.");let a={};if(a["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let o=await this.request({path:"/v1/accounts/sendVerifyMail",method:"POST",headers:a,query:{},body:(0,r.SendVerifyMailRequestToJSON)(e.sendVerifyMailRequest)},t);return new i.VoidApiResponse(o)}
1async sendVerifyMail(e,i){await this.sendVerifyMailRaw(e,i)}async updateAccountSettingsRaw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling updateAccountSettings.");if(null===e.userSettingRequestModel||void 0===e.userSettingRequestModel)throw new i.RequiredError("userSettingRequestModel","Required parameter requestParameters.userSettingRequestModel was null or undefined when calling updateAccountSettings.");let a={};if(a["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/accounts/settings",method:"PUT",headers:a,query:{},body:(0,p.UserSettingRequestModelToJSON)(e.userSettingRequestModel)},t);return new i.JSONApiResponse(r,e=>e.map(l.UserMissionItemModelFromJSON))}async updateAccountSettings(e,i){let t=await this.updateAccountSettingsRaw(e,i);return await t.value()}async updateUserIdRaw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling updateUserId.");if(null===e.updateUserIdRequest||void 0===e.updateUserIdRequest)throw new i.RequiredError("updateUserIdRequest","Required parameter requestParameters.updateUserIdRequest was null or undefined when calling updateUserId.");let a={};if(a["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/accounts/userId",method:"PUT",headers:a,query:{},body:(0,d.UpdateUserIdRequestToJSON)(e.updateUserIdRequest)},t);return new i.VoidApiResponse(r)}async updateUserId(e,i){await this.updateUserIdRaw(e,i)}async updateUserMailAddressRaw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling updateUserMailAddress.");if(null===e.updateUserMailAddressRequest||void 0===e.updateUserMailAddressRequest)throw new i.RequiredError("updateUserMailAddressRequest","Required parameter requestParameters.updateUserMailAddressRequest was null or undefined when calling updateUserMailAddress.");let a={};if(a["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/accounts/mailAddress",method:"PUT",headers:a,query:{},body:function(e){if(void 0!==e)return null===e?null:{userId:e.userId,newMailAdress:e.newMailAdress}}(e.updateUserMailAddressRequest)},t);return new i.VoidApiResponse(r)}async updateUserMailAddress(e,i){await this.updateUserMailAddressRaw(e,i)}async updateUserPasswordRaw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling updateUserPassword.");
1if(null===e.updateUserPasswordRequest||void 0===e.updateUserPasswordRequest)throw new i.RequiredError("updateUserPasswordRequest","Required parameter requestParameters.updateUserPasswordRequest was null or undefined when calling updateUserPassword.");let a={};if(a["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/accounts/password",method:"PUT",headers:a,query:{},body:function(e){if(void 0!==e)return null===e?null:{userId:e.userId,oldPassword:e.oldPassword,newPassword:e.newPassword}}(e.updateUserPasswordRequest)},t);return new i.VoidApiResponse(r)}async updateUserPassword(e,i){await this.updateUserPasswordRaw(e,i)}async userSignupRaw(e,t){if(null===e.userAgent||void 0===e.userAgent)throw new i.RequiredError("userAgent","Required parameter requestParameters.userAgent was null or undefined when calling userSignup.");let a={};if(a["Content-Type"]="application/json",void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),void 0!==e.userAgent&&null!==e.userAgent&&(a["User-Agent"]=String(e.userAgent)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/accounts/signup",method:"POST",headers:a,query:{},body:(0,n.SignupRequestModelToJSON)(e.signupRequestModel)},t);return new i.JSONApiResponse(r,e=>(0,o.SignupModelFromJSON)(e))}async userSignup(e,i){let t=await this.userSignupRaw(e,i);return await t.value()}async userWithdrawalRaw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling userWithdrawal.");let a={};if(a["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/accounts/withdrawal",method:"DELETE",headers:a,query:{},body:(0,m.WithdrawalRequestModelToJSON)(e.withdrawalRequestModel)},t);return new i.VoidApiResponse(r)}async userWithdrawal(e,i){await this.userWithdrawalRaw(e,i)}async verifyMailRaw(e,t){let a={};if(a["Content-Type"]="application/json",void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/accounts/activate/{token}",method:"PUT",headers:a,query:{},body:function(e){if(void 0!==e)return null===e?null:{token:e.token}}(e.verifyMailRequest)},t);return new i.VoidApiResponse(r)}async verifyMail(e={},i){await this.verifyMailRaw(e,i)}}e.s(["AccountApi",0,h],727930);var g=i,w=e.i(879413),v=e.i(488600);function R(e){if(void 0!==e)return null===e?null:{missionPromotionsType:e.missionPromotionsType}}e.s(["MissionRewardRequestModelMissionPromotionsTypeEnum",0,{OTHER_CONTENT:"otherContent",AGE_YEAR_AND_GENDER:"ageYearAndGender"},"MissionRewardRequestModelToJSON",0,R],291193);var y=e.i(821352);class T extends g.BaseAPI{async assignDailyBonusRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new g.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling assignDailyBonus.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/achievement/loginBounus",method:"POST",headers:t,query:{}},i);return new g.JSONApiResponse(a,e=>(0,w.AssignDailyBonus200ResponseFromJSON)(e))}async assignDailyBonus(e,i){let t=await this.assignDailyBonusRaw(e,i);return await t.value()}async checkRewardRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new g.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling checkReward.");
1if(null===e.missionRewardRequestModel||void 0===e.missionRewardRequestModel)throw new g.RequiredError("missionRewardRequestModel","Required parameter requestParameters.missionRewardRequestModel was null or undefined when calling checkReward.");let t={};if(t["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/achievement/missions/reward",method:"PUT",headers:t,query:{},body:R(e.missionRewardRequestModel)},i);return new g.JSONApiResponse(a,e=>e.map(l.UserMissionItemModelFromJSON))}async checkReward(e,i){let t=await this.checkRewardRaw(e,i);return await t.value()}async deleteUserMissionNotificationsRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new g.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling deleteUserMissionNotifications.");if(null===e.userMissionId||void 0===e.userMissionId)throw new g.RequiredError("userMissionId","Required parameter requestParameters.userMissionId was null or undefined when calling deleteUserMissionNotifications.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/achievement/missions/notifications/{user_mission_id}".replace("{user_mission_id}",encodeURIComponent(String(e.userMissionId))),method:"DELETE",headers:t,query:{}},i);return new g.VoidApiResponse(a)}async deleteUserMissionNotifications(e,i){await this.deleteUserMissionNotificationsRaw(e,i)}async getGachaInfoRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new g.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getGachaInfo.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/achievement/gacha",method:"GET",headers:t,query:{}},i);return new g.JSONApiResponse(a,e=>(0,v.GachaModelFromJSON)(e))}async getGachaInfo(e,i){let t=await this.getGachaInfoRaw(e,i);return await t.value()}async getUserMissionNotificationsRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new g.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getUserMissionNotifications.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/achievement/missions/notifications",method:"GET",headers:t,query:{}},i);return new g.JSONApiResponse(a,e=>e.map(l.UserMissionItemModelFromJSON))}async getUserMissionNotifications(e,i){let t=await this.getUserMissionNotificationsRaw(e,i);return await t.value()}async getUserMissionsRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new g.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getUserMissions.");let t={};void 0!==e.isAchieved&&(t.isAchieved=e.isAchieved),void 0!==e.missionStatus&&(t.missionStatus=e.missionStatus);let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/achievement/missions",method:"GET",headers:a,query:t},i);return new g.JSONApiResponse(r,e=>
1(0,y.UserMissionItemsModelFromJSON)(e))}async getUserMissions(e,i){let t=await this.getUserMissionsRaw(e,i);return await t.value()}async pullGachaRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new g.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling pullGacha.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/achievement/gacha",method:"POST",headers:t,query:{}},i);return new g.JSONApiResponse(a,e=>(0,v.GachaModelFromJSON)(e))}async pullGacha(e,i){let t=await this.pullGachaRaw(e,i);return await t.value()}async registerMissionRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new g.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling registerMission.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/achievement/missions",method:"POST",headers:t,query:{}},i);return new g.VoidApiResponse(a)}async registerMission(e,i){await this.registerMissionRaw(e,i)}}e.s(["AchievementApi",0,T],972978);i.BaseAPI,e.s([],950315),e.i(637814),i.BaseAPI,e.s([],733957);var f=e.i(332813),q=e.i(214644),C=e.i(143008),S=(e.i(609986),e.i(596058));e.i(596857),e.i(850261),i.BaseAPI,e.s([],608785);i.BaseAPI,e.s([],9863),e.i(227876),e.i(864196),e.i(528997);var k=e.i(761715);i.BaseAPI,e.s([],109612),e.i(984790),i.BaseAPI,e.s([],88245),e.i(74087),e.i(112886),e.i(85047),e.i(401133),e.i(296289),e.i(669178),i.BaseAPI,e.s([],569286);i.BaseAPI,e.s([],665418),e.i(432213),e.i(668674),e.i(682576),e.i(889560),i.BaseAPI,e.s([],969723);var U=i,I=e.i(829925);class A extends U.BaseAPI{async socialLoginCallbackRaw(e,i){if(null===e.userAgent||void 0===e.userAgent)throw new U.RequiredError("userAgent","Required parameter requestParameters.userAgent was null or undefined when calling socialLoginCallback.");let t={};void 0!==e.code&&(t.code=e.code),void 0!==e.secret&&(t.secret=e.secret),void 0!==e.type&&(t.type=e.type),void 0!==e.id&&(t.id=e.id),void 0!==e.username&&(t.username=e.username),void 0!==e.email&&(t.email=e.email),void 0!==e.originDomain&&(t.originDomain=e.originDomain),void 0!==e.appIdToken&&(t.appIdToken=e.appIdToken),void 0!==e.codeVerifier&&(t.codeVerifier=e.codeVerifier),void 0!==e.authorizationCode&&(t.authorizationCode=e.authorizationCode);let a={};if(void 0!==e.userAgent&&null!==e.userAgent&&(a["User-Agent"]=String(e.userAgent)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/connect/social/callback",method:"GET",headers:a,query:t},i);return new U.JSONApiResponse(r,e=>(0,I.SocialCallbackModelFromJSON)(e))}async socialLoginCallback(e,i){let t=await this.socialLoginCallbackRaw(e,i);return await t.value()}}e.s(["ConnectApi",0,A],478543);var O=i,P=e.i(421827),x=e.i(605344),E=e.i(713941),D=e.i(91714);class M extends O.BaseAPI{async deleteConnectSidCallbackWithdrawalRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new O.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling deleteConnectSidCallbackWithdrawal.");if(null===e.sidAuthCodeRequestModel||void 0===e.sidAuthCodeRequestModel)throw new O.RequiredError("sidAuthCodeRequestModel","Required parameter requestParameters.sidAuthCodeRequestModel was null or undefined when calling deleteConnectSidCallbackWithdrawal.");let t={};if(t["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/connect/sid/callback/withdrawal",method:"DELETE",headers:t,query:{},body:(0,E.SidAuthCodeRequestModelToJSON)(e.sidAuthCodeRequestModel)},i);
1return new O.VoidApiResponse(a)}async deleteConnectSidCallbackWithdrawal(e,i){await this.deleteConnectSidCallbackWithdrawalRaw(e,i)}async postConnectSidCallbackLoginRaw(e,i){if(null===e.sidAuthCodeRequestModel||void 0===e.sidAuthCodeRequestModel)throw new O.RequiredError("sidAuthCodeRequestModel","Required parameter requestParameters.sidAuthCodeRequestModel was null or undefined when calling postConnectSidCallbackLogin.");let t={};if(t["Content-Type"]="application/json",void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/connect/sid/callback/login",method:"POST",headers:t,query:{},body:(0,E.SidAuthCodeRequestModelToJSON)(e.sidAuthCodeRequestModel)},i);return new O.JSONApiResponse(a,e=>(0,P.NormalAuthResponseModelFromJSON)(e))}async postConnectSidCallbackLogin(e,i){let t=await this.postConnectSidCallbackLoginRaw(e,i);return await t.value()}async postConnectSidCallbackSignupRaw(e,i){if(null===e.sidAuthCodeRequestModel||void 0===e.sidAuthCodeRequestModel)throw new O.RequiredError("sidAuthCodeRequestModel","Required parameter requestParameters.sidAuthCodeRequestModel was null or undefined when calling postConnectSidCallbackSignup.");let t={};if(t["Content-Type"]="application/json",void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/connect/sid/callback/signup",method:"POST",headers:t,query:{},body:(0,E.SidAuthCodeRequestModelToJSON)(e.sidAuthCodeRequestModel)},i);return new O.JSONApiResponse(a,e=>(0,o.SignupModelFromJSON)(e))}async postConnectSidCallbackSignup(e,i){let t=await this.postConnectSidCallbackSignupRaw(e,i);return await t.value()}async postConnectSidCheckUserExistsRaw(e,i){if(null===e.sidAuthCodeRequestModel||void 0===e.sidAuthCodeRequestModel)throw new O.RequiredError("sidAuthCodeRequestModel","Required parameter requestParameters.sidAuthCodeRequestModel was null or undefined when calling postConnectSidCheckUserExists.");let t={};if(t["Content-Type"]="application/json",void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/connect/sid/checkUserExists",method:"POST",headers:t,query:{},body:(0,E.SidAuthCodeRequestModelToJSON)(e.sidAuthCodeRequestModel)},i);return new O.JSONApiResponse(a,e=>(0,x.PostConnectSidCheckUserExists200ResponseFromJSON)(e))}async postConnectSidCheckUserExists(e,i){let t=await this.postConnectSidCheckUserExistsRaw(e,i);return await t.value()}async postConnectSidWebhookAccountSettingsRaw(e,i){if(null===e.xSidSignature||void 0===e.xSidSignature)throw new O.RequiredError("xSidSignature","Required parameter requestParameters.xSidSignature was null or undefined when calling postConnectSidWebhookAccountSettings.");if(null===e.body||void 0===e.body)throw new O.RequiredError("body","Required parameter requestParameters.body was null or undefined when calling postConnectSidWebhookAccountSettings.");let t={};t["Content-Type"]="application/json",void 0!==e.xSidSignature&&null!==e.xSidSignature&&(t["X-SidSignature"]=String(e.xSidSignature));let a=await this.request({path:"/v1/connect/sid/webhook/accountSettings",method:"POST",headers:t,query:{},body:e.body},i);return new O.JSONApiResponse(a,e=>(0,D.SidWebhookResponseModelFromJSON)(e))}async postConnectSidWebhookAccountSettings(e,i){let t=await this.postConnectSidWebhookAccountSettingsRaw(e,i);return await t.value()}async putConnectSidCallbackAccountSettingsRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new O.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling putConnectSidCallbackAccountSettings.");if(null===e.sidAuthCodeRequestModel||void 0===e.sidAuthCodeRequestModel)throw new O.RequiredError("sidAuthCodeRequestModel","Required parameter requestParameters.sidAuthCodeRequestModel was null or undefined when calling putConnectSidCallbackAccountSettings.");let t={};if(t["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/connect/sid/callback/accountSettings",method:"PUT",headers:t,query:{},body:(0,E.SidAuthCodeRequestModelToJSON)(e.sidAuthCodeRequestModel)},i);return new O.JSONApiResponse(a,e=>e.map(l.UserMissionItemModelFromJSON))}async putConnectSidCallbackAccountSettings(e,i){let t=await this.putConnectSidCallbackAccountSettingsRaw(e,i);return await t.value()}async putConnectSidCallbackUpdateMailAddressRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new O.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling putConnectSidCallbackUpdateMailAddress.");
1if(null===e.sidAuthCodeRequestModel||void 0===e.sidAuthCodeRequestModel)throw new O.RequiredError("sidAuthCodeRequestModel","Required parameter requestParameters.sidAuthCodeRequestModel was null or undefined when calling putConnectSidCallbackUpdateMailAddress.");let t={};if(t["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/connect/sid/callback/updateMailAddress",method:"PUT",headers:t,query:{},body:(0,E.SidAuthCodeRequestModelToJSON)(e.sidAuthCodeRequestModel)},i);return new O.VoidApiResponse(a)}async putConnectSidCallbackUpdateMailAddress(e,i){await this.putConnectSidCallbackUpdateMailAddressRaw(e,i)}}e.s(["ConnectSIDApi",0,M],924936);i.BaseAPI,e.s([],269871);i.BaseAPI,e.s([],989284);var N=i,b=e.i(398166);function F(e){var i;return null==(i=e)?i:{contentIds:i.content_ids,id:i.id,name:i.name}}var J=e.i(712157),B=e.i(342128),_=e.i(423024),V=e.i(638261),z=e.i(883363),L=e.i(201855);class K extends N.BaseAPI{async getArticleHashKeyRaw(e,i){if(null===e.viewerId||void 0===e.viewerId)throw new N.RequiredError("viewerId","Required parameter requestParameters.viewerId was null or undefined when calling getArticleHashKey.");let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/articles/articleHash/{viewer_id}".replace("{viewer_id}",encodeURIComponent(String(e.viewerId))),method:"GET",headers:t,query:{}},i);return new N.JSONApiResponse(a,e=>(0,b.ArticleHashModelFromJSON)(e))}async getArticleHashKey(e,i){let t=await this.getArticleHashKeyRaw(e,i);return await t.value()}async getAuthorSeriesItemsRaw(e,i){if(null===e.authorId||void 0===e.authorId)throw new N.RequiredError("authorId","Required parameter requestParameters.authorId was null or undefined when calling getAuthorSeriesItems.");let t={};void 0!==e.page&&(t.page=e.page),void 0!==e.size&&(t.size=e.size);let a={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/authors/{author_id}".replace("{author_id}",encodeURIComponent(String(e.authorId))),method:"GET",headers:a,query:t},i);return new N.JSONApiResponse(r,e=>
1e.map(S.SeriesSummaryModelFromJSON))}async getAuthorSeriesItems(e,i){let t=await this.getAuthorSeriesItemsRaw(e,i);return await t.value()}async getAuthorsRaw(e,i){let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/authors",method:"GET",headers:t,query:{}},i);return new N.JSONApiResponse(a,e=>e.map(F))}async getAuthors(e={},i){let t=await this.getAuthorsRaw(e,i);return await t.value()}async getEpisodeByIdRaw(e,i){if(null===e.articleHash||void 0===e.articleHash)throw new N.RequiredError("articleHash","Required parameter requestParameters.articleHash was null or undefined when calling getEpisodeById.");let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/articles/{article_hash}".replace("{article_hash}",encodeURIComponent(String(e.articleHash))),method:"GET",headers:t,query:{}},i);return new N.JSONApiResponse(a,e=>(0,f.EpisodeModelFromJSON)(e))}async getEpisodeById(e,i){let t=await this.getEpisodeByIdRaw(e,i);return await t.value()}async getEpisodeByViewerIdRaw(e,i){if(null===e.viewerId||void 0===e.viewerId)throw new N.RequiredError("viewerId","Required parameter requestParameters.viewerId was null or undefined when calling getEpisodeByViewerId.");let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/articles/viewer/{viewer_id}".replace("{viewer_id}",encodeURIComponent(String(e.viewerId))),method:"GET",headers:t,query:{}},i);return new N.JSONApiResponse(a,e=>(0,q.EpisodeSummaryModelFromJSON)(e))}async getEpisodeByViewerId(e,i){let t=await this.getEpisodeByViewerIdRaw(e,i);return await t.value()}async getEpisodeLikesRaw(e,i){if(null===e.articleHash||void 0===e.articleHash)throw new N.RequiredError("articleHash","Required parameter requestParameters.articleHash was null or undefined when calling getEpisodeLikes.");let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/articles/{article_hash}/likeCount".replace("{article_hash}",encodeURIComponent(String(e.articleHash))),method:"GET",headers:t,query:{}},i);return new N.JSONApiResponse(a,e=>{var i;return null==(i=e)?i:{likeNumber:i.likeNumber}})}async getEpisodeLikes(e,i){let t=await this.getEpisodeLikesRaw(e,i);return await t.value()}async getSeriesRaw(e,i){let t={};void 0!==e.page&&(t.page=e.page),void 0!==e.size&&(t.size=e.size),void 0!==e.genre&&(t.genre=e.genre),void 0!==e.status&&(t.status=e.status),void 0!==e.sort&&(t.sort=e.sort),void 0!==e.category&&(t.category=e.category),void 0!==e.daysOfWeek&&(t.daysOfWeek=e.daysOfWeek);let a={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/series",method:"GET",headers:a,query:t},i);return new N.JSONApiResponse(r,e=>
1e.map(S.SeriesSummaryModelFromJSON))}async getSeries(e={},i){let t=await this.getSeriesRaw(e,i);return await t.value()}async getSeriesAccessByIdRaw(e,i){if(null===e.seriesHash||void 0===e.seriesHash)throw new N.RequiredError("seriesHash","Required parameter requestParameters.seriesHash was null or undefined when calling getSeriesAccessById.");let t={};void 0!==e.episodeFrom&&(t.episodeFrom=e.episodeFrom),void 0!==e.episodeTo&&(t.episodeTo=e.episodeTo);let a={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(a["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/series/{series_hash}/permissions".replace("{series_hash}",encodeURIComponent(String(e.seriesHash))),method:"GET",headers:a,query:t},i);return new N.JSONApiResponse(r,e=>(0,J.SeriesAccessModelFromJSON)(e))}
1async getSeriesAccessById(e,i){let t=await this.getSeriesAccessByIdRaw(e,i);return await t.value()}async getSeriesBySeriesHashRaw(e,i){if(null===e.seriesHash||void 0===e.seriesHash)throw new N.RequiredError("seriesHash","Required parameter requestParameters.seriesHash was null or undefined when calling getSeriesBySeriesHash.");let t={};void 0!==e.episodeFrom&&(t.episodeFrom=e.episodeFrom),void 0!==e.episodeTo&&(t.episodeTo=e.episodeTo);let a={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(a["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/series/{series_hash}".replace("{series_hash}",encodeURIComponent(String(e.seriesHash))),method:"GET",headers:a,query:t},i);return new N.JSONApiResponse(r,e=>(0,B.SeriesModelFromJSON)(e))}
1async getSeriesBySeriesHash(e,i){let t=await this.getSeriesBySeriesHashRaw(e,i);return await t.value()}async getSeriesRecommendRaw(e,i){let t={};void 0!==e.targetSeriesId&&(t.targetSeriesId=e.targetSeriesId),e.viewedSeriesIds&&(t.viewedSeriesIds=e.viewedSeriesIds.join(N.COLLECTION_FORMATS.csv));let a={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/series/recommends",method:"GET",headers:a,query:t},i);return new N.JSONApiResponse(r,e=>e.map(S.SeriesSummaryModelFromJSON))}async getSeriesRecommend(e={},i){let t=await this.getSeriesRecommendRaw(e,i);return await t.value()}async getSeriesStoreItemVolumesRaw(e,i){if(null===e.seriesHash||void 0===e.seriesHash)throw new N.RequiredError("seriesHash","Required parameter requestParameters.seriesHash was null or undefined when calling getSeriesStoreItemVolumes.");let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/series/storeItems/{series_hash}".replace("{series_hash}",encodeURIComponent(String(e.seriesHash))),method:"GET",headers:t,query:{}},i);return new N.JSONApiResponse(a,e=>(0,_.SeriesStoreItemVolumeModelFromJSON)(e))}
1async getSeriesStoreItemVolumes(e,i){let t=await this.getSeriesStoreItemVolumesRaw(e,i);return await t.value()}async getStoreItemByStoreItemVolumeIdRaw(e,i){if(null===e.storeItemVolumeId||void 0===e.storeItemVolumeId)throw new N.RequiredError("storeItemVolumeId","Required parameter requestParameters.storeItemVolumeId was null or undefined when calling getStoreItemByStoreItemVolumeId.");let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/storeItems/{store_item_volume_id}".replace("{store_item_volume_id}",encodeURIComponent(String(e.storeItemVolumeId))),method:"GET",headers:t,query:{}},i);return new N.JSONApiResponse(a,e=>(0,z.StoreItemVolumeModelFromJSON)(e))}
1async getStoreItemByStoreItemVolumeId(e,i){let t=await this.getStoreItemByStoreItemVolumeIdRaw(e,i);return await t.value()}async getStoreItemIdRaw(e,i){if(null===e.storeItemTitle||void 0===e.storeItemTitle)throw new N.RequiredError("storeItemTitle","Required parameter requestParameters.storeItemTitle was null or undefined when calling getStoreItemId.");let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/storeItems/storeItemId/{store_item_title}".replace("{store_item_title}",encodeURIComponent(String(e.storeItemTitle))),method:"GET",headers:t,query:{}},i);return this.isJsonMime(a.headers.get("content-type"))?new N.JSONApiResponse(a):new N.TextApiResponse(a)}
1async getStoreItemId(e,i){let t=await this.getStoreItemIdRaw(e,i);return await t.value()}async getStoreItemVolumeIdRaw(e,i){if(null===e.storeItemTitle||void 0===e.storeItemTitle)throw new N.RequiredError("storeItemTitle","Required parameter requestParameters.storeItemTitle was null or undefined when calling getStoreItemVolumeId.");if(null===e.storeItemVolumeTitle||void 0===e.storeItemVolumeTitle)throw new N.RequiredError("storeItemVolumeTitle","Required parameter requestParameters.storeItemVolumeTitle was null or undefined when calling getStoreItemVolumeId.");let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/storeItems/storeItemVolumeId/{store_item_title}/{store_item_volume_title}".replace("{store_item_title}",encodeURIComponent(String(e.storeItemTitle))).replace("{store_item_volume_title}",encodeURIComponent(String(e.storeItemVolumeTitle))),method:"GET",headers:t,query:{}},i);return this.isJsonMime(a.headers.get("content-type"))?new N.JSONApiResponse(a):new N.TextApiResponse(a)}
1async getStoreItemVolumeId(e,i){let t=await this.getStoreItemVolumeIdRaw(e,i);return await t.value()}async getStoreItemVolumesRaw(e,i){if(null===e.storeItemVolumeIds||void 0===e.storeItemVolumeIds)throw new N.RequiredError("storeItemVolumeIds","Required parameter requestParameters.storeItemVolumeIds was null or undefined when calling getStoreItemVolumes.");let t={};e.storeItemVolumeIds&&(t.store_item_volume_ids=e.storeItemVolumeIds.join(N.COLLECTION_FORMATS.csv));let a={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(a["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/articles/storeItemVolumes",method:"GET",headers:a,query:t},i);return new N.JSONApiResponse(r,e=>e.map(L.StoreItemVolumeSimpleModelFromJSON))}
1async getStoreItemVolumes(e,i){let t=await this.getStoreItemVolumesRaw(e,i);return await t.value()}async getStoreItemsRaw(e,i){let t={};void 0!==e.page&&(t.page=e.page),void 0!==e.size&&(t.size=e.size),void 0!==e.storeItemId&&(t.store_item_id=e.storeItemId);let a={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(a["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/storeItems",method:"GET",headers:a,query:t},i);return new N.JSONApiResponse(r,e=>e.map(V.StoreItemVolumeDetailModelFromJSON))}async getStoreItems(e={},i){let t=await this.getStoreItemsRaw(e,i);return await t.value()}async searchRaw(e,i){let t={};void 0!==e.q&&(t.q=e.q),void 0!==e.page&&(t.page=e.page),void 0!==e.size&&(t.size=e.size);let a={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/search",method:"GET",headers:a,query:t},i);return new N.JSONApiResponse(r,e=>(0,C.SearchResultModelFromJSON)(e))}async search(e={},i){let t=await this.searchRaw(e,i);return await t.value()}}e.s(["ContentsApi",0,K,"GetSeriesDaysOfWeekEnum",0,{Mon:"mon",Tue:"tue",Wed:"wed",Thu:"thu",Fri:"fri",Sat:"sat",Sun:"sun",Other:"other"}],784636);var H=i;class G extends H.BaseAPI{async postRentalRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new H.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling postRental.");if(null===e.rentalRequestModel||void 0===e.rentalRequestModel)throw new H.RequiredError("rentalRequestModel","Required parameter requestParameters.rentalRequestModel was null or undefined when calling postRental.");let t={};if(t["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/payment/rental",method:"POST",headers:t,query:{},body:(0,k.RentalRequestModelToJSON)(e.rentalRequestModel)},i);return new H.VoidApiResponse(a)}async postRental(e,i){await this.postRentalRaw(e,i)}}e.s(["PaymentApi",0,G],166944);var $=i;function X(e){var i;return null==(i=e)?i:{merchantPaymentId:i.merchantPaymentId,status:i.status,chargedPoints:i.chargedPoints,createdAt:new Date(i.createdAt)}}var W=e.i(590368),j=e.i(372863);class Y extends $.BaseAPI{async getPayPayPaymentRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new $.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getPayPayPayment.");let t={};void 0!==e.merchantPaymentId&&(t.merchantPaymentId=e.merchantPaymentId);let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/payment/paypay/paypayPayment",method:"GET",headers:a,query:t},i);return new $.JSONApiResponse(r,e=>(0,j.PayPayPaymentStatusResponseModelFromJSON)(e))}async getPayPayPayment(e,i){let t=await this.getPayPayPaymentRaw(e,i);return await t.value()}async getPaypayChargeNotificationsRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new $.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getPaypayChargeNotifications.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/payment/paypay/chargeNotifications",method:"GET",headers:t,query:{}},i);return new $.JSONApiResponse(a,e=>e.map(X))}async getPaypayChargeNotifications(e,i){let t=await this.getPaypayChargeNotificationsRaw(e,i);return await t.value()}async postPayPayPaymentChargeRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new $.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling postPayPayPaymentCharge.");if(null===e.payPayPaymentChargeRequestModel||void 0===e.payPayPaymentChargeRequestModel)throw new $.RequiredError("payPayPaymentChargeRequestModel","Required parameter requestParameters.payPayPaymentChargeRequestModel was null or undefined when calling postPayPayPaymentCharge.");let t={};if(t["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/payment/paypay/paypayPayment/ch
1arge",method:"POST",headers:t,query:{},body:(0,W.PayPayPaymentChargeRequestModelToJSON)(e.payPayPaymentChargeRequestModel)},i);return new $.VoidApiResponse(a)}async postPayPayPaymentCharge(e,i){await this.postPayPayPaymentChargeRaw(e,i)}async postPaypayPaymentRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new $.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling postPaypayPayment.");if(null===e.userAgent||void 0===e.userAgent)throw new $.RequiredError("userAgent","Required parameter requestParameters.userAgent was null or undefined when calling postPaypayPayment.");if(null===e.payPayPaymentRequestModel||void 0===e.payPayPaymentRequestModel)throw new $.RequiredError("payPayPaymentRequestModel","Required parameter requestParameters.payPayPaymentRequestModel was null or undefined when calling postPaypayPayment.");let t={};if(t["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.userAgent&&null!==e.userAgent&&(t["User-Agent"]=String(e.userAgent)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/payment/paypay/paypayPayment",method:"POST",headers:t,query:{},body:function(e){if(void 0!==e)return null===e?null:{pointTypeId:e.pointTypeId,returnUrl:e.returnUrl}}(e.payPayPaymentRequestModel)},i);return new $.JSONApiResponse(a,e=>{var i;return null==(i=e)?i:{redirectUrl:i.redirectUrl,merchantPaymentId:i.merchantPaymentId}})}async postPaypayPayment(e,i){let t=await this.postPaypayPaymentRaw(e,i);return await t.value()}}e.s(["PaymentPayPayApi",0,Y],161050)},234439,e=>{"use strict";e.s(["CarrierPaymentRequestModelPaymentMethodEnum",0,{Docomo:"docomo",Auone:"auone",Softbank2:"softbank2"},"CarrierPaymentRequestModelToJSON",0,function(e){if(void 0!==e)return null===e?null:{pointTypeId:e.pointTypeId,paymentMethod:e.paymentMethod,successCallBackUrl:e.successCallBackUrl,cancelCallBackUrl:e.cancelCallBackUrl,errorCallBackUrl:e.errorCallBackUrl}}])},508016,184410,765076,662060,e=>{"use strict";var i=e.i(752687);e.i(955695);var t=e.i(234439);function a(e){var i;return null==(i=e)?i:{parameterName:i.parameterName,parameterValue:i.parameterValue}}class r extends i.BaseAPI{async postSbpsCarrierPaymentRaw(e,r){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new i.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling postSbpsCarrierPayment.");if(null===e.carrierPaymentRequestModel||void 0===e.carrierPaymentRequestModel)throw new i.RequiredError("carrierPaymentRequestModel","Required parameter requestParameters.carrierPaymentRequestModel was null or undefined when calling postSbpsCarrierPayment.");let o={};if(o["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(o["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(o.Authorization=`Bearer ${i}`)}let n=await this.request({path:"/v1/payment/sbps/carrierPayment",method:"POST",headers:o,query:{},body:(0,t.CarrierPaymentRequestModelToJSON)(e.carrierPaymentRequestModel)},r);return new i.JSONApiResponse(n,e=>{var i;return null==(i=e)?i:{purchaseRequestEndpoint:i.purchaseRequestEndpoint,purchaseRequestParameters:i.purchaseRequestParameters.map(a)}})}async postSbpsCarrierPayment(e,i){let t=await this.postSbpsCarrierPaymentRaw(e,i);return await t.value()}}e.s(["PaymentSbpsApi",0,r],508016);var o=i,n=e.i(516241),s=e.i(31276);class d extends o.BaseAPI{async getSbpsPaymentErrorRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new o.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getSbpsPaymentError.");if(null===e.transactionCd||void 0===e.transactionCd)throw new o.RequiredError("transactionCd","Required parameter requestParameters.transactionCd was null or undefined when calling getSbpsPaymentError.");let t={};void 0!==e.transactionCd&&(t.transactionCd=e.transactionCd);let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/payment/sbps/payment/error",method:"GET",headers:a,query:t},i);return new o.JSONApiResponse(r,e=>(0,n.SbpsPaymentErrorResponseModelFromJSON)(e))}
1async getSbpsPaymentError(e,i){let t=await this.getSbpsPaymentErrorRaw(e,i);return await t.value()}async postSbpsPaymentCancelRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new o.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling postSbpsPaymentCancel.");if(null===e.transactionCd||void 0===e.transactionCd)throw new o.RequiredError("transactionCd","Required parameter requestParameters.transactionCd was null or undefined when calling postSbpsPaymentCancel.");let t={};void 0!==e.transactionCd&&(t.transactionCd=e.transactionCd);let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/payment/sbps/payment/cancel",method:"POST",headers:a,query:t},i);return new o.VoidApiResponse(r)}async postSbpsPaymentCancel(e,i){await this.postSbpsPaymentCancelRaw(e,i)}async postSbpsPaymentErrorRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new o.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling postSbpsPaymentError.");if(null===e.transactionCd||void 0===e.transactionCd)throw new o.RequiredError("transactionCd","Required parameter requestParameters.transactionCd was null or undefined when calling postSbpsPaymentError.");let t={};void 0!==e.transactionCd&&(t.transactionCd=e.transactionCd);let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/payment/sbps/payment/error",method:"POST",headers:a,query:t},i);return new o.JSONApiResponse(r,e=>(0,n.SbpsPaymentErrorResponseModelFromJSON)(e))}async postSbpsPaymentError(e,i){let t=await this.postSbpsPaymentErrorRaw(e,i);return await t.value()}async postSbpsPaymentSuccessRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new o.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling postSbpsPaymentSuccess.");
1if(null===e.transactionCd||void 0===e.transactionCd)throw new o.RequiredError("transactionCd","Required parameter requestParameters.transactionCd was null or undefined when calling postSbpsPaymentSuccess.");let t={};void 0!==e.transactionCd&&(t.transactionCd=e.transactionCd);let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/payment/sbps/payment/success",method:"POST",headers:a,query:t},i);return new o.JSONApiResponse(r,e=>(0,s.SbpsPaymentSuccessResponseModelFromJSON)(e))}async postSbpsPaymentSuccess(e,i){let t=await this.postSbpsPaymentSuccessRaw(e,i);return await t.value()}}e.s(["PaymentSbpsCallBackApi",0,d],184410),e.s(["CreditCardPaymentRequestModelToJSON",0,function(e){if(void 0!==e)return null===e?null:{pointTypeId:e.pointTypeId,cvcToken:e.cvcToken,message:e.message,redirectUrl:e.redirectUrl}}],765076),e.s(["CreditCardPaymentResponseModelFromJSON",0,function(e){var i;return null==(i=e)?i:{transactionId:i.transactionId,_3dSecureRedirectUrl:i["3DSecureRedirectUrl"]}}],662060)},384618,e=>{"use strict";e.s(["MobilePaymentRequestModelPaymentTypeEnum",0,{ApplePay:"applePay",GooglePay:"googlePay"},"MobilePaymentRequestModelToJSON",0,function(e){if(void 0!==e)return null===e?null:{pointTypeId:e.pointTypeId,paymentType:e.paymentType,currencyType:e.currencyType,stripeToken:e.stripeToken,message:e.message}}])},228986,742221,587446,894740,120006,16880,53280,410458,289122,e=>{"use strict";e.i(727930),e.i(972978),e.i(950315),e.i(733957),e.i(608785),e.i(9863),e.i(109612),e.i(88245),e.i(569286),e.i(665418),e.i(969723),e.i(478543),e.i(924936),e.i(269871),e.i(989284);var i=e.i(784636);e.i(166944),e.i(161050),e.i(508016),e.i(184410);var t=e.i(752687);e.i(955695);var a=e.i(765076),r=e.i(662060),o=e.i(384618),n=e.i(358785),s=e.i(297830);class d extends t.BaseAPI{async getCreditCardPaymentRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new t.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getCreditCardPayment.");let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/payment/stripe/creditcardPayment",method:"GET",headers:a,query:{}},i);return new t.JSONApiResponse(r,e=>(0,s.StripePaymentStatusResponseModelFromJSON)(e))}async getCreditCardPayment(e,i){let t=await this.getCreditCardPaymentRaw(e,i);return await t.value()}async getCreditCardPaymentChargeRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new t.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getCreditCardPaymentCharge.");if(null===e.stripePaymentIntentId||void 0===e.stripePaymentIntentId)throw new t.RequiredError("stripePaymentIntentId","Required parameter requestParameters.stripePaymentIntentId was null or undefined when calling getCreditCardPaymentCharge.");let a={};void 0!==e.stripePaymentIntentId&&(a.stripePaymentIntentId=e.stripePaymentIntentId);let r={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(r["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(r["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(r.Authorization=`Bearer ${i}`)}let o=await this.request({path:"/v1/payment/stripe/creditcardPayment/ch
1arge",method:"GET",headers:r,query:a},i);return new t.JSONApiResponse(o,e=>(0,n.StripePaymentChargeStatusResponseModelFromJSON)(e))}async getCreditCardPaymentCharge(e,i){let t=await this.getCreditCardPaymentChargeRaw(e,i);return await t.value()}async postCreditCardPaymentRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new t.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling postCreditCardPayment.");if(null===e.creditCardPaymentRequestModel||void 0===e.creditCardPaymentRequestModel)throw new t.RequiredError("creditCardPaymentRequestModel","Required parameter requestParameters.creditCardPaymentRequestModel was null or undefined when calling postCreditCardPayment.");let o={};if(o["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(o["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(o["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(o.Authorization=`Bearer ${i}`)}let n=await this.request({path:"/v1/payment/stripe/creditcardPayment",method:"POST",headers:o,query:{},body:(0,a.CreditCardPaymentRequestModelToJSON)(e.creditCardPaymentRequestModel)},i);return new t.JSONApiResponse(n,e=>(0,r.CreditCardPaymentResponseModelFromJSON)(e))}async postCreditCardPayment(e,i){let t=await this.postCreditCardPaymentRaw(e,i);return await t.value()}async postMobilePaymentRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new t.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling postMobilePayment.");if(null===e.mobilePaymentRequestModel||void 0===e.mobilePaymentRequestModel)throw new t.RequiredError("mobilePaymentRequestModel","Required parameter requestParameters.mobilePaymentRequestModel was null or undefined when calling postMobilePayment.");let a={};if(a["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/payment/stripe/mobilePayment",method:"POST",headers:a,query:{},body:(0,o.MobilePaymentRequestModelToJSON)(e.mobilePaymentRequestModel)},i);return new t.VoidApiResponse(r)}async postMobilePayment(e,i){await this.postMobilePaymentRaw(e,i)}}e.s(["PaymentStripeApi",0,d],742221);var l=t,u=e.i(984790);class c extends l.BaseAPI{async getPointsRaw(e,i){let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/products/coins",method:"GET",headers:t,query:{}},i);return new l.JSONApiResponse(a,e=>e.map(u.ProductModelFromJSON))}async getPoints(e={},i){let t=await this.getPointsRaw(e,i);return await t.value()}}e.s(["ProductApi",0,c],587446);var p=t,m=e.i(16568),h=e.i(677677),g=e.i(557638),w=e.i(71083),v=e.i(245749),R=e.i(85047),y=e.i(401133),T=e.i(623777),f=e.i(644373),q=e.i(134441),C=e.i(296289),S=e.i(848340);class k extends p.BaseAPI{async getFixpageByPagePathRaw(e,i){if(null===e.pagePath||void 0===e.pagePath)throw new p.RequiredError("pagePath","Required parameter requestParameters.pagePath was null or undefined when calling getFixpageByPagePath.");let t={};void 0!==e.pagePath&&(t.page_path=e.pagePath);let a={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(a["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/fixpage",method:"GET",headers:a,query:t},i);return new p.JSONApiResponse(r,e=>(0,h.FixPageResponseModelFromJSON)(e))}async getFixpageByPagePath(e,i){let t=await this.getFixpageByPagePathRaw(e,i);return await t.value()}async getGenreRankingRaw(e,i){if(null===e.contentTagId||void 0===e.contentTagId)throw new p.RequiredError("contentTagId","Required parameter requestParameters.contentTagId was null or undefined when calling getGenreRanking.");let t={};void 0!==e.isTopPage&&(t.isTopPage=e.isTopPage);let a={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/ranking/{content_tag_id}".replace("{content_tag_id}",encodeURIComponent(String(e.contentTagId))),method:"GET",headers:a,query:t},i);return new p.JSONApiResponse(r,e=>e.map(R.RankingSeriesModelFromJSON))}async getGenreRanking(e,i){let t=await this.getGenreRankingRaw(e,i);return await t.value()}async getGenreRankingTagsRaw(e,i){let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/ranking/tags",method:"GET",headers:t,query:{}},i);return new p.JSONApiResponse(a,e=>e.map(q.TagModelFromJSON))}async getGenreRankingTags(e={},i){let t=await this.getGenreRankingTagsRaw(e,i);return await t.value()}async getNewsRaw(e,i){let t={};void 0!==e.page&&(t.page=e.page),void 0!==e.size&&(t.size=e.size),void 0!==e.newsCategory&&(t.newsCategory=e.newsCategory);let a={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/news",method:"GET",headers:a,query:t},i);return new p.JSONApiResponse(r,e=>(0,v.NewsModelFromJSON)(e))}async getNews(e={},i){let t=await this.getNewsRaw(e,i);return await t.value()}async getNewsByNewsIdRaw(e,i){if(null===e.newsId||void 0===e.newsId)throw new p.RequiredError("newsId","Required parameter requestParameters.newsId was null or undefined when calling getNewsByNewsId.");let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/news/{news_id}".replace("{news_id}",encodeURIComponent(String(e.newsId))),method:"GET",headers:t,query:{}},i);return new p.JSONApiResponse(a,e=>(0,w.NewsContentModelFromJSON)(e))}async getNewsByNewsId(e,i){let t=await this.getNewsByNewsIdRaw(e,i);return await t.value()}async getPopupRaw(e,i){let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/popups",method:"GET",headers:t,query:{}},i);return new p.JSONApiResponse(a,e=>(0,S.TopPopupResponseModelFromJSON)(e))}async getPopup(e={},i){let t=await this.getPopupRaw(e,i);return await t.value()}async getSeriesRankingRaw(e,i){let t={};void 0!==e.rankingCategory&&(t.rankingCategory=e.rankingCategory),void 0!==e.isTopPage&&(t.isTopPage=e.isTopPage);let a={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/ranking",method:"GET",headers:a,query:t},i);return new p.JSONApiResponse(r,e=>e.map(R.RankingSeriesModelFromJSON))}async getSeriesRanking(e={}
1,i){let t=await this.getSeriesRankingRaw(e,i);return await t.value()}async getSeriesSpecialByUrlRaw(e,i){if(null===e.url||void 0===e.url)throw new p.RequiredError("url","Required parameter requestParameters.url was null or undefined when calling getSeriesSpecialByUrl.");let t={};void 0!==e.isMobile&&(t.isMobile=e.isMobile),void 0!==e.page&&(t.page=e.page),void 0!==e.specialSize&&(t.specialSize=e.specialSize),void 0!==e.seriesSpecialSort&&(t.seriesSpecialSort=e.seriesSpecialSort);let a={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(a["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/special/{url}".replace("{url}",encodeURIComponent(String(e.url))),method:"GET",headers:a,query:t},i);return new p.JSONApiResponse(r,e=>(0,y.SeriesMatomeModelFromJSON)(e))}
1async getSeriesSpecialByUrl(e,i){let t=await this.getSeriesSpecialByUrlRaw(e,i);return await t.value()}async getSiteInfoRaw(e,i){let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/sites/settings",method:"GET",headers:t,query:{}},i);return new p.JSONApiResponse(a,e=>(0,T.SiteSettingModelFromJSON)(e))}async getSiteInfo(e={},i){let t=await this.getSiteInfoRaw(e,i);return await t.value()}async getTopBannersRaw(e,i){let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/sites/banners",method:"GET",headers:t,query:{}},i);return new p.JSONApiResponse(a,e=>e.map(m.ContentBannerModelFromJSON))}async getTopBanners(e={},i){let t=await this.getTopBannersRaw(e,i);return await t.value()}async getTopHeadersRaw(e,i){let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/sites/headerItems",method:"GET",headers:t,query:{}},i);return new p.JSONApiResponse(a,e=>e.map(g.HeaderModelFromJSON))}async getTopHeaders(e={},i){let t=await this.getTopHeadersRaw(e,i);return await t.value()}async getTopItemsRaw(e,i){let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/features",method:"GET",headers:t,query:{}},i);return new p.JSONApiResponse(a,e=>e.map(C.TopItemModelFromJSON))}async getTopItems(e={},i){let t=await this.getTopItemsRaw(e,i);return await t.value()}async getTopSlideBannersRaw(e,i){let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/carousels",method:"GET",headers:t,query:{}},i);return new p.JSONApiResponse(a,e=>e.map(m.ContentBannerModelFromJSON))}async getTopSlideBanners(e={},i){let t=await this.getTopSlideBannersRaw(e,i);return await t.value()}async getToppageSectionsRaw(e,i){let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/sites/toppage",method:"GET",headers:t,query:{}},i);return new p.JSONApiResponse(a,e=>e.map(f.SiteToppageResponseModelFromJSON))}async getToppageSections(e={},i){let t=await this.getToppageSectionsRaw(e,i);return await t.value()}}e.s(["SiteApi",0,k],894740);var U=t;class I extends U.BaseAPI{async getGenresRaw(e,i){let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/tags",method:"GET",headers:t,query:{}},i);return new U.JSONApiResponse(a,e=>e.map(q.TagModelFromJSON))}async getGenres(e={},i){let t=await this.getGenresRaw(e,i);return await t.value()}}e.s(["TagApi",0,I],120006);var A=t,O=e.i(432213),P=e.i(668674),x=e.i(863233),E=e.i(348840),D=e.i(773913),M=e.i(360420),N=e.i(797515);class b extends A.BaseAPI{async deleteSeriesFromViewedHistoryRaw(e,i){if(null===e.seriesHash||void 0===e.seriesHash)throw new A.RequiredError("seriesHash","Required parameter requestParameters.seriesHash was null or undefined when calling deleteSeriesFromViewedHistory.");let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}
1let a=await this.request({path:"/v1/histories/series/{series_hash}/view".replace("{series_hash}",encodeURIComponent(String(e.seriesHash))),method:"DELETE",headers:t,query:{}},i);return new A.VoidApiResponse(a)}async deleteSeriesFromViewedHistory(e,i){await this.deleteSeriesFromViewedHistoryRaw(e,i)}async getFavoriteSeriesRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new A.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getFavoriteSeries.");let t={};void 0!==e.page&&(t.page=e.page),void 0!==e.size&&(t.size=e.size);let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/histories/favorites",method:"GET",headers:a,query:t},i);return new A.JSONApiResponse(r,e=>(0,x.FavoriteSeriesResponseModelFromJSON)(e))}async getFavoriteSeries(e,i){let t=await this.getFavoriteSeriesRaw(e,i);return await t.value()}async getRecentlyCompletedEpisodeInSeriesRaw(e,i){if(null===e.seriesHash||void 0===e.seriesHash)throw new A.RequiredError("seriesHash","Required parameter requestParameters.seriesHash was null or undefined when calling getRecentlyCompletedEpisodeInSeries.");let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/histories/series/{series_hash}/read".replace("{series_hash}",encodeURIComponent(String(e.seriesHash))),method:"GET",headers:t,query:{}},i);return new A.JSONApiResponse(a,e=>(0,O.EpisodeReadCompleteModelFromJSON)(e))}async getRecentlyCompletedEpisodeInSeries(e,i){let t=await this.getRecentlyCompletedEpisodeInSeriesRaw(e,i);return await t.value()}async getRentalHistoriesRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new A.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getRentalHistories.");let t={};void 0!==e.page&&(t.page=e.page),void 0!==e.size&&(t.size=e.size);let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/histories/rental",method:"GET",headers:a,query:t},i);return new A.JSONApiResponse(r,e=>e.map(P.EpisodeRentalHistoryModelFromJSON))}async getRentalHistories(e,i){let t=await this.getRentalHistoriesRaw(e,i);return await t.value()}async getUserLikedEpisodesRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new A.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getUserLikedEpisodes.");let t={};void 0!==e.page&&(t.page=e.page),void 0!==e.size&&(t.size=e.size);let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/histories/likes",method:"GET",headers:a,query:t},i);return new A.JSONApiResponse(r,e=>(0,E.LikedEpisodesResponseModelFromJSON)(e))}async getUserLikedEpisodes(e,i){let t=await this.getUserLikedEpisodesRaw(e,i);return await t.value()}async getUserPointHistoriesRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new A.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getUserPointHistories.");let t={};void 0!==e.page&&(t.page=e.page),void 0!==e.size&&(t.size=e.size);let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/histories/wallet",method:"GET",headers:a,query:t},i);return new A.JSONApiResponse(r,e=>
1e.map(D.UserPointHistoriesSummaryModelFromJSON))}async getUserPointHistories(e,i){let t=await this.getUserPointHistoriesRaw(e,i);return await t.value()}async getUserWalletRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new A.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getUserWallet.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/wallet",method:"GET",headers:t,query:{}},i);return new A.JSONApiResponse(a,e=>(0,M.UserWalletResponseModelFromJSON)(e))}async getUserWallet(e,i){let t=await this.getUserWalletRaw(e,i);return await t.value()}async getViewedSeriesHistoryRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new A.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getViewedSeriesHistory.");let t={};void 0!==e.page&&(t.page=e.page),void 0!==e.size&&(t.size=e.size);let a={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(a["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/histories/series/view",method:"GET",headers:a,query:t},i);return new A.JSONApiResponse(r,e=>(0,N.ViewedSeriesResponseModelFromJSON)(e))}async getViewedSeriesHistory(e,i){let t=await this.getViewedSeriesHistoryRaw(e,i);return await t.value()}}e.s(["UserApi",0,b],16880);var F=t,J=e.i(665276),B=e.i(421827),_=e.i(841050),V=e.i(586340),z=e.i(658576);class L extends F.BaseAPI{async addSeriesToFavoriteRaw(e,i){if(null===e.seriesHash||void 0===e.seriesHash)throw new F.RequiredError("seriesHash","Required parameter requestParameters.seriesHash was null or undefined when calling addSeriesToFavorite.");if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new F.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling addSeriesToFavorite.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/series/{series_hash}/favorite".replace("{series_hash}",encodeURIComponent(String(e.seriesHash))),method:"POST",headers:t,query:{}},i);return new F.JSONApiResponse(a,e=>e.map(V.UserMissionItemModelFromJSON))}async addSeriesToFavorite(e,i){let t=await this.addSeriesToFavoriteRaw(e,i);return await t.value()}async deleteSeriesFromFavoriteRaw(e,i){if(null===e.seriesHash||void 0===e.seriesHash)throw new F.RequiredError("seriesHash","Required parameter requestParameters.seriesHash was null or undefined when calling deleteSeriesFromFavorite.");if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new F.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling deleteSeriesFromFavorite.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}
1let a=await this.request({path:"/v1/series/{series_hash}/favorite".replace("{series_hash}",encodeURIComponent(String(e.seriesHash))),method:"DELETE",headers:t,query:{}},i);return new F.VoidApiResponse(a)}async deleteSeriesFromFavorite(e,i){await this.deleteSeriesFromFavoriteRaw(e,i)}async gachaShareRaw(e,i){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new F.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling gachaShare.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/achievement/gacha/share",method:"POST",headers:t,query:{}},i);return new F.VoidApiResponse(a)}async gachaShare(e,i){await this.gachaShareRaw(e,i)}async getNotificationByIdRaw(e,i){if(null===e.id||void 0===e.id)throw new F.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getNotificationById.");let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/notifications/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:t,query:{}},i);return new F.JSONApiResponse(a,e=>(0,_.NotificationModelFromJSON)(e))}async getNotificationById(e,i){let t=await this.getNotificationByIdRaw(e,i);return await t.value()}async getNotificationsRaw(e,i){let t={};void 0!==e.page&&(t.page=e.page),void 0!==e.size&&(t.size=e.size),void 0!==e.isRead&&(t.isRead=e.isRead);let a={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(a["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/notifications",method:"GET",headers:a,query:t},i);return new F.JSONApiResponse(r,e=>(0,J.GetNotifications200ResponseFromJSON)(e))}async getNotifications(e={},i){let t=await this.getNotificationsRaw(e,i);return await t.value()}async getSeriesFavoriteStatusRaw(e,i){if(null===e.seriesHash||void 0===e.seriesHash)throw new F.RequiredError("seriesHash","Required parameter requestParameters.seriesHash was null or undefined when calling getSeriesFavoriteStatus.");let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/series/{series_hash}/favorite".replace("{series_hash}",encodeURIComponent(String(e.seriesHash))),method:"GET",headers:t,query:{}},i);return new F.JSONApiResponse(a,e=>{var i;return null==(i=e)?i:{seriesId:i.seriesId,favorite:i.favorite}})}
1async getSeriesFavoriteStatus(e,i){let t=await this.getSeriesFavoriteStatusRaw(e,i);return await t.value()}async likeEpisodeRaw(e,i){if(null===e.articleHash||void 0===e.articleHash)throw new F.RequiredError("articleHash","Required parameter requestParameters.articleHash was null or undefined when calling likeEpisode.");let t={};void 0!==e.type&&(t.type=e.type);let a={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(a["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/articles/{article_hash}/like".replace("{article_hash}",encodeURIComponent(String(e.articleHash))),method:"POST",headers:a,query:t},i);return new F.VoidApiResponse(r)}async likeEpisode(e,i){await this.likeEpisodeRaw(e,i)}async postNormalAuthRaw(e,i){if(null===e.userAgent||void 0===e.userAgent)throw new F.RequiredError("userAgent","Required parameter requestParameters.userAgent was null or undefined when calling postNormalAuth.");if(null===e.normalAuthRequestModel||void 0===e.normalAuthRequestModel)throw new F.RequiredError("normalAuthRequestModel","Required parameter requestParameters.normalAuthRequestModel was null or undefined when calling postNormalAuth.");let t={};if(t["Content-Type"]="application/json",void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),void 0!==e.userAgent&&null!==e.userAgent&&(t["User-Agent"]=String(e.userAgent)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/login/auth/normal",method:"POST",headers:t,query:{},body:function(e){if(void 0!==e)return null===e?null:{identifier:e.identifier,password:e.password}}(e.normalAuthRequestModel)},i);return new F.JSONApiResponse(a,e=>(0,B.NormalAuthResponseModelFromJSON)(e))}async postNormalAuth(e,i){let t=await this.postNormalAuthRaw(e,i);return await t.value()}async shareSeriesRaw(e,i){if(null===e.seriesHash||void 0===e.seriesHash)throw new F.RequiredError("seriesHash","Required parameter requestParameters.seriesHash was null or undefined when calling shareSeries.");if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new F.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling shareSeries.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/series/{series_hash}/share".replace("{series_hash}",encodeURIComponent(String(e.seriesHash))),method:"POST",headers:t,query:{}},i);return new F.JSONApiResponse(a,e=>e.map(V.UserMissionItemModelFromJSON))}async shareSeries(e,i){let t=await this.shareSeriesRaw(e,i);return await t.value()}async storeEpisodeViewHistoryRaw(e,i){if(null===e.articleHash||void 0===e.articleHash)throw new F.RequiredError("articleHash","Required parameter requestParameters.articleHash was null or undefined when calling storeEpisodeViewHistory.");let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/articles/{article_hash}/view".replace("{article_hash}",encodeURIComponent(String(e.articleHash))),method:"POST",headers:t,query:{}},i);
1return new F.VoidApiResponse(a)}async storeEpisodeViewHistory(e,i){await this.storeEpisodeViewHistoryRaw(e,i)}async storeReadCompleteEpisodeHistoryRaw(e,i){if(null===e.articleHash||void 0===e.articleHash)throw new F.RequiredError("articleHash","Required parameter requestParameters.articleHash was null or undefined when calling storeReadCompleteEpisodeHistory.");if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new F.RequiredError("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling storeReadCompleteEpisodeHistory.");let t={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(t["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/articles/{article_hash}/read".replace("{article_hash}",encodeURIComponent(String(e.articleHash))),method:"POST",headers:t,query:{}},i);return new F.JSONApiResponse(a,e=>e.map(V.UserMissionItemModelFromJSON))}async storeReadCompleteEpisodeHistory(e,i){let t=await this.storeReadCompleteEpisodeHistoryRaw(e,i);return await t.value()}async storeViewedPopupRaw(e,i){if(null===e.viewedPopupRequestModel||void 0===e.viewedPopupRequestModel)throw new F.RequiredError("viewedPopupRequestModel","Required parameter requestParameters.viewedPopupRequestModel was null or undefined when calling storeViewedPopup.");let t={};if(t["Content-Type"]="application/json",void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/popups/view",method:"POST",headers:t,query:{},body:(0,z.ViewedPopupRequestModelToJSON)(e.viewedPopupRequestModel)},i);return new F.VoidApiResponse(a)}async storeViewedPopup(e,i){await this.storeViewedPopupRaw(e,i)}async updateAllNotificationsReadStatusByUserRaw(e,i){let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/notifications",method:"PUT",headers:t,query:{}},i);return new F.VoidApiResponse(a)}async updateAllNotificationsReadStatusByUser(e={},i){await this.updateAllNotificationsReadStatusByUserRaw(e,i)}async updateNotificationsReadStatusByUserRaw(e,i){if(null===e.id||void 0===e.id)throw new F.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateNotificationsReadStatusByUser.");let t={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(t["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/notifications/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:t,query:{}},i);return new F.VoidApiResponse(a)}async updateNotificationsReadStatusByUser(e,i){await this.updateNotificationsReadStatusByUserRaw(e,i)}}e.s(["UserActionApi",0,L],53280);var K=t;function H(e){var i;return null==(i=e)?i:{id:i.id,name:i.name,description:i.description,thumbImageUrl:i.thumb_image_url,pageCount:i.page_count,episodeNumber:i.episode_number,publishDate:i.publish_date,endD
1ate:i.end_date}}var G=e.i(57102);class $ extends K.BaseAPI{async getViewerBookByViewerIdRaw(e,i){if(null===e.viewerId||void 0===e.viewerId)throw new K.RequiredError("viewerId","Required parameter requestParameters.viewerId was null or undefined when calling getViewerBookByViewerId.");let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/viewer/books/{viewer_id}".replace("{viewer_id}",encodeURIComponent(String(e.viewerId))),method:"GET",headers:t,query:{}},i);return new K.JSONApiResponse(a,e=>{var i;return null==(i=e)?i:{id:i.id,title:i.title,thumbImageUrl:i.thumb_image_url,description:i.description,publishDate:i.publish_date,endDate:i.end_date}})}async getViewerBookByViewerId(e,i){let t=await this.getViewerBookByViewerIdRaw(e,i);return await t.value()}async getViewerEpisodesByViewerIdRaw(e,i){if(null===e.viewerId||void 0===e.viewerId)throw new K.RequiredError("viewerId","Required parameter requestParameters.viewerId was null or undefined when calling getViewerEpisodesByViewerId.");let t={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(t["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(t.Authorization=`Bearer ${i}`)}let a=await this.request({path:"/v1/viewer/episodes/{viewer_id}".replace("{viewer_id}",encodeURIComponent(String(e.viewerId))),method:"GET",headers:t,query:{}},i);return new K.JSONApiResponse(a,e=>e.map(H))}async getViewerEpisodesByViewerId(e,i){let t=await this.getViewerEpisodesByViewerIdRaw(e,i);return await t.value()}async getViewerPagesByViewerIdRaw(e,i){if(null===e.viewerId||void 0===e.viewerId)throw new K.RequiredError("viewerId","Required parameter requestParameters.viewerId was null or undefined when calling getViewerPagesByViewerId.");if(null===e.pageFrom||void 0===e.pageFrom)throw new K.RequiredError("pageFrom","Required parameter requestParameters.pageFrom was null or undefined when calling getViewerPagesByViewerId.");if(null===e.pageTo||void 0===e.pageTo)throw new K.RequiredError("pageTo","Required parameter requestParameters.pageTo was null or undefined when calling getViewerPagesByViewerId.");let t={};void 0!==e.pageFrom&&(t["page-from"]=e.pageFrom),void 0!==e.pageTo&&(t["page-to"]=e.pageTo);let a={};if(void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(a["X-Comici-User-Token"]=String(e.xComiciUserToken)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(a["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,i=await e("contentApiKey",[]);i&&(a.Authorization=`Bearer ${i}`)}let r=await this.request({path:"/v1/viewer/pages/{viewer_id}".replace("{viewer_id}",encodeURIComponent(String(e.viewerId))),method:"GET",headers:a,query:t},i);return new K.JSONApiResponse(r,e=>(0,G.ViewerPagesResponseModelFromJSON)(e))}async getViewerPagesByViewerId(e,i){let t=await this.getViewerPagesByViewerIdRaw(e,i);return await t.value()}}e.s(["ViewerApi",0,$],410458),e.s([],289122);var X=e.i(551956);let W="users.readingSeries"+X.GLOBALS.CONTENT_ID,j="users.readingSeriesIds",Y=j+X.GLOBALS.CONTENT_ID;X.GLOBALS.CONTENT_ID,i.GetSeriesDaysOfWeekEnum.Mon,i.GetSeriesDaysOfWeekEnum.Tue,i.GetSeriesDaysOfWeekEnum.Wed,i.GetSeriesDaysOfWeekEnum.Thu,i.GetSeriesDaysOfWeekEnum.Fri,i.GetSeriesDaysOfWeekEnum.Sat,i.GetSeriesDaysOfWeekEnum.Sun,i.GetSeriesDaysOfWeekEnum.Other;let Q=X.GLOBALS.DISABLED_SAFE_FILTER_COOKIE_NAME;e.s(["APP_VERSION_HEADER_NAME",0,"X-App-Version","AUTH_TRANSITION_SOURCE_COOKIE_NAME",0,"from","DEFAULT_GENRE_SORT",0,"popular","DISABLED_SAFE_FILTER_COOKIE_NAME",0,Q,"DISPLAYED_USER_MISSION_IDS_COOKIE_NAME",0,"displayedUserMissionIds","FIRST_ACCESS_AGE_VERIFY_COOKIE_NAME",0,"firstAccessAgeVerified","MISSION_NOTIFICATION_PENDING_COOKIE_NAME",0,"missionNotificationPending","NO_IMAGE_IMG_SRC",0,"https://cdn.comici.jp/img/preparing_series.svg","PAYMENT_COOKIE_NAME",0,"paymentInfo","PAYMENT_FAILED_ERROR",0,"PaymentFailedError","POPUP_COOKIE_NAME",0,{noShowNext:"no_show_next",popupInfo:"popup_info"},"POPUP_TYPES",0,{campaign:"campaign",waitfree:"waitfree",newarticle:"newarticle",recommend:"recommend",agreement:"agreement",mission:"mission"},"READING_SERIES_IDS",0,j,"READING_SERIES_ID_KEY",0,Y,"READING_SERIES_INDEX_KEY",0,W,"RIMACOMI_DEFAULT_USER_ICON",0,"https://cdn-public.rimacomiplus.jp/default/users/guest_reader.png","SID_CODE_VERIFIER_COOKIE_NAME",0,"sidCodeVerifier","SID_CODE_VERIFIER_LENGTH",0,128,"STORE_KEYS",0,{isPaymentDialogOpen:"store_pay",isCardDialogOpen:"store_addCard",isChargeDialogOpen:"store_charge",chargeProduct:"store_chargeProd",isChargeProcessingDialogOpen:"store_chargeStatus",singleEpRental:"store_singleEp",coinAndRental:"store_coinAndRental",rentalStatus:"store_rentalStatus",isViewerJsLoaded:"viewer_loaded",isGenreOpened:"genre_open",popup:"popup",popupData:"popupData",requireSigninPopup:"req_signin_popup",requireMailConfirmPopup:"req_mail_confirm_popup",waitFreeIntroPopup:"waitfree_intro",notification:"notification",inAdminMode:"adminMode",selectedPaymentMethod:"selected_payment_method",isMissionRegistered:"is_mission_registered",isFirstAgeVerificationDialogOpen:"is_first_age_verification_dialog_open",appOnlyPopup:"app_only_popup",isMissionNotificationFetching:"is_mission_notification_fetching",isMissionNotificationDeleting:"is_mission_notification_deleting",isLoginMissionRunning:"is_login_mission_running"},"VERIFY_MAIL_REDIRECT_COOKIE_NAME",0,"verifyRedirect","WAITFREE_INTRO_SHOWN_KEY",0,"waitfreeintro_shown","getReadEpKey",0,function(e){return e?"readep_"+e:""}],228986)},125678,117595,e=>{"use strict";let i;var t=e.i(228986);function a(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var a in t)e[a]=t[a]}return e}var r=function e(i,t){function r(e,r,o){if("u">typeof document){"number"==typeof(o=a({},t,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decode
1URIComponent).replace(/[()]/g,escape);var n="";for(var s in o)o[s]&&(n+="; "+s,!0!==o[s]&&(n+="="+o[s].split(";")[0]));return document.cookie=e+"="+i.write(r,e)+n}}return Object.create({set:r,get:function(e){if("u">typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],a={},r=0;r<t.length;r++){var o=t[r].split("="),n=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(a[s]=i.read(n,s),e===s)break}catch(e){}}return e?a[e]:a}},remove:function(e,i){r(e,"",a({},i,{expires:-1}))},withAttributes:function(i){return e(this.converter,a({},this.attributes,i))},withConverter:function(i){return e(a({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(i)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});async function o(e){return(await i).getRandomValues(new Uint8Array(e))}function n(e){return btoa(String.fromCharCode(...e instanceof Uint8Array?e:new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}async function s(e){let i=Math.ceil(3*e/4);return n(await o(i)).slice(0,e)}async function d(e,t="S256"){if("plain"===t)return e;if("S256"!==t)throw Error(`Unsupported PKCE challenge method: ${t}`);return n(await (await i).subtle.digest("SHA-256",new TextEncoder().encode(e)))}async function l(e,i){if(e||(e=43),i||(i="S256"),e<43||e>128)throw Error(`Expected a length between 43 and 128. Received ${e}.`);let t=await s(e),a=await d(t,i);return{code_verifier:t,code_challenge:a,code_challenge_method:i}}async function u(){let{code_verifier:e,code_challenge:i}=await l(t.SID_CODE_VERIFIER_LENGTH);return r.set(t.SID_CODE_VERIFIER_COOKIE_NAME,e,{sameSite:"lax",secure:!0,expires:10/1440,path:"/"}),{codeVerifier:e,codeChallenge:i}}e.s(["default",0,r],117595),i=globalThis.crypto,e.s(["deletePkceCodeVerifierFromCookie",0,function(){r.remove(t.SID_CODE_VERIFIER_COOKIE_NAME,{path:"/"})},"generatePkceChallenge",0,u,"getPkceCodeVerifierFromCookie",0,function(){return r.get(t.SID_CODE_VERIFIER_COOKIE_NAME)||null}],125678)}]); 2 3//# sourceMappingURL=0xj5p400.oiz5.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.