PageSourceSearch

https://proof-of-learn.vercel.app/_next/static/chunks/5814-10cf36071daf7ca6.js

js proof-of-learn.vercel.app collected 2026-10-03 07:33:18 UTC 15,588 bytes, 16 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5814],{30658:function(e,t,r){"use strict";var n=r(16458),o=r(36446);e.exports=function(e){var t=n(e);return t.token="","x-oauth-basic"===t.password?t.token=t.user:"x-token-auth"===t.user&&(t.token=t.password),o(t.protocols)||0===t.protocols.length&&o(e)?t.protocol="ssh":t.protocols.length?t.protocol=t.protocols[0]:(t.protocol="file",t.protocols=["file"]),t.href=t.href.replace(/\/$/,""),t}},75851:function(e,t,r){"use strict";var n=r(30658);function o(e){if("string"!=typeof e)throw Error("The url must be a string.");/^([a-z\d-]{1,39})\/([-\.\w]{1,100})$/i.test(e)&&(e="https://github.com/"+e);var t=n(e),r=t.resource.split("."),a=null;switch(t.toString=function(e){return o.stringify(this,e)},t.source=r.length>2?r.slice(1-r.length).join("."):t.source=t.resource,t.git_suffix=/\.git$/.test(t.pathname),t.name=decodeURIComponent((t.pathname||t.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),t.owner=decodeURIComponent(t.user),t.source){case"git.cloudforge.com":t.owner=t.user,t.organization=r[0],t.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===t.resource){4===(a=t.name.split("/")).length&&(t.organization=a[1],t.owner=a[2],t.name=a[3],t.full_name=a[2]+"/"+a[3]);break}2===(a=t.name.split("/")).length?(t.owner=a[1],t.name=a[1],t.full_name="_git/"+t.name):3===a.length?(t.name=a[2],"DefaultCollection"===a[0]?(t.owner=a[2],t.organization=a[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=a[0],t.full_name=t.owner+"/_git/"+t.name)):4===a.length&&(t.organization=a[0],t.owner=a[1],t.name=a[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===t.resource){4===(a=t.name.split("/")).length&&(t.organization=a[1],t.owner=a[2],t.name=a[3]);break}5===(a=t.name.split("/")).length?(t.organization=a[0],t.owner=a[1],t.name=a[4],t.full_name="_git/"+t.name):3===a.length?(t.name=a[2],"DefaultCollection"===a[0]?(t.owner=a[2],t.organization=a[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=a[0],t.full_name=t.owner+"/_git/"+t.name)):4===a.length&&(t.organization=a[0],t.owner=a[1],t.name=a[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name),t.query&&t.query.path&&(t.filepath=t.query.path.replace(/^\/+/g,"")),t.query&&t.query.version&&(t.ref=t.query.version.replace(/^GB/,""));break;default:var i=(a=t.name.split("/")).length-1;if(a.length>=2){var s=a.indexOf("-",2),l=a.indexOf("blob",2),c=a.indexOf("tree",2),h=a.indexOf("commit",2),u=a.indexOf("issues",2),f=a.indexOf("src",2),p=a.indexOf("raw",2),m=a.indexOf("edit",2);i=s>0?s-1:l>0?l-1:u>0?u-1:c>0?c-1:h>0?h-1:f>0?f-1:p>0?p-1:m>0?m-1:i,t.owner=a.slice(0,i).join("/"),t.name=a[i],h&&u<0&&(t.commit=a[i+2])}t.ref="",t.filepathtype="",t.filepath="";var g=a.length>i&&"-"===a[i+1]?i+1:i;a.length>g+2&&["raw","src","blob","tree","edit"].indexOf(a[g+1])>=0&&(t.filepathtype=a[g+1],t.ref=a[g+2],a.length>g+3&&(t.filepath=a.slice(g+3).join("/"))),t.organization=t.owner}!t.full_name&&(t.full_name=t.owner,t.name&&(t.full_name&&(t.full_name+="/"),t.full_name+=t.name)),t.owner.startsWith("scm/")&&(t.source="bitbucket-server",t.owner=t.owner.replace("scm/",""),t.organization=t.owner,t.full_name=t.owner+"/"+t.name);var d=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(t.pathname);return null!=d&&(t.source="bitbucket-server","users"===d[1]?t.owner="~"+d[2]:t.owner=d[2],t.organization=t.owner,t.name=d[3],(a=d[4].split("/")).length>1&&(["raw","browse"].indexOf(a[1])>=0?(t.filepathtype=a[1],a.length>2&&(t.filepath=a.slice(2).join("/"))):"commits"===a[1]&&a.length>2&&(t.commit=a[2])),t.full_name=t.owner+"/"+t.name,t.query.at?t.ref=t.query.at:t.ref=""),t}o.stringify=function(e,t){t=t||(e.protocols&&e.protocols.length?e.protocols.join("+"):e.protocol);var r=e.port?":"+e.port:"",n=e.user||"git",o=e.git_suffix?".git":"";switch(t){case"ssh":if(r)return"ssh://"+n+"@"+e.resource+r+"/"+e.full_name+o;return n+"@"+e.resource+":"+e.full_name+o;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return t+"://"+n+"@"+e.resource+r+"/"+e.full_name+o;case"http":case"https":return t+"://"+(e.token?"bitbucket.org"===e.source?"x-token-auth:"+e.token+"@":e.token+"@":e.user&&(e.protocols.includes("http")||e.protocols.includes("https"))?e.user+"@":"")+e.resource+r+"/"+("bitbucket-server"===e.source?"scm/"+e.full_name:e.full_name.split("/").map(function(e){return encodeURIComponent(e)}).join("/"))+o;default:return e.href}},e.exports=o},36446:function(e,t,r){"use strict";var n=r(69754);e.exports=function e(t){if(Array.isArray(t))return -1!==t.indexOf("ssh")||-1!==t.indexOf("rsync");if("string"!=typeof t)return!1;var r=n(t);if(t=t.substring(t.indexOf("://")+3),e(r))return!0;var o=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!t.match(o)&&t.indexOf("@")<t.indexOf(":")}},97589:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});/**
2 * @license lucide-react v0.400.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let n=(0,r(78030).Z)("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},23787:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});/**
7 * @license lucide-react v0.400.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */let n=(0,r(78030).Z)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},43805:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});/**
12 * @license lucide-react v0.400.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */let n=(0,r(78030).Z)("Medal",[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]])},41642:function(e){!function(){"use strict";var t={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",o=0,a=-1,i=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else if(47===r)break;else r=47;if(47===r){if(a===s-1||1===i);else if(a!==s-1&&2===i){if(n.length<2||2!==o||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2)){if(n.length>2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",o=0):o=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),a=s,i=0;continue}}else if(2===n.length||1===n.length){n="",o=0,a=s,i=0;continue}}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(a+1,s):n=e.slice(a+1,s),o=s-a-1;a=s,i=0}else 46===r&&-1!==i?++i:i=-1}return n}var n={resolve:function(){for(var e,n,o="",a=!1,i=arguments.length-1;i>=-1&&!a;i--)i>=0?n=arguments[i]:(void 0===e&&(e=""),n=e),t(n),0!==n.length&&(o=n+"/"+o,a=47===n.charCodeAt(0));return(o=r(o,!a),a)?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),o=47===e.charCodeAt(e.length-1);return(0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&o&&(e+="/"),n)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var o=arguments[r];
16t(o),o.length>0&&(void 0===e?e=o:e+="/"+o)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=n.resolve(e))===(r=n.resolve(r)))return"";for(var o=1;o<e.length&&47===e.charCodeAt(o);++o);for(var a=e.length,i=a-o,s=1;s<r.length&&47===r.charCodeAt(s);++s);for(var l=r.length-s,c=i<l?i:l,h=-1,u=0;u<=c;++u){if(u===c){if(l>c){if(47===r.charCodeAt(s+u))return r.slice(s+u+1);if(0===u)return r.slice(s+u)}else i>c&&(47===e.charCodeAt(o+u)?h=u:0===u&&(h=0));break}var f=e.charCodeAt(o+u);if(f!==r.charCodeAt(s+u))break;47===f&&(h=u)}var p="";for(u=o+h+1;u<=a;++u)(u===a||47===e.charCodeAt(u))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+r.slice(s+h):(s+=h,47===r.charCodeAt(s)&&++s,r.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,o=-1,a=!0,i=e.length-1;i>=1;--i)if(47===(r=e.charCodeAt(i))){if(!a){o=i;break}}else a=!1;return -1===o?n?"/":".":n&&1===o?"//":e.slice(0,o)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');t(e);var n,o=0,a=-1,i=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var s=r.length-1,l=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(47===c){if(!i){o=n+1;break}}else -1===l&&(i=!1,l=n+1),s>=0&&(c===r.charCodeAt(s)?-1==--s&&(a=n):(s=-1,a=l))}return o===a?a=l:-1===a&&(a=e.length),e.slice(o,a)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!i){o=n+1;break}}else -1===a&&(i=!1,a=n+1);return -1===a?"":e.slice(o,a)},extname:function(e){t(e);for(var r=-1,n=0,o=-1,a=!0,i=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47===l){if(!a){n=s+1;break}continue}-1===o&&(a=!1,o=s+1),46===l?-1===r?r=s:1!==i&&(i=1):-1!==r&&(i=-1)}return -1===r||-1===o||0===i||1===i&&r===o-1&&r===n+1?"":e.slice(r,o)},format:function(e){var t,r;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+r:t+"/"+r:r},parse:function(e){t(e);var r,n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var o=e.charCodeAt(0),a=47===o;a?(n.root="/",r=1):r=0;for(var i=-1,s=0,l=-1,c=!0,h=e.length-1,u=0;h>=r;--h){if(47===(o=e.charCodeAt(h))){if(!c){s=h+1;break}continue}-1===l&&(c=!1,l=h+1),46===o?-1===i?i=h:1!==u&&(u=1):-1!==i&&(u=-1)}return -1===i||-1===l||0===u||1===u&&i===l-1&&i===s+1?-1!==l&&(0===s&&a?n.base=n.name=e.slice(1,l):n.base=n.name=e.slice(s,l)):(0===s&&a?(n.name=e.slice(1,i),n.base=e.slice(1,l)):(n.name=e.slice(s,i),n.base=e.slice(s,l)),n.ext=e.slice(i,l)),s>0?n.dir=e.slice(0,s-1):a&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}},i=!0;try{t[e](a,a.exports,n),i=!1}finally{i&&delete r[e]}return a.exports}n.ab="//";var o=n(114);e.exports=o}()},92773:function(e,t,r){"use strict";var n=r(69754);e.exports=function(e){var t={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:e,query:{},parse_failed:!1};try{var r=new URL(e);t.protocols=n(r),t.protocol=t.protocols[0],t.port=r.port,t.resource=r.hostname,t.host=r.host,t.user=r.username||"",t.password=r.password||"",t.pathname=r.pathname,t.hash=r.hash.slice(1),t.search=r.search.slice(1),t.href=r.href,t.query=Object.fromEntries(r.searchParams)}catch(r){t.protocols=["file"],t.protocol=t.protocols[0],t.port="",t.resource="",t.user="",t.pathname="",t.hash="",t.search="",t.href=e,t.query={},t.parse_failed=!0}return t}},16458:function(e,t,r){"use strict";var n=r(92773),o=n&&"object"==typeof n&&"default"in n?n:{default:n};let a=(e,t)=>t.some(t=>t instanceof RegExp?t.test(e):t===e),i=(e,{stripHash:t})=>{let r=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(e);if(!r)throw Error(`Invalid URL: ${e}`);let{type:n,data:o,hash:a}=r.groups,i=n.split(";");a=t?"":a;let s=!1;"base64"===i[i.length-1]&&(i.pop(),s=!0);let l=(i.shift()||"").toLowerCase(),c=[...i.map(e=>{let[t,r=""]=e.split("=").map(e=>e.trim());return"charset"===t&&"us-ascii"===(r=r.toLowerCase())?"":`${t}${r?`=${r}`:""}`}
16).filter(Boolean)];return s&&c.push("base64"),(c.length>0||l&&"text/plain"!==l)&&c.unshift(l),`data:${c.join(";")},${s?o.trim():o}${a?`#${a}`:""}`},s=(e,t=!1)=>{let r=t=>{let r=Error(t);throw r.subject_url=e,r};"string"==typeof e&&e.trim()||r("Invalid url."),e.length>s.MAX_INPUT_LENGTH&&r("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),t&&("object"!=typeof t&&(t={stripHash:!1}),e=function(e,t){if(t={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...t},e=e.trim(),/^data:/i.test(e))return i(e,t);if(/^view-source:/i.test(e))throw Error("`view-source:` is not supported as it is a non-standard protocol");let r=e.startsWith("//");!r&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));let n=new URL(e);if(t.forceHttp&&t.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&"https:"===n.protocol&&(n.protocol="http:"),t.forceHttps&&"http:"===n.protocol&&(n.protocol="https:"),t.stripAuthentication&&(n.username="",n.password=""),t.stripHash?n.hash="":t.stripTextFragment&&(n.hash=n.hash.replace(/#?:~:text.*?$/i,"")),n.pathname){let e=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,t=0,r="";for(;;){let o=e.exec(n.pathname);if(!o)break;let a=o[0],i=o.index;r+=n.pathname.slice(t,i).replace(/\/{2,}/g,"/")+a,t=i+a.length}r+=n.pathname.slice(t,n.pathname.length).replace(/\/{2,}/g,"/"),n.pathname=r}if(n.pathname)try{n.pathname=decodeURI(n.pathname)}catch{}if(!0===t.removeDirectoryIndex&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=n.pathname.split("/");a(e[e.length-1],t.removeDirectoryIndex)&&(e=e.slice(0,-1),n.pathname=e.slice(1).join("/")+"/")}if(n.hostname&&(n.hostname=n.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(n.hostname)&&(n.hostname=n.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(let e of[...n.searchParams.keys()])a(e,t.removeQueryParameters)&&n.searchParams.delete(e);if(!0===t.removeQueryParameters&&(n.search=""),t.sortQueryParameters){n.searchParams.sort();try{n.search=decodeURIComponent(n.search)}catch{}}t.removeTrailingSlash&&(n.pathname=n.pathname.replace(/\/$/,""));let o=e;return e=n.toString(),t.removeSingleSlash||"/"!==n.pathname||o.endsWith("/")||""!==n.hash||(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||"/"===n.pathname)&&""===n.hash&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),r&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}(e,t));let n=o.default(e);if(n.parse_failed){let e=n.href.match(/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/);e?(n.protocols=["ssh"],n.protocol="ssh",n.resource=e[2],n.host=e[2],n.user=e[1],n.pathname=`/${e[3]}`,n.parse_failed=!1):r("URL parsing failed.")}return n};s.MAX_INPUT_LENGTH=2048,e.exports=s},69754:function(e){"use strict";e.exports=function(e,t){!0===t&&(t=0);var r="";if("string"==typeof e)try{r=new URL(e).protocol}catch(e){}else e&&e.constructor===URL&&(r=e.protocol);var n=r.split(/\:|\+/).filter(Boolean);return"number"==typeof t?n[t]:n}},60152:function(e,t,r){"use strict";r.d(t,{v:function(){return a}});var n=r(72688),o=r(33971);function a(e){let{key:t="public",name:r="Public Client"}=e;return(0,n.e)({...e,key:t,name:r,type:"publicClient"}).extend(o.I)}}}]);

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.