var Octokit=function(e){var r={};function t(i){if(r)return r.exports;var n=r={i:i,l:!1,exports:{}};return e.call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=e,t.c=r,t.d=function(e,r,i){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:i})},t.r=function(e){“undefined”!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:“Module”}),Object.defineProperty(e,“__esModule”,{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&“object”==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,“default”,{enumerable:!0,value:e}),2&r&&“string”!=typeof e)for(var n in e)t.d(i,n,function®{return e}.bind(null,n));return i},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,“a”,r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p=“”,t(t.s=14)}([function(e,r,t){“use strict”;t.r®,t.d(r,“RequestError”,function(){return o});var i=t(1),n=t(2);const s=t.n(n)()(e=>console.warn(e));class o extends Error{constructor(e,r,t){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name=“HttpError”,this.status=r,Object.defineProperty(this,“code”,{get:()=>(s(new octokit/request-error] at i.Deprecation("[
`error.code` is deprecated, use `error.status`.“)),r)}),this.headers=t.headers;const n=Object.assign({},t.request);t.request.headers.authorization&&(n.headers=Object.assign({},t.request.headers,{authorization:t.request.headers.authorization.replace(/ .*$/,” [REDACTED]“)})),n.url=n.url.replace(/bclient_secret=w+/g,”client_secret=“).replace(/baccess_token=w+/g,”access_token=“),this.request=n}}},function(e,r){e.exports.Deprecation=class extends Error{constructor(e){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name=”Deprecation“}}},function(e,r,t){var i=t(17);function n(e){var r=function(){return r.called?r.value:(r.called=!0,r.value=e.apply(this,arguments))};return r.called=!1,r}function s(e){var r=function(){if(r.called)throw new Error(r.onceError);return r.called=!0,r.value=e.apply(this,arguments)},t=e.name||”Function wrapped with `once`“;return r.onceError=t+” shouldn't be called more than once“,r.called=!1,r}e.exports=i(n),e.exports.strict=i(s),n.proto=n(function(){Object.defineProperty(Function.prototype,”once“,{value:function(){return n(this)},configurable:!0}),Object.defineProperty(Function.prototype,”onceStrict“,{value:function(){return s(this)},configurable:!0})})},function(e,r){e.exports=function(e){if(t)return;console.warn(`DEPRECATED (@octokit/rest): ${e}`),t=1};const t={}},function(e,r){e.exports=function(e){e=e.link||e.headers.link||”“;const r={};return r=t}),r}},function(e,r){e.exports=function(){return navigator.userAgent}},function(e,r,t){e.exports=function(e,r,t,p){i(`octokit.get${t.charAt(0).toUpperCase()+t.slice(1)}Page() – You can use octokit.paginate or async iterators instead: github.com/octokit/rest.js#pagination.`);const a=n®;if(!a){const e=new s(`No ${t} page found`,404);return Promise.reject(e)}const u={url:a,headers:o(r,p)};return e.request(u)};const i=t(3),n=t(4),s=t(51);function o(e,r){const t=e.headers&&e.headers;return!t||r&&r.accept?r:((r=r||{}).accept=“application/vnd.”+t.replace(“; param=”,“.”).replace(“; format=”,“+”),r)}},function(e,r){var t;t=function(){return this}();try{t=t||new Function(“return this”)()}catch(e){“object”==typeof window&&(t=window)}e.exports=t},function(e,r,t){e.exports=function(e){const r=i.bind(null,e||[]);return r.plugin=n.bind(null,e||[]),r};const i=t(16),n=t(24)},function(e,r){e.exports=function(e){return btoa(e)}},function(e,r,t){e.exports=function(e,r){const t=r.headers;let n=e.request.endpoint®.url;return{[Symbol.asyncIterator]:()=>({next:()=>n?e.request({url:n,headers:t}).n=t(e,i)}),Object.keys®.forEach(function(o){i.isMergeableObject(r)&&e?n=function(e,r){if(!r.customMerge)return s;var t=r.customMerge(e);return”function“==typeof t?t:s}(o,i)(e,r,i):n=t(r,i)}),n}function s(r,s,o){(o=o||{}).arrayMerge=o.arrayMerge||i,o.isMergeableObject=o.isMergeableObject||e;var p=Array.isArray(s),a=Array.isArray®,u=p===a;return u?p?o.arrayMerge(r,s,o):n(r,s,o):t(s,o)}return s.all=function(e,r){if(!Array.isArray(e))throw new Error(”first argument should be an array“);return e.reduce(function(e,t){return s(e,t,r)},{})},s}()},function(e,r,t){e.exports=function(){function e(){}return e.prototype.encodeReserved=function(e){return e.split(/(%{2})/g).map(function(e){return/%/.test(e)||(e=encodeURI(e).replace(/%5B/g,”“)),e}).join(”“)},e.prototype.encodeUnreserved=function(e){return encodeURIComponent(e).replace(//g,function(e){return”%“+e.charCodeAt(0).toString(16).toUpperCase()})},e.prototype.encodeValue=function(e,r,t){return r=”+“===e||”#“===e?this.encodeReserved®:this.encodeUnreserved®,t?this.encodeUnreserved(t)+”=“+r:r},e.prototype.isDefined=function(e){return null!=e},e.prototype.isKeyOperator=function(e){return”;“===e||”&“===e||”?“===e},e.prototype.getValues=function(e,r,t,i){var n=e,s=[];if(this.isDefined(n)&&”“!==n)if(”string“==typeof n||”number“==typeof n||”boolean“==typeof n)n=n.toString(),i&&”*“!==i&&(n=n.substring(0,parseInt(i,10))),s.push(this.encodeValue(r,n,this.isKeyOperator®?t:null));else if(”*“===i)Array.isArray(n)?n.filter(this.isDefined).forEach(function(e){s.push(this.encodeValue(r,e,this.isKeyOperator®?t:null))},this):Object.keys(n).forEach(function(e){this.isDefined(n)&&s.push(this.encodeValue(r,n,e))},this);else{var o=[];Array.isArray(n)?n.filter(this.isDefined).forEach(function(e){o.push(this.encodeValue(r,e))},this):Object.keys(n).forEach(function(e){this.isDefined(n)&&(o.push(this.encodeUnreserved(e)),o.push(this.encodeValue(r,n.toString())))},this),this.isKeyOperator®?s.push(this.encodeUnreserved(t)+”=“+o.join(”,“)):0!==o.length&&s.push(o.join(”,“))}else”;“===r?this.isDefined(n)&&s.push(this.encodeUnreserved(t)):”“!==n||”&“!==r&&”?“!==r?”“===n&&s.push(”“):s.push(this.encodeUnreserved(t)+”=“);return s},e.prototype.parse=function(e){var r=this,t=;return{expand:function(i){return e.replace(/{([^{}]+)}|([^{}]+)/g,function(e,n,s){if(n){var o=null,p=[];if(-1!==t.indexOf(n.charAt(0))&&(o=n.charAt(0),n=n.substr(1)),n.split(/,/g).forEach(function(e){var t=/(*)(?::(d+)|(*))?/.exec(e);p.push.apply(p,r.getValues(i,o,t[1],t||t))}),o&&”+“!==o){var a=”,“;return”?“===o?a=”&“:”#“!==o&&(a=o),(0!==p.length?o:”“)+p.join(a)}return p.join(”,“)}return r.encodeReserved(s)})}}},new e}()},function(e,r,t){const i=t(15),n=;e.exports=i.plugin(n)},function(e,r,t){const i=t(8);e.exports=i()},function(e,r,t){e.exports=function(e,r){r=r||{};const t=new n.Collection,o=Object.assign({debug:()=>{},info:()=>{},warn:console.warn,error:console.error},r&&r.log),p={hook:t,log:o,request:i.defaults(s(r,o,t))};return e.forEach(e=>e(p,r)),p};const{request:i}=t(59),n=t(18),s=t(22)},function(e,r){e.exports=function e(r,t){if(r&&t)return e®(t);if(”function“!=typeof r)throw new TypeError(”need wrapper function“);Object.keys®.forEach(function(e){i=r});return i;function i(){for(var e=new Array(arguments.length),t=0;t
* is-plain-object <https://github.com/jonschlinkert/is-plain-object> * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */
function s(e){return!0==(null!=(r=e)&&“object”==typeof r&&!1===Array.isArray®)&&“[object Object]”===Object.prototype.toString.call(e); /*!
* isobject <https://github.com/jonschlinkert/isobject> * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */
var r}function o(e){var r,t;return!1!==s(e)&&(“function”==typeof(r=e.constructor)&&(!1!==s(t=r.prototype)&&!1!==t.hasOwnProperty(“isPrototypeOf”)))}var p=t(13),a=t.n(p),u=t(5),d=t.n(u);function g(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=[],i=!0,n=!1,s=void 0;try{for(var o,p=e();!(i=(o=p.next()).done)&&(t.push(o.value),!r||t.length!==r);i=!0);}catch(e){n=!0,s=e}finally{try{i||null==p.return||p.return()}finally{if(n)throw s}}return t}(e,r)||function(){throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}()}function c(e,r,t){if(“string”==typeof r){let e=g(r.split(“ ”),2),i=e,n=e;t=Object.assign(n?{method:i,url:n}:{url:i},t)}else t=r||{};var i;t.headers=(i=t.headers)?Object.keys(i).reduce((e,r)=>(e=i,e),{}):{};const s=n.a.all(.filter(Boolean),{isMergeableObject:o});return e&&e.mediaType.previews.length&&(s.mediaType.previews=e.mediaType.previews.filter(e=>!s.mediaType.previews.includes(e)).concat(s.mediaType.previews)),s.mediaType.previews=s.mediaType.previews.map(e=>e.replace(/-preview/,“”)),s}const m=/{[^}]+}/g;function l(e){return e.replace(/^W+|W+$/g,“”).split(/,/)}function y(e,r){return Object.keys(e).filter(e=>!r.includes(e)).reduce((r,t)=>(r=e,r),{})}function h(e){let r,t=e.method.toUpperCase(),i=e.url.replace(/:(w+)/g,“{+$1}”),n=Object.assign({},e.headers),s=y(e,);const o=function(e){const r=e.match(m);return r?r.map(l).reduce((e,r)=>e.concat®,[]):}(i);i=a.a.parse(i).expand(s),/^http/.test(i)||(i=e.baseUrl+i);const p=y(s,Object.keys(e).filter(e=>o.includes(e)).concat(“baseUrl”));if(!/application/octet-stream/i.test(n.accept)&&(e.mediaType.format&&(n.accept=n.accept.split(/,/).map(r=>r.replace(/application/vnd(.w+)(.v3)?(.w+)?(+json)?$/,“application/vnd$1$2.”.concat(e.mediaType.format))).join(“,”)),e.mediaType.previews.length)){const r=n.accept.match(/+(?=-preview)/g)||[];n.accept=r.concat(e.mediaType.previews).map(r=>{const t=e.mediaType.format?“.”.concat(e.mediaType.format):“+json”;return“application/vnd.github.”.concat(r,“-preview”).concat(t)}).join(“,”)}return.includes(t)?i=function(e,r){const t=/?/.test(e)?“&”:“?”,i=Object.keys®;return 0===i.length?e:e+t+i.map(e=>“q”===e?“q=”+r.q.split(“+”).map(encodeURIComponent).join(“+”):“”.concat(e,“=”).concat(encodeURIComponent(r))).join(“&”)}(i,p):“data”in p?r=p.data:Object.keys(p).length?r=p:n=0,n||void 0===r||(n=“application/json; charset=utf-8”),.includes(t)&&void 0===r&&(r=“”),Object.assign({method:t,url:i,headers:n},void 0!==r?{body:r}:null,e.request?{request:e.request}:null)}const q=function e(r,t){const i=c(r,t),n=function(e,r,t){return h(c(e,r,t))}.bind(null,i);return Object.assign(n,{DEFAULTS:i,defaults:e.bind(null,i),merge:c.bind(null,i),parse:h})}(null,{method:“GET”,baseUrl:“api.github.com”,headers:{accept:“application/vnd.github.v3+json”,“user-agent”:“octokit-endpoint.js/”.concat(“5.1.4”,“ ”).concat(d()())},mediaType:{format:“”,previews:[]}});var _=t(11),b=t.n(_),w=t(0);t.d(r,“request”,function(){return v});function f(e){(o(e.body)||Array.isArray(e.body))&&(e.body=JSON.stringify(e.body));let r,t,i={};return(e.request&&e.request.fetch||b.a)(e.url,Object.assign({method:e.method,body:e.body,headers:e.headers,redirect:e.redirect},e.request)).then(n=>{t=n.url,r=n.status;for(const e of n.headers)i[e]=e;if(204===r||205===r)return;if(“HEAD”===e.method){if(r<400)return;throw new w.RequestError(n.statusText,r,{headers:i,request:e})}if(304===r)throw new w.RequestError(“Not modified”,r,{headers:i,request:e});if(r>=400)return n.text().then(t=>{const n=new w.RequestError(t,r,{headers:i,request:e});try{Object.assign(n,JSON.parse(n.message))}catch(e){}throw n});const s=n.headers.get(“content-type”);return/application/json/.test(s)?n.json():!s||/^text/|charset=utf-8$/.test(s)?n.text():function(e){return e.arrayBuffer()}(n)}).then(e=>({status:r,url:t,headers:i,data:e})).catch(r=>{if(r instanceof w.RequestError)throw r;throw new w.RequestError(r.message,500,{headers:i,request:e})})}const v=function e(r,t){const i=r.defaults(t);return Object.assign(function(e,r){const t=i.merge(e,r);return t.request&&t.request.hook?t.request.hook(t,e=>f(i.parse(e))):f(i.parse(t))},{endpoint:i,defaults:e.bind(null,i)})}(q,{headers:{“user-agent”:“octokit-request.js/”.concat(“4.1.0”,“ ”).concat(d()())}})}]); //# sourceMappingURL=octokit-rest.min.js.map