1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[834],{7236:function(t,e,r){"use strict";var o,i,a,n,s,u,h,l,c,f=r(2867).Buffer,p=this&&this.__classPrivateFieldSet||function(t,e,r,o,i){if("m"===o)throw TypeError("Private method is not writable");if("a"===o&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?i.call(t,r):i?i.value=r:e.set(t,r),r},d=this&&this.__classPrivateFieldGet||function(t,e,r,o){if("a"===r&&!o)throw TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?o:"a"===r?o.call(t):o?o.value:e.get(t)};Object.defineProperty(e,"__esModule",{value:!0});let y=r(165),m=r(3454),g=r(339),b=r(1864),v=r(916),P=r(3797);class k{constructor(t){var e,r,f,d,m,w;o.set(this,void 0),i.set(this,void 0),a.set(this,void 0),n.set(this,void 0),s.set(this,void 0),u.set(this,void 0),h.set(this,void 0),l.set(this,void 0),c.set(this,void 0),this.blocks={retrieve:t=>this.request({path:b.getBlock.path(t),method:b.getBlock.method,query:(0,g.pick)(t,b.getBlock.queryParams),body:(0,g.pick)(t,b.getBlock.bodyParams),auth:null==t?void 0:t.auth}),update:t=>this.request({path:b.updateBlock.path(t),method:b.updateBlock.method,query:(0,g.pick)(t,b.updateBlock.queryParams),body:(0,g.pick)(t,b.updateBlock.bodyParams),auth:null==t?void 0:t.auth}),delete:t=>this.request({path:b.deleteBlock.path(t),method:b.deleteBlock.method,query:(0,g.pick)(t,b.deleteBlock.queryParams),body:(0,g.pick)(t,b.deleteBlock.bodyParams),auth:null==t?void 0:t.auth}),children:{append:t=>this.request({path:b.appendBlockChildren.path(t),method:b.appendBlockChildren.method,query:(0,g.pick)(t,b.appendBlockChildren.queryParams),body:(0,g.pick)(t,b.appendBlockChildren.bodyParams),auth:null==t?void 0:t.auth}),list:t=>this.request({path:b.listBlockChildren.path(t),method:b.listBlockChildren.method,query:(0,g.pick)(t,b.listBlockChildren.queryParams),body:(0,g.pick)(t,b.listBlockChildren.bodyParams),auth:null==t?void 0:t.auth})}},this.databases={list:t=>this.request({path:b.listDatabases.path(),method:b.listDatabases.method,query:(0,g.pick)(t,b.listDatabases.queryParams),body:(0,g.pick)(t,b.listDatabases.bodyParams),auth:null==t?void 0:t.auth}),retrieve:t=>this.request({path:b.getDatabase.path(t),method:b.getDatabase.method,query:(0,g.pick)(t,b.getDatabase.queryParams),body:(0,g.pick)(t,b.getDatabase.bodyParams),auth:null==t?void 0:t.auth}),query:t=>this.request({path:b.queryDatabase.path(t),method:b.queryDatabase.method,query:(0,g.pick)(t,b.queryDatabase.queryParams),body:(0,g.pick)(t,b.queryDatabase.bodyParams),auth:null==t?void 0:t.auth}),create:t=>this.request({path:b.createDatabase.path(),method:b.createDatabase.method,query:(0,g.pick)(t,b.createDatabase.queryParams),body:(0,g.pick)(t,b.createDatabase.bodyParams),auth:null==t?void 0:t.auth}),update:t=>this.request({path:b.updateDatabase.path(t),method:b.updateDatabase.method,query:(0,g.pick)(t,b.updateDatabase.queryParams),body:(0,g.pick)(t,b.updateDatabase.bodyParams),auth:null==t?void 0:t.auth})},this.pages={create:t=>this.request({path:b.createPage.path(),method:b.createPage.method,query:(0,g.pick)(t,b.createPage.queryParams),body:(0,g.pick)(t,b.createPage.bodyParams),auth:null==t?void 0:t.auth}),retrieve:t=>this.request({path:b.getPage.path(t),method:b.getPage.method,query:(0,g.pick)(t,b.getPage.queryParams),body:(0,g.pick)(t,b.getPage.bodyParams),auth:null==t?void 0:t.auth}),update:t=>this.request({path:b.updatePage.path(t),method:b.updatePage.method,query:(0,g.pick)(t,b.updatePage.queryParams),body:(0,g.pick)(t,b.updatePage.bodyParams),auth:null==t?void 0:t.auth}),properties:{retrieve:t=>this.request({path:b.getPageProperty.path(t),method:b.getPageProperty.method,query:(0,g.pick)(t,b.getPageProperty.queryParams),body:(0,g.pick)(t,b.getPageProperty.bodyParams),auth:null==t?void 0:t.auth})}},this.users={retrieve:t=>this.request({path:b.getUser.path(t),method:b.getUser.method,query:(0,g.pick)(t,b.getUser.queryParams),body:(0,g.pick)(t,b.getUser.bodyParams),auth:null==t?void 0:t.auth}),list:t=>this.request({path:b.listUsers.path(),method:b.listUsers.method,query:(0,g.pick)(t,b.listUsers.queryParams),body:(0,g.pick)(t,b.listUsers.bodyParams),auth:null==t?void 0:t.auth}),me:t=>this.request({path:b.getSelf.path(),method:b.getSelf.method,query:(0,g.pick)(t,b.getSelf.queryParams),body:(0,g.pick)(t,b.getSelf.bodyParams),auth:null==t?void 0:t.auth})},this.comments={create:t=>this.request({path:b.createComment.path(),method:b.createComment.method,query:(0,g.pick)(t,b.createComment.queryParams),body:(0,g.pick)(t,b.createComment.bodyParams),auth:null==t?void 0:t.auth}),list:t=>this.request({path:b.listComments.path(),method:b.listComments.method,query:(0,g.pick)(t,b.listComments.queryParams),body:(0,g.pick)(t,b.listComments.bodyParams),auth:null==t?void 0:t.auth})},this.search=t=>this.request({path:b.search.path(),method:b.search.method,query:(0,g.pick)(t,b.search.queryParams),body:(0,g.pick)(t,b.search.bodyParams),auth:null==t?void 0:t.auth}),this.oauth={token:t=>this.request({path:b.oauthToken.path(),method:b.oauthToken.method,query:(0,g.pick)(t,b.oauthToken.queryParams),body:(0,g.pick)(t,b.oauthToken.bodyParams),auth:{client_id:t.client_id,client_secret:t.client_secret}}),introspect:t=>this.request({path:b.oauthIntrospect.path(),method:b.oauthIntrospect.method,query:(0,g.pick)(t,b.oauthIntrospect.queryParams),body:(0,g.pick)(t,b.oauthIntrospect.bodyParams),auth:{client_id:t.client_id,client_secret:t.client_secret}}),revoke:t=>this.request({path:b.oauthRevoke.path(),method:b.oauthRevoke.method,query:(0,g.pick)(t,b.oauthRevoke.queryParams),body:(0,g.pick)(t,b.oauthRevoke.bodyParams),auth:{client_id:t.client_id,client_secret:t.client_secret}})},p(this,o,null==t?void 0:t.auth,"f"),p(this,i,null!==(e=null==t?void 0:t.logLevel)&&void 0!==e?e:y.LogLevel.WARN,"f"),p(this,a,null!==(r=null==t?void 0:t.logger)&&void 0!==r?r:(0,y.makeConsoleLogger)(P.name),"f"),p(this,n,`${null!==(f=null==t?void 0:t.baseUrl)&&void 0!==f?f:"https://api.notion.com"}
1/v1/`,"f"),p(this,s,null!==(d=null==t?void 0:t.timeoutMs)&&void 0!==d?d:6e4,"f"),p(this,u,null!==(m=null==t?void 0:t.notionVersion)&&void 0!==m?m:k.defaultNotionVersion,"f"),p(this,h,null!==(w=null==t?void 0:t.fetch)&&void 0!==w?w:v.default,"f"),p(this,l,null==t?void 0:t.agent,"f"),p(this,c,`notionhq-client/${P.version}`,"f")}async request({path:t,method:e,query:r,body:o,auth:i}){let a;this.log(y.LogLevel.INFO,"request start",{method:e,path:t});let p=o&&0!==Object.entries(o).length?JSON.stringify(o):void 0,g=new URL(`${d(this,n,"f")}${t}`);if(r)for(let[t,e]of Object.entries(r))void 0!==e&&(Array.isArray(e)?e.forEach(e=>g.searchParams.append(t,decodeURIComponent(e))):g.searchParams.append(t,String(e)));if("object"==typeof i){let t=`${i.client_id}:${i.client_secret}`,e=f.from(t).toString("base64");a={authorization:`Basic ${e}`}}else a=this.authAsHeaders(i);let b={...a,"Notion-Version":d(this,u,"f"),"user-agent":d(this,c,"f")};void 0!==p&&(b["content-type"]="application/json");try{let r=await m.RequestTimeoutError.rejectAfterTimeout(d(this,h,"f").call(this,g.toString(),{method:e.toUpperCase(),headers:b,body:p,agent:d(this,l,"f")}),d(this,s,"f")),o=await r.text();if(!r.ok)throw(0,m.buildRequestError)(r,o);let i=JSON.parse(o);return this.log(y.LogLevel.INFO,"request success",{method:e,path:t}),i}catch(t){if(!(0,m.isNotionClientError)(t))throw t;throw this.log(y.LogLevel.WARN,"request fail",{code:t.code,message:t.message}),(0,m.isHTTPResponseError)(t)&&this.log(y.LogLevel.DEBUG,"failed response body",{body:t.body}),t}}log(t,e,r){(0,y.logLevelSeverity)(t)>=(0,y.logLevelSeverity)(d(this,i,"f"))&&d(this,a,"f").call(this,t,e,r)}authAsHeaders(t){let e={},r=null!=t?t:d(this,o,"f");return void 0!==r&&(e.authorization=`Bearer ${r}`),e}}e.default=k,o=new WeakMap,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap,u=new WeakMap,h=new WeakMap,l=new WeakMap,c=new WeakMap,k.defaultNotionVersion="2022-06-28"},1864:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.oauthIntrospect=e.oauthRevoke=e.oauthToken=e.listComments=e.createComment=e.search=e.createDatabase=e.listDatabases=e.queryDatabase=e.updateDatabase=e.getDatabase=e.appendBlockChildren=e.listBlockChildren=e.deleteBlock=e.updateBlock=e.getBlock=e.getPageProperty=e.updatePage=e.getPage=e.createPage=e.listUsers=e.getUser=e.getSelf=void 0,e.getSelf={method:"get",pathParams:[],queryParams:[],bodyParams:[],path:()=>"users/me"},e.getUser={method:"get",pathParams:["user_id"],queryParams:[],bodyParams:[],path:t=>`users/${t.user_id}`},e.listUsers={method:"get",pathParams:[],queryParams:["start_cursor","page_size"],bodyParams:[],path:()=>"users"},e.createPage={method:"post",pathParams:[],queryParams:[],bodyParams:["parent","properties","icon","cover","content","children"],path:()=>"pages"},e.getPage={method:"get",pathParams:["page_id"],queryParams:["filter_properties"],bodyParams:[],path:t=>`pages/${t.page_id}`},e.updatePage={method:"patch",pathParams:["page_id"],queryParams:[],bodyParams:["properties","icon","cover","archived","in_trash"],path:t=>`pages/${t.page_id}`},e.getPageProperty={method:"get",pathParams:["page_id","property_id"],queryParams:["start_cursor","page_size"],bodyParams:[],path:t=>`pages/${t.page_id}/properties/${t.property_id}`},e.getBlock={method:"get",pathParams:["block_id"],queryParams:[],bodyParams:[],path:t=>`blocks/${t.block_id}`},e.updateBlock={method:"patch",pathParams:["block_id"],queryParams:[],bodyParams:["embed","type","archived","in_trash","bookmark","image","video","pdf","file","audio","code","equation","divider","breadcrumb","table_of_contents","link_to_page","table_row","heading_1","heading_2","heading_3","paragraph","bulleted_list_item","numbered_list_item","quote","to_do","toggle","template","callout","synced_block","table"],path:t=>`blocks/${t.block_id}`},e.deleteBlock={method:"delete",pathParams:["block_id"],queryParams:[],bodyParams:[],path:t=>`blocks/${t.block_id}`},e.listBlockChildren={method:"get",pathParams:["block_id"],queryParams:["start_cursor","page_size"],bodyParams:[],path:t=>`blocks/${t.block_id}/children`},e.appendBlockChildren={method:"patch",pathParams:["block_id"],queryParams:[],bodyParams:["children","after"],path:t=>`blocks/${t.block_id}/children`},e.getDatabase={method:"get",pathParams:["database_id"],queryParams:[],bodyParams:[],path:t=>`databases/${t.database_id}`},e.updateDatabase={method:"patch",pathParams:["database_id"],queryParams:[],bodyParams:["title","description","icon","cover","properties","is_inline","archived","in_trash"],path:t=>`databases/${t.database_id}`},e.queryDatabase={method:"post",pathParams:["database_id"],queryParams:["filter_properties"],bodyParams:["sorts","filter","start_cursor","page_size","archived","in_trash"],path:t=>`databases/${t.database_id}/query`},e.listDatabases={method:"get",pathParams:[],queryParams:["start_cursor","page_size"],bodyParams:[],path:()=>"databases"},e.createDatabase={method:"post",pathParams:[],queryParams:[],bodyParams:["parent","properties","icon","cover","title","description","is_inline"],path:()=>"databases"},e.search={method:"post",pathParams:[],queryParams:[],bodyParams:["sort","query","start_cursor","page_size","filter"],path:()=>"search"},e.createComment={method:"post",pathParams:[],queryParams:[],bodyParams:["parent","rich_text","discussion_id"],path:()=>"comments"},e.listComments={method:"get",pathParams:[],queryParams:["block_id","start_cursor","page_size"],bodyParams:[],path:()=>"comments"},e.oauthToken={method:"post",pathParams:[],queryParams:[],bodyParams:["grant_type","code","redirect_uri","external_account"],path:()=>"oauth/token"},e.oauthRevoke={method:"post",pathParams:[],queryParams:[],bodyParams:["token"],path:()=>"oauth/revoke"},e.oauthIntrospect={method:"post",pathParams:[],queryParams:[],bodyParams:["token"],path:()=>"oauth/introspect"}},3454:function(t,e,r){"use strict";var o,i,a,n;
1Object.defineProperty(e,"__esModule",{value:!0}),e.buildRequestError=e.APIResponseError=e.UnknownHTTPResponseError=e.isHTTPResponseError=e.RequestTimeoutError=e.isNotionClientError=e.ClientErrorCode=e.APIErrorCode=void 0;let s=r(339);(a=o=e.APIErrorCode||(e.APIErrorCode={})).Unauthorized="unauthorized",a.RestrictedResource="restricted_resource",a.ObjectNotFound="object_not_found",a.RateLimited="rate_limited",a.InvalidJSON="invalid_json",a.InvalidRequestURL="invalid_request_url",a.InvalidRequest="invalid_request",a.ValidationError="validation_error",a.ConflictError="conflict_error",a.InternalServerError="internal_server_error",a.ServiceUnavailable="service_unavailable",(n=i=e.ClientErrorCode||(e.ClientErrorCode={})).RequestTimeout="notionhq_client_request_timeout",n.ResponseError="notionhq_client_response_error";class u extends Error{}function h(t){return(0,s.isObject)(t)&&t instanceof u}function l(t,e){return h(t)&&t.code in e}e.isNotionClientError=h;class c extends u{constructor(t="Request to Notion API has timed out"){super(t),this.code=i.RequestTimeout,this.name="RequestTimeoutError"}static isRequestTimeoutError(t){return l(t,{[i.RequestTimeout]:!0})}static rejectAfterTimeout(t,e){return new Promise((r,o)=>{let i=setTimeout(()=>{o(new c)},e);t.then(r).catch(o).then(()=>clearTimeout(i))})}}e.RequestTimeoutError=c;class f extends u{constructor(t){super(t.message),this.name="HTTPResponseError";let{code:e,status:r,headers:o,rawBodyText:i}=t;this.code=e,this.status=r,this.headers=o,this.body=i}}let p={[i.ResponseError]:!0,[o.Unauthorized]:!0,[o.RestrictedResource]:!0,[o.ObjectNotFound]:!0,[o.RateLimited]:!0,[o.InvalidJSON]:!0,[o.InvalidRequestURL]:!0,[o.InvalidRequest]:!0,[o.ValidationError]:!0,[o.ConflictError]:!0,[o.InternalServerError]:!0,[o.ServiceUnavailable]:!0};e.isHTTPResponseError=function(t){return!!l(t,p)};class d extends f{constructor(t){var e;super({...t,code:i.ResponseError,message:null!==(e=t.message)&&void 0!==e?e:`Request to Notion API failed with status: ${t.status}`}),this.name="UnknownHTTPResponseError"}static isUnknownHTTPResponseError(t){return l(t,{[i.ResponseError]:!0})}}e.UnknownHTTPResponseError=d;let y={[o.Unauthorized]:!0,[o.RestrictedResource]:!0,[o.ObjectNotFound]:!0,[o.RateLimited]:!0,[o.InvalidJSON]:!0,[o.InvalidRequestURL]:!0,[o.InvalidRequest]:!0,[o.ValidationError]:!0,[o.ConflictError]:!0,[o.InternalServerError]:!0,[o.ServiceUnavailable]:!0};class m extends f{constructor(){super(...arguments),this.name="APIResponseError"}static isAPIResponseError(t){return l(t,y)}}e.APIResponseError=m,e.buildRequestError=function(t,e){let r=function(t){var e;let r;if("string"==typeof t){try{r=JSON.parse(t)}catch(t){return}if((0,s.isObject)(r)&&"string"==typeof r.message&&"string"==typeof(e=r.code)&&e in y)return{...r,code:r.code,message:r.message}}}(e);return void 0!==r?new m({code:r.code,message:r.message,headers:t.headers,status:t.status,rawBodyText:e}):new d({message:void 0,headers:t.headers,status:t.status,rawBodyText:e})}},5385:function(t,e){"use strict";async function*r(t,e){let r=e.start_cursor;do{let o=await t({...e,start_cursor:r});yield*o.results,r=o.next_cursor}while(r)}async function o(t,e){let o=[];for await(let i of r(t,e))o.push(i);return o}function i(t){return"page"===t.object&&"url"in t}function a(t){return"database"===t.object&&"title"in t}Object.defineProperty(e,"__esModule",{value:!0}),e.isMentionRichTextItemResponse=e.isEquationRichTextItemResponse=e.isTextRichTextItemResponse=e.isFullComment=e.isFullUser=e.isFullPageOrDatabase=e.isFullDatabase=e.isFullPage=e.isFullBlock=e.collectPaginatedAPI=e.iteratePaginatedAPI=void 0,e.iteratePaginatedAPI=r,e.collectPaginatedAPI=o,e.isFullBlock=function(t){return"block"===t.object&&"type"in t},e.isFullPage=i,e.isFullDatabase=a,e.isFullPageOrDatabase=function(t){return"database"===t.object?a(t):i(t)},e.isFullUser=function(t){return"type"in t},e.isFullComment=function(t){return"created_by"in t},e.isTextRichTextItemResponse=function(t){return"text"===t.type},e.isEquationRichTextItemResponse=function(t){return"equation"===t.type},e.isMentionRichTextItemResponse=function(t){return"mention"===t.type}},1812:function(t,e,r){"use strict";e.KU=void 0;var o=r(7236);Object.defineProperty(e,"KU",{enumerable:!0,get:function(){return o.default}}),r(165),r(3454),r(5385)},165:function(t,e,r){"use strict";var o,i;
1Object.defineProperty(e,"__esModule",{value:!0}),e.logLevelSeverity=e.makeConsoleLogger=e.LogLevel=void 0;let a=r(339);(i=o=e.LogLevel||(e.LogLevel={})).DEBUG="debug",i.INFO="info",i.WARN="warn",i.ERROR="error",e.makeConsoleLogger=function(t){return(e,r,o)=>{console[e](`${t} ${e}:`,r,o)}},e.logLevelSeverity=function(t){switch(t){case o.DEBUG:return 20;case o.INFO:return 40;case o.WARN:return 60;case o.ERROR:return 80;default:return(0,a.assertNever)(t)}}},339:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=e.pick=e.assertNever=void 0,e.assertNever=function(t){throw Error(`Unexpected value should never occur: ${t}`)},e.pick=function(t,e){return Object.fromEntries(e.map(e=>[e,null==t?void 0:t[e]]))},e.isObject=function(t){return"object"==typeof t&&null!==t}},2867:function(t){!function(){var e={675:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],o=e[1];return(r+o)*3/4-o},e.toByteArray=function(t){var e,r,a=u(t),n=a[0],s=a[1],h=new i((n+s)*3/4-s),l=0,c=s>0?n-4:n;for(r=0;r<c;r+=4)e=o[t.charCodeAt(r)]<<18|o[t.charCodeAt(r+1)]<<12|o[t.charCodeAt(r+2)]<<6|o[t.charCodeAt(r+3)],h[l++]=e>>16&255,h[l++]=e>>8&255,h[l++]=255&e;return 2===s&&(e=o[t.charCodeAt(r)]<<2|o[t.charCodeAt(r+1)]>>4,h[l++]=255&e),1===s&&(e=o[t.charCodeAt(r)]<<10|o[t.charCodeAt(r+1)]<<4|o[t.charCodeAt(r+2)]>>2,h[l++]=e>>8&255,h[l++]=255&e),h},e.fromByteArray=function(t){for(var e,o=t.length,i=o%3,a=[],n=0,s=o-i;n<s;n+=16383)a.push(function(t,e,o){for(var i,a=[],n=e;n<o;n+=3)a.push(r[(i=(t[n]<<16&16711680)+(t[n+1]<<8&65280)+(255&t[n+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(t,n,n+16383>s?s:n+16383));return 1===i?a.push(r[(e=t[o-1])>>2]+r[e<<4&63]+"=="):2===i&&a.push(r[(e=(t[o-2]<<8)+t[o-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),a.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,s=a.length;n<s;++n)r[n]=a[n],o[a.charCodeAt(n)]=n;function u(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var o=r===e?0:4-r%4;return[r,o]}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},72:function(t,e,r){"use strict";var o=r(675),i=r(783),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function n(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return l(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!s.isEncoding(e))throw TypeError("Unknown encoding: "+e);var r=0|p(t,e),o=n(r),i=o.write(t,e);return i!==r&&(o=o.slice(0,i)),o}(t,e);if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(T(t,ArrayBuffer)||t&&T(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(T(t,SharedArrayBuffer)||t&&T(t.buffer,SharedArrayBuffer)))return function(t,e,r){var o;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(o=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),s.prototype),o}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var o=t.valueOf&&t.valueOf();if(null!=o&&o!==t)return s.from(o,e,r);var i=function(t){if(s.isBuffer(t)){var e,r=0|f(t.length),o=n(r);return 0===o.length||t.copy(o,0,0,r),o}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?n(0):c(t):"Buffer"===t.type&&Array.isArray(t.data)?c(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function h(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');
1if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return h(t),n(t<0?0:0|f(t))}function c(t){for(var e=t.length<0?0:0|f(t.length),r=n(e),o=0;o<e;o+=1)r[o]=255&t[o];return r}function f(t){if(t>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||T(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return _(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return R(t).length;default:if(i)return o?-1:_(t).length;e=(""+e).toLowerCase(),i=!0}}function d(t,e,r){var i,a,n=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var o=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>o)&&(r=o);for(var i="",a=e;a<r;++a)i+=I[t[a]];return i}(this,e,r);case"utf8":case"utf-8":return b(this,e,r);case"ascii":return function(t,e,r){var o="";r=Math.min(t.length,r);for(var i=e;i<r;++i)o+=String.fromCharCode(127&t[i]);return o}(this,e,r);case"latin1":case"binary":return function(t,e,r){var o="";r=Math.min(t.length,r);for(var i=e;i<r;++i)o+=String.fromCharCode(t[i]);return o}(this,e,r);case"base64":return i=e,a=r,0===i&&a===this.length?o.fromByteArray(this):o.fromByteArray(this.slice(i,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var o=t.slice(e,r),i="",a=0;a<o.length;a+=2)i+=String.fromCharCode(o[a]+256*o[a+1]);return i}(this,e,r);default:if(n)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){var o=t[e];t[e]=t[r],t[r]=o}function m(t,e,r,o,i){var a;if(0===t.length)return -1;if("string"==typeof r?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(a=r=+r)!=a&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return -1;r=t.length-1}else if(r<0){if(!i)return -1;r=0}if("string"==typeof e&&(e=s.from(e,o)),s.isBuffer(e))return 0===e.length?-1:g(t,e,r,o,i);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):g(t,[e],r,o,i);throw TypeError("val must be string, number or Buffer")}function g(t,e,r,o,i){var a,n=1,s=t.length,u=e.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(t.length<2||e.length<2)return -1;n=2,s/=2,u/=2,r/=2}function h(t,e){return 1===n?t[e]:t.readUInt16BE(e*n)}if(i){var l=-1;for(a=r;a<s;a++)if(h(t,a)===h(e,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===u)return l*n}else -1!==l&&(a-=a-l),l=-1}else for(r+u>s&&(r=s-u),a=r;a>=0;a--){for(var c=!0,f=0;f<u;f++)if(h(t,a+f)!==h(e,f)){c=!1;break}if(c)return a}return -1}function b(t,e,r){r=Math.min(t.length,r);for(var o=[],i=e;i<r;){var a,n,s,u,h=t[i],l=null,c=h>239?4:h>223?3:h>191?2:1;if(i+c<=r)switch(c){case 1:h<128&&(l=h);break;case 2:(192&(a=t[i+1]))==128&&(u=(31&h)<<6|63&a)>127&&(l=u);break;case 3:a=t[i+1],n=t[i+2],(192&a)==128&&(192&n)==128&&(u=(15&h)<<12|(63&a)<<6|63&n)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:a=t[i+1],n=t[i+2],s=t[i+3],(192&a)==128&&(192&n)==128&&(192&s)==128&&(u=(15&h)<<18|(63&a)<<12|(63&n)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,c=1):l>65535&&(l-=65536,o.push(l>>>10&1023|55296),l=56320|1023&l),o.push(l),i+=c}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var r="",o=0;o<e;)r+=String.fromCharCode.apply(String,t.slice(o,o+=4096));return r}(o)}function v(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function P(t,e,r,o,i,a){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw RangeError('"value" argument is out of bounds');if(r+o>t.length)throw RangeError("Index out of range")}function k(t,e,r,o,i,a){if(r+o>t.length||r<0)throw RangeError("Index out of range")}function w(t,e,r,o,a){return e=+e,r>>>=0,a||k(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,o,23,4),r+4}function E(t,e,r,o,a){return e=+e,r>>>=0,a||k(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,o,52,8),r+8}e.Buffer=s,e.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return u(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(
vendor: 10,885 bytes, line 1
1h(t),t<=0)?n(t):void 0!==e?"string"==typeof r?n(t).fill(e,r):n(t).fill(e):n(t)},s.allocUnsafe=function(t){return l(t)},s.allocUnsafeSlow=function(t){return l(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(T(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),T(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,o=e.length,i=0,a=Math.min(r,o);i<a;++i)if(t[i]!==e[i]){r=t[i],o=e[i];break}return r<o?-1:o<r?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,o=s.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var a=t[r];if(T(a,Uint8Array)&&(a=s.from(a)),!s.isBuffer(a))throw TypeError('"list" argument must be an Array of Buffers');a.copy(o,i),i+=a.length}return o},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?b(this,0,t):d.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},a&&(s.prototype[a]=s.prototype.inspect),s.prototype.compare=function(t,e,r,o,i){if(T(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===o&&(o=0),void 0===i&&(i=this.length),e<0||r>t.length||o<0||i>this.length)throw RangeError("out of range index");if(o>=i&&e>=r)return 0;if(o>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,o>>>=0,i>>>=0,this===t)return 0;for(var a=i-o,n=r-e,u=Math.min(a,n),h=this.slice(o,i),l=t.slice(e,r),c=0;c<u;++c)if(h[c]!==l[c]){a=h[c],n=l[c];break}return a<n?-1:n<a?1:0},s.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},s.prototype.write=function(t,e,r,o){if(void 0===e)o="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)o=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===o&&(o="utf8")):(o=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,a,n,s,u,h,l,c,f,p,d,y,m=this.length-e;if((void 0===r||r>m)&&(r=m),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var g=!1;;)switch(o){case"hex":return function(t,e,r,o){r=Number(r)||0;var i=t.length-r;o?(o=Number(o))>i&&(o=i):o=i;var a=e.length;o>a/2&&(o=a/2);for(var n=0;n<o;++n){var s=parseInt(e.substr(2*n,2),16);if(s!=s)break;t[r+n]=s}return n}(this,t,e,r);case"utf8":case"utf-8":return u=e,h=r,A(_(t,this.length-u),this,u,h);case"ascii":return l=e,c=r,A(B(t),this,l,c);case"latin1":case"binary":;return i=this,a=t,n=e,s=r,A(B(a),i,n,s);case"base64":return f=e,p=r,A(R(t),this,f,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return d=e,y=r,A(function(t,e){for(var r,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)o=(r=t.charCodeAt(a))>>8,i.push(r%256),i.push(o);return i}(t,this.length-d),this,d,y);default:if(g)throw TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),g=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var o=this.subarray(t,e);return Object.setPrototypeOf(o,s.prototype),o},s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var o=this[t],i=1,a=0;++a<e&&(i*=256);)o+=this[t+a]*i;return o},s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var o=this[t+--e],i=1;e>0&&(i*=256);)o+=this[t+--e]*i;return o},s.prototype.readUInt8=function(t,e){return t>>>=0,e||v(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||v(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||v(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||v(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||v(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var o=this[t],i=1,a=0;++a<e&&(i*=256);)o+=this[t+a]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var o=e,i=1,a=this[t+--o];o>0&&(i*=256);)a+=this[t+--o]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},s.prototype.readInt8=function(t,e){return(t>>>=0,e||v(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||v(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||v(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||v(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||v(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||v(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||v(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||v(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||v(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,r,o){if(t=+t,e>>>=0,r>>>=0,!o){var i=Math.pow(2,8*r)-1;P(this,t,e,r,i,0)}var a=1,n=0;for(this[e]=255&t;++n<r&&(a*=256);)this[e+n]=t/a&255;return e+r},s.prototype.writeUIntBE=function(t,e,r,o){if(t=+t,e>>>=0,r>>>=0,!o){var i=Math.pow(2,8*r)-1;P(this,t,e,r,i,0)}var a=r-1,n=1;for(this[e+a]=255&t;--a>=0&&(n*=256);)this[e+a]=t/n&255;return e+r},s.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,r,o){if(t=+t,e>>>=0,!o){var i=Math.pow(2,8*r-1);P(this,t,e,r,i-1,-i)}var a=0,n=1,s=0;for(this[e]=255&t;++a<r&&(n*=256);)t<0&&0===s&&0!==this[e+a-1]&&(s=1),this[e+a]=(t/n>>0)-s&255;return e+r},s.prototype.writeIntBE=function(t,e,r,o){if(t=+t,e>>>=0,!o){var i=Math.pow(2,8*r-1);P(this,t,e,r,i-1,-i)}var a=r-1,n=1,s=0;for(this[e+a]=255&t;--a>=0&&(n*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/n>>0)-s&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,r){return w(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return w(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return E(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return E(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,o){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),o||0===o||(o=this.length),e>=t.length&&(e=t.length),e||(e=0),o>0&&o<r&&(o=r),o===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(o<0)throw RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),t.length-e<o-r&&(o=t.length-e+r);var i=o-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,o);else if(this===t&&r<e&&e<o)for(var a=i-1;a>=0;--a)t[a+e]=this[a+r];else Uint8Array.prototype.set.call(t,this.subarray(r,o),e);return i},s.prototype.fill=function(t,e,r,o){if("string"==typeof t){if("string"==typeof e?(o=e,e=0,r=this.length):"string"==typeof r&&(o=r,r=this.length),void 0!==o&&"string"!=typeof o)throw TypeError("encoding must be a string");if("string"==typeof o&&!s.isEncoding(o))throw TypeError("Unknown encoding: "+o);if(1===t.length){var i,a=t.charCodeAt(0);("utf8"===o&&a<128||"latin1"===o)&&(t=a)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var n=s.isBuffer(t)?t:s.from(t,o),u=n.length;
1if(0===u)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=n[i%u]}return this};var q=/[^+/0-9A-Za-z-_]/g;function _(t,e){e=e||1/0;for(var r,o=t.length,i=null,a=[],n=0;n<o;++n){if((r=t.charCodeAt(n))>55295&&r<57344){if(!i){if(r>56319||n+1===o){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function B(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function R(t){return o.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function A(t,e,r,o){for(var i=0;i<o&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function T(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var I=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var o=16*r,i=0;i<16;++i)e[o+i]=t[r]+t[i];return e}()},783:function(t,e){e.read=function(t,e,r,o,i){var a,n,s=8*i-o-1,u=(1<<s)-1,h=u>>1,l=-7,c=r?i-1:0,f=r?-1:1,p=t[e+c];for(c+=f,a=p&(1<<-l)-1,p>>=-l,l+=s;l>0;a=256*a+t[e+c],c+=f,l-=8);for(n=a&(1<<-l)-1,a>>=-l,l+=o;l>0;n=256*n+t[e+c],c+=f,l-=8);if(0===a)a=1-h;else{if(a===u)return n?NaN:1/0*(p?-1:1);n+=Math.pow(2,o),a-=h}return(p?-1:1)*n*Math.pow(2,a-o)},e.write=function(t,e,r,o,i,a){var n,s,u,h=8*a-i-1,l=(1<<h)-1,c=l>>1,f=23===i?5960464477539062e-23:0,p=o?0:a-1,d=o?1:-1,y=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(s=isNaN(e)?1:0,n=l):(n=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-n))<1&&(n--,u*=2),n+c>=1?e+=f/u:e+=f*Math.pow(2,1-c),e*u>=2&&(n++,u/=2),n+c>=l?(s=0,n=l):n+c>=1?(s=(e*u-1)*Math.pow(2,i),n+=c):(s=e*Math.pow(2,c-1)*Math.pow(2,i),n=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(n=n<<i|s,h+=i;h>0;t[r+p]=255&n,p+=d,n/=256,h-=8);t[r+p-d]|=128*y}}},r={};function o(t){var i=r[t];if(void 0!==i)return i.exports;var a=r[t]={exports:{}},n=!0;try{e[t](a,a.exports,o),n=!1}finally{n&&delete r[t]}return a.exports}o.ab="//";var i=o(72);t.exports=i}()},9641:function(t,e,r){t.exports=r(4191)},916:function(t,e,r){"use strict";var o=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r.g)return r.g;throw Error("unable to locate global object")}();t.exports=e=o.fetch,o.fetch&&(e.default=o.fetch.bind(o)),e.Headers=o.Headers,e.Request=o.Request,e.Response=o.Response},3797:function(t){"use strict";t.exports=JSON.parse('{"name":"@notionhq/client","version":"2.3.0","description":"A simple and easy to use client for the Notion API","engines":{"node":">=12"},"homepage":"https://developers.notion.com/docs/getting-started","bugs":{"url":"https://github.com/makenotion/notion-sdk-js/issues"},"repository":{"type":"git","url":"https://github.com/makenotion/notion-sdk-js/"},"keywords":["notion","notionapi","rest","notion-api"],"main":"./build/src","types":"./build/src/index.d.ts","scripts":{"prepare":"npm run build","prepublishOnly":"npm run checkLoggedIn && npm run lint && npm run test","build":"tsc","prettier":"prettier --write .","lint":"prettier --check . && eslint . --ext .ts && cspell \'**/*\' ","test":"jest ./test","check-links":"git ls-files | grep md$ | xargs -n 1 markdown-link-check","prebuild":"npm run clean","clean":"rm -rf ./build","checkLoggedIn":"./scripts/verifyLoggedIn.sh"},"author":"","license":"MIT","files":["build/package.json","build/src/**"],"dependencies":{"@types/node-fetch":"^2.5.10","node-fetch":"^2.6.1"},"devDependencies":{"@types/jest":"^28.1.4","@typescript-eslint/eslint-plugin":"^5.39.0","@typescript-eslint/parser":"^5.39.0","cspell":"^5.4.1","eslint":"^7.24.0","jest":"^28.1.2","markdown-link-check":"^3.8.7","prettier":"^2.8.8","ts-jest":"^28.0.5","typescript":"^4.8.4"}}')}}]);
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.