PageSourceSearch

https://shigotalk.jp/_next/static/chunks/8074-03e8fa2c06b29f0a.js

js shigotalk.jp collected 2026-10-01 23:50:41 UTC 14,479 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8074],{8947:function(e,t,o){o.d(t,{VK:function(){return Configuration},M2:function(){return PollCommentApi},tZ:function(){return QuestionApi},So:function(){return TopApi},p7:function(){return WidgetApi}});var n=o(7066);let s="https://api.shigotalk.jp/v2/web".replace(/\/+$/,"");let base_BaseAPI=class base_BaseAPI{constructor(e,t=s,o=n.Z){this.basePath=t,this.axios=o,e&&(this.configuration=e,this.basePath=e.basePath||this.basePath)}};let RequiredError=class RequiredError extends Error{constructor(e,t){super(t),this.field=e,this.name="RequiredError"}};let a="https://example.com",common_assertParamExists=function(e,t,o){if(null==o)throw new RequiredError(t,"Required parameter ".concat(t," was null or undefined when calling ").concat(e,"."))},common_setBearerAuthToObject=async function(e,t){if(t&&t.accessToken){let o="function"==typeof t.accessToken?await t.accessToken():await t.accessToken;e.Authorization="Bearer "+o}},common_setSearchParams=function(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];let s=new URLSearchParams(e.search);!function setFlattenedQueryParams(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";"object"==typeof t?Array.isArray(t)?t.forEach(t=>setFlattenedQueryParams(e,t,o)):Object.keys(t).forEach(n=>setFlattenedQueryParams(e,t[n],"".concat(o).concat(""!==o?".":"").concat(n))):e.has(o)?e.append(o,t):e.set(o,t)}(s,o),e.search=s.toString()},common_serializeDataIfNeeded=function(e,t,o){let n="string"!=typeof e,s=n&&o&&o.isJsonMime?o.isJsonMime(t.headers["Content-Type"]):n;return s?JSON.stringify(void 0!==e?e:{}):e||""},common_toPathString=function(e){return e.pathname+e.search+e.hash},common_createRequestFunction=function(e,t,o,n){return function(){let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,i={...e.options,url:((null==n?void 0:n.basePath)||a)+e.url};return s.request(i)}},PollCommentApiFp=function(e){let t={cancelLikePollComment:async function(t){let o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};common_assertParamExists("cancelLikePollComment","id",t);let s="/poll_comments/{id}/like".replace("{id}",encodeURIComponent(String(t))),i=new URL(s,a);e&&(o=e.baseOptions);let r={method:"DELETE",...o,...n},c={};await common_setBearerAuthToObject(c,e),common_setSearchParams(i,{});let m=o&&o.headers?o.headers:{};return r.headers={...c,...m,...n.headers},{url:common_toPathString(i),options:r}},createPollComment:async function(t,o){let n,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};common_assertParamExists("createPollComment","id",t);let i="/polls/{id}/poll_comments".replace("{id}",encodeURIComponent(String(t))),r=new URL(i,a);e&&(n=e.baseOptions);let c={method:"POST",...n,...s},m={};await common_setBearerAuthToObject(m,e),m["Content-Type"]="application/json",common_setSearchParams(r,{});let l=n&&n.headers?n.headers:{};return c.headers={...m,...l,...s.headers},c.data=common_serializeDataIfNeeded(o,c,e),{url:common_toPathString(r),options:c}},destroyPollComment:async function(t){let o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};common_assertParamExists("destroyPollComment","id",t);let s="/poll_comments/{id}".replace("{id}",encodeURIComponent(String(t))),i=new URL(s,a);e&&(o=e.baseOptions);let r={method:"DELETE",...o,...n};common_setSearchParams(i,{});let c=o&&o.headers?o.headers:{};return r.headers={...c,...n.headers},{url:common_toPathString(i),options:r}},likePollComment:async function(t){let o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};common_assertParamExists("likePollComment","id",t);let s="/poll_comments/{id}/like".replace("{id}",encodeURIComponent(String(t))),i=new URL(s,a);e&&(o=e.baseOptions);let r={method:"POST",...o,...n},c={};await common_setBearerAuthToObject(c,e),common_setSearchParams(i,{});let m=o&&o.headers?o.headers:{};return r.headers={...c,...m,...n.headers},{url:common_toPathString(i),options:r}},listPollComments:async function(t,o,n){let s,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};common_assertParamExists("listPollComments","id",t);let r="/polls/{id}/poll_comments".replace("{id}",encodeURIComponent(String(t))),c=new URL(r,a);e&&(s=e.baseOptions);let m={method:"GET",...s,...i},l={},h={};await common_setBearerAuthToObject(l,e),void 0!==o&&(h.page=o),void 0!==n&&(h.per=n),common_setSearchParams(c,h);let u=s&&s.headers?s.headers:{};return m.headers={...l,...u,...i.headers},{url:common_toPathString(c),options:m}},reportPollComment:async function(t,o){let n,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};common_assertParamExists("reportPollComment","id",t);let i="/poll_comments/{id}/report".replace("{id}
1",encodeURIComponent(String(t))),r=new URL(i,a);e&&(n=e.baseOptions);let c={method:"POST",...n,...s},m={};await common_setBearerAuthToObject(m,e),m["Content-Type"]="application/json",common_setSearchParams(r,{});let l=n&&n.headers?n.headers:{};return c.headers={...m,...l,...s.headers},c.data=common_serializeDataIfNeeded(o,c,e),{url:common_toPathString(r),options:c}}};return{async cancelLikePollComment(o,a){let i=await t.cancelLikePollComment(o,a);return common_createRequestFunction(i,n.Z,s,e)},async createPollComment(o,a,i){let r=await t.createPollComment(o,a,i);return common_createRequestFunction(r,n.Z,s,e)},async destroyPollComment(o,a){let i=await t.destroyPollComment(o,a);return common_createRequestFunction(i,n.Z,s,e)},async likePollComment(o,a){let i=await t.likePollComment(o,a);return common_createRequestFunction(i,n.Z,s,e)},async listPollComments(o,a,i,r){let c=await t.listPollComments(o,a,i,r);return common_createRequestFunction(c,n.Z,s,e)},async reportPollComment(o,a,i){let r=await t.reportPollComment(o,a,i);return common_createRequestFunction(r,n.Z,s,e)}}};let PollCommentApi=class PollCommentApi extends base_BaseAPI{cancelLikePollComment(e,t){return PollCommentApiFp(this.configuration).cancelLikePollComment(e,t).then(e=>e(this.axios,this.basePath))}createPollComment(e,t,o){return PollCommentApiFp(this.configuration).createPollComment(e,t,o).then(e=>e(this.axios,this.basePath))}destroyPollComment(e,t){return PollCommentApiFp(this.configuration).destroyPollComment(e,t).then(e=>e(this.axios,this.basePath))}likePollComment(e,t){return PollCommentApiFp(this.configuration).likePollComment(e,t).then(e=>e(this.axios,this.basePath))}listPollComments(e,t,o,n){return PollCommentApiFp(this.configuration).listPollComments(e,t,o,n).then(e=>e(this.axios,this.basePath))}reportPollComment(e,t,o){return PollCommentApiFp(this.configuration).reportPollComment(e,t,o).then(e=>e(this.axios,this.basePath))}};let QuestionApiFp=function(e){let t={cancelLikeQuestion:async function(t){let o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};common_assertParamExists("cancelLikeQuestion","id",t);let s="/questions/{id}/like".replace("{id}",encodeURIComponent(String(t))),i=new URL(s,a);e&&(o=e.baseOptions);let r={method:"DELETE",...o,...n},c={};await common_setBearerAuthToObject(c,e),common_setSearchParams(i,{});let m=o&&o.headers?o.headers:{};return r.headers={...c,...m,...n.headers},{url:common_toPathString(i),options:r}},createQuestion:async function(t){let o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=new URL("/questions",a);e&&(o=e.baseOptions);let i={method:"POST",...o,...n},r={};await common_setBearerAuthToObject(r,e),r["Content-Type"]="application/json",common_setSearchParams(s,{});let c=o&&o.headers?o.headers:{};return i.headers={...r,...c,...n.headers},i.data=common_serializeDataIfNeeded(t,i,e),{url:common_toPathString(s),options:i}},destroyQuestion:async function(t){let o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};common_assertParamExists("destroyQuestion","id",t);let s="/questions/{id}".replace("{id}",encodeURIComponent(String(t))),i=new URL(s,a);e&&(o=e.baseOptions);let r={method:"DELETE",...o,...n};common_setSearchParams(i,{});let c=o&&o.headers?o.headers:{};return r.headers={...c,...n.headers},{url:common_toPathString(i),options:r}},likeQuestion:async function(t){let o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};common_assertParamExists("likeQuestion","id",t);let s="/questions/{id}/like".replace("{id}",encodeURIComponent(String(t))),i=new URL(s,a);e&&(o=e.baseOptions);let r={method:"POST",...o,...n},c={};await common_setBearerAuthToObject(c,e),common_setSearchParams(i,{});let m=o&&o.headers?o.headers:{};return r.headers={...c,...m,...n.headers},{url:common_toPathString(i),options:r}},listQuestions:async function(t,o,n,s,i){let r,c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},m=new URL("/questions",a);e&&(r=e.baseOptions);let l={method:"GET",...r,...c},h={};void 0!==t&&(h.category_id=t),void 0!==o&&(h.is_legendary=o),void 0!==n&&(h.sort=n),void 0!==s&&(h.page=s),void 0!==i&&(h.per=i),common_setSearchParams(m,h);let u=r&&r.headers?r.headers:{};return l.headers={...u,...c.headers},{url:common_toPathString(m),options:l}},reportQuestion:async function(t,o){let n,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};common_assertParamExists("reportQuestion","id",t);let i="/questions/{id}/report".replace("{id}
1",encodeURIComponent(String(t))),r=new URL(i,a);e&&(n=e.baseOptions);let c={method:"POST",...n,...s},m={};await common_setBearerAuthToObject(m,e),m["Content-Type"]="application/json",common_setSearchParams(r,{});let l=n&&n.headers?n.headers:{};return c.headers={...m,...l,...s.headers},c.data=common_serializeDataIfNeeded(o,c,e),{url:common_toPathString(r),options:c}},searchQuestions:async function(t,o,n){let s,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};common_assertParamExists("searchQuestions","q",t);let r=new URL("/questions/search",a);e&&(s=e.baseOptions);let c={method:"GET",...s,...i},m={};void 0!==t&&(m.q=t),void 0!==o&&(m.page=o),void 0!==n&&(m.per=n),common_setSearchParams(r,m);let l=s&&s.headers?s.headers:{};return c.headers={...l,...i.headers},{url:common_toPathString(r),options:c}},serverSearchQuestion:async function(){let t,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new URL("/question_search/server",a);e&&(t=e.baseOptions);let s={method:"GET",...t,...o};common_setSearchParams(n,{});let i=t&&t.headers?t.headers:{};return s.headers={...i,...o.headers},{url:common_toPathString(n),options:s}}};return{async cancelLikeQuestion(o,a){let i=await t.cancelLikeQuestion(o,a);return common_createRequestFunction(i,n.Z,s,e)},async createQuestion(o,a){let i=await t.createQuestion(o,a);return common_createRequestFunction(i,n.Z,s,e)},async destroyQuestion(o,a){let i=await t.destroyQuestion(o,a);return common_createRequestFunction(i,n.Z,s,e)},async likeQuestion(o,a){let i=await t.likeQuestion(o,a);return common_createRequestFunction(i,n.Z,s,e)},async listQuestions(o,a,i,r,c,m){let l=await t.listQuestions(o,a,i,r,c,m);return common_createRequestFunction(l,n.Z,s,e)},async reportQuestion(o,a,i){let r=await t.reportQuestion(o,a,i);return common_createRequestFunction(r,n.Z,s,e)},async searchQuestions(o,a,i,r){let c=await t.searchQuestions(o,a,i,r);return common_createRequestFunction(c,n.Z,s,e)},async serverSearchQuestion(o){let a=await t.serverSearchQuestion(o);return common_createRequestFunction(a,n.Z,s,e)}}};let QuestionApi=class QuestionApi extends base_BaseAPI{cancelLikeQuestion(e,t){return QuestionApiFp(this.configuration).cancelLikeQuestion(e,t).then(e=>e(this.axios,this.basePath))}createQuestion(e,t){return QuestionApiFp(this.configuration).createQuestion(e,t).then(e=>e(this.axios,this.basePath))}destroyQuestion(e,t){return QuestionApiFp(this.configuration).destroyQuestion(e,t).then(e=>e(this.axios,this.basePath))}likeQuestion(e,t){return QuestionApiFp(this.configuration).likeQuestion(e,t).then(e=>e(this.axios,this.basePath))}listQuestions(e,t,o,n,s,a){return QuestionApiFp(this.configuration).listQuestions(e,t,o,n,s,a).then(e=>e(this.axios,this.basePath))}reportQuestion(e,t,o){return QuestionApiFp(this.configuration).reportQuestion(e,t,o).then(e=>e(this.axios,this.basePath))}searchQuestions(e,t,o,n){return QuestionApiFp(this.configuration).searchQuestions(e,t,o,n).then(e=>e(this.axios,this.basePath))}serverSearchQuestion(e){return QuestionApiFp(this.configuration).serverSearchQuestion(e).then(e=>e(this.axios,this.basePath))}};let TopApiFp=function(e){let t={serverTop:async function(){let t,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new URL("/top/server",a);e&&(t=e.baseOptions);let s={method:"GET",...t,...o};common_setSearchParams(n,{});let i=t&&t.headers?t.headers:{};return s.headers={...i,...o.headers},{url:common_toPathString(n),options:s}}};return{async serverTop(o){let a=await t.serverTop(o);return common_createRequestFunction(a,n.Z,s,e)}}};let TopApi=class TopApi extends base_BaseAPI{serverTop(e){return TopApiFp(this.configuration).serverTop(e).then(e=>e(this.axios,this.basePath))}};let WidgetApiFp=function(e){let t={getWidget:async function(t,o){let n,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};common_assertParamExists("getWidget","type",t),common_assertParamExists("getWidget","id",o);let i=new URL("/widgets",a);e&&(n=e.baseOptions);let r={method:"GET",...n,...s},c={};void 0!==t&&(c.type=t),void 0!==o&&(c.id=o),common_setSearchParams(i,c);let m=n&&n.headers?n.headers:{};return r.headers={...m,...s.headers},{url:common_toPathString(i),options:r}}};return{async getWidget(o,a,i){let r=await t.getWidget(o,a,i);return common_createRequestFunction(r,n.Z,s,e)}}};let WidgetApi=class WidgetApi extends base_BaseAPI{getWidget(e,t,o){return WidgetApiFp(this.configuration).getWidget(e,t,o).then(e=>e(this.axios,this.basePath))}};
1let Configuration=class Configuration{isJsonMime(e){let t=RegExp("^(application/json|[^;/ 	]+/[^;/ 	]+[+]json)[ 	]*(;.*)?$","i");return null!==e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.baseOptions=e.baseOptions,this.formDataCtor=e.formDataCtor}}},8074:function(e,t,o){o.d(t,{b:function(){return i},p:function(){return a}});var n=o(7066),s=o(8947);let a=new s.VK({basePath:"https://api.shigotalk.jp/v2/web"}),i=n.Z.create({baseURL:"https://api.shigotalk.jp/v2/web"});i.interceptors.request.use(e=>e),i.interceptors.response.use(e=>(e.status>=200&&e.status<300||console.log(e.data),e))}}]);

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.