From e3e94d26030a59af205be49183f6154f8efe71d9 Mon Sep 17 00:00:00 2001 From: GauravWalia19 Date: Wed, 2 Oct 2024 11:43:02 +0530 Subject: [PATCH 1/3] Fixed the GET searchUser API body issue --- .github/job.js | 11 +- .github/workflows/Vercel Deployment.yml | 10 +- .github/workflows/Vercel Dev Deployment.yml | 10 +- .github/workflows/codebase-engine.yml | 6 +- api/public/assets/main.bundle.js | 6 +- api/public/index.html | 20 +- package.json | 20 +- routes/api/v1/API.js | 7 +- src/auth.js | 19 +- src/engine.js | 5 +- yarn.lock | 662 ++++++++++++-------- 11 files changed, 445 insertions(+), 331 deletions(-) diff --git a/.github/job.js b/.github/job.js index c18913a..4903c3c 100644 --- a/.github/job.js +++ b/.github/job.js @@ -29,10 +29,7 @@ const getUserNameFromCodeBaseFile = (fileName) => { // function to connect to mongodb using mongoose const connectMongoDB = () => { - mongoose.connect(process.env.MONGODB_URI, { - useNewUrlParser: true, - useUnifiedTopology: true, - }) + mongoose.connect(process.env.MONGODB_URI) const db = mongoose.connection db.on('error', console.error.bind(console, 'Connection error:')) return db @@ -58,13 +55,13 @@ const insertDataInMongo = (records) => { const callGithubCodeBaseAPI = () => { axios .get( - `https://api.github.com/repos/TECHOUS/${process.env.CODE_SRC}/contents/CodeBase` + `https://api.github.com/repos/TECHOUS/${process.env.CODE_SRC}/contents/CodeBase`, ) .then((res) => { // get all the names from the files const filePromises = res.data.map((codeObject) => { return getUserNameFromCodeBaseFile( - `${process.env.CODE_SRC}/${codeObject.path}` + `${process.env.CODE_SRC}/${codeObject.path}`, ) }) @@ -77,7 +74,7 @@ const callGithubCodeBaseAPI = () => { fileObject.value.fileName, fileObject.value.username, ] - }) + }), ) const dataToInsert = res.data.map((data) => { diff --git a/.github/workflows/Vercel Deployment.yml b/.github/workflows/Vercel Deployment.yml index 9d9b7c0..d2c486b 100644 --- a/.github/workflows/Vercel Deployment.yml +++ b/.github/workflows/Vercel Deployment.yml @@ -10,10 +10,10 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' - run: yarn install - run: yarn run test env: @@ -25,8 +25,8 @@ jobs: needs: test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: amondnet/vercel-action@v20 + - uses: actions/checkout@v4 + - uses: amondnet/vercel-action@v25 with: vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required vercel-args: '--prod' #Optional diff --git a/.github/workflows/Vercel Dev Deployment.yml b/.github/workflows/Vercel Dev Deployment.yml index 97c5154..7044174 100644 --- a/.github/workflows/Vercel Dev Deployment.yml +++ b/.github/workflows/Vercel Dev Deployment.yml @@ -10,10 +10,10 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' - run: yarn install - run: yarn run test env: @@ -25,8 +25,8 @@ jobs: needs: test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: amondnet/vercel-action@v20 + - uses: actions/checkout@v4 + - uses: amondnet/vercel-action@v25 with: vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required vercel-org-id: ${{ secrets.ORG_ID}} #Required diff --git a/.github/workflows/codebase-engine.yml b/.github/workflows/codebase-engine.yml index c6343b9..793edf7 100644 --- a/.github/workflows/codebase-engine.yml +++ b/.github/workflows/codebase-engine.yml @@ -6,10 +6,10 @@ jobs: init-setup: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' - run: yarn install - run: bash .github/job.sh env: diff --git a/api/public/assets/main.bundle.js b/api/public/assets/main.bundle.js index 6e1a32d..4aefea8 100644 --- a/api/public/assets/main.bundle.js +++ b/api/public/assets/main.bundle.js @@ -125,7 +125,9 @@ function print() { __p += __j.call(arguments, '') } }, "status": 200, "message": "Code Ratings are updated" -}`,type:"json"}]},error:{fields:{"4xx Error Response":[{group:"4xx Error Response",type:"Number",optional:!1,field:"429",isArray:!1,description:"

Too many requests, please try again later!!!

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"405",isArray:!1,description:"

Method not Allowed

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"401",isArray:!1,description:"

Invalid Token !! Please send the valid token

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"400",isArray:!1,description:"

Bad Request

"}],"500 Error Response":[{group:"500 Error Response",type:"Number",optional:!1,field:"500",isArray:!1,description:"

Internal Server Error

"}]}},filename:"API.js",groupTitle:"rateCode"},{type:"GET",url:"/api/v1/searchUser",title:"GET: searching the user name",name:"searchUser",description:"

search and return the code rating for the specific user

",version:"1.0.0",body:[{group:"Body",type:"String",optional:!1,field:"codeRatingEngineToken",isArray:!1,description:"

Access token received from randomCodes request

"}],query:[{group:"Query",type:"String",optional:!1,field:"username",isArray:!1,description:"

Username to search

"},{group:"Query",type:"Boolean",optional:!1,field:"sendContent",isArray:!1,description:"

Whether content is needed from the API or not

"}],group:"searchUser",success:{fields:{"200 Success Response":[{group:"200 Success Response",type:"Number",optional:!1,field:"status",isArray:!1,description:"

200 (Status Code)

"},{group:"200 Success Response",type:"Array",optional:!1,field:"userCodeBaseFiles",isArray:!1,description:"

CodeBaseFile

"}],CodeBaseFile:[{group:"CodeBaseFile",type:"String",optional:!1,field:"_id",isArray:!1,description:"

unique mongo Id

"},{group:"CodeBaseFile",type:"String",optional:!1,field:"codeId",isArray:!1,description:"

unique code Id

"},{group:"CodeBaseFile",type:"Number",optional:!1,field:"codeRating",isArray:!1,description:"

current code rating of the file

"},{group:"CodeBaseFile",type:"String",optional:!1,field:"codeUrl",isArray:!1,description:"

file URL of the code file

"},{group:"CodeBaseFile",type:"String",optional:!1,field:"codeName",isArray:!1,description:"

file name of the code file

"},{group:"CodeBaseFile",type:"String",optional:!1,field:"userName",isArray:!1,description:"

user name of the contributed user

"},{group:"CodeBaseFile",type:"String",optional:!1,field:"content",isArray:!1,description:"

content of the code file

"}]},examples:[{title:"Success Response Example",content:` +}`,type:"json"}]},error:{fields:{"4xx Error Response":[{group:"4xx Error Response",type:"Number",optional:!1,field:"429",isArray:!1,description:"

Too many requests, please try again later!!!

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"405",isArray:!1,description:"

Method not Allowed

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"401",isArray:!1,description:"

Invalid Token !! Please send the valid token

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"400",isArray:!1,description:"

Bad Request

"}],"500 Error Response":[{group:"500 Error Response",type:"Number",optional:!1,field:"500",isArray:!1,description:"

Internal Server Error

"}]}},filename:"API.js",groupTitle:"rateCode"},{type:"GET",url:"/api/v1/searchUser",title:"GET: searching the user name",name:"searchUser",description:"

search and return the code rating for the specific user

",version:"1.0.0",header:{fields:{Header:[{group:"Header",type:"String",optional:!1,field:"authorization",isArray:!1,description:"

Access token received from randomCodes request

"}]},examples:[{title:"Request Header example",content:`{ + "Authorization": "Bearer " +}`,type:"json"}]},query:[{group:"Query",type:"String",optional:!1,field:"username",isArray:!1,description:"

Username to search

"},{group:"Query",type:"Boolean",optional:!1,field:"sendContent",isArray:!1,description:"

Whether content is needed from the API or not

"}],group:"searchUser",success:{fields:{"200 Success Response":[{group:"200 Success Response",type:"Number",optional:!1,field:"status",isArray:!1,description:"

200 (Status Code)

"},{group:"200 Success Response",type:"Array",optional:!1,field:"userCodeBaseFiles",isArray:!1,description:"

CodeBaseFile

"}],CodeBaseFile:[{group:"CodeBaseFile",type:"String",optional:!1,field:"_id",isArray:!1,description:"

unique mongo Id

"},{group:"CodeBaseFile",type:"String",optional:!1,field:"codeId",isArray:!1,description:"

unique code Id

"},{group:"CodeBaseFile",type:"Number",optional:!1,field:"codeRating",isArray:!1,description:"

current code rating of the file

"},{group:"CodeBaseFile",type:"String",optional:!1,field:"codeUrl",isArray:!1,description:"

file URL of the code file

"},{group:"CodeBaseFile",type:"String",optional:!1,field:"codeName",isArray:!1,description:"

file name of the code file

"},{group:"CodeBaseFile",type:"String",optional:!1,field:"userName",isArray:!1,description:"

user name of the contributed user

"},{group:"CodeBaseFile",type:"String",optional:!1,field:"content",isArray:!1,description:"

content of the code file

"}]},examples:[{title:"Success Response Example",content:` { "status": 200, "userCodeBaseFiles": [ @@ -140,4 +142,4 @@ function print() { __p += __j.call(arguments, '') } "content": "Scanner in = new Scanner(System.in)" } ] -}`,type:"json"}]},error:{fields:{"4xx Error Response":[{group:"4xx Error Response",type:"Number",optional:!1,field:"429",isArray:!1,description:"

Too many requests, please try again later!!!

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"405",isArray:!1,description:"

Method not Allowed

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"404",isArray:!1,description:"

No Code Base file found for the respective user

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"401",isArray:!1,description:"

Invalid Token !! Please send the valid token

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"400",isArray:!1,description:"

Bad Request

"}],"500 Error Response":[{group:"500 Error Response",type:"Number",optional:!1,field:"500",isArray:!1,description:"

Internal Server Error

"}]}},filename:"API.js",groupTitle:"searchUser"}];const pe={name:"Code Rating Engine",version:"1.0.0",description:"Engine to handle the rating mechanisms for the clean code",title:"Code Rating Engine",url:"https://coderatingengine-techous.vercel.app",sampleUrl:!1,defaultVersion:"0.0.0",apidoc:"0.3.0",generator:{name:"apidoc",time:"Sun Oct 15 2023 09:01:15 GMT+0530 (India Standard Time)",url:"https://apidocjs.com",version:"1.2.0"}};dt();const Pe=u().compile(g()("#template-header").html()),Te=u().compile(g()("#template-footer").html()),q=u().compile(g()("#template-article").html()),me=u().compile(g()("#template-compare-article").html()),de=u().compile(g()("#template-generator").html()),ve=u().compile(g()("#template-project").html()),Me=u().compile(g()("#template-sections").html()),He=u().compile(g()("#template-sidenav").html()),Ue={aloneDisplay:!1,showRequiredLabels:!1,withGenerator:!0,withCompare:!0};pe.template=Object.assign(Ue,(Ke=pe.template)!=null?Ke:{}),pe.template.forceLanguage&&At(pe.template.forceLanguage);const Ye=(0,s.groupBy)(Le,re=>re.group),et={};g().each(Ye,(re,ne)=>{et[re]=(0,s.groupBy)(ne,le=>le.name)});const at=[];g().each(et,(re,ne)=>{let le=[];g().each(ne,(ae,De)=>{const $e=De[0].title;$e&&le.push($e.toLowerCase()+"#~#"+ae)}),le.sort(),pe.order&&(le=Ie(le,pe.order,"#~#")),le.forEach(ae=>{const $e=ae.split("#~#")[1];ne[$e].forEach(Ne=>{at.push(Ne)})})}),Le=at;let gt={};const Bt={};let Ot={};Ot[pe.version]=1,g().each(Le,(re,ne)=>{gt[ne.group]=1,Bt[ne.group]=ne.groupTitle||ne.group,Ot[ne.version]=1}),gt=Object.keys(gt),gt.sort(),pe.order&&(gt=we(Bt,pe.order)),Ot=Object.keys(Ot),Ot.sort(r().compare),Ot.reverse();const Tt=[];gt.forEach(re=>{Tt.push({group:re,isHeader:!0,title:Bt[re]});let ne="";Le.forEach(le=>{le.group===re&&(ne!==le.name?Tt.push({title:le.title,group:re,name:le.name,type:le.type,version:le.version,url:le.url}):Tt.push({title:le.title,group:re,hidden:!0,name:le.name,type:le.type,version:le.version,url:le.url}),ne=le.name)})});function hn(re,ne,le){let ae=!1;if(!ne)return ae;const De=ne.match(/(.+?)<\/h(1|2)>/gi);return De&&De.forEach(function($e){const Ne=$e.substring(2,3),lt=$e.replace(/<.+?>/g,""),xt=$e.match(/id="api-([^-]+)(?:-(.+))?"/),Pt=xt?xt[1]:null,vt=xt?xt[2]:null;Ne==="1"&<&&Pt&&(re.splice(le,0,{group:Pt,isHeader:!0,title:lt,isFixed:!0}),le++,ae=!0),Ne==="2"&<&&Pt&&vt&&(re.splice(le,0,{group:Pt,name:vt,isHeader:!1,title:lt,isFixed:!1,version:"1.0"}),le++)}),ae}let pn;if(pe.header&&(pn=hn(Tt,pe.header.content,0),pn||Tt.unshift({group:"_header",isHeader:!0,title:pe.header.title==null?yt("General"):pe.header.title,isFixed:!0})),pe.footer){const re=Tt.length;pn=hn(Tt,pe.footer.content,Tt.length),!pn&&pe.footer.title!=null&&Tt.splice(re,0,{group:"_footer",isHeader:!0,title:pe.footer.title,isFixed:!0})}const Tn=pe.title?pe.title:"apiDoc: "+pe.name+" - "+pe.version;g()(document).attr("title",Tn),g()("#loader").remove();const Mn={nav:Tt};g()("#sidenav").append(He(Mn)),g()("#generator").append(de(pe)),(0,s.extend)(pe,{versions:Ot}),g()("#project").append(ve(pe)),pe.header&&g()("#header").append(Pe(pe.header)),pe.footer&&(g()("#footer").append(Te(pe.footer)),pe.template.aloneDisplay&&document.getElementById("api-_footer").classList.add("hide"));const $t={};let Bn="";gt.forEach(function(re){const ne=[];let le="",ae={},De=re,$e="";$t[re]={},Le.forEach(function(Ne){re===Ne.group&&(le!==Ne.name?(Le.forEach(function(lt){re===lt.group&&Ne.name===lt.name&&(Object.prototype.hasOwnProperty.call($t[Ne.group],Ne.name)||($t[Ne.group][Ne.name]=[]),$t[Ne.group][Ne.name].push(lt.version))}),ae={article:Ne,versions:$t[Ne.group][Ne.name]}):ae={article:Ne,hidden:!0,versions:$t[Ne.group][Ne.name]},pe.sampleUrl&&pe.sampleUrl===!0&&(pe.sampleUrl=window.location.origin),pe.url&&ae.article.url.substr(0,4).toLowerCase()!=="http"&&(ae.article.url=pe.url+ae.article.url),se(ae,Ne),Ne.groupTitle&&(De=Ne.groupTitle),Ne.groupDescription&&($e=Ne.groupDescription),ne.push({article:q(ae),group:Ne.group,name:Ne.name,aloneDisplay:pe.template.aloneDisplay}),le=Ne.name)}),ae={group:re,title:De,description:$e,articles:ne,aloneDisplay:pe.template.aloneDisplay},Bn+=Me(ae)}),g()("#sections").append(Bn),pe.template.aloneDisplay||(document.body.dataset.spy="scroll",g()("body").scrollspy({target:"#scrollingNav"})),g()(".form-control").on("focus change",function(){g()(this).removeClass("border-danger")}),g()(".sidenav").find("a").on("click",function(re){re.preventDefault();const ne=this.getAttribute("href");if(pe.template.aloneDisplay){const le=document.querySelector(".sidenav > li.active");le&&le.classList.remove("active"),this.parentNode.classList.add("active")}else{const le=document.querySelector(ne);le&&g()("html,body").animate({scrollTop:le.offsetTop},400)}window.location.hash=ne});function St(re){let ne=!1;return g().each(re,le=>{ne=ne||(0,s.some)(re[le],ae=>ae.type)}),ne}function $n(){g()('button[data-toggle="popover"]').popover().click(function(ne){ne.preventDefault()});const re=g()("#version strong").html();if(g()("#sidenav li").removeClass("is-new"),pe.template.withCompare&&g()("#sidenav li[data-version='"+re+"']").each(function(){const ne=g()(this).data("group"),le=g()(this).data("name"),ae=g()("#sidenav li[data-group='"+ne+"'][data-name='"+le+"']").length,De=g()("#sidenav li[data-group='"+ne+"'][data-name='"+le+"']").index(g()(this));(ae===1||De===ae-1)&&g()(this).addClass("is-new")}),g()(".nav-tabs-examples a").click(function(ne){ne.preventDefault(),g()(this).tab("show")}),g()(".nav-tabs-examples").find("a:first").tab("show"),g()(".sample-request-content-type-switch").change(function(){g()(this).val()==="body-form-data"?(g()("#sample-request-body-json-input-"+g()(this).data("id")).hide(),g()("#sample-request-body-form-input-"+g()(this).data("id")).show()):(g()("#sample-request-body-form-input-"+g()(this).data("id")).hide(),g()("#sample-request-body-json-input-"+g()(this).data("id")).show())}),pe.template.aloneDisplay&&(g()(".show-group").click(function(){const ne="."+g()(this).attr("data-group")+"-group",le="."+g()(this).attr("data-group")+"-article";g()(".show-api-group").addClass("hide"),g()(ne).removeClass("hide"),g()(".show-api-article").addClass("hide"),g()(le).removeClass("hide")}),g()(".show-api").click(function(){const ne=this.getAttribute("href").substring(1),le=document.getElementById("version").textContent.trim(),ae=`.${this.dataset.name}-article`,De=`[id="${ne}-${le}"]`,$e=`.${this.dataset.group}-group`;g()(".show-api-group").addClass("hide"),g()($e).removeClass("hide"),g()(".show-api-article").addClass("hide");let Ne=g()(ae);g()(De).length&&(Ne=g()(De).parent()),Ne.removeClass("hide"),ne.match(/_(header|footer)/)&&document.getElementById(ne).classList.remove("hide")})),pe.template.aloneDisplay||g()("body").scrollspy("refresh"),pe.template.aloneDisplay){const ne=decodeURI(window.location.hash);if(ne!=null&&ne.length!==0){const le=document.getElementById("version").textContent.trim(),ae=document.querySelector(`li .${ne.slice(1)}-init`),De=document.querySelector(`li[data-version="${le}"] .show-api.${ne.slice(1)}-init`);let $e=ae;De&&($e=De),$e.click()}}}function U(re){typeof re=="undefined"?re=g()("#version strong").html():g()("#version strong").html(re),g()("article").addClass("hide"),g()("#sidenav li:not(.nav-fixed)").addClass("hide");const ne={};document.querySelectorAll("article[data-version]").forEach(le=>{const ae=le.dataset.group,De=le.dataset.name,$e=le.dataset.version,Ne=ae+De;!ne[Ne]&&r().lte($e,re)&&(ne[Ne]=!0,document.querySelector(`article[data-group="${ae}"][data-name="${De}"][data-version="${$e}"]`).classList.remove("hide"),document.querySelector(`#sidenav li[data-group="${ae}"][data-name="${De}"][data-version="${$e}"]`).classList.remove("hide"),document.querySelector(`#sidenav li.nav-header[data-group="${ae}"]`).classList.remove("hide"))}),g()("article[data-version]").each(function(le){const ae=g()(this).data("group");g()("section#api-"+ae).removeClass("hide"),g()("section#api-"+ae+" article:visible").length===0?g()("section#api-"+ae).addClass("hide"):g()("section#api-"+ae).removeClass("hide")})}if(U(),g()("#versions li.version a").on("click",function(re){re.preventDefault(),U(g()(this).html())}),g()("#compareAllWithPredecessor").on("click",ee),g()("article .versions li.version a").on("click",Q),g().urlParam=function(re){const ne=new RegExp("[\\?&]"+re+"=([^&#]*)").exec(window.location.href);return ne&&ne[1]?ne[1]:null},g().urlParam("compare")&&g()("#compareAllWithPredecessor").trigger("click"),window.location.hash){const re=decodeURI(window.location.hash);g()(re).length>0&&g()("html,body").animate({scrollTop:parseInt(g()(re).offset().top)},0)}document.querySelector('[data-toggle="offcanvas"]').addEventListener("click",function(){const re=document.querySelector(".row-offcanvas");re&&re.classList.toggle("active")}),g()("#scrollingNav .sidenav-search input.search").focus(),g()('[data-action="filter-search"]').on("keyup",V(re=>{const ne=re.currentTarget.value.toLowerCase();g()(".sidenav a.nav-list-item").filter((le,ae)=>g()(ae).toggle(g()(ae).text().toLowerCase().indexOf(ne)>-1))},200)),g()("span.search-reset").on("click",function(){g()("#scrollingNav .sidenav-search input.search").val("").focus(),g()(".sidenav").find("a.nav-list-item").show()});function V(re,ne){let le=null;return(...ae)=>{clearTimeout(le),le=setTimeout(re.bind(this,...ae),ne||0)}}function Q(re){re.preventDefault();const ne=g()(this).parents("article"),le=g()(this).html(),ae=ne.find(".version"),De=ae.find("strong").html();ae.find("strong").html(le);const $e=ne.data("group"),Ne=ne.data("name"),lt=ne.data("version"),xt=ne.data("compare-version");if(xt!==le&&!(!xt&<===le)){if(xt&&$t[$e][Ne][0]===le||lt===le)Ce($e,Ne,lt);else{let Pt={},vt={};g().each(et[$e][Ne],function(ar,Vn){Vn.version===lt&&(Pt=Vn),Vn.version===le&&(vt=Vn)});const st={article:Pt,compare:vt,versions:$t[$e][Ne]};st.article.id=st.article.group+"-"+st.article.name+"-"+st.article.version,st.article.id=st.article.id.replace(/\./g,"_"),st.compare.id=st.compare.group+"-"+st.compare.name+"-"+st.compare.version,st.compare.id=st.compare.id.replace(/\./g,"_");let nt=Pt;nt.header&&nt.header.fields&&(st._hasTypeInHeaderFields=St(nt.header.fields)),nt.parameter&&nt.parameter.fields&&(st._hasTypeInParameterFields=St(nt.parameter.fields)),nt.error&&nt.error.fields&&(st._hasTypeInErrorFields=St(nt.error.fields)),nt.success&&nt.success.fields&&(st._hasTypeInSuccessFields=St(nt.success.fields)),nt.info&&nt.info.fields&&(st._hasTypeInInfoFields=St(nt.info.fields)),nt=vt,st._hasTypeInHeaderFields!==!0&&nt.header&&nt.header.fields&&(st._hasTypeInHeaderFields=St(nt.header.fields)),st._hasTypeInParameterFields!==!0&&nt.parameter&&nt.parameter.fields&&(st._hasTypeInParameterFields=St(nt.parameter.fields)),st._hasTypeInErrorFields!==!0&&nt.error&&nt.error.fields&&(st._hasTypeInErrorFields=St(nt.error.fields)),st._hasTypeInSuccessFields!==!0&&nt.success&&nt.success.fields&&(st._hasTypeInSuccessFields=St(nt.success.fields)),st._hasTypeInInfoFields!==!0&&nt.info&&nt.info.fields&&(st._hasTypeInInfoFields=St(nt.info.fields));const hi=me(st);ne.after(hi),ne.next().find(".versions li.version a").on("click",Q),g()("#sidenav li[data-group='"+$e+"'][data-name='"+Ne+"'][data-version='"+De+"']").addClass("has-modifications"),ne.remove()}$n(),m().highlightAll()}}function ee(re){re.preventDefault(),g()("article:visible .versions").each(function(){const le=g()(this).parents("article").data("version");let ae=null;g()(this).find("li.version a").each(function(){g()(this).html(){Object.keys(re).forEach(De=>{re[De].replace(/_/g," ")===ae&&le.push(De)})}),Object.keys(re).forEach(ae=>{le.indexOf(ae)===-1&&le.push(ae)}),le}$n()}})()})(); +}`,type:"json"}]},error:{fields:{"4xx Error Response":[{group:"4xx Error Response",type:"Number",optional:!1,field:"429",isArray:!1,description:"

Too many requests, please try again later!!!

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"405",isArray:!1,description:"

Method not Allowed

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"404",isArray:!1,description:"

No Code Base file found for the respective user

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"401",isArray:!1,description:"

Invalid Token !! Please send the valid token

"},{group:"4xx Error Response",type:"Number",optional:!1,field:"400",isArray:!1,description:"

Bad Request

"}],"500 Error Response":[{group:"500 Error Response",type:"Number",optional:!1,field:"500",isArray:!1,description:"

Internal Server Error

"}]}},filename:"API.js",groupTitle:"searchUser"}];const pe={name:"Code Rating Engine",version:"1.0.0",description:"Engine to handle the rating mechanisms for the clean code",title:"Code Rating Engine",url:"https://coderatingengine-techous.vercel.app",sampleUrl:!1,defaultVersion:"0.0.0",apidoc:"0.3.0",generator:{name:"apidoc",time:"Wed Oct 02 2024 11:24:08 GMT+0530 (India Standard Time)",url:"https://apidocjs.com",version:"1.2.0"}};dt();const Pe=u().compile(g()("#template-header").html()),Te=u().compile(g()("#template-footer").html()),q=u().compile(g()("#template-article").html()),me=u().compile(g()("#template-compare-article").html()),de=u().compile(g()("#template-generator").html()),ve=u().compile(g()("#template-project").html()),Me=u().compile(g()("#template-sections").html()),He=u().compile(g()("#template-sidenav").html()),Ue={aloneDisplay:!1,showRequiredLabels:!1,withGenerator:!0,withCompare:!0};pe.template=Object.assign(Ue,(Ke=pe.template)!=null?Ke:{}),pe.template.forceLanguage&&At(pe.template.forceLanguage);const Ye=(0,s.groupBy)(Le,re=>re.group),et={};g().each(Ye,(re,ne)=>{et[re]=(0,s.groupBy)(ne,le=>le.name)});const at=[];g().each(et,(re,ne)=>{let le=[];g().each(ne,(ae,De)=>{const $e=De[0].title;$e&&le.push($e.toLowerCase()+"#~#"+ae)}),le.sort(),pe.order&&(le=Ie(le,pe.order,"#~#")),le.forEach(ae=>{const $e=ae.split("#~#")[1];ne[$e].forEach(Ne=>{at.push(Ne)})})}),Le=at;let gt={};const Bt={};let Ot={};Ot[pe.version]=1,g().each(Le,(re,ne)=>{gt[ne.group]=1,Bt[ne.group]=ne.groupTitle||ne.group,Ot[ne.version]=1}),gt=Object.keys(gt),gt.sort(),pe.order&&(gt=we(Bt,pe.order)),Ot=Object.keys(Ot),Ot.sort(r().compare),Ot.reverse();const Tt=[];gt.forEach(re=>{Tt.push({group:re,isHeader:!0,title:Bt[re]});let ne="";Le.forEach(le=>{le.group===re&&(ne!==le.name?Tt.push({title:le.title,group:re,name:le.name,type:le.type,version:le.version,url:le.url}):Tt.push({title:le.title,group:re,hidden:!0,name:le.name,type:le.type,version:le.version,url:le.url}),ne=le.name)})});function hn(re,ne,le){let ae=!1;if(!ne)return ae;const De=ne.match(/(.+?)<\/h(1|2)>/gi);return De&&De.forEach(function($e){const Ne=$e.substring(2,3),lt=$e.replace(/<.+?>/g,""),xt=$e.match(/id="api-([^-]+)(?:-(.+))?"/),Pt=xt?xt[1]:null,vt=xt?xt[2]:null;Ne==="1"&<&&Pt&&(re.splice(le,0,{group:Pt,isHeader:!0,title:lt,isFixed:!0}),le++,ae=!0),Ne==="2"&<&&Pt&&vt&&(re.splice(le,0,{group:Pt,name:vt,isHeader:!1,title:lt,isFixed:!1,version:"1.0"}),le++)}),ae}let pn;if(pe.header&&(pn=hn(Tt,pe.header.content,0),pn||Tt.unshift({group:"_header",isHeader:!0,title:pe.header.title==null?yt("General"):pe.header.title,isFixed:!0})),pe.footer){const re=Tt.length;pn=hn(Tt,pe.footer.content,Tt.length),!pn&&pe.footer.title!=null&&Tt.splice(re,0,{group:"_footer",isHeader:!0,title:pe.footer.title,isFixed:!0})}const Tn=pe.title?pe.title:"apiDoc: "+pe.name+" - "+pe.version;g()(document).attr("title",Tn),g()("#loader").remove();const Mn={nav:Tt};g()("#sidenav").append(He(Mn)),g()("#generator").append(de(pe)),(0,s.extend)(pe,{versions:Ot}),g()("#project").append(ve(pe)),pe.header&&g()("#header").append(Pe(pe.header)),pe.footer&&(g()("#footer").append(Te(pe.footer)),pe.template.aloneDisplay&&document.getElementById("api-_footer").classList.add("hide"));const $t={};let Bn="";gt.forEach(function(re){const ne=[];let le="",ae={},De=re,$e="";$t[re]={},Le.forEach(function(Ne){re===Ne.group&&(le!==Ne.name?(Le.forEach(function(lt){re===lt.group&&Ne.name===lt.name&&(Object.prototype.hasOwnProperty.call($t[Ne.group],Ne.name)||($t[Ne.group][Ne.name]=[]),$t[Ne.group][Ne.name].push(lt.version))}),ae={article:Ne,versions:$t[Ne.group][Ne.name]}):ae={article:Ne,hidden:!0,versions:$t[Ne.group][Ne.name]},pe.sampleUrl&&pe.sampleUrl===!0&&(pe.sampleUrl=window.location.origin),pe.url&&ae.article.url.substr(0,4).toLowerCase()!=="http"&&(ae.article.url=pe.url+ae.article.url),se(ae,Ne),Ne.groupTitle&&(De=Ne.groupTitle),Ne.groupDescription&&($e=Ne.groupDescription),ne.push({article:q(ae),group:Ne.group,name:Ne.name,aloneDisplay:pe.template.aloneDisplay}),le=Ne.name)}),ae={group:re,title:De,description:$e,articles:ne,aloneDisplay:pe.template.aloneDisplay},Bn+=Me(ae)}),g()("#sections").append(Bn),pe.template.aloneDisplay||(document.body.dataset.spy="scroll",g()("body").scrollspy({target:"#scrollingNav"})),g()(".form-control").on("focus change",function(){g()(this).removeClass("border-danger")}),g()(".sidenav").find("a").on("click",function(re){re.preventDefault();const ne=this.getAttribute("href");if(pe.template.aloneDisplay){const le=document.querySelector(".sidenav > li.active");le&&le.classList.remove("active"),this.parentNode.classList.add("active")}else{const le=document.querySelector(ne);le&&g()("html,body").animate({scrollTop:le.offsetTop},400)}window.location.hash=ne});function St(re){let ne=!1;return g().each(re,le=>{ne=ne||(0,s.some)(re[le],ae=>ae.type)}),ne}function $n(){g()('button[data-toggle="popover"]').popover().click(function(ne){ne.preventDefault()});const re=g()("#version strong").html();if(g()("#sidenav li").removeClass("is-new"),pe.template.withCompare&&g()("#sidenav li[data-version='"+re+"']").each(function(){const ne=g()(this).data("group"),le=g()(this).data("name"),ae=g()("#sidenav li[data-group='"+ne+"'][data-name='"+le+"']").length,De=g()("#sidenav li[data-group='"+ne+"'][data-name='"+le+"']").index(g()(this));(ae===1||De===ae-1)&&g()(this).addClass("is-new")}),g()(".nav-tabs-examples a").click(function(ne){ne.preventDefault(),g()(this).tab("show")}),g()(".nav-tabs-examples").find("a:first").tab("show"),g()(".sample-request-content-type-switch").change(function(){g()(this).val()==="body-form-data"?(g()("#sample-request-body-json-input-"+g()(this).data("id")).hide(),g()("#sample-request-body-form-input-"+g()(this).data("id")).show()):(g()("#sample-request-body-form-input-"+g()(this).data("id")).hide(),g()("#sample-request-body-json-input-"+g()(this).data("id")).show())}),pe.template.aloneDisplay&&(g()(".show-group").click(function(){const ne="."+g()(this).attr("data-group")+"-group",le="."+g()(this).attr("data-group")+"-article";g()(".show-api-group").addClass("hide"),g()(ne).removeClass("hide"),g()(".show-api-article").addClass("hide"),g()(le).removeClass("hide")}),g()(".show-api").click(function(){const ne=this.getAttribute("href").substring(1),le=document.getElementById("version").textContent.trim(),ae=`.${this.dataset.name}-article`,De=`[id="${ne}-${le}"]`,$e=`.${this.dataset.group}-group`;g()(".show-api-group").addClass("hide"),g()($e).removeClass("hide"),g()(".show-api-article").addClass("hide");let Ne=g()(ae);g()(De).length&&(Ne=g()(De).parent()),Ne.removeClass("hide"),ne.match(/_(header|footer)/)&&document.getElementById(ne).classList.remove("hide")})),pe.template.aloneDisplay||g()("body").scrollspy("refresh"),pe.template.aloneDisplay){const ne=decodeURI(window.location.hash);if(ne!=null&&ne.length!==0){const le=document.getElementById("version").textContent.trim(),ae=document.querySelector(`li .${ne.slice(1)}-init`),De=document.querySelector(`li[data-version="${le}"] .show-api.${ne.slice(1)}-init`);let $e=ae;De&&($e=De),$e.click()}}}function U(re){typeof re=="undefined"?re=g()("#version strong").html():g()("#version strong").html(re),g()("article").addClass("hide"),g()("#sidenav li:not(.nav-fixed)").addClass("hide");const ne={};document.querySelectorAll("article[data-version]").forEach(le=>{const ae=le.dataset.group,De=le.dataset.name,$e=le.dataset.version,Ne=ae+De;!ne[Ne]&&r().lte($e,re)&&(ne[Ne]=!0,document.querySelector(`article[data-group="${ae}"][data-name="${De}"][data-version="${$e}"]`).classList.remove("hide"),document.querySelector(`#sidenav li[data-group="${ae}"][data-name="${De}"][data-version="${$e}"]`).classList.remove("hide"),document.querySelector(`#sidenav li.nav-header[data-group="${ae}"]`).classList.remove("hide"))}),g()("article[data-version]").each(function(le){const ae=g()(this).data("group");g()("section#api-"+ae).removeClass("hide"),g()("section#api-"+ae+" article:visible").length===0?g()("section#api-"+ae).addClass("hide"):g()("section#api-"+ae).removeClass("hide")})}if(U(),g()("#versions li.version a").on("click",function(re){re.preventDefault(),U(g()(this).html())}),g()("#compareAllWithPredecessor").on("click",ee),g()("article .versions li.version a").on("click",Q),g().urlParam=function(re){const ne=new RegExp("[\\?&]"+re+"=([^&#]*)").exec(window.location.href);return ne&&ne[1]?ne[1]:null},g().urlParam("compare")&&g()("#compareAllWithPredecessor").trigger("click"),window.location.hash){const re=decodeURI(window.location.hash);g()(re).length>0&&g()("html,body").animate({scrollTop:parseInt(g()(re).offset().top)},0)}document.querySelector('[data-toggle="offcanvas"]').addEventListener("click",function(){const re=document.querySelector(".row-offcanvas");re&&re.classList.toggle("active")}),g()("#scrollingNav .sidenav-search input.search").focus(),g()('[data-action="filter-search"]').on("keyup",V(re=>{const ne=re.currentTarget.value.toLowerCase();g()(".sidenav a.nav-list-item").filter((le,ae)=>g()(ae).toggle(g()(ae).text().toLowerCase().indexOf(ne)>-1))},200)),g()("span.search-reset").on("click",function(){g()("#scrollingNav .sidenav-search input.search").val("").focus(),g()(".sidenav").find("a.nav-list-item").show()});function V(re,ne){let le=null;return(...ae)=>{clearTimeout(le),le=setTimeout(re.bind(this,...ae),ne||0)}}function Q(re){re.preventDefault();const ne=g()(this).parents("article"),le=g()(this).html(),ae=ne.find(".version"),De=ae.find("strong").html();ae.find("strong").html(le);const $e=ne.data("group"),Ne=ne.data("name"),lt=ne.data("version"),xt=ne.data("compare-version");if(xt!==le&&!(!xt&<===le)){if(xt&&$t[$e][Ne][0]===le||lt===le)Ce($e,Ne,lt);else{let Pt={},vt={};g().each(et[$e][Ne],function(ar,Vn){Vn.version===lt&&(Pt=Vn),Vn.version===le&&(vt=Vn)});const st={article:Pt,compare:vt,versions:$t[$e][Ne]};st.article.id=st.article.group+"-"+st.article.name+"-"+st.article.version,st.article.id=st.article.id.replace(/\./g,"_"),st.compare.id=st.compare.group+"-"+st.compare.name+"-"+st.compare.version,st.compare.id=st.compare.id.replace(/\./g,"_");let nt=Pt;nt.header&&nt.header.fields&&(st._hasTypeInHeaderFields=St(nt.header.fields)),nt.parameter&&nt.parameter.fields&&(st._hasTypeInParameterFields=St(nt.parameter.fields)),nt.error&&nt.error.fields&&(st._hasTypeInErrorFields=St(nt.error.fields)),nt.success&&nt.success.fields&&(st._hasTypeInSuccessFields=St(nt.success.fields)),nt.info&&nt.info.fields&&(st._hasTypeInInfoFields=St(nt.info.fields)),nt=vt,st._hasTypeInHeaderFields!==!0&&nt.header&&nt.header.fields&&(st._hasTypeInHeaderFields=St(nt.header.fields)),st._hasTypeInParameterFields!==!0&&nt.parameter&&nt.parameter.fields&&(st._hasTypeInParameterFields=St(nt.parameter.fields)),st._hasTypeInErrorFields!==!0&&nt.error&&nt.error.fields&&(st._hasTypeInErrorFields=St(nt.error.fields)),st._hasTypeInSuccessFields!==!0&&nt.success&&nt.success.fields&&(st._hasTypeInSuccessFields=St(nt.success.fields)),st._hasTypeInInfoFields!==!0&&nt.info&&nt.info.fields&&(st._hasTypeInInfoFields=St(nt.info.fields));const hi=me(st);ne.after(hi),ne.next().find(".versions li.version a").on("click",Q),g()("#sidenav li[data-group='"+$e+"'][data-name='"+Ne+"'][data-version='"+De+"']").addClass("has-modifications"),ne.remove()}$n(),m().highlightAll()}}function ee(re){re.preventDefault(),g()("article:visible .versions").each(function(){const le=g()(this).parents("article").data("version");let ae=null;g()(this).find("li.version a").each(function(){g()(this).html(){Object.keys(re).forEach(De=>{re[De].replace(/_/g," ")===ae&&le.push(De)})}),Object.keys(re).forEach(ae=>{le.indexOf(ae)===-1&&le.push(ae)}),le}$n()}})()})(); diff --git a/api/public/index.html b/api/public/index.html index b211e24..6508ac7 100644 --- a/api/public/index.html +++ b/api/public/index.html @@ -5,15 +5,15 @@ - - - - - - - - - + + + + + + + + + @@ -1042,6 +1042,6 @@

{{__ "Request Body"}}

- + diff --git a/package.json b/package.json index f4595de..d66507b 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "coderatingengine", - "version": "1.0.0", + "version": "1.20.0", "engines": { - "node": "18.x", + "node": "20.x", "yarn": "1.x" }, "description": "Engine to handle the rating mechanisms for the clean code", @@ -17,22 +17,22 @@ "author": "Gaurav Walia", "license": "ISC", "dependencies": { - "axios": "^1.5.1", + "axios": "^1.7.7", "cors": "^2.8.5", - "express": "^4.18.2", - "express-rate-limit": "^7.1.1", - "mongoose": "^7.6.2", - "uuid": "^9.0.1" + "express": "^4.21.0", + "express-rate-limit": "^7.4.0", + "mongoose": "^8.7.0", + "uuid": "^10.0.0" }, "devDependencies": { "apidoc": "^1.2.0", "dotenv": "^16.3.1", "husky": "^8.0.3", "lint-staged": "^14.0.1", - "mocha": "^10.2.0", - "nodemon": "^3.0.1", + "mocha": "^10.7.3", + "nodemon": "^3.1.7", "prettier": "^3.0.3", - "supertest": "^6.3.3" + "supertest": "^7.0.0" }, "lint-staged": { "*.js": "prettier --write" diff --git a/routes/api/v1/API.js b/routes/api/v1/API.js index f66bc85..7486053 100644 --- a/routes/api/v1/API.js +++ b/routes/api/v1/API.js @@ -250,7 +250,12 @@ router.put( * @apiName searchUser * @apiDescription search and return the code rating for the specific user * @apiVersion 1.0.0 - * @apiBody {String} codeRatingEngineToken Access token received from randomCodes request + * @apiHeader {String} authorization Access token received from randomCodes request + * @apiHeaderExample {json} Request Header example + * { + * "Authorization": "Bearer " + * } + * * @apiQuery {String} username Username to search * @apiQuery {Boolean} sendContent Whether content is needed from the API or not * diff --git a/src/auth.js b/src/auth.js index 05dd182..48bfbd2 100644 --- a/src/auth.js +++ b/src/auth.js @@ -1,23 +1,26 @@ const {validateToken} = require('./engine') async function authenticateAPI(req, res, next) { - const {codeRatingEngineToken} = req.body + const {authorization} = req.headers - if (codeRatingEngineToken === undefined) { - return res.status(401).json({ - status: 401, - message: 'Invalid Token !! Please send the valid token', - }) - } else { + if (authorization && authorization.startsWith('Bearer ')) { + const codeRatingEngineToken = authorization.replace('Bearer ', '') const tokenFound = await validateToken(codeRatingEngineToken) if (Array.isArray(tokenFound) && tokenFound.length > 0) { next() } else { return res.status(401).json({ status: 401, - message: 'Invalid Token !! Please send the valid token', + message: + 'Invalid Authorization Token !! Please send the valid token', }) } + } else { + return res.status(401).json({ + status: 401, + message: + 'Invalid Authorization Token !! Please send the valid token', + }) } } diff --git a/src/engine.js b/src/engine.js index ad4e8d6..be40ede 100644 --- a/src/engine.js +++ b/src/engine.js @@ -4,10 +4,7 @@ const accessTokenModel = require('../models/accessToken') const {default: axios} = require('axios') const {v4: uuidv4} = require('uuid') -mongoose.connect(process.env.MONGODB_URI, { - useNewUrlParser: true, - useUnifiedTopology: true, -}) +mongoose.connect(process.env.MONGODB_URI) const db = mongoose.connection db.on('error', console.error.bind(console, 'Connection error:')) diff --git a/yarn.lock b/yarn.lock index a7893e5..b03e16b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -171,10 +171,10 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@mongodb-js/saslprep@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@mongodb-js/saslprep/-/saslprep-1.1.0.tgz#022fa36620a7287d17acd05c4aae1e5f390d250d" - integrity sha512-Xfijy7HvfzzqiOAhAepF4SGN5e9leLkMvg/OPOF97XemjfVCYN/oWa75wnkc6mltMSTwY+XlbhWgUOJmkFspSw== +"@mongodb-js/saslprep@^1.1.5": + version "1.1.9" + resolved "https://registry.yarnpkg.com/@mongodb-js/saslprep/-/saslprep-1.1.9.tgz#e974bab8eca9faa88677d4ea4da8d09a52069004" + integrity sha512-tVkljjeEaAhCqTzajSdgbQ6gE6f3oneVwa3iXR6csiEwXXOFsiC6Uh9iAjAhXPtqa/XMDHWjjeNH/77m/Yq2dw== dependencies: sparse-bitfield "^3.0.3" @@ -219,12 +219,11 @@ resolved "https://registry.yarnpkg.com/@types/webidl-conversions/-/webidl-conversions-7.0.0.tgz#2b8e60e33906459219aa587e9d1a612ae994cfe7" integrity sha512-xTE1E+YF4aWPJJeUzaZI5DRntlkY3+BCVJi0axFptnjGmAoWxkyREIh/XMrfxVLejwQxMCfDXdICo0VLxThrog== -"@types/whatwg-url@^8.2.1": - version "8.2.2" - resolved "https://registry.yarnpkg.com/@types/whatwg-url/-/whatwg-url-8.2.2.tgz#749d5b3873e845897ada99be4448041d4cc39e63" - integrity sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA== +"@types/whatwg-url@^11.0.2": + version "11.0.5" + resolved "https://registry.yarnpkg.com/@types/whatwg-url/-/whatwg-url-11.0.5.tgz#aaa2546e60f0c99209ca13360c32c78caf2c409f" + integrity sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ== dependencies: - "@types/node" "*" "@types/webidl-conversions" "*" "@webassemblyjs/ast@1.11.6", "@webassemblyjs/ast@^1.11.5": @@ -413,10 +412,10 @@ ajv@^6.12.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ansi-colors@4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" - integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== +ansi-colors@^4.1.3: + version "4.1.3" + resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" + integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== ansi-escapes@^5.0.0: version "5.0.0" @@ -511,12 +510,12 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= -axios@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.5.1.tgz#11fbaa11fc35f431193a9564109c88c1f27b585f" - integrity sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A== +axios@^1.7.7: + version "1.7.7" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.7.tgz#2f554296f9892a72ac8d8e4c5b79c14a91d0a47f" + integrity sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q== dependencies: - follow-redirects "^1.15.0" + follow-redirects "^1.15.6" form-data "^4.0.0" proxy-from-env "^1.1.0" @@ -535,21 +534,21 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== -body-parser@1.20.1: - version "1.20.1" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" - integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== +body-parser@1.20.3: + version "1.20.3" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.3.tgz#1953431221c6fb5cd63c4b36d53fab0928e548c6" + integrity sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g== dependencies: bytes "3.1.2" - content-type "~1.0.4" + content-type "~1.0.5" debug "2.6.9" depd "2.0.0" destroy "1.2.0" http-errors "2.0.0" iconv-lite "0.4.24" on-finished "2.4.1" - qs "6.11.0" - raw-body "2.5.1" + qs "6.13.0" + raw-body "2.5.2" type-is "~1.6.18" unpipe "1.0.0" @@ -580,7 +579,7 @@ braces@^3.0.2, braces@~3.0.2: dependencies: fill-range "^7.0.1" -browser-stdout@1.3.1: +browser-stdout@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== @@ -595,10 +594,10 @@ browserslist@^4.14.5: node-releases "^2.0.13" update-browserslist-db "^1.0.13" -bson@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/bson/-/bson-5.5.0.tgz#a419cc69f368d2def3b8b22ea03ed1c9be40e53f" - integrity sha512-B+QB4YmDx9RStKv8LLSl/aVIEV3nYJc3cJNNTK2Cd1TL+7P+cNpw9mAPeCgc5K+j01Dv6sxUzcITXDx7ZU3F0w== +bson@^6.7.0: + version "6.8.0" + resolved "https://registry.yarnpkg.com/bson/-/bson-6.8.0.tgz#5063c41ba2437c2b8ff851b50d9e36cb7aaa7525" + integrity sha512-iOJg8pr7wq2tg/zSlCCHMi3hMm5JTOxLTagf3zxhcenHsFp+c6uOs6K7W5UE7A4QIJGtqh/ZovFNMP4mOPJynQ== buffer-from@^1.0.0: version "1.1.2" @@ -618,6 +617,17 @@ call-bind@^1.0.0: function-bind "^1.1.1" get-intrinsic "^1.0.2" +call-bind@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" + integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + set-function-length "^1.2.1" + camelcase@^6.0.0: version "6.2.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" @@ -641,7 +651,7 @@ chalk@^4.1.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chokidar@3.5.3, chokidar@^3.5.2: +chokidar@^3.5.2: version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== @@ -656,6 +666,21 @@ chokidar@3.5.3, chokidar@^3.5.2: optionalDependencies: fsevents "~2.3.2" +chokidar@^3.5.3: + version "3.6.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" + integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + chrome-trace-event@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" @@ -796,15 +821,20 @@ content-type@~1.0.4: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== +content-type@~1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" + integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== + cookie-signature@1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" integrity sha1-4wOogrNCzD7oylE6eZmXNNqzriw= -cookie@0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" - integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== +cookie@0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051" + integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw== cookiejar@^2.1.4: version "2.1.4" @@ -849,11 +879,27 @@ debug@^3.2.7: dependencies: ms "^2.1.1" +debug@^4, debug@^4.3.5: + version "4.3.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.7.tgz#87945b4151a011d76d95a198d7111c865c360a52" + integrity sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ== + dependencies: + ms "^2.1.3" + decamelize@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-4.0.0.tgz#aa472d7bf660eb15f3494efd531cab7f2a709837" integrity sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ== +define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + gopd "^1.0.1" + delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -882,10 +928,10 @@ diff-match-patch@^1.0.5: resolved "https://registry.yarnpkg.com/diff-match-patch/-/diff-match-patch-1.0.5.tgz#abb584d5f10cd1196dfc55aa03701592ae3f7b37" integrity sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw== -diff@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b" - integrity sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w== +diff@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-5.2.0.tgz#26ded047cd1179b78b9537d5ef725503ce1ae531" + integrity sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A== dotenv@^16.3.1: version "16.3.1" @@ -932,6 +978,11 @@ encodeurl@~1.0.2: resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= +encodeurl@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-2.0.0.tgz#7b8ea898077d7e409d3ac45474ea38eaf0857a58" + integrity sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg== + enhanced-resolve@^5.15.0: version "5.15.0" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" @@ -950,6 +1001,18 @@ envinfo@^7.7.3: resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.10.0.tgz#55146e3909cc5fe63c22da63fb15b05aeac35b13" integrity sha512-ZtUjZO6l5mwTHvc1L9+1q5p/R3wTopcfqMW8r5t8SJSKqeVI/LtajORwRFEKpEFuekjD0VBjwu1HMxL4UalIRw== +es-define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" + integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== + dependencies: + get-intrinsic "^1.2.4" + +es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + es-module-lexer@^1.2.1: version "1.3.1" resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.3.1.tgz#c1b0dd5ada807a3b3155315911f364dc4e909db1" @@ -1005,7 +1068,7 @@ escape-html@~1.0.3: resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= -escape-string-regexp@4.0.0: +escape-string-regexp@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== @@ -1070,42 +1133,42 @@ expose-loader@^4.0.0: resolved "https://registry.yarnpkg.com/expose-loader/-/expose-loader-4.1.0.tgz#9c6d55d24e3ac0e5d50ee5dc7930d564fc475d48" integrity sha512-oLAesnzerwDGGADzBMnu0LPqqnlVz6e2V9lTa+/4X6VeW9W93x/nJpw05WBrcIdbqXm/EdnEQpiVDFFiQXuNfg== -express-rate-limit@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/express-rate-limit/-/express-rate-limit-7.1.1.tgz#a9fe92d90a1091f0d2b1d07d97d6df83b412471b" - integrity sha512-o5ye/a4EHCPQPju25Y4HChHybrCM9v37QtQDqXUDZGuD+HB7Cbu8ZhJP6/9RORcSNtkCpnEssa6oUgJgzc7ckQ== +express-rate-limit@^7.4.0: + version "7.4.0" + resolved "https://registry.yarnpkg.com/express-rate-limit/-/express-rate-limit-7.4.0.tgz#5db412b8de83fa07ddb40f610c585ac8c1dab988" + integrity sha512-v1204w3cXu5gCDmAvgvzI6qjzZzoMWKnyVDk3ACgfswTQLYiGen+r8w0VnXnGMmzEN/g8fwIQ4JrFFd4ZP6ssg== -express@^4.18.2: - version "4.18.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" - integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== +express@^4.21.0: + version "4.21.0" + resolved "https://registry.yarnpkg.com/express/-/express-4.21.0.tgz#d57cb706d49623d4ac27833f1cbc466b668eb915" + integrity sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng== dependencies: accepts "~1.3.8" array-flatten "1.1.1" - body-parser "1.20.1" + body-parser "1.20.3" content-disposition "0.5.4" content-type "~1.0.4" - cookie "0.5.0" + cookie "0.6.0" cookie-signature "1.0.6" debug "2.6.9" depd "2.0.0" - encodeurl "~1.0.2" + encodeurl "~2.0.0" escape-html "~1.0.3" etag "~1.8.1" - finalhandler "1.2.0" + finalhandler "1.3.1" fresh "0.5.2" http-errors "2.0.0" - merge-descriptors "1.0.1" + merge-descriptors "1.0.3" methods "~1.1.2" on-finished "2.4.1" parseurl "~1.3.3" - path-to-regexp "0.1.7" + path-to-regexp "0.1.10" proxy-addr "~2.0.7" - qs "6.11.0" + qs "6.13.0" range-parser "~1.2.1" safe-buffer "5.2.1" - send "0.18.0" - serve-static "1.15.0" + send "0.19.0" + serve-static "1.16.2" setprototypeof "1.2.0" statuses "2.0.1" type-is "~1.6.18" @@ -1144,27 +1207,19 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" -finalhandler@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.2.0.tgz#7d23fe5731b207b4640e4fcd00aec1f9207a7b32" - integrity sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg== +finalhandler@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.3.1.tgz#0c575f1d1d324ddd1da35ad7ece3df7d19088019" + integrity sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ== dependencies: debug "2.6.9" - encodeurl "~1.0.2" + encodeurl "~2.0.0" escape-html "~1.0.3" on-finished "2.4.1" parseurl "~1.3.3" statuses "2.0.1" unpipe "~1.0.0" -find-up@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== - dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" - find-up@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" @@ -1173,6 +1228,14 @@ find-up@^4.0.0: locate-path "^5.0.0" path-exists "^4.0.0" +find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + flat@^5.0.2: version "5.0.2" resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" @@ -1183,10 +1246,10 @@ fn.name@1.x.x: resolved "https://registry.yarnpkg.com/fn.name/-/fn.name-1.1.0.tgz#26cad8017967aea8731bc42961d04a3d5988accc" integrity sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw== -follow-redirects@^1.15.0: - version "1.15.2" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" - integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== +follow-redirects@^1.15.6: + version "1.15.9" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1" + integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ== form-data@^4.0.0: version "4.0.0" @@ -1197,15 +1260,14 @@ form-data@^4.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" -formidable@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/formidable/-/formidable-2.1.2.tgz#fa973a2bec150e4ce7cac15589d7a25fc30ebd89" - integrity sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g== +formidable@^3.5.1: + version "3.5.1" + resolved "https://registry.yarnpkg.com/formidable/-/formidable-3.5.1.tgz#9360a23a656f261207868b1484624c4c8d06ee1a" + integrity sha512-WJWKelbRHN41m5dumb0/k8TeAx7Id/y3a+Z7QfhxP/htI9Js5zYaEDtG8uMgG0vM0lOlqnmjE99/kfpOYi/0Og== dependencies: dezalgo "^1.0.4" hexoid "^1.0.0" once "^1.4.0" - qs "^6.11.0" forwarded@0.2.0: version "0.2.0" @@ -1241,6 +1303,11 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" @@ -1255,6 +1322,17 @@ get-intrinsic@^1.0.2: has "^1.0.3" has-symbols "^1.0.1" +get-intrinsic@^1.1.3, get-intrinsic@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" + integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== + dependencies: + es-errors "^1.3.0" + function-bind "^1.1.2" + has-proto "^1.0.1" + has-symbols "^1.0.3" + hasown "^2.0.0" + get-stream@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" @@ -1272,29 +1350,35 @@ glob-to-regexp@^0.4.1: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== -glob@7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" - integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== +glob@^7.2.0: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" inherits "2" - minimatch "^3.0.4" + minimatch "^3.1.1" once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.2.0: - version "7.2.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== +glob@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" + integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" inherits "2" - minimatch "^3.1.1" + minimatch "^5.0.1" once "^1.3.0" - path-is-absolute "^1.0.0" + +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.9: version "4.2.11" @@ -1323,11 +1407,28 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== +has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== + dependencies: + es-define-property "^1.0.0" + +has-proto@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd" + integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q== + has-symbols@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.2.tgz#165d3070c00309752a1236a479331e3ac56f1423" integrity sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw== +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + has@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" @@ -1335,7 +1436,14 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" -he@1.2.0: +hasown@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== + dependencies: + function-bind "^1.1.2" + +he@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== @@ -1411,11 +1519,6 @@ interpret@^2.2.0: resolved "https://registry.yarnpkg.com/interpret/-/interpret-2.2.0.tgz#1a78a0b5965c40a5416d007ad6f50ad27c417df9" integrity sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw== -ip@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" - integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== - ipaddr.js@1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" @@ -1523,7 +1626,7 @@ jquery@^3.6.0: resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.7.1.tgz#083ef98927c9a6a74d05a6af02806566d16274de" integrity sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg== -js-yaml@4.1.0: +js-yaml@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== @@ -1554,10 +1657,10 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" -kareem@2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/kareem/-/kareem-2.5.1.tgz#7b8203e11819a8e77a34b3517d3ead206764d15d" - integrity sha512-7jFxRVm+jD+rkq3kY0iZDJfsO2/t4BBPeEb2qKn2lR/9KhuksYk5hxzfRYWMPV8P/x2d0kHD306YyWLzjjH+uA== +kareem@2.6.3: + version "2.6.3" + resolved "https://registry.yarnpkg.com/kareem/-/kareem-2.6.3.tgz#23168ec8ffb6c1abfd31b7169a6fb1dd285992ac" + integrity sha512-C3iHfuGUXK2u8/ipq9LfjFfXFxAZMQJJq7vLS45r3D9Y2xQ/m4S8zaR4zMLFWh9AsNPXmcFfUDhTEO8UIC/V6Q== kind-of@^6.0.2: version "6.0.3" @@ -1649,7 +1752,7 @@ lodash@^4.17.21: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -log-symbols@4.1.0: +log-symbols@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== @@ -1713,10 +1816,10 @@ memory-pager@^1.0.2: resolved "https://registry.yarnpkg.com/memory-pager/-/memory-pager-1.5.0.tgz#d8751655d22d384682741c972f2c3d6dfa3e66b5" integrity sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg== -merge-descriptors@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" - integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= +merge-descriptors@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.3.tgz#d80319a65f3c7935351e5cfdac8f9318504dbed5" + integrity sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ== merge-stream@^2.0.0: version "2.0.0" @@ -1780,20 +1883,6 @@ mimic-fn@^4.0.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== -minimatch@5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.0.1.tgz#fb9022f7528125187c92bd9e9b6366be1cf3415b" - integrity sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g== - dependencies: - brace-expansion "^2.0.1" - -minimatch@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" - integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== - dependencies: - brace-expansion "^1.1.7" - minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -1801,69 +1890,73 @@ minimatch@^3.1.1, minimatch@^3.1.2: dependencies: brace-expansion "^1.1.7" +minimatch@^5.0.1, minimatch@^5.1.6: + version "5.1.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" + integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== + dependencies: + brace-expansion "^2.0.1" + minimist@^1.2.5: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== -mocha@^10.2.0: - version "10.2.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-10.2.0.tgz#1fd4a7c32ba5ac372e03a17eef435bd00e5c68b8" - integrity sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg== - dependencies: - ansi-colors "4.1.1" - browser-stdout "1.3.1" - chokidar "3.5.3" - debug "4.3.4" - diff "5.0.0" - escape-string-regexp "4.0.0" - find-up "5.0.0" - glob "7.2.0" - he "1.2.0" - js-yaml "4.1.0" - log-symbols "4.1.0" - minimatch "5.0.1" - ms "2.1.3" - nanoid "3.3.3" - serialize-javascript "6.0.0" - strip-json-comments "3.1.1" - supports-color "8.1.1" - workerpool "6.2.1" - yargs "16.2.0" - yargs-parser "20.2.4" - yargs-unparser "2.0.0" - -mongodb-connection-string-url@^2.6.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/mongodb-connection-string-url/-/mongodb-connection-string-url-2.6.0.tgz#57901bf352372abdde812c81be47b75c6b2ec5cf" - integrity sha512-WvTZlI9ab0QYtTYnuMLgobULWhokRjtC7db9LtcVfJ+Hsnyr5eo6ZtNAt3Ly24XZScGMelOcGtm7lSn0332tPQ== +mocha@^10.7.3: + version "10.7.3" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-10.7.3.tgz#ae32003cabbd52b59aece17846056a68eb4b0752" + integrity sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A== + dependencies: + ansi-colors "^4.1.3" + browser-stdout "^1.3.1" + chokidar "^3.5.3" + debug "^4.3.5" + diff "^5.2.0" + escape-string-regexp "^4.0.0" + find-up "^5.0.0" + glob "^8.1.0" + he "^1.2.0" + js-yaml "^4.1.0" + log-symbols "^4.1.0" + minimatch "^5.1.6" + ms "^2.1.3" + serialize-javascript "^6.0.2" + strip-json-comments "^3.1.1" + supports-color "^8.1.1" + workerpool "^6.5.1" + yargs "^16.2.0" + yargs-parser "^20.2.9" + yargs-unparser "^2.0.0" + +mongodb-connection-string-url@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/mongodb-connection-string-url/-/mongodb-connection-string-url-3.0.1.tgz#c13e6ac284ae401752ebafdb8cd7f16c6723b141" + integrity sha512-XqMGwRX0Lgn05TDB4PyG2h2kKO/FfWJyCzYQbIhXUxz7ETt0I/FqHjUeqj37irJ+Dl1ZtU82uYyj14u2XsZKfg== dependencies: - "@types/whatwg-url" "^8.2.1" - whatwg-url "^11.0.0" + "@types/whatwg-url" "^11.0.2" + whatwg-url "^13.0.0" -mongodb@5.9.0: - version "5.9.0" - resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-5.9.0.tgz#5a22065fa8cfaf1d58bf2e3c451cd2c4bfa983a2" - integrity sha512-g+GCMHN1CoRUA+wb1Agv0TI4YTSiWr42B5ulkiAfLLHitGK1R+PkSAf3Lr5rPZwi/3F04LiaZEW0Kxro9Fi2TA== +mongodb@6.9.0: + version "6.9.0" + resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-6.9.0.tgz#743ebfff6b3c14b04ac6e00a55e30d4127d3016d" + integrity sha512-UMopBVx1LmEUbW/QE0Hw18u583PEDVQmUmVzzBRH0o/xtE9DBRA5ZYLOjpLIa03i8FXjzvQECJcqoMvCXftTUA== dependencies: - bson "^5.5.0" - mongodb-connection-string-url "^2.6.0" - socks "^2.7.1" - optionalDependencies: - "@mongodb-js/saslprep" "^1.1.0" + "@mongodb-js/saslprep" "^1.1.5" + bson "^6.7.0" + mongodb-connection-string-url "^3.0.0" -mongoose@^7.6.2: - version "7.6.2" - resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-7.6.2.tgz#c55c8c41352a6e5223bd7b60aa2715331e1d2b65" - integrity sha512-OVx6RWbfNOzBbfTvXoOkgZmaizdXDU/B/KbBjietXQoInSg/OSULjOavXJzL51XWFkbefqkOvbeE07DfvW6FkQ== +mongoose@^8.7.0: + version "8.7.0" + resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-8.7.0.tgz#0f5377a4c3099702a5a00f5dccde2a092ca1c3b0" + integrity sha512-rUCSF1mMYQXjXYdqEQLLlMD3xbcj2j1/hRn+9VnVj7ipzru/UoUZxlj/hWmteKMAh4EFnDZ+BIrmma9l/0Hi1g== dependencies: - bson "^5.5.0" - kareem "2.5.1" - mongodb "5.9.0" + bson "^6.7.0" + kareem "2.6.3" + mongodb "6.9.0" mpath "0.9.0" mquery "5.0.0" ms "2.1.3" - sift "16.0.1" + sift "17.1.3" mpath@0.9.0: version "0.9.0" @@ -1887,16 +1980,11 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3, ms@^2.1.1: +ms@2.1.3, ms@^2.1.1, ms@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== -nanoid@3.3.3: - version "3.3.3" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.3.tgz#fd8e8b7aa761fe807dba2d1b98fb7241bb724a25" - integrity sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w== - negotiator@0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" @@ -1928,6 +2016,22 @@ nodemon@^3.0.1: touch "^3.1.0" undefsafe "^2.0.5" +nodemon@^3.1.7: + version "3.1.7" + resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-3.1.7.tgz#07cb1f455f8bece6a499e0d72b5e029485521a54" + integrity sha512-hLj7fuMow6f0lbB0cD14Lz2xNjwsyruH251Pk4t/yIitCFJbmY1myuLlHm/q06aST4jg6EgAh74PIBBrRqpVAQ== + dependencies: + chokidar "^3.5.2" + debug "^4" + ignore-by-default "^1.0.1" + minimatch "^3.1.2" + pstree.remy "^1.1.8" + semver "^7.5.3" + simple-update-notifier "^2.0.0" + supports-color "^5.5.0" + touch "^3.1.0" + undefsafe "^2.0.5" + nopt@~1.0.10: version "1.0.10" resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee" @@ -1952,6 +2056,11 @@ object-assign@^4: resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= +object-inspect@^1.13.1: + version "1.13.2" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff" + integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g== + object-inspect@^1.9.0: version "1.11.0" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.11.0.tgz#9dceb146cedd4148a0d9e51ab88d34cf509922b1" @@ -2055,10 +2164,10 @@ path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -path-to-regexp@0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" - integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= +path-to-regexp@0.1.10: + version "0.1.10" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.10.tgz#67e9108c5c0551b9e5326064387de4763c4d5f8b" + integrity sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w== picocolors@^1.0.0: version "1.0.0" @@ -2115,17 +2224,22 @@ pstree.remy@^1.1.8: resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a" integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w== -punycode@^2.1.0, punycode@^2.1.1: +punycode@^2.1.0: version "2.3.0" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== -qs@6.11.0: - version "6.11.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" - integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== +punycode@^2.3.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" + integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== + +qs@6.13.0: + version "6.13.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.13.0.tgz#6ca3bd58439f7e245655798997787b0d88a51906" + integrity sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg== dependencies: - side-channel "^1.0.4" + side-channel "^1.0.6" qs@^6.11.0: version "6.11.1" @@ -2146,10 +2260,10 @@ range-parser@~1.2.1: resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== -raw-body@2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857" - integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== +raw-body@2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a" + integrity sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA== dependencies: bytes "3.1.2" http-errors "2.0.0" @@ -2242,13 +2356,6 @@ schema-utils@^3.1.1, schema-utils@^3.2.0: ajv "^6.12.5" ajv-keywords "^3.5.2" -semver@^7.3.8: - version "7.3.8" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" - integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== - dependencies: - lru-cache "^6.0.0" - semver@^7.5.0, semver@^7.5.3: version "7.5.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" @@ -2256,10 +2363,10 @@ semver@^7.5.0, semver@^7.5.3: dependencies: lru-cache "^6.0.0" -send@0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" - integrity sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg== +send@0.19.0: + version "0.19.0" + resolved "https://registry.yarnpkg.com/send/-/send-0.19.0.tgz#bbc5a388c8ea6c048967049dbeac0e4a3f09d7f8" + integrity sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw== dependencies: debug "2.6.9" depd "2.0.0" @@ -2275,13 +2382,6 @@ send@0.18.0: range-parser "~1.2.1" statuses "2.0.1" -serialize-javascript@6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.0.tgz#efae5d88f45d7924141da8b5c3a7a7e663fefeb8" - integrity sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag== - dependencies: - randombytes "^2.1.0" - serialize-javascript@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c" @@ -2289,15 +2389,34 @@ serialize-javascript@^6.0.1: dependencies: randombytes "^2.1.0" -serve-static@1.15.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.15.0.tgz#faaef08cffe0a1a62f60cad0c4e513cff0ac9540" - integrity sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g== +serialize-javascript@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2" + integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g== dependencies: - encodeurl "~1.0.2" + randombytes "^2.1.0" + +serve-static@1.16.2: + version "1.16.2" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.16.2.tgz#b6a5343da47f6bdd2673848bf45754941e803296" + integrity sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw== + dependencies: + encodeurl "~2.0.0" escape-html "~1.0.3" parseurl "~1.3.3" - send "0.18.0" + send "0.19.0" + +set-function-length@^1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" setprototypeof@1.2.0: version "1.2.0" @@ -2332,10 +2451,20 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -sift@16.0.1: - version "16.0.1" - resolved "https://registry.yarnpkg.com/sift/-/sift-16.0.1.tgz#e9c2ccc72191585008cf3e36fc447b2d2633a053" - integrity sha512-Wv6BjQ5zbhW7VFefWusVP33T/EM0vYikCaQ2qR8yULbsilAT8/wQaXvuQ3ptGLpoKx+lihJE3y2UTgKDyyNHZQ== +side-channel@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2" + integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA== + dependencies: + call-bind "^1.0.7" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + object-inspect "^1.13.1" + +sift@17.1.3: + version "17.1.3" + resolved "https://registry.yarnpkg.com/sift/-/sift-17.1.3.tgz#9d2000d4d41586880b0079b5183d839c7a142bf7" + integrity sha512-Rtlj66/b0ICeFzYTuNvX/EF1igRbbnGSvEyT79McoZa/DeGhMyC5pWKOEsZKnpkqtSeovd5FL/bjHWC3CIIvCQ== signal-exit@^3.0.2: version "3.0.3" @@ -2369,19 +2498,6 @@ slice-ansi@^5.0.0: ansi-styles "^6.0.0" is-fullwidth-code-point "^4.0.0" -smart-buffer@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" - integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== - -socks@^2.7.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.1.tgz#d8e651247178fde79c0663043e07240196857d55" - integrity sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ== - dependencies: - ip "^2.0.0" - smart-buffer "^4.2.0" - source-list-map@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" @@ -2466,7 +2582,7 @@ strip-final-newline@^3.0.0: resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== -strip-json-comments@3.1.1: +strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== @@ -2476,36 +2592,28 @@ style-loader@^3.3.1: resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-3.3.3.tgz#bba8daac19930169c0c9c96706749a597ae3acff" integrity sha512-53BiGLXAcll9maCYtZi2RCQZKa8NQQai5C4horqKyRmHj9H7QmcUyucrH+4KW/gBQbXM2AsB0axoEcFZPlfPcw== -superagent@^8.0.5: - version "8.0.9" - resolved "https://registry.yarnpkg.com/superagent/-/superagent-8.0.9.tgz#2c6fda6fadb40516515f93e9098c0eb1602e0535" - integrity sha512-4C7Bh5pyHTvU33KpZgwrNKh/VQnvgtCSqPRfJAUdmrtSYePVzVg4E4OzsrbkhJj9O7SO6Bnv75K/F8XVZT8YHA== +superagent@^9.0.1: + version "9.0.2" + resolved "https://registry.yarnpkg.com/superagent/-/superagent-9.0.2.tgz#a18799473fc57557289d6b63960610e358bdebc1" + integrity sha512-xuW7dzkUpcJq7QnhOsnNUgtYp3xRwpt2F7abdRYIpCsAt0hhUqia0EdxyXZQQpNmGtsCzYHryaKSV3q3GJnq7w== dependencies: component-emitter "^1.3.0" cookiejar "^2.1.4" debug "^4.3.4" fast-safe-stringify "^2.1.1" form-data "^4.0.0" - formidable "^2.1.2" + formidable "^3.5.1" methods "^1.1.2" mime "2.6.0" qs "^6.11.0" - semver "^7.3.8" -supertest@^6.3.3: - version "6.3.3" - resolved "https://registry.yarnpkg.com/supertest/-/supertest-6.3.3.tgz#42f4da199fee656106fd422c094cf6c9578141db" - integrity sha512-EMCG6G8gDu5qEqRQ3JjjPs6+FYT1a7Hv5ApHvtSghmOFJYtsU5S+pSb6Y2EUeCEY3CmEL3mmQ8YWlPOzQomabA== +supertest@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/supertest/-/supertest-7.0.0.tgz#cac53b3d6872a0b317980b2b0cfa820f09cd7634" + integrity sha512-qlsr7fIC0lSddmA3tzojvzubYxvlGtzumcdHgPwbFWMISQwL22MhM2Y3LNt+6w9Yyx7559VW5ab70dgphm8qQA== dependencies: methods "^1.1.2" - superagent "^8.0.5" - -supports-color@8.1.1, supports-color@^8.0.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== - dependencies: - has-flag "^4.0.0" + superagent "^9.0.1" supports-color@^5.5.0: version "5.5.0" @@ -2521,6 +2629,13 @@ supports-color@^7.1.0: dependencies: has-flag "^4.0.0" +supports-color@^8.0.0, supports-color@^8.1.1: + version "8.1.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" @@ -2576,12 +2691,12 @@ touch@^3.1.0: dependencies: nopt "~1.0.10" -tr46@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-3.0.0.tgz#555c4e297a950617e8eeddef633c87d4d9d6cbf9" - integrity sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA== +tr46@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-4.1.1.tgz#281a758dcc82aeb4fe38c7dfe4d11a395aac8469" + integrity sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw== dependencies: - punycode "^2.1.1" + punycode "^2.3.0" triple-beam@^1.3.0: version "1.4.1" @@ -2651,10 +2766,10 @@ utils-merge@1.0.1: resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= -uuid@^9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" - integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== +uuid@^10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-10.0.0.tgz#5a95aa454e6e002725c79055fd42aaba30ca6294" + integrity sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ== vary@^1, vary@~1.1.2: version "1.1.2" @@ -2743,12 +2858,12 @@ webpack@^5.64.2: watchpack "^2.4.0" webpack-sources "^3.2.3" -whatwg-url@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-11.0.0.tgz#0a849eebb5faf2119b901bb76fd795c2848d4018" - integrity sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ== +whatwg-url@^13.0.0: + version "13.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-13.0.0.tgz#b7b536aca48306394a34e44bda8e99f332410f8f" + integrity sha512-9WWbymnqj57+XEuqADHrCJ2eSXzn8WXIW/YSGaZtb2WKAInQ6CHfaUUcTyyver0p8BDg5StLQq8h1vtZuwmOig== dependencies: - tr46 "^3.0.0" + tr46 "^4.1.1" webidl-conversions "^7.0.0" which@^2.0.1: @@ -2794,10 +2909,10 @@ wordwrap@^1.0.0: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== -workerpool@6.2.1: - version "6.2.1" - resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" - integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== +workerpool@^6.5.1: + version "6.5.1" + resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544" + integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA== wrap-ansi@^7.0.0: version "7.0.0" @@ -2837,17 +2952,12 @@ yaml@2.3.1: resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b" integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ== -yargs-parser@20.2.4: - version "20.2.4" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" - integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== - -yargs-parser@^20.2.2: +yargs-parser@^20.2.2, yargs-parser@^20.2.9: version "20.2.9" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== -yargs-unparser@2.0.0: +yargs-unparser@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/yargs-unparser/-/yargs-unparser-2.0.0.tgz#f131f9226911ae5d9ad38c432fe809366c2325eb" integrity sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA== @@ -2857,7 +2967,7 @@ yargs-unparser@2.0.0: flat "^5.0.2" is-plain-obj "^2.1.0" -yargs@16.2.0: +yargs@^16.2.0: version "16.2.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== From 80d9bba56428ad1331f6cbf18e46a1322d37513c Mon Sep 17 00:00:00 2001 From: GauravWalia19 Date: Wed, 2 Oct 2024 11:54:38 +0530 Subject: [PATCH 2/3] Fixed the authorization for the PUT api after testing failure --- routes/api/v1/API.js | 6 +++--- src/auth.js | 26 ++++++++++++++++++++++++-- test/test.js | 2 +- 3 files changed, 28 insertions(+), 6 deletions(-) diff --git a/routes/api/v1/API.js b/routes/api/v1/API.js index 7486053..8ccb1f5 100644 --- a/routes/api/v1/API.js +++ b/routes/api/v1/API.js @@ -19,7 +19,7 @@ const { setSearchUserInCache, } = require('../../../src/cache') // import middlewares -const {authenticateAPI} = require('../../../src/auth') +const {authenticatePutAPI, authenticateGetAPI} = require('../../../src/auth') const {updateValidator, searchValidator} = require('../../../src/validator') /** @@ -208,7 +208,7 @@ router.get('/randomCodes', async (req, res, next) => { **/ router.put( '/rateCode', - authenticateAPI, + authenticatePutAPI, updateValidator, async (req, res, next) => { try { @@ -305,7 +305,7 @@ router.put( **/ router.get( '/searchUser', - authenticateAPI, + authenticateGetAPI, searchValidator, async (req, res, next) => { try { diff --git a/src/auth.js b/src/auth.js index 48bfbd2..15fff7b 100644 --- a/src/auth.js +++ b/src/auth.js @@ -1,6 +1,6 @@ const {validateToken} = require('./engine') -async function authenticateAPI(req, res, next) { +async function authenticateGetAPI(req, res, next) { const {authorization} = req.headers if (authorization && authorization.startsWith('Bearer ')) { @@ -24,6 +24,28 @@ async function authenticateAPI(req, res, next) { } } +async function authenticatePutAPI(req, res, next) { + const {codeRatingEngineToken} = req.body + + if (codeRatingEngineToken === undefined) { + return res.status(401).json({ + status: 401, + message: 'Invalid Token !! Please send the valid token', + }) + } else { + const tokenFound = await validateToken(codeRatingEngineToken) + if (Array.isArray(tokenFound) && tokenFound.length > 0) { + next() + } else { + return res.status(401).json({ + status: 401, + message: 'Invalid Token !! Please send the valid token', + }) + } + } +} + module.exports = { - authenticateAPI, + authenticateGetAPI, + authenticatePutAPI, } diff --git a/test/test.js b/test/test.js index 456eaf7..0edd250 100644 --- a/test/test.js +++ b/test/test.js @@ -41,7 +41,7 @@ describe('testing the code rating engine APIs', () => { request(app) .get('/api/v1/searchUser') .query({username: SEARCH_USER}) - .send({codeRatingEngineToken: token}) + .set('Authorization', `Bearer ${token}`) .expect(200) .end((err, res) => { if (err) done(err) From d2ee0f7e75d33ec7628fd46a6700387445f1c5a2 Mon Sep 17 00:00:00 2001 From: GauravWalia19 Date: Wed, 2 Oct 2024 12:17:00 +0530 Subject: [PATCH 3/3] Added the documentation with versioning --- api/public/assets/main.bundle.js | 109 +++++++++++++++++------- api/public/index.html | 20 ++--- apidoc.json | 4 +- routes/api/v1/API.js | 8 +- routes/api/v1/_apidoc.js | 138 +++++++++++++++++++++++++++++++ 5 files changed, 234 insertions(+), 45 deletions(-) create mode 100644 routes/api/v1/_apidoc.js diff --git a/api/public/assets/main.bundle.js b/api/public/assets/main.bundle.js index 4aefea8..e04bca7 100644 --- a/api/public/assets/main.bundle.js +++ b/api/public/assets/main.bundle.js @@ -1,8 +1,8 @@ -(()=>{var qa={9737:()=>{+function(w){"use strict";var g=".dropdown-backdrop",s='[data-toggle="dropdown"]',c=function(a){w(a).on("click.bs.dropdown",this.toggle)};c.VERSION="3.4.1";function r(a){var i=a.attr("data-target");i||(i=a.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var l=i!=="#"?w(document).find(i):null;return l&&l.length?l:a.parent()}function n(a){a&&a.which===3||(w(g).remove(),w(s).each(function(){var i=w(this),l=r(i),v={relatedTarget:this};l.hasClass("open")&&(a&&a.type=="click"&&/input|textarea/i.test(a.target.tagName)&&w.contains(l[0],a.target)||(l.trigger(a=w.Event("hide.bs.dropdown",v)),!a.isDefaultPrevented()&&(i.attr("aria-expanded","false"),l.removeClass("open").trigger(w.Event("hidden.bs.dropdown",v)))))}))}c.prototype.toggle=function(a){var i=w(this);if(!i.is(".disabled, :disabled")){var l=r(i),v=l.hasClass("open");if(n(),!v){"ontouchstart"in document.documentElement&&!l.closest(".navbar-nav").length&&w(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(w(this)).on("click",n);var o={relatedTarget:this};if(l.trigger(a=w.Event("show.bs.dropdown",o)),a.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),l.toggleClass("open").trigger(w.Event("shown.bs.dropdown",o))}return!1}},c.prototype.keydown=function(a){if(!(!/(38|40|27|32)/.test(a.which)||/input|textarea/i.test(a.target.tagName))){var i=w(this);if(a.preventDefault(),a.stopPropagation(),!i.is(".disabled, :disabled")){var l=r(i),v=l.hasClass("open");if(!v&&a.which!=27||v&&a.which==27)return a.which==27&&l.find(s).trigger("focus"),i.trigger("click");var o=" li:not(.disabled):visible a",m=l.find(".dropdown-menu"+o);if(m.length){var d=m.index(a.target);a.which==38&&d>0&&d--,a.which==40&&d{+function(w){"use strict";var g=function(r,n){this.init("popover",r,n)};if(!w.fn.tooltip)throw new Error("Popover requires tooltip.js");g.VERSION="3.4.1",g.DEFAULTS=w.extend({},w.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),g.prototype=w.extend({},w.fn.tooltip.Constructor.prototype),g.prototype.constructor=g,g.prototype.getDefaults=function(){return g.DEFAULTS},g.prototype.setContent=function(){var r=this.tip(),n=this.getTitle(),u=this.getContent();if(this.options.html){var p=typeof u;this.options.sanitize&&(n=this.sanitizeHtml(n),p==="string"&&(u=this.sanitizeHtml(u))),r.find(".popover-title").html(n),r.find(".popover-content").children().detach().end()[p==="string"?"html":"append"](u)}else r.find(".popover-title").text(n),r.find(".popover-content").children().detach().end().text(u);r.removeClass("fade top bottom left right in"),r.find(".popover-title").html()||r.find(".popover-title").hide()},g.prototype.hasContent=function(){return this.getTitle()||this.getContent()},g.prototype.getContent=function(){var r=this.$element,n=this.options;return r.attr("data-content")||(typeof n.content=="function"?n.content.call(r[0]):n.content)},g.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};function s(r){return this.each(function(){var n=w(this),u=n.data("bs.popover"),p=typeof r=="object"&&r;!u&&/destroy|hide/.test(r)||(u||n.data("bs.popover",u=new g(this,p)),typeof r=="string"&&u[r]())})}var c=w.fn.popover;w.fn.popover=s,w.fn.popover.Constructor=g,w.fn.popover.noConflict=function(){return w.fn.popover=c,this}}(jQuery)},3497:()=>{+function(w){"use strict";function g(r,n){this.$body=w(document.body),this.$scrollElement=w(r).is(document.body)?w(window):w(r),this.options=w.extend({},g.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",w.proxy(this.process,this)),this.refresh(),this.process()}g.VERSION="3.4.1",g.DEFAULTS={offset:10},g.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},g.prototype.refresh=function(){var r=this,n="offset",u=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),w.isWindow(this.$scrollElement[0])||(n="position",u=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var p=w(this),a=p.data("target")||p.attr("href"),i=/^#./.test(a)&&w(a);return i&&i.length&&i.is(":visible")&&[[i[n]().top+u,a]]||null}).sort(function(p,a){return p[0]-a[0]}).each(function(){r.offsets.push(this[0]),r.targets.push(this[1])})},g.prototype.process=function(){var r=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),u=this.options.offset+n-this.$scrollElement.height(),p=this.offsets,a=this.targets,i=this.activeTarget,l;if(this.scrollHeight!=n&&this.refresh(),r>=u)return i!=(l=a[a.length-1])&&this.activate(l);if(i&&r=p[l]&&(p[l+1]===void 0||r{+function(w){"use strict";var g=function(n){this.element=w(n)};g.VERSION="3.4.1",g.TRANSITION_DURATION=150,g.prototype.show=function(){var n=this.element,u=n.closest("ul:not(.dropdown-menu)"),p=n.data("target");if(p||(p=n.attr("href"),p=p&&p.replace(/.*(?=#[^\s]*$)/,"")),!n.parent("li").hasClass("active")){var a=u.find(".active:last a"),i=w.Event("hide.bs.tab",{relatedTarget:n[0]}),l=w.Event("show.bs.tab",{relatedTarget:a[0]});if(a.trigger(i),n.trigger(l),!(l.isDefaultPrevented()||i.isDefaultPrevented())){var v=w(document).find(p);this.activate(n.closest("li"),u),this.activate(v,v.parent(),function(){a.trigger({type:"hidden.bs.tab",relatedTarget:n[0]}),n.trigger({type:"shown.bs.tab",relatedTarget:a[0]})})}}},g.prototype.activate=function(n,u,p){var a=u.find("> .active"),i=p&&w.support.transition&&(a.length&&a.hasClass("fade")||!!u.find("> .fade").length);function l(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),i?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),p&&p()}a.length&&i?a.one("bsTransitionEnd",l).emulateTransitionEnd(g.TRANSITION_DURATION):l(),a.removeClass("in")};function s(n){return this.each(function(){var u=w(this),p=u.data("bs.tab");p||u.data("bs.tab",p=new g(this)),typeof n=="string"&&p[n]()})}var c=w.fn.tab;w.fn.tab=s,w.fn.tab.Constructor=g,w.fn.tab.noConflict=function(){return w.fn.tab=c,this};var r=function(n){n.preventDefault(),s.call(w(this),"show")};w(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery)},6278:()=>{+function(w){"use strict";var g=["sanitize","whiteList","sanitizeFn"],s=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],c=/^aria-[\w-]*$/i,r={"*":["class","dir","id","lang","role",c],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,u=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function p(o,m){var d=o.nodeName.toLowerCase();if(w.inArray(d,m)!==-1)return w.inArray(d,s)!==-1?Boolean(o.nodeValue.match(n)||o.nodeValue.match(u)):!0;for(var h=w(m).filter(function(S,_){return _ instanceof RegExp}),y=0,E=h.length;y
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:r},i.prototype.init=function(o,m,d){if(this.enabled=!0,this.type=o,this.$element=w(m),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&w(document).find(w.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var h=this.options.trigger.split(" "),y=h.length;y--;){var E=h[y];if(E=="click")this.$element.on("click."+this.type,this.options.selector,w.proxy(this.toggle,this));else if(E!="manual"){var S=E=="hover"?"mouseenter":"focusin",_=E=="hover"?"mouseleave":"focusout";this.$element.on(S+"."+this.type,this.options.selector,w.proxy(this.enter,this)),this.$element.on(_+"."+this.type,this.options.selector,w.proxy(this.leave,this))}}this.options.selector?this._options=w.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(o){var m=this.$element.data();for(var d in m)m.hasOwnProperty(d)&&w.inArray(d,g)!==-1&&delete m[d];return o=w.extend({},this.getDefaults(),m,o),o.delay&&typeof o.delay=="number"&&(o.delay={show:o.delay,hide:o.delay}),o.sanitize&&(o.template=a(o.template,o.whiteList,o.sanitizeFn)),o},i.prototype.getDelegateOptions=function(){var o={},m=this.getDefaults();return this._options&&w.each(this._options,function(d,h){m[d]!=h&&(o[d]=h)}),o},i.prototype.enter=function(o){var m=o instanceof this.constructor?o:w(o.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(o.currentTarget,this.getDelegateOptions()),w(o.currentTarget).data("bs."+this.type,m)),o instanceof w.Event&&(m.inState[o.type=="focusin"?"focus":"hover"]=!0),m.tip().hasClass("in")||m.hoverState=="in"){m.hoverState="in";return}if(clearTimeout(m.timeout),m.hoverState="in",!m.options.delay||!m.options.delay.show)return m.show();m.timeout=setTimeout(function(){m.hoverState=="in"&&m.show()},m.options.delay.show)},i.prototype.isInStateTrue=function(){for(var o in this.inState)if(this.inState[o])return!0;return!1},i.prototype.leave=function(o){var m=o instanceof this.constructor?o:w(o.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(o.currentTarget,this.getDelegateOptions()),w(o.currentTarget).data("bs."+this.type,m)),o instanceof w.Event&&(m.inState[o.type=="focusout"?"focus":"hover"]=!1),!m.isInStateTrue()){if(clearTimeout(m.timeout),m.hoverState="out",!m.options.delay||!m.options.delay.hide)return m.hide();m.timeout=setTimeout(function(){m.hoverState=="out"&&m.hide()},m.options.delay.hide)}},i.prototype.show=function(){var o=w.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(o);var m=w.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(o.isDefaultPrevented()||!m)return;var d=this,h=this.tip(),y=this.getUID(this.type);this.setContent(),h.attr("id",y),this.$element.attr("aria-describedby",y),this.options.animation&&h.addClass("fade");var E=typeof this.options.placement=="function"?this.options.placement.call(this,h[0],this.$element[0]):this.options.placement,S=/\s?auto?\s?/i,_=S.test(E);_&&(E=E.replace(S,"")||"top"),h.detach().css({top:0,left:0,display:"block"}).addClass(E).data("bs."+this.type,this),this.options.container?h.appendTo(w(document).find(this.options.container)):h.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var A=this.getPosition(),C=h[0].offsetWidth,D=h[0].offsetHeight;if(_){var b=E,F=this.getPosition(this.$viewport);E=E=="bottom"&&A.bottom+D>F.bottom?"top":E=="top"&&A.top-DF.width?"left":E=="left"&&A.left-CS.top+S.height&&(y.top=S.top+S.height-A)}else{var C=m.left-E,D=m.left+E+d;CS.right&&(y.left=S.left+S.width-D)}return y},i.prototype.getTitle=function(){var o,m=this.$element,d=this.options;return o=m.attr("data-original-title")||(typeof d.title=="function"?d.title.call(m[0]):d.title),o},i.prototype.getUID=function(o){do o+=~~(Math.random()*1e6);while(document.getElementById(o));return o},i.prototype.tip=function(){if(!this.$tip&&(this.$tip=w(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(o){var m=this;o&&(m=w(o.currentTarget).data("bs."+this.type),m||(m=new this.constructor(o.currentTarget,this.getDelegateOptions()),w(o.currentTarget).data("bs."+this.type,m))),o?(m.inState.click=!m.inState.click,m.isInStateTrue()?m.enter(m):m.leave(m)):m.tip().hasClass("in")?m.leave(m):m.enter(m)},i.prototype.destroy=function(){var o=this;clearTimeout(this.timeout),this.hide(function(){o.$element.off("."+o.type).removeData("bs."+o.type),o.$tip&&o.$tip.detach(),o.$tip=null,o.$arrow=null,o.$viewport=null,o.$element=null})},i.prototype.sanitizeHtml=function(o){return a(o,this.options.whiteList,this.options.sanitizeFn)};function l(o){return this.each(function(){var m=w(this),d=m.data("bs.tooltip"),h=typeof o=="object"&&o;!d&&/destroy|hide/.test(o)||(d||m.data("bs.tooltip",d=new i(this,h)),typeof o=="string"&&d[o]())})}var v=w.fn.tooltip;w.fn.tooltip=l,w.fn.tooltip.Constructor=i,w.fn.tooltip.noConflict=function(){return w.fn.tooltip=v,this}}(jQuery)},2027:w=>{var g=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},s=-1,c=1,r=0;g.Diff=function(n,u){return[n,u]},g.prototype.diff_main=function(n,u,p,a){typeof a=="undefined"&&(this.Diff_Timeout<=0?a=Number.MAX_VALUE:a=new Date().getTime()+this.Diff_Timeout*1e3);var i=a;if(n==null||u==null)throw new Error("Null input. (diff_main)");if(n==u)return n?[new g.Diff(r,n)]:[];typeof p=="undefined"&&(p=!0);var l=p,v=this.diff_commonPrefix(n,u),o=n.substring(0,v);n=n.substring(v),u=u.substring(v),v=this.diff_commonSuffix(n,u);var m=n.substring(n.length-v);n=n.substring(0,n.length-v),u=u.substring(0,u.length-v);var d=this.diff_compute_(n,u,l,i);return o&&d.unshift(new g.Diff(r,o)),m&&d.push(new g.Diff(r,m)),this.diff_cleanupMerge(d),d},g.prototype.diff_compute_=function(n,u,p,a){var i;if(!n)return[new g.Diff(c,u)];if(!u)return[new g.Diff(s,n)];var l=n.length>u.length?n:u,v=n.length>u.length?u:n,o=l.indexOf(v);if(o!=-1)return i=[new g.Diff(c,l.substring(0,o)),new g.Diff(r,v),new g.Diff(c,l.substring(o+v.length))],n.length>u.length&&(i[0][0]=i[2][0]=s),i;if(v.length==1)return[new g.Diff(s,n),new g.Diff(c,u)];var m=this.diff_halfMatch_(n,u);if(m){var d=m[0],h=m[1],y=m[2],E=m[3],S=m[4],_=this.diff_main(d,y,p,a),A=this.diff_main(h,E,p,a);return _.concat([new g.Diff(r,S)],A)}return p&&n.length>100&&u.length>100?this.diff_lineMode_(n,u,a):this.diff_bisect_(n,u,a)},g.prototype.diff_lineMode_=function(n,u,p){var a=this.diff_linesToChars_(n,u);n=a.chars1,u=a.chars2;var i=a.lineArray,l=this.diff_main(n,u,!1,p);this.diff_charsToLines_(l,i),this.diff_cleanupSemantic(l),l.push(new g.Diff(r,""));for(var v=0,o=0,m=0,d="",h="";v=1&&m>=1){l.splice(v-o-m,o+m),v=v-o-m;for(var y=this.diff_main(d,h,!1,p),E=y.length-1;E>=0;E--)l.splice(v,0,y[E]);v=v+y.length}m=0,o=0,d="",h="";break}v++}return l.pop(),l},g.prototype.diff_bisect_=function(n,u,p){for(var a=n.length,i=u.length,l=Math.ceil((a+i)/2),v=l,o=2*l,m=new Array(o),d=new Array(o),h=0;hp);D++){for(var b=-D+S;b<=D-_;b+=2){var F=v+b,N;b==-D||b!=D&&m[F-1]a)_+=2;else if(I>i)S+=2;else if(E){var T=v+y-b;if(T>=0&&T=P)return this.diff_bisectSplit_(n,u,N,I,p)}}}for(var B=-D+A;B<=D-C;B+=2){var T=v+B,P;B==-D||B!=D&&d[T-1]a)C+=2;else if(W>i)A+=2;else if(!E){var F=v+y-B;if(F>=0&&F=P)return this.diff_bisectSplit_(n,u,N,I,p)}}}}return[new g.Diff(s,n),new g.Diff(c,u)]},g.prototype.diff_bisectSplit_=function(n,u,p,a,i){var l=n.substring(0,p),v=u.substring(0,a),o=n.substring(p),m=u.substring(a),d=this.diff_main(l,v,!1,i),h=this.diff_main(o,m,!1,i);return d.concat(h)},g.prototype.diff_linesToChars_=function(n,u){var p=[],a={};p[0]="";function i(m){for(var d="",h=0,y=-1,E=p.length;ya?n=n.substring(p-a):pu.length?n:u,a=n.length>u.length?u:n;if(p.length<4||a.length*2=_.length?[N,I,T,P,F]:null}var v=l(p,a,Math.ceil(p.length/4)),o=l(p,a,Math.ceil(p.length/2)),m;if(!v&&!o)return null;o?v?m=v[4].length>o[4].length?v:o:m=o:m=v;var d,h,y,E;n.length>u.length?(d=m[0],h=m[1],y=m[2],E=m[3]):(y=m[0],E=m[1],d=m[2],h=m[3]);var S=m[4];return[d,h,y,E,S]},g.prototype.diff_cleanupSemantic=function(n){for(var u=!1,p=[],a=0,i=null,l=0,v=0,o=0,m=0,d=0;l0?p[a-1]:-1,v=0,o=0,m=0,d=0,i=null,u=!0)),l++;for(u&&this.diff_cleanupMerge(n),this.diff_cleanupSemanticLossless(n),l=1;l=S?(E>=h.length/2||E>=y.length/2)&&(n.splice(l,0,new g.Diff(r,y.substring(0,E))),n[l-1][1]=h.substring(0,h.length-E),n[l+1][1]=y.substring(E),l++):(S>=h.length/2||S>=y.length/2)&&(n.splice(l,0,new g.Diff(r,h.substring(0,S))),n[l-1][0]=c,n[l-1][1]=y.substring(0,y.length-S),n[l+1][0]=s,n[l+1][1]=h.substring(S),l++),l++}l++}},g.prototype.diff_cleanupSemanticLossless=function(n){function u(S,_){if(!S||!_)return 6;var A=S.charAt(S.length-1),C=_.charAt(0),D=A.match(g.nonAlphaNumericRegex_),b=C.match(g.nonAlphaNumericRegex_),F=D&&A.match(g.whitespaceRegex_),N=b&&C.match(g.whitespaceRegex_),I=F&&A.match(g.linebreakRegex_),T=N&&C.match(g.linebreakRegex_),P=I&&S.match(g.blanklineEndRegex_),B=T&&_.match(g.blanklineStartRegex_);return P||B?5:I||T?4:D&&!F&&N?3:F||N?2:D||b?1:0}for(var p=1;p=y&&(y=E,m=a,d=i,h=l)}n[p-1][1]!=m&&(m?n[p-1][1]=m:(n.splice(p-1,1),p--),n[p][1]=d,h?n[p+1][1]=h:(n.splice(p+1,1),p--))}p++}},g.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,g.whitespaceRegex_=/\s/,g.linebreakRegex_=/[\r\n]/,g.blanklineEndRegex_=/\n\r?\n$/,g.blanklineStartRegex_=/^\r?\n\r?\n/,g.prototype.diff_cleanupEfficiency=function(n){for(var u=!1,p=[],a=0,i=null,l=0,v=!1,o=!1,m=!1,d=!1;l0?p[a-1]:-1,m=d=!1),u=!0)),l++;u&&this.diff_cleanupMerge(n)},g.prototype.diff_cleanupMerge=function(n){n.push(new g.Diff(r,""));for(var u=0,p=0,a=0,i="",l="",v;u1?(p!==0&&a!==0&&(v=this.diff_commonPrefix(l,i),v!==0&&(u-p-a>0&&n[u-p-a-1][0]==r?n[u-p-a-1][1]+=l.substring(0,v):(n.splice(0,0,new g.Diff(r,l.substring(0,v))),u++),l=l.substring(v),i=i.substring(v)),v=this.diff_commonSuffix(l,i),v!==0&&(n[u][1]=l.substring(l.length-v)+n[u][1],l=l.substring(0,l.length-v),i=i.substring(0,i.length-v))),u-=p+a,n.splice(u,p+a),i.length&&(n.splice(u,0,new g.Diff(s,i)),u++),l.length&&(n.splice(u,0,new g.Diff(c,l)),u++),u++):u!==0&&n[u-1][0]==r?(n[u-1][1]+=n[u][1],n.splice(u,1)):u++,a=0,p=0,i="",l="";break}n[n.length-1][1]===""&&n.pop();var o=!1;for(u=1;uu));v++)i=p,l=a;return n.length!=v&&n[v][0]===s?l:l+(u-i)},g.prototype.diff_prettyHtml=function(n){for(var u=[],p=/&/g,a=//g,l=/\n/g,v=0;v");switch(o){case c:u[v]=''+d+"";break;case s:u[v]=''+d+"";break;case r:u[v]=""+d+"";break}}return u.join("")},g.prototype.diff_text1=function(n){for(var u=[],p=0;pthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var a=this.match_alphabet_(u),i=this;function l(N,I){var T=N/u.length,P=Math.abs(p-I);return i.Match_Distance?T+P/i.Match_Distance:P?1:T}var v=this.Match_Threshold,o=n.indexOf(u,p);o!=-1&&(v=Math.min(l(0,o),v),o=n.lastIndexOf(u,p+u.length),o!=-1&&(v=Math.min(l(0,o),v)));var m=1<=_;D--){var b=a[n.charAt(D-1)];if(S===0?C[D]=(C[D+1]<<1|1)&b:C[D]=(C[D+1]<<1|1)&b|((E[D+1]|E[D])<<1|1)|E[D+1],C[D]&m){var F=l(S,D-1);if(F<=v)if(v=F,o=D-1,o>p)_=Math.max(1,2*p-o);else break}}if(l(S+1,p)>v)break;E=C}return o},g.prototype.match_alphabet_=function(n){for(var u={},p=0;p2&&(this.diff_cleanupSemantic(i),this.diff_cleanupEfficiency(i));else if(n&&typeof n=="object"&&typeof u=="undefined"&&typeof p=="undefined")i=n,a=this.diff_text1(i);else if(typeof n=="string"&&u&&typeof u=="object"&&typeof p=="undefined")a=n,i=u;else if(typeof n=="string"&&typeof u=="string"&&p&&typeof p=="object")a=n,i=p;else throw new Error("Unknown call format to patch_make.");if(i.length===0)return[];for(var l=[],v=new g.patch_obj,o=0,m=0,d=0,h=a,y=a,E=0;E=2*this.Patch_Margin&&o&&(this.patch_addContext_(v,h),l.push(v),v=new g.patch_obj,o=0,h=y,m=d);break}S!==c&&(m+=_.length),S!==s&&(d+=_.length)}return o&&(this.patch_addContext_(v,h),l.push(v)),l},g.prototype.patch_deepCopy=function(n){for(var u=[],p=0;pthis.Match_MaxBits?(m=this.match_main(u,o.substring(0,this.Match_MaxBits),v),m!=-1&&(d=this.match_main(u,o.substring(o.length-this.Match_MaxBits),v+o.length-this.Match_MaxBits),(d==-1||m>=d)&&(m=-1))):m=this.match_main(u,o,v),m==-1)i[l]=!1,a-=n[l].length2-n[l].length1;else{i[l]=!0,a=m-v;var h;if(d==-1?h=u.substring(m,m+o.length):h=u.substring(m,d+this.Match_MaxBits),o==h)u=u.substring(0,m)+this.diff_text2(n[l].diffs)+u.substring(m+o.length);else{var y=this.diff_main(o,h,!1);if(o.length>this.Match_MaxBits&&this.diff_levenshtein(y)/o.length>this.Patch_DeleteThreshold)i[l]=!1;else{this.diff_cleanupSemanticLossless(y);for(var E=0,S,_=0;_l[0][1].length){var v=u-l[0][1].length;l[0][1]=p.substring(l[0][1].length)+l[0][1],i.start1-=v,i.start2-=v,i.length1+=v,i.length2+=v}if(i=n[n.length-1],l=i.diffs,l.length==0||l[l.length-1][0]!=r)l.push(new g.Diff(r,p)),i.length1+=u,i.length2+=u;else if(u>l[l.length-1][1].length){var v=u-l[l.length-1][1].length;l[l.length-1][1]+=p.substring(0,v),i.length1+=v,i.length2+=v}return p},g.prototype.patch_splitMax=function(n){for(var u=this.Match_MaxBits,p=0;p2*u?(o.length1+=h.length,i+=h.length,m=!1,o.diffs.push(new g.Diff(d,h)),a.diffs.shift()):(h=h.substring(0,u-o.length1-this.Patch_Margin),o.length1+=h.length,i+=h.length,d===r?(o.length2+=h.length,l+=h.length):m=!1,o.diffs.push(new g.Diff(d,h)),h==a.diffs[0][1]?a.diffs.shift():a.diffs[0][1]=a.diffs[0][1].substring(h.length))}v=this.diff_text2(o.diffs),v=v.substring(v.length-this.Patch_Margin);var y=this.diff_text1(a.diffs).substring(0,this.Patch_Margin);y!==""&&(o.length1+=y.length,o.length2+=y.length,o.diffs.length!==0&&o.diffs[o.diffs.length-1][0]===r?o.diffs[o.diffs.length-1][1]+=y:o.diffs.push(new g.Diff(r,y))),m||n.splice(++p,0,o)}}},g.prototype.patch_toText=function(n){for(var u=[],p=0;p{var qa={9737:()=>{+function(w){"use strict";var g=".dropdown-backdrop",s='[data-toggle="dropdown"]',c=function(a){w(a).on("click.bs.dropdown",this.toggle)};c.VERSION="3.4.1";function r(a){var i=a.attr("data-target");i||(i=a.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var l=i!=="#"?w(document).find(i):null;return l&&l.length?l:a.parent()}function n(a){a&&a.which===3||(w(g).remove(),w(s).each(function(){var i=w(this),l=r(i),v={relatedTarget:this};l.hasClass("open")&&(a&&a.type=="click"&&/input|textarea/i.test(a.target.tagName)&&w.contains(l[0],a.target)||(l.trigger(a=w.Event("hide.bs.dropdown",v)),!a.isDefaultPrevented()&&(i.attr("aria-expanded","false"),l.removeClass("open").trigger(w.Event("hidden.bs.dropdown",v)))))}))}c.prototype.toggle=function(a){var i=w(this);if(!i.is(".disabled, :disabled")){var l=r(i),v=l.hasClass("open");if(n(),!v){"ontouchstart"in document.documentElement&&!l.closest(".navbar-nav").length&&w(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(w(this)).on("click",n);var o={relatedTarget:this};if(l.trigger(a=w.Event("show.bs.dropdown",o)),a.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),l.toggleClass("open").trigger(w.Event("shown.bs.dropdown",o))}return!1}},c.prototype.keydown=function(a){if(!(!/(38|40|27|32)/.test(a.which)||/input|textarea/i.test(a.target.tagName))){var i=w(this);if(a.preventDefault(),a.stopPropagation(),!i.is(".disabled, :disabled")){var l=r(i),v=l.hasClass("open");if(!v&&a.which!=27||v&&a.which==27)return a.which==27&&l.find(s).trigger("focus"),i.trigger("click");var o=" li:not(.disabled):visible a",m=l.find(".dropdown-menu"+o);if(m.length){var d=m.index(a.target);a.which==38&&d>0&&d--,a.which==40&&d{+function(w){"use strict";var g=function(r,n){this.init("popover",r,n)};if(!w.fn.tooltip)throw new Error("Popover requires tooltip.js");g.VERSION="3.4.1",g.DEFAULTS=w.extend({},w.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),g.prototype=w.extend({},w.fn.tooltip.Constructor.prototype),g.prototype.constructor=g,g.prototype.getDefaults=function(){return g.DEFAULTS},g.prototype.setContent=function(){var r=this.tip(),n=this.getTitle(),u=this.getContent();if(this.options.html){var h=typeof u;this.options.sanitize&&(n=this.sanitizeHtml(n),h==="string"&&(u=this.sanitizeHtml(u))),r.find(".popover-title").html(n),r.find(".popover-content").children().detach().end()[h==="string"?"html":"append"](u)}else r.find(".popover-title").text(n),r.find(".popover-content").children().detach().end().text(u);r.removeClass("fade top bottom left right in"),r.find(".popover-title").html()||r.find(".popover-title").hide()},g.prototype.hasContent=function(){return this.getTitle()||this.getContent()},g.prototype.getContent=function(){var r=this.$element,n=this.options;return r.attr("data-content")||(typeof n.content=="function"?n.content.call(r[0]):n.content)},g.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};function s(r){return this.each(function(){var n=w(this),u=n.data("bs.popover"),h=typeof r=="object"&&r;!u&&/destroy|hide/.test(r)||(u||n.data("bs.popover",u=new g(this,h)),typeof r=="string"&&u[r]())})}var c=w.fn.popover;w.fn.popover=s,w.fn.popover.Constructor=g,w.fn.popover.noConflict=function(){return w.fn.popover=c,this}}(jQuery)},3497:()=>{+function(w){"use strict";function g(r,n){this.$body=w(document.body),this.$scrollElement=w(r).is(document.body)?w(window):w(r),this.options=w.extend({},g.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",w.proxy(this.process,this)),this.refresh(),this.process()}g.VERSION="3.4.1",g.DEFAULTS={offset:10},g.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},g.prototype.refresh=function(){var r=this,n="offset",u=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),w.isWindow(this.$scrollElement[0])||(n="position",u=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var h=w(this),a=h.data("target")||h.attr("href"),i=/^#./.test(a)&&w(a);return i&&i.length&&i.is(":visible")&&[[i[n]().top+u,a]]||null}).sort(function(h,a){return h[0]-a[0]}).each(function(){r.offsets.push(this[0]),r.targets.push(this[1])})},g.prototype.process=function(){var r=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),u=this.options.offset+n-this.$scrollElement.height(),h=this.offsets,a=this.targets,i=this.activeTarget,l;if(this.scrollHeight!=n&&this.refresh(),r>=u)return i!=(l=a[a.length-1])&&this.activate(l);if(i&&r=h[l]&&(h[l+1]===void 0||r{+function(w){"use strict";var g=function(n){this.element=w(n)};g.VERSION="3.4.1",g.TRANSITION_DURATION=150,g.prototype.show=function(){var n=this.element,u=n.closest("ul:not(.dropdown-menu)"),h=n.data("target");if(h||(h=n.attr("href"),h=h&&h.replace(/.*(?=#[^\s]*$)/,"")),!n.parent("li").hasClass("active")){var a=u.find(".active:last a"),i=w.Event("hide.bs.tab",{relatedTarget:n[0]}),l=w.Event("show.bs.tab",{relatedTarget:a[0]});if(a.trigger(i),n.trigger(l),!(l.isDefaultPrevented()||i.isDefaultPrevented())){var v=w(document).find(h);this.activate(n.closest("li"),u),this.activate(v,v.parent(),function(){a.trigger({type:"hidden.bs.tab",relatedTarget:n[0]}),n.trigger({type:"shown.bs.tab",relatedTarget:a[0]})})}}},g.prototype.activate=function(n,u,h){var a=u.find("> .active"),i=h&&w.support.transition&&(a.length&&a.hasClass("fade")||!!u.find("> .fade").length);function l(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),i?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),h&&h()}a.length&&i?a.one("bsTransitionEnd",l).emulateTransitionEnd(g.TRANSITION_DURATION):l(),a.removeClass("in")};function s(n){return this.each(function(){var u=w(this),h=u.data("bs.tab");h||u.data("bs.tab",h=new g(this)),typeof n=="string"&&h[n]()})}var c=w.fn.tab;w.fn.tab=s,w.fn.tab.Constructor=g,w.fn.tab.noConflict=function(){return w.fn.tab=c,this};var r=function(n){n.preventDefault(),s.call(w(this),"show")};w(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery)},6278:()=>{+function(w){"use strict";var g=["sanitize","whiteList","sanitizeFn"],s=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],c=/^aria-[\w-]*$/i,r={"*":["class","dir","id","lang","role",c],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,u=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function h(o,m){var d=o.nodeName.toLowerCase();if(w.inArray(d,m)!==-1)return w.inArray(d,s)!==-1?Boolean(o.nodeValue.match(n)||o.nodeValue.match(u)):!0;for(var p=w(m).filter(function(S,b){return b instanceof RegExp}),y=0,E=p.length;y
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:r},i.prototype.init=function(o,m,d){if(this.enabled=!0,this.type=o,this.$element=w(m),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&w(document).find(w.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var p=this.options.trigger.split(" "),y=p.length;y--;){var E=p[y];if(E=="click")this.$element.on("click."+this.type,this.options.selector,w.proxy(this.toggle,this));else if(E!="manual"){var S=E=="hover"?"mouseenter":"focusin",b=E=="hover"?"mouseleave":"focusout";this.$element.on(S+"."+this.type,this.options.selector,w.proxy(this.enter,this)),this.$element.on(b+"."+this.type,this.options.selector,w.proxy(this.leave,this))}}this.options.selector?this._options=w.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(o){var m=this.$element.data();for(var d in m)m.hasOwnProperty(d)&&w.inArray(d,g)!==-1&&delete m[d];return o=w.extend({},this.getDefaults(),m,o),o.delay&&typeof o.delay=="number"&&(o.delay={show:o.delay,hide:o.delay}),o.sanitize&&(o.template=a(o.template,o.whiteList,o.sanitizeFn)),o},i.prototype.getDelegateOptions=function(){var o={},m=this.getDefaults();return this._options&&w.each(this._options,function(d,p){m[d]!=p&&(o[d]=p)}),o},i.prototype.enter=function(o){var m=o instanceof this.constructor?o:w(o.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(o.currentTarget,this.getDelegateOptions()),w(o.currentTarget).data("bs."+this.type,m)),o instanceof w.Event&&(m.inState[o.type=="focusin"?"focus":"hover"]=!0),m.tip().hasClass("in")||m.hoverState=="in"){m.hoverState="in";return}if(clearTimeout(m.timeout),m.hoverState="in",!m.options.delay||!m.options.delay.show)return m.show();m.timeout=setTimeout(function(){m.hoverState=="in"&&m.show()},m.options.delay.show)},i.prototype.isInStateTrue=function(){for(var o in this.inState)if(this.inState[o])return!0;return!1},i.prototype.leave=function(o){var m=o instanceof this.constructor?o:w(o.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(o.currentTarget,this.getDelegateOptions()),w(o.currentTarget).data("bs."+this.type,m)),o instanceof w.Event&&(m.inState[o.type=="focusout"?"focus":"hover"]=!1),!m.isInStateTrue()){if(clearTimeout(m.timeout),m.hoverState="out",!m.options.delay||!m.options.delay.hide)return m.hide();m.timeout=setTimeout(function(){m.hoverState=="out"&&m.hide()},m.options.delay.hide)}},i.prototype.show=function(){var o=w.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(o);var m=w.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(o.isDefaultPrevented()||!m)return;var d=this,p=this.tip(),y=this.getUID(this.type);this.setContent(),p.attr("id",y),this.$element.attr("aria-describedby",y),this.options.animation&&p.addClass("fade");var E=typeof this.options.placement=="function"?this.options.placement.call(this,p[0],this.$element[0]):this.options.placement,S=/\s?auto?\s?/i,b=S.test(E);b&&(E=E.replace(S,"")||"top"),p.detach().css({top:0,left:0,display:"block"}).addClass(E).data("bs."+this.type,this),this.options.container?p.appendTo(w(document).find(this.options.container)):p.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var A=this.getPosition(),C=p[0].offsetWidth,_=p[0].offsetHeight;if(b){var R=E,F=this.getPosition(this.$viewport);E=E=="bottom"&&A.bottom+_>F.bottom?"top":E=="top"&&A.top-_F.width?"left":E=="left"&&A.left-CS.top+S.height&&(y.top=S.top+S.height-A)}else{var C=m.left-E,_=m.left+E+d;CS.right&&(y.left=S.left+S.width-_)}return y},i.prototype.getTitle=function(){var o,m=this.$element,d=this.options;return o=m.attr("data-original-title")||(typeof d.title=="function"?d.title.call(m[0]):d.title),o},i.prototype.getUID=function(o){do o+=~~(Math.random()*1e6);while(document.getElementById(o));return o},i.prototype.tip=function(){if(!this.$tip&&(this.$tip=w(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(o){var m=this;o&&(m=w(o.currentTarget).data("bs."+this.type),m||(m=new this.constructor(o.currentTarget,this.getDelegateOptions()),w(o.currentTarget).data("bs."+this.type,m))),o?(m.inState.click=!m.inState.click,m.isInStateTrue()?m.enter(m):m.leave(m)):m.tip().hasClass("in")?m.leave(m):m.enter(m)},i.prototype.destroy=function(){var o=this;clearTimeout(this.timeout),this.hide(function(){o.$element.off("."+o.type).removeData("bs."+o.type),o.$tip&&o.$tip.detach(),o.$tip=null,o.$arrow=null,o.$viewport=null,o.$element=null})},i.prototype.sanitizeHtml=function(o){return a(o,this.options.whiteList,this.options.sanitizeFn)};function l(o){return this.each(function(){var m=w(this),d=m.data("bs.tooltip"),p=typeof o=="object"&&o;!d&&/destroy|hide/.test(o)||(d||m.data("bs.tooltip",d=new i(this,p)),typeof o=="string"&&d[o]())})}var v=w.fn.tooltip;w.fn.tooltip=l,w.fn.tooltip.Constructor=i,w.fn.tooltip.noConflict=function(){return w.fn.tooltip=v,this}}(jQuery)},2027:w=>{var g=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},s=-1,c=1,r=0;g.Diff=function(n,u){return[n,u]},g.prototype.diff_main=function(n,u,h,a){typeof a=="undefined"&&(this.Diff_Timeout<=0?a=Number.MAX_VALUE:a=new Date().getTime()+this.Diff_Timeout*1e3);var i=a;if(n==null||u==null)throw new Error("Null input. (diff_main)");if(n==u)return n?[new g.Diff(r,n)]:[];typeof h=="undefined"&&(h=!0);var l=h,v=this.diff_commonPrefix(n,u),o=n.substring(0,v);n=n.substring(v),u=u.substring(v),v=this.diff_commonSuffix(n,u);var m=n.substring(n.length-v);n=n.substring(0,n.length-v),u=u.substring(0,u.length-v);var d=this.diff_compute_(n,u,l,i);return o&&d.unshift(new g.Diff(r,o)),m&&d.push(new g.Diff(r,m)),this.diff_cleanupMerge(d),d},g.prototype.diff_compute_=function(n,u,h,a){var i;if(!n)return[new g.Diff(c,u)];if(!u)return[new g.Diff(s,n)];var l=n.length>u.length?n:u,v=n.length>u.length?u:n,o=l.indexOf(v);if(o!=-1)return i=[new g.Diff(c,l.substring(0,o)),new g.Diff(r,v),new g.Diff(c,l.substring(o+v.length))],n.length>u.length&&(i[0][0]=i[2][0]=s),i;if(v.length==1)return[new g.Diff(s,n),new g.Diff(c,u)];var m=this.diff_halfMatch_(n,u);if(m){var d=m[0],p=m[1],y=m[2],E=m[3],S=m[4],b=this.diff_main(d,y,h,a),A=this.diff_main(p,E,h,a);return b.concat([new g.Diff(r,S)],A)}return h&&n.length>100&&u.length>100?this.diff_lineMode_(n,u,a):this.diff_bisect_(n,u,a)},g.prototype.diff_lineMode_=function(n,u,h){var a=this.diff_linesToChars_(n,u);n=a.chars1,u=a.chars2;var i=a.lineArray,l=this.diff_main(n,u,!1,h);this.diff_charsToLines_(l,i),this.diff_cleanupSemantic(l),l.push(new g.Diff(r,""));for(var v=0,o=0,m=0,d="",p="";v=1&&m>=1){l.splice(v-o-m,o+m),v=v-o-m;for(var y=this.diff_main(d,p,!1,h),E=y.length-1;E>=0;E--)l.splice(v,0,y[E]);v=v+y.length}m=0,o=0,d="",p="";break}v++}return l.pop(),l},g.prototype.diff_bisect_=function(n,u,h){for(var a=n.length,i=u.length,l=Math.ceil((a+i)/2),v=l,o=2*l,m=new Array(o),d=new Array(o),p=0;ph);_++){for(var R=-_+S;R<=_-b;R+=2){var F=v+R,N;R==-_||R!=_&&m[F-1]a)b+=2;else if(I>i)S+=2;else if(E){var T=v+y-R;if(T>=0&&T=P)return this.diff_bisectSplit_(n,u,N,I,h)}}}for(var B=-_+A;B<=_-C;B+=2){var T=v+B,P;B==-_||B!=_&&d[T-1]a)C+=2;else if(W>i)A+=2;else if(!E){var F=v+y-B;if(F>=0&&F=P)return this.diff_bisectSplit_(n,u,N,I,h)}}}}return[new g.Diff(s,n),new g.Diff(c,u)]},g.prototype.diff_bisectSplit_=function(n,u,h,a,i){var l=n.substring(0,h),v=u.substring(0,a),o=n.substring(h),m=u.substring(a),d=this.diff_main(l,v,!1,i),p=this.diff_main(o,m,!1,i);return d.concat(p)},g.prototype.diff_linesToChars_=function(n,u){var h=[],a={};h[0]="";function i(m){for(var d="",p=0,y=-1,E=h.length;ya?n=n.substring(h-a):hu.length?n:u,a=n.length>u.length?u:n;if(h.length<4||a.length*2=b.length?[N,I,T,P,F]:null}var v=l(h,a,Math.ceil(h.length/4)),o=l(h,a,Math.ceil(h.length/2)),m;if(!v&&!o)return null;o?v?m=v[4].length>o[4].length?v:o:m=o:m=v;var d,p,y,E;n.length>u.length?(d=m[0],p=m[1],y=m[2],E=m[3]):(y=m[0],E=m[1],d=m[2],p=m[3]);var S=m[4];return[d,p,y,E,S]},g.prototype.diff_cleanupSemantic=function(n){for(var u=!1,h=[],a=0,i=null,l=0,v=0,o=0,m=0,d=0;l0?h[a-1]:-1,v=0,o=0,m=0,d=0,i=null,u=!0)),l++;for(u&&this.diff_cleanupMerge(n),this.diff_cleanupSemanticLossless(n),l=1;l=S?(E>=p.length/2||E>=y.length/2)&&(n.splice(l,0,new g.Diff(r,y.substring(0,E))),n[l-1][1]=p.substring(0,p.length-E),n[l+1][1]=y.substring(E),l++):(S>=p.length/2||S>=y.length/2)&&(n.splice(l,0,new g.Diff(r,p.substring(0,S))),n[l-1][0]=c,n[l-1][1]=y.substring(0,y.length-S),n[l+1][0]=s,n[l+1][1]=p.substring(S),l++),l++}l++}},g.prototype.diff_cleanupSemanticLossless=function(n){function u(S,b){if(!S||!b)return 6;var A=S.charAt(S.length-1),C=b.charAt(0),_=A.match(g.nonAlphaNumericRegex_),R=C.match(g.nonAlphaNumericRegex_),F=_&&A.match(g.whitespaceRegex_),N=R&&C.match(g.whitespaceRegex_),I=F&&A.match(g.linebreakRegex_),T=N&&C.match(g.linebreakRegex_),P=I&&S.match(g.blanklineEndRegex_),B=T&&b.match(g.blanklineStartRegex_);return P||B?5:I||T?4:_&&!F&&N?3:F||N?2:_||R?1:0}for(var h=1;h=y&&(y=E,m=a,d=i,p=l)}n[h-1][1]!=m&&(m?n[h-1][1]=m:(n.splice(h-1,1),h--),n[h][1]=d,p?n[h+1][1]=p:(n.splice(h+1,1),h--))}h++}},g.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,g.whitespaceRegex_=/\s/,g.linebreakRegex_=/[\r\n]/,g.blanklineEndRegex_=/\n\r?\n$/,g.blanklineStartRegex_=/^\r?\n\r?\n/,g.prototype.diff_cleanupEfficiency=function(n){for(var u=!1,h=[],a=0,i=null,l=0,v=!1,o=!1,m=!1,d=!1;l0?h[a-1]:-1,m=d=!1),u=!0)),l++;u&&this.diff_cleanupMerge(n)},g.prototype.diff_cleanupMerge=function(n){n.push(new g.Diff(r,""));for(var u=0,h=0,a=0,i="",l="",v;u1?(h!==0&&a!==0&&(v=this.diff_commonPrefix(l,i),v!==0&&(u-h-a>0&&n[u-h-a-1][0]==r?n[u-h-a-1][1]+=l.substring(0,v):(n.splice(0,0,new g.Diff(r,l.substring(0,v))),u++),l=l.substring(v),i=i.substring(v)),v=this.diff_commonSuffix(l,i),v!==0&&(n[u][1]=l.substring(l.length-v)+n[u][1],l=l.substring(0,l.length-v),i=i.substring(0,i.length-v))),u-=h+a,n.splice(u,h+a),i.length&&(n.splice(u,0,new g.Diff(s,i)),u++),l.length&&(n.splice(u,0,new g.Diff(c,l)),u++),u++):u!==0&&n[u-1][0]==r?(n[u-1][1]+=n[u][1],n.splice(u,1)):u++,a=0,h=0,i="",l="";break}n[n.length-1][1]===""&&n.pop();var o=!1;for(u=1;uu));v++)i=h,l=a;return n.length!=v&&n[v][0]===s?l:l+(u-i)},g.prototype.diff_prettyHtml=function(n){for(var u=[],h=/&/g,a=//g,l=/\n/g,v=0;v");switch(o){case c:u[v]=''+d+"";break;case s:u[v]=''+d+"";break;case r:u[v]=""+d+"";break}}return u.join("")},g.prototype.diff_text1=function(n){for(var u=[],h=0;hthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var a=this.match_alphabet_(u),i=this;function l(N,I){var T=N/u.length,P=Math.abs(h-I);return i.Match_Distance?T+P/i.Match_Distance:P?1:T}var v=this.Match_Threshold,o=n.indexOf(u,h);o!=-1&&(v=Math.min(l(0,o),v),o=n.lastIndexOf(u,h+u.length),o!=-1&&(v=Math.min(l(0,o),v)));var m=1<=b;_--){var R=a[n.charAt(_-1)];if(S===0?C[_]=(C[_+1]<<1|1)&R:C[_]=(C[_+1]<<1|1)&R|((E[_+1]|E[_])<<1|1)|E[_+1],C[_]&m){var F=l(S,_-1);if(F<=v)if(v=F,o=_-1,o>h)b=Math.max(1,2*h-o);else break}}if(l(S+1,h)>v)break;E=C}return o},g.prototype.match_alphabet_=function(n){for(var u={},h=0;h2&&(this.diff_cleanupSemantic(i),this.diff_cleanupEfficiency(i));else if(n&&typeof n=="object"&&typeof u=="undefined"&&typeof h=="undefined")i=n,a=this.diff_text1(i);else if(typeof n=="string"&&u&&typeof u=="object"&&typeof h=="undefined")a=n,i=u;else if(typeof n=="string"&&typeof u=="string"&&h&&typeof h=="object")a=n,i=h;else throw new Error("Unknown call format to patch_make.");if(i.length===0)return[];for(var l=[],v=new g.patch_obj,o=0,m=0,d=0,p=a,y=a,E=0;E=2*this.Patch_Margin&&o&&(this.patch_addContext_(v,p),l.push(v),v=new g.patch_obj,o=0,p=y,m=d);break}S!==c&&(m+=b.length),S!==s&&(d+=b.length)}return o&&(this.patch_addContext_(v,p),l.push(v)),l},g.prototype.patch_deepCopy=function(n){for(var u=[],h=0;hthis.Match_MaxBits?(m=this.match_main(u,o.substring(0,this.Match_MaxBits),v),m!=-1&&(d=this.match_main(u,o.substring(o.length-this.Match_MaxBits),v+o.length-this.Match_MaxBits),(d==-1||m>=d)&&(m=-1))):m=this.match_main(u,o,v),m==-1)i[l]=!1,a-=n[l].length2-n[l].length1;else{i[l]=!0,a=m-v;var p;if(d==-1?p=u.substring(m,m+o.length):p=u.substring(m,d+this.Match_MaxBits),o==p)u=u.substring(0,m)+this.diff_text2(n[l].diffs)+u.substring(m+o.length);else{var y=this.diff_main(o,p,!1);if(o.length>this.Match_MaxBits&&this.diff_levenshtein(y)/o.length>this.Patch_DeleteThreshold)i[l]=!1;else{this.diff_cleanupSemanticLossless(y);for(var E=0,S,b=0;bl[0][1].length){var v=u-l[0][1].length;l[0][1]=h.substring(l[0][1].length)+l[0][1],i.start1-=v,i.start2-=v,i.length1+=v,i.length2+=v}if(i=n[n.length-1],l=i.diffs,l.length==0||l[l.length-1][0]!=r)l.push(new g.Diff(r,h)),i.length1+=u,i.length2+=u;else if(u>l[l.length-1][1].length){var v=u-l[l.length-1][1].length;l[l.length-1][1]+=h.substring(0,v),i.length1+=v,i.length2+=v}return h},g.prototype.patch_splitMax=function(n){for(var u=this.Match_MaxBits,h=0;h2*u?(o.length1+=p.length,i+=p.length,m=!1,o.diffs.push(new g.Diff(d,p)),a.diffs.shift()):(p=p.substring(0,u-o.length1-this.Patch_Margin),o.length1+=p.length,i+=p.length,d===r?(o.length2+=p.length,l+=p.length):m=!1,o.diffs.push(new g.Diff(d,p)),p==a.diffs[0][1]?a.diffs.shift():a.diffs[0][1]=a.diffs[0][1].substring(p.length))}v=this.diff_text2(o.diffs),v=v.substring(v.length-this.Patch_Margin);var y=this.diff_text1(a.diffs).substring(0,this.Patch_Margin);y!==""&&(o.length1+=y.length,o.length2+=y.length,o.diffs.length!==0&&o.diffs[o.diffs.length-1][0]===r?o.diffs[o.diffs.length-1][1]+=y:o.diffs.push(new g.Diff(r,y))),m||n.splice(++h,0,o)}}},g.prototype.patch_toText=function(n){for(var u=[],h=0;h= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};s.REVISION_CHANGES=E;var S="[object Object]";r.prototype={constructor:r,logger:o.default,log:o.default.log,registerHelper:function(A,C){if(u.toString.call(A)===S){if(C)throw new a.default("Arg not supported with multiple helpers");u.extend(this.helpers,A)}else this.helpers[A]=C},unregisterHelper:function(A){delete this.helpers[A]},registerPartial:function(A,C){if(u.toString.call(A)===S)u.extend(this.partials,A);else{if(typeof C=="undefined")throw new a.default('Attempting to register a partial called "'+A+'" as undefined');this.partials[A]=C}},unregisterPartial:function(A){delete this.partials[A]},registerDecorator:function(A,C){if(u.toString.call(A)===S){if(C)throw new a.default("Arg not supported with multiple decorators");u.extend(this.decorators,A)}else this.decorators[A]=C},unregisterDecorator:function(A){delete this.decorators[A]},resetLoggedPropertyAccesses:function(){m.resetLoggedProperties()}};var _=o.default.log;s.log=_,s.createFrame=u.createFrame,s.logger=o.default},function(g,s){"use strict";function c(E){return v[E]}function r(E){for(var S=1;S":">",'"':""","'":"'","`":"`","=":"="},o=/[&<>"'`=]/g,m=/[&<>"'`=]/,d=Object.prototype.toString;s.toString=d;var h=function(E){return typeof E=="function"};h(/x/)&&(s.isFunction=h=function(E){return typeof E=="function"&&d.call(E)==="[object Function]"}),s.isFunction=h;var y=Array.isArray||function(E){return!(!E||typeof E!="object")&&d.call(E)==="[object Array]"};s.isArray=y},function(g,s,c){"use strict";function r(p,a){var i=a&&a.loc,l=void 0,v=void 0,o=void 0,m=void 0;i&&(l=i.start.line,v=i.end.line,o=i.start.column,m=i.end.column,p+=" - "+l+":"+o);for(var d=Error.prototype.constructor.call(this,p),h=0;h0?(p.ids&&(p.ids=[p.name]),n.helpers.each(u,p)):a(this);if(p.data&&p.ids){var l=r.createFrame(p.data);l.contextPath=r.appendContextPath(p.data.contextPath,p.name),p={data:l}}return i(u,p)})},g.exports=s.default},function(g,s,c){"use strict";var r=c(13).default,n=c(43).default,u=c(55).default,p=c(60).default,a=c(1).default;s.__esModule=!0;var i=c(5),l=c(6),v=a(l);s.default=function(o){o.registerHelper("each",function(m,d){function h(I,T,P){A&&(A.key=I,A.index=T,A.first=T===0,A.last=!!P,C&&(A.contextPath=C+I)),_+=y(m[I],{data:A,blockParams:i.blockParams([m[I],I],[C+I,null])})}if(!d)throw new v.default("Must pass iterator to #each");var y=d.fn,E=d.inverse,S=0,_="",A=void 0,C=void 0;if(d.data&&d.ids&&(C=i.appendContextPath(d.data.contextPath,d.ids[0])+"."),i.isFunction(m)&&(m=m.call(this)),d.data&&(A=i.createFrame(d.data)),m&&typeof m=="object")if(i.isArray(m))for(var D=m.length;Sdt;)fe(he,Se=Fe[dt++],be[Se]);return he},ye=function(he,be){return be===void 0?F(he):Z(F(he),be)},Ae=function(he){var be=G.call(this,he);return!(be||!u(this,he)||!u(k,he)||u(this,W)&&this[W][he])||be},xe=function(he,be){var Se=D(he=A(he),be);return!Se||!u(k,be)||u(he,W)&&he[W][be]||(Se.enumerable=!0),Se},qe=function(he){for(var be,Se=N(A(he)),Fe=[],dt=0;Se.length>dt;)u(k,be=Se[dt++])||be==W||Fe.push(be);return Fe},ht=function(he){for(var be,Se=N(A(he)),Fe=[],dt=0;Se.length>dt;)u(k,be=Se[dt++])&&Fe.push(k[be]);return Fe},yt=function(he){if(he!==void 0&&!ie(he)){for(var be,Se,Fe=[he],dt=1,Ht=arguments;Ht.length>dt;)Fe.push(Ht[dt++]);return be=Fe[1],typeof be=="function"&&(Se=be),!Se&&S(be)||(be=function(tt,Le){if(Se&&(Le=Se.call(this,tt,Le)),!ie(Le))return Le}),Fe[1]=be,P.apply(T,Fe)}},At=l(function(){var he=I();return P([he])!="[null]"||P({a:he})!="{}"||P(Object(he))!="{}"});$||(I=function(){if(ie(this))throw TypeError("Symbol is not a constructor");return j(m(arguments.length>0?arguments[0]:void 0))},i(I.prototype,"toString",function(){return this._k}),ie=function(he){return he instanceof I},r.create=ye,r.isEnum=Ae,r.getDesc=xe,r.setDesc=fe,r.setDescs=Z,r.getNames=y.get=qe,r.getSymbols=ht,p&&!c(41)&&i(z,"propertyIsEnumerable",Ae,!0));var Rt={for:function(he){return u(O,he+="")?O[he]:O[he]=I(he)},keyFor:function(he){return h(O,he)},useSetter:function(){B=!0},useSimple:function(){B=!1}};r.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(he){var be=d(he);Rt[he]=$?be:j(be)}),B=!0,a(a.G+a.W,{Symbol:I}),a(a.S,"Symbol",Rt),a(a.S+a.F*!$,"Object",{create:ye,defineProperty:fe,defineProperties:Z,getOwnPropertyDescriptor:xe,getOwnPropertyNames:qe,getOwnPropertySymbols:ht}),T&&a(a.S+a.F*(!$||At),"JSON",{stringify:yt}),o(I,"Symbol"),o(Math,"Math",!0),o(n.JSON,"JSON",!0)},function(g,s){var c=g.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=c)},function(g,s){var c={}.hasOwnProperty;g.exports=function(r,n){return c.call(r,n)}},function(g,s,c){g.exports=!c(19)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(g,s){g.exports=function(c){try{return!!c()}catch(r){return!0}}},function(g,s,c){var r=c(16),n=c(21),u=c(22),p="prototype",a=function(i,l,v){var o,m,d,h=i&a.F,y=i&a.G,E=i&a.S,S=i&a.P,_=i&a.B,A=i&a.W,C=y?n:n[l]||(n[l]={}),D=y?r:E?r[l]:(r[l]||{})[p];y&&(v=l);for(o in v)m=!h&&D&&o in D,m&&o in C||(d=m?D[o]:v[o],C[o]=y&&typeof D[o]!="function"?v[o]:_&&m?u(d,r):A&&D[o]==d?function(b){var F=function(N){return this instanceof b?new b(N):b(N)};return F[p]=b[p],F}(d):S&&typeof d=="function"?u(Function.call,d):d,S&&((C[p]||(C[p]={}))[o]=d))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,g.exports=a},function(g,s){var c=g.exports={version:"1.2.6"};typeof __e=="number"&&(__e=c)},function(g,s,c){var r=c(23);g.exports=function(n,u,p){if(r(n),u===void 0)return n;switch(p){case 1:return function(a){return n.call(u,a)};case 2:return function(a,i){return n.call(u,a,i)};case 3:return function(a,i,l){return n.call(u,a,i,l)}}return function(){return n.apply(u,arguments)}}},function(g,s){g.exports=function(c){if(typeof c!="function")throw TypeError(c+" is not a function!");return c}},function(g,s,c){g.exports=c(25)},function(g,s,c){var r=c(9),n=c(26);g.exports=c(18)?function(u,p,a){return r.setDesc(u,p,n(1,a))}:function(u,p,a){return u[p]=a,u}},function(g,s){g.exports=function(c,r){return{enumerable:!(1&c),configurable:!(2&c),writable:!(4&c),value:r}}},function(g,s,c){var r=c(16),n="__core-js_shared__",u=r[n]||(r[n]={});g.exports=function(p){return u[p]||(u[p]={})}},function(g,s,c){var r=c(9).setDesc,n=c(17),u=c(29)("toStringTag");g.exports=function(p,a,i){p&&!n(p=i?p:p.prototype,u)&&r(p,u,{configurable:!0,value:a})}},function(g,s,c){var r=c(27)("wks"),n=c(30),u=c(16).Symbol;g.exports=function(p){return r[p]||(r[p]=u&&u[p]||(u||n)("Symbol."+p))}},function(g,s){var c=0,r=Math.random();g.exports=function(n){return"Symbol(".concat(n===void 0?"":n,")_",(++c+r).toString(36))}},function(g,s,c){var r=c(9),n=c(32);g.exports=function(u,p){for(var a,i=n(u),l=r.getKeys(i),v=l.length,o=0;v>o;)if(i[a=l[o++]]===p)return a}},function(g,s,c){var r=c(33),n=c(35);g.exports=function(u){return r(n(u))}},function(g,s,c){var r=c(34);g.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return r(n)=="String"?n.split(""):Object(n)}},function(g,s){var c={}.toString;g.exports=function(r){return c.call(r).slice(8,-1)}},function(g,s){g.exports=function(c){if(c==null)throw TypeError("Can't call method on "+c);return c}},function(g,s,c){var r=c(32),n=c(9).getNames,u={}.toString,p=typeof window=="object"&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(i){try{return n(i)}catch(l){return p.slice()}};g.exports.get=function(i){return p&&u.call(i)=="[object Window]"?a(i):n(r(i))}},function(g,s,c){var r=c(9);g.exports=function(n){var u=r.getKeys(n),p=r.getSymbols;if(p)for(var a,i=p(n),l=r.isEnum,v=0;i.length>v;)l.call(n,a=i[v++])&&u.push(a);return u}},function(g,s,c){var r=c(34);g.exports=Array.isArray||function(n){return r(n)=="Array"}},function(g,s,c){var r=c(40);g.exports=function(n){if(!r(n))throw TypeError(n+" is not an object!");return n}},function(g,s){g.exports=function(c){return typeof c=="object"?c!==null:typeof c=="function"}},function(g,s){g.exports=!0},function(g,s){},function(g,s,c){g.exports={default:c(44),__esModule:!0}},function(g,s,c){c(45),c(51),g.exports=c(29)("iterator")},function(g,s,c){"use strict";var r=c(46)(!0);c(48)(String,"String",function(n){this._t=String(n),this._i=0},function(){var n,u=this._t,p=this._i;return p>=u.length?{value:void 0,done:!0}:(n=r(u,p),this._i+=n.length,{value:n,done:!1})})},function(g,s,c){var r=c(47),n=c(35);g.exports=function(u){return function(p,a){var i,l,v=String(n(p)),o=r(a),m=v.length;return o<0||o>=m?u?"":void 0:(i=v.charCodeAt(o),i<55296||i>56319||o+1===m||(l=v.charCodeAt(o+1))<56320||l>57343?u?v.charAt(o):i:u?v.slice(o,o+2):(i-55296<<10)+(l-56320)+65536)}}},function(g,s){var c=Math.ceil,r=Math.floor;g.exports=function(n){return isNaN(n=+n)?0:(n>0?r:c)(n)}},function(g,s,c){"use strict";var r=c(41),n=c(20),u=c(24),p=c(25),a=c(17),i=c(49),l=c(50),v=c(28),o=c(9).getProto,m=c(29)("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",y="keys",E="values",S=function(){return this};g.exports=function(_,A,C,D,b,F,N){l(C,A,D);var I,T,P=function(H){if(!d&&H in O)return O[H];switch(H){case y:return function(){return new C(this,H)};case E:return function(){return new C(this,H)}}return function(){return new C(this,H)}},B=A+" Iterator",W=b==E,G=!1,O=_.prototype,k=O[m]||O[h]||b&&O[b],$=k||P(b);if(k){var z=o($.call(new _));v(z,B,!0),!r&&a(O,h)&&p(z,m,S),W&&k.name!==E&&(G=!0,$=function(){return k.call(this)})}if(r&&!N||!d&&!G&&O[m]||p(O,m,$),i[A]=$,i[B]=S,b)if(I={values:W?$:P(E),keys:F?$:P(y),entries:W?P("entries"):$},N)for(T in I)T in O||u(O,T,I[T]);else n(n.P+n.F*(d||G),A,I);return I}},function(g,s){g.exports={}},function(g,s,c){"use strict";var r=c(9),n=c(26),u=c(28),p={};c(25)(p,c(29)("iterator"),function(){return this}),g.exports=function(a,i,l){a.prototype=r.create(p,{next:n(1,l)}),u(a,i+" Iterator")}},function(g,s,c){c(52);var r=c(49);r.NodeList=r.HTMLCollection=r.Array},function(g,s,c){"use strict";var r=c(53),n=c(54),u=c(49),p=c(32);g.exports=c(48)(Array,"Array",function(a,i){this._t=p(a),this._i=0,this._k=i},function(){var a=this._t,i=this._k,l=this._i++;return!a||l>=a.length?(this._t=void 0,n(1)):i=="keys"?n(0,l):i=="values"?n(0,a[l]):n(0,[l,a[l]])},"values"),u.Arguments=u.Array,r("keys"),r("values"),r("entries")},function(g,s){g.exports=function(){}},function(g,s){g.exports=function(c,r){return{value:r,done:!!c}}},function(g,s,c){g.exports={default:c(56),__esModule:!0}},function(g,s,c){c(51),c(45),g.exports=c(57)},function(g,s,c){var r=c(39),n=c(58);g.exports=c(21).getIterator=function(u){var p=n(u);if(typeof p!="function")throw TypeError(u+" is not iterable!");return r(p.call(u))}},function(g,s,c){var r=c(59),n=c(29)("iterator"),u=c(49);g.exports=c(21).getIteratorMethod=function(p){if(p!=null)return p[n]||p["@@iterator"]||u[r(p)]}},function(g,s,c){var r=c(34),n=c(29)("toStringTag"),u=r(function(){return arguments}())=="Arguments";g.exports=function(p){var a,i,l;return p===void 0?"Undefined":p===null?"Null":typeof(i=(a=Object(p))[n])=="string"?i:u?r(a):(l=r(a))=="Object"&&typeof a.callee=="function"?"Arguments":l}},function(g,s,c){g.exports={default:c(61),__esModule:!0}},function(g,s,c){c(62),g.exports=c(21).Object.keys},function(g,s,c){var r=c(63);c(64)("keys",function(n){return function(u){return n(r(u))}})},function(g,s,c){var r=c(35);g.exports=function(n){return Object(r(n))}},function(g,s,c){var r=c(20),n=c(21),u=c(19);g.exports=function(p,a){var i=(n.Object||{})[p]||Object[p],l={};l[p]=a(i),r(r.S+r.F*u(function(){i(1)}),"Object",l)}},function(g,s,c){"use strict";var r=c(1).default;s.__esModule=!0;var n=c(6),u=r(n);s.default=function(p){p.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new u.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},g.exports=s.default},function(g,s,c){"use strict";var r=c(1).default;s.__esModule=!0;var n=c(5),u=c(6),p=r(u);s.default=function(a){a.registerHelper("if",function(i,l){if(arguments.length!=2)throw new p.default("#if requires exactly one argument");return n.isFunction(i)&&(i=i.call(this)),!l.hash.includeZero&&!i||n.isEmpty(i)?l.inverse(this):l.fn(this)}),a.registerHelper("unless",function(i,l){if(arguments.length!=2)throw new p.default("#unless requires exactly one argument");return a.helpers.if.call(this,i,{fn:l.inverse,inverse:l.fn,hash:l.hash})})},g.exports=s.default},function(g,s){"use strict";s.__esModule=!0,s.default=function(c){c.registerHelper("log",function(){for(var r=[void 0],n=arguments[arguments.length-1],u=0;u=0?p:parseInt(u,10)}return u},log:function(u){if(u=n.lookupLevel(u),typeof console!="undefined"&&n.lookupLevel(n.level)<=u){var p=n.methodMap[u];console[p]||(p="log");for(var a=arguments.length,i=Array(a>1?a-1:0),l=1;l= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};s.REVISION_CHANGES=E;var S="[object Object]";r.prototype={constructor:r,logger:o.default,log:o.default.log,registerHelper:function(A,C){if(u.toString.call(A)===S){if(C)throw new a.default("Arg not supported with multiple helpers");u.extend(this.helpers,A)}else this.helpers[A]=C},unregisterHelper:function(A){delete this.helpers[A]},registerPartial:function(A,C){if(u.toString.call(A)===S)u.extend(this.partials,A);else{if(typeof C=="undefined")throw new a.default('Attempting to register a partial called "'+A+'" as undefined');this.partials[A]=C}},unregisterPartial:function(A){delete this.partials[A]},registerDecorator:function(A,C){if(u.toString.call(A)===S){if(C)throw new a.default("Arg not supported with multiple decorators");u.extend(this.decorators,A)}else this.decorators[A]=C},unregisterDecorator:function(A){delete this.decorators[A]},resetLoggedPropertyAccesses:function(){m.resetLoggedProperties()}};var b=o.default.log;s.log=b,s.createFrame=u.createFrame,s.logger=o.default},function(g,s){"use strict";function c(E){return v[E]}function r(E){for(var S=1;S":">",'"':""","'":"'","`":"`","=":"="},o=/[&<>"'`=]/g,m=/[&<>"'`=]/,d=Object.prototype.toString;s.toString=d;var p=function(E){return typeof E=="function"};p(/x/)&&(s.isFunction=p=function(E){return typeof E=="function"&&d.call(E)==="[object Function]"}),s.isFunction=p;var y=Array.isArray||function(E){return!(!E||typeof E!="object")&&d.call(E)==="[object Array]"};s.isArray=y},function(g,s,c){"use strict";function r(h,a){var i=a&&a.loc,l=void 0,v=void 0,o=void 0,m=void 0;i&&(l=i.start.line,v=i.end.line,o=i.start.column,m=i.end.column,h+=" - "+l+":"+o);for(var d=Error.prototype.constructor.call(this,h),p=0;p0?(h.ids&&(h.ids=[h.name]),n.helpers.each(u,h)):a(this);if(h.data&&h.ids){var l=r.createFrame(h.data);l.contextPath=r.appendContextPath(h.data.contextPath,h.name),h={data:l}}return i(u,h)})},g.exports=s.default},function(g,s,c){"use strict";var r=c(13).default,n=c(43).default,u=c(55).default,h=c(60).default,a=c(1).default;s.__esModule=!0;var i=c(5),l=c(6),v=a(l);s.default=function(o){o.registerHelper("each",function(m,d){function p(I,T,P){A&&(A.key=I,A.index=T,A.first=T===0,A.last=!!P,C&&(A.contextPath=C+I)),b+=y(m[I],{data:A,blockParams:i.blockParams([m[I],I],[C+I,null])})}if(!d)throw new v.default("Must pass iterator to #each");var y=d.fn,E=d.inverse,S=0,b="",A=void 0,C=void 0;if(d.data&&d.ids&&(C=i.appendContextPath(d.data.contextPath,d.ids[0])+"."),i.isFunction(m)&&(m=m.call(this)),d.data&&(A=i.createFrame(d.data)),m&&typeof m=="object")if(i.isArray(m))for(var _=m.length;S<_;S++)S in m&&p(S,S,S===m.length-1);else if(typeof r=="function"&&m[n]){for(var R=[],F=u(m),N=F.next();!N.done;N=F.next())R.push(N.value);m=R;for(var _=m.length;S<_;S++)p(S,S,S===m.length-1)}else(function(){var I=void 0;h(m).forEach(function(T){I!==void 0&&p(I,S-1),I=T,S++}),I!==void 0&&p(I,S-1,!0)})();return S===0&&(b=E(this)),b})},g.exports=s.default},function(g,s,c){g.exports={default:c(14),__esModule:!0}},function(g,s,c){c(15),c(42),g.exports=c(21).Symbol},function(g,s,c){"use strict";var r=c(9),n=c(16),u=c(17),h=c(18),a=c(20),i=c(24),l=c(19),v=c(27),o=c(28),m=c(30),d=c(29),p=c(31),y=c(36),E=c(37),S=c(38),b=c(39),A=c(32),C=c(26),_=r.getDesc,R=r.setDesc,F=r.create,N=y.get,I=n.Symbol,T=n.JSON,P=T&&T.stringify,B=!1,W=d("_hidden"),G=r.isEnum,O=v("symbol-registry"),k=v("symbols"),$=typeof I=="function",z=Object.prototype,H=h&&l(function(){return F(R({},"a",{get:function(){return R(this,"a",{value:7}).a}})).a!=7})?function(pe,Re,Se){var Fe=_(z,Re);Fe&&delete z[Re],R(pe,Re,Se),Fe&&pe!==z&&R(z,Re,Fe)}:R,j=function(pe){var Re=k[pe]=F(I.prototype);return Re._k=pe,h&&B&&H(z,pe,{configurable:!0,set:function(Se){u(this,W)&&u(this[W],pe)&&(this[W][pe]=!1),H(this,pe,C(1,Se))}}),Re},ie=function(pe){return typeof pe=="symbol"},fe=function(pe,Re,Se){return Se&&u(k,Re)?(Se.enumerable?(u(pe,W)&&pe[W][Re]&&(pe[W][Re]=!1),Se=F(Se,{enumerable:C(0,!1)})):(u(pe,W)||R(pe,W,C(1,{})),pe[W][Re]=!0),H(pe,Re,Se)):R(pe,Re,Se)},Z=function(pe,Re){b(pe);for(var Se,Fe=E(Re=A(Re)),dt=0,Ht=Fe.length;Ht>dt;)fe(pe,Se=Fe[dt++],Re[Se]);return pe},ye=function(pe,Re){return Re===void 0?F(pe):Z(F(pe),Re)},Ae=function(pe){var Re=G.call(this,pe);return!(Re||!u(this,pe)||!u(k,pe)||u(this,W)&&this[W][pe])||Re},xe=function(pe,Re){var Se=_(pe=A(pe),Re);return!Se||!u(k,Re)||u(pe,W)&&pe[W][Re]||(Se.enumerable=!0),Se},qe=function(pe){for(var Re,Se=N(A(pe)),Fe=[],dt=0;Se.length>dt;)u(k,Re=Se[dt++])||Re==W||Fe.push(Re);return Fe},pt=function(pe){for(var Re,Se=N(A(pe)),Fe=[],dt=0;Se.length>dt;)u(k,Re=Se[dt++])&&Fe.push(k[Re]);return Fe},yt=function(pe){if(pe!==void 0&&!ie(pe)){for(var Re,Se,Fe=[pe],dt=1,Ht=arguments;Ht.length>dt;)Fe.push(Ht[dt++]);return Re=Fe[1],typeof Re=="function"&&(Se=Re),!Se&&S(Re)||(Re=function(tt,Le){if(Se&&(Le=Se.call(this,tt,Le)),!ie(Le))return Le}),Fe[1]=Re,P.apply(T,Fe)}},At=l(function(){var pe=I();return P([pe])!="[null]"||P({a:pe})!="{}"||P(Object(pe))!="{}"});$||(I=function(){if(ie(this))throw TypeError("Symbol is not a constructor");return j(m(arguments.length>0?arguments[0]:void 0))},i(I.prototype,"toString",function(){return this._k}),ie=function(pe){return pe instanceof I},r.create=ye,r.isEnum=Ae,r.getDesc=xe,r.setDesc=fe,r.setDescs=Z,r.getNames=y.get=qe,r.getSymbols=pt,h&&!c(41)&&i(z,"propertyIsEnumerable",Ae,!0));var Dt={for:function(pe){return u(O,pe+="")?O[pe]:O[pe]=I(pe)},keyFor:function(pe){return p(O,pe)},useSetter:function(){B=!0},useSimple:function(){B=!1}};r.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(pe){var Re=d(pe);Dt[pe]=$?Re:j(Re)}),B=!0,a(a.G+a.W,{Symbol:I}),a(a.S,"Symbol",Dt),a(a.S+a.F*!$,"Object",{create:ye,defineProperty:fe,defineProperties:Z,getOwnPropertyDescriptor:xe,getOwnPropertyNames:qe,getOwnPropertySymbols:pt}),T&&a(a.S+a.F*(!$||At),"JSON",{stringify:yt}),o(I,"Symbol"),o(Math,"Math",!0),o(n.JSON,"JSON",!0)},function(g,s){var c=g.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=c)},function(g,s){var c={}.hasOwnProperty;g.exports=function(r,n){return c.call(r,n)}},function(g,s,c){g.exports=!c(19)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(g,s){g.exports=function(c){try{return!!c()}catch(r){return!0}}},function(g,s,c){var r=c(16),n=c(21),u=c(22),h="prototype",a=function(i,l,v){var o,m,d,p=i&a.F,y=i&a.G,E=i&a.S,S=i&a.P,b=i&a.B,A=i&a.W,C=y?n:n[l]||(n[l]={}),_=y?r:E?r[l]:(r[l]||{})[h];y&&(v=l);for(o in v)m=!p&&_&&o in _,m&&o in C||(d=m?_[o]:v[o],C[o]=y&&typeof _[o]!="function"?v[o]:b&&m?u(d,r):A&&_[o]==d?function(R){var F=function(N){return this instanceof R?new R(N):R(N)};return F[h]=R[h],F}(d):S&&typeof d=="function"?u(Function.call,d):d,S&&((C[h]||(C[h]={}))[o]=d))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,g.exports=a},function(g,s){var c=g.exports={version:"1.2.6"};typeof __e=="number"&&(__e=c)},function(g,s,c){var r=c(23);g.exports=function(n,u,h){if(r(n),u===void 0)return n;switch(h){case 1:return function(a){return n.call(u,a)};case 2:return function(a,i){return n.call(u,a,i)};case 3:return function(a,i,l){return n.call(u,a,i,l)}}return function(){return n.apply(u,arguments)}}},function(g,s){g.exports=function(c){if(typeof c!="function")throw TypeError(c+" is not a function!");return c}},function(g,s,c){g.exports=c(25)},function(g,s,c){var r=c(9),n=c(26);g.exports=c(18)?function(u,h,a){return r.setDesc(u,h,n(1,a))}:function(u,h,a){return u[h]=a,u}},function(g,s){g.exports=function(c,r){return{enumerable:!(1&c),configurable:!(2&c),writable:!(4&c),value:r}}},function(g,s,c){var r=c(16),n="__core-js_shared__",u=r[n]||(r[n]={});g.exports=function(h){return u[h]||(u[h]={})}},function(g,s,c){var r=c(9).setDesc,n=c(17),u=c(29)("toStringTag");g.exports=function(h,a,i){h&&!n(h=i?h:h.prototype,u)&&r(h,u,{configurable:!0,value:a})}},function(g,s,c){var r=c(27)("wks"),n=c(30),u=c(16).Symbol;g.exports=function(h){return r[h]||(r[h]=u&&u[h]||(u||n)("Symbol."+h))}},function(g,s){var c=0,r=Math.random();g.exports=function(n){return"Symbol(".concat(n===void 0?"":n,")_",(++c+r).toString(36))}},function(g,s,c){var r=c(9),n=c(32);g.exports=function(u,h){for(var a,i=n(u),l=r.getKeys(i),v=l.length,o=0;v>o;)if(i[a=l[o++]]===h)return a}},function(g,s,c){var r=c(33),n=c(35);g.exports=function(u){return r(n(u))}},function(g,s,c){var r=c(34);g.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return r(n)=="String"?n.split(""):Object(n)}},function(g,s){var c={}.toString;g.exports=function(r){return c.call(r).slice(8,-1)}},function(g,s){g.exports=function(c){if(c==null)throw TypeError("Can't call method on "+c);return c}},function(g,s,c){var r=c(32),n=c(9).getNames,u={}.toString,h=typeof window=="object"&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(i){try{return n(i)}catch(l){return h.slice()}};g.exports.get=function(i){return h&&u.call(i)=="[object Window]"?a(i):n(r(i))}},function(g,s,c){var r=c(9);g.exports=function(n){var u=r.getKeys(n),h=r.getSymbols;if(h)for(var a,i=h(n),l=r.isEnum,v=0;i.length>v;)l.call(n,a=i[v++])&&u.push(a);return u}},function(g,s,c){var r=c(34);g.exports=Array.isArray||function(n){return r(n)=="Array"}},function(g,s,c){var r=c(40);g.exports=function(n){if(!r(n))throw TypeError(n+" is not an object!");return n}},function(g,s){g.exports=function(c){return typeof c=="object"?c!==null:typeof c=="function"}},function(g,s){g.exports=!0},function(g,s){},function(g,s,c){g.exports={default:c(44),__esModule:!0}},function(g,s,c){c(45),c(51),g.exports=c(29)("iterator")},function(g,s,c){"use strict";var r=c(46)(!0);c(48)(String,"String",function(n){this._t=String(n),this._i=0},function(){var n,u=this._t,h=this._i;return h>=u.length?{value:void 0,done:!0}:(n=r(u,h),this._i+=n.length,{value:n,done:!1})})},function(g,s,c){var r=c(47),n=c(35);g.exports=function(u){return function(h,a){var i,l,v=String(n(h)),o=r(a),m=v.length;return o<0||o>=m?u?"":void 0:(i=v.charCodeAt(o),i<55296||i>56319||o+1===m||(l=v.charCodeAt(o+1))<56320||l>57343?u?v.charAt(o):i:u?v.slice(o,o+2):(i-55296<<10)+(l-56320)+65536)}}},function(g,s){var c=Math.ceil,r=Math.floor;g.exports=function(n){return isNaN(n=+n)?0:(n>0?r:c)(n)}},function(g,s,c){"use strict";var r=c(41),n=c(20),u=c(24),h=c(25),a=c(17),i=c(49),l=c(50),v=c(28),o=c(9).getProto,m=c(29)("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",y="keys",E="values",S=function(){return this};g.exports=function(b,A,C,_,R,F,N){l(C,A,_);var I,T,P=function(H){if(!d&&H in O)return O[H];switch(H){case y:return function(){return new C(this,H)};case E:return function(){return new C(this,H)}}return function(){return new C(this,H)}},B=A+" Iterator",W=R==E,G=!1,O=b.prototype,k=O[m]||O[p]||R&&O[R],$=k||P(R);if(k){var z=o($.call(new b));v(z,B,!0),!r&&a(O,p)&&h(z,m,S),W&&k.name!==E&&(G=!0,$=function(){return k.call(this)})}if(r&&!N||!d&&!G&&O[m]||h(O,m,$),i[A]=$,i[B]=S,R)if(I={values:W?$:P(E),keys:F?$:P(y),entries:W?P("entries"):$},N)for(T in I)T in O||u(O,T,I[T]);else n(n.P+n.F*(d||G),A,I);return I}},function(g,s){g.exports={}},function(g,s,c){"use strict";var r=c(9),n=c(26),u=c(28),h={};c(25)(h,c(29)("iterator"),function(){return this}),g.exports=function(a,i,l){a.prototype=r.create(h,{next:n(1,l)}),u(a,i+" Iterator")}},function(g,s,c){c(52);var r=c(49);r.NodeList=r.HTMLCollection=r.Array},function(g,s,c){"use strict";var r=c(53),n=c(54),u=c(49),h=c(32);g.exports=c(48)(Array,"Array",function(a,i){this._t=h(a),this._i=0,this._k=i},function(){var a=this._t,i=this._k,l=this._i++;return!a||l>=a.length?(this._t=void 0,n(1)):i=="keys"?n(0,l):i=="values"?n(0,a[l]):n(0,[l,a[l]])},"values"),u.Arguments=u.Array,r("keys"),r("values"),r("entries")},function(g,s){g.exports=function(){}},function(g,s){g.exports=function(c,r){return{value:r,done:!!c}}},function(g,s,c){g.exports={default:c(56),__esModule:!0}},function(g,s,c){c(51),c(45),g.exports=c(57)},function(g,s,c){var r=c(39),n=c(58);g.exports=c(21).getIterator=function(u){var h=n(u);if(typeof h!="function")throw TypeError(u+" is not iterable!");return r(h.call(u))}},function(g,s,c){var r=c(59),n=c(29)("iterator"),u=c(49);g.exports=c(21).getIteratorMethod=function(h){if(h!=null)return h[n]||h["@@iterator"]||u[r(h)]}},function(g,s,c){var r=c(34),n=c(29)("toStringTag"),u=r(function(){return arguments}())=="Arguments";g.exports=function(h){var a,i,l;return h===void 0?"Undefined":h===null?"Null":typeof(i=(a=Object(h))[n])=="string"?i:u?r(a):(l=r(a))=="Object"&&typeof a.callee=="function"?"Arguments":l}},function(g,s,c){g.exports={default:c(61),__esModule:!0}},function(g,s,c){c(62),g.exports=c(21).Object.keys},function(g,s,c){var r=c(63);c(64)("keys",function(n){return function(u){return n(r(u))}})},function(g,s,c){var r=c(35);g.exports=function(n){return Object(r(n))}},function(g,s,c){var r=c(20),n=c(21),u=c(19);g.exports=function(h,a){var i=(n.Object||{})[h]||Object[h],l={};l[h]=a(i),r(r.S+r.F*u(function(){i(1)}),"Object",l)}},function(g,s,c){"use strict";var r=c(1).default;s.__esModule=!0;var n=c(6),u=r(n);s.default=function(h){h.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new u.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},g.exports=s.default},function(g,s,c){"use strict";var r=c(1).default;s.__esModule=!0;var n=c(5),u=c(6),h=r(u);s.default=function(a){a.registerHelper("if",function(i,l){if(arguments.length!=2)throw new h.default("#if requires exactly one argument");return n.isFunction(i)&&(i=i.call(this)),!l.hash.includeZero&&!i||n.isEmpty(i)?l.inverse(this):l.fn(this)}),a.registerHelper("unless",function(i,l){if(arguments.length!=2)throw new h.default("#unless requires exactly one argument");return a.helpers.if.call(this,i,{fn:l.inverse,inverse:l.fn,hash:l.hash})})},g.exports=s.default},function(g,s){"use strict";s.__esModule=!0,s.default=function(c){c.registerHelper("log",function(){for(var r=[void 0],n=arguments[arguments.length-1],u=0;u=0?h:parseInt(u,10)}return u},log:function(u){if(u=n.lookupLevel(u),typeof console!="undefined"&&n.lookupLevel(n.level)<=u){var h=n.methodMap[u];console[h]||(h="log");for(var a=arguments.length,i=Array(a>1?a-1:0),l=1;l=D.LAST_COMPATIBLE_COMPILER_REVISION&&T<=D.COMPILER_REVISION)){if(T=_.LAST_COMPATIBLE_COMPILER_REVISION&&T<=_.COMPILER_REVISION)){if(T<_.LAST_COMPATIBLE_COMPILER_REVISION){var B=_.REVISION_CHANGES[P],W=_.REVISION_CHANGES[T];throw new C.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+B+") or downgrade your runtime to an older version ("+W+").")}throw new C.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+I[1]+").")}}function n(I,T){function P(O,k,$){$.hash&&(k=b.extend({},k,$.hash),$.ids&&($.ids[0]=!0)),O=T.VM.resolvePartial.call(this,O,k,$);var z=b.extend({},$,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),H=T.VM.invokePartial.call(this,O,k,z);if(H==null&&T.compile&&($.partials[$.name]=T.compile(O,I.compilerOptions,T),H=$.partials[$.name](k,z)),H!=null){if($.indent){for(var j=H.split(` `),ie=0,fe=j.length;ie2&&P.push("'"+this.terminals_[N]+"'");W=this.lexer.showPosition?"Parse error on line "+(h+1)+`: +`)}return H}throw new C.default("The partial "+$.name+" could not be compiled when running in runtime-only mode")}function B(O){function k(ie){return""+I.main(G,ie,G.helpers,G.partials,z,j,H)}var $=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],z=$.data;B._setup($),!$.partial&&I.useData&&(z=l(O,z));var H=void 0,j=I.useBlockParams?[]:void 0;return I.useDepths&&(H=$.depths?O!=$.depths[0]?[O].concat($.depths):$.depths:[O]),(k=v(I.main,k,G,$.depths||[],z,j))(O,$)}if(!T)throw new C.default("No environment passed to template");if(!I||!I.main)throw new C.default("Unknown template object: "+typeof I);I.main.decorator=I.main_d,T.VM.checkRevision(I.compiler);var W=I.compiler&&I.compiler[0]===7,G={strict:function(O,k,$){if(!(O&&k in O))throw new C.default('"'+k+'" not defined in '+O,{loc:$});return G.lookupProperty(O,k)},lookupProperty:function(O,k){var $=O[k];return $==null||Object.prototype.hasOwnProperty.call(O,k)||N.resultIsAllowed($,G.protoAccessControl,k)?$:void 0},lookup:function(O,k){for(var $=O.length,z=0;z<$;z++){var H=O[z]&&G.lookupProperty(O[z],k);if(H!=null)return O[z][k]}},lambda:function(O,k){return typeof O=="function"?O.call(k):O},escapeExpression:b.escapeExpression,invokePartial:P,fn:function(O){var k=I[O];return k.decorator=I[O+"_d"],k},programs:[],program:function(O,k,$,z,H){var j=this.programs[O],ie=this.fn(O);return k||H||z||$?j=u(this,O,ie,k,$,z,H):j||(j=this.programs[O]=u(this,O,ie)),j},data:function(O,k){for(;O&&k--;)O=O._parent;return O},mergeIfNeeded:function(O,k){var $=O||k;return O&&k&&O!==k&&($=b.extend({},k,O)),$},nullContext:d({}),noop:T.VM.noop,compilerInfo:I.compiler};return B.isTop=!0,B._setup=function(O){if(O.partial)G.protoAccessControl=O.protoAccessControl,G.helpers=O.helpers,G.partials=O.partials,G.decorators=O.decorators,G.hooks=O.hooks;else{var k=b.extend({},T.helpers,O.helpers);o(k,G),G.helpers=k,I.usePartial&&(G.partials=G.mergeIfNeeded(O.partials,T.partials)),(I.usePartial||I.useDecorators)&&(G.decorators=b.extend({},T.decorators,O.decorators)),G.hooks={},G.protoAccessControl=N.createProtoAccessControl(O);var $=O.allowCallsToHelperMissing||W;R.moveHelperToHooks(G,"helperMissing",$),R.moveHelperToHooks(G,"blockHelperMissing",$)}},B._child=function(O,k,$,z){if(I.useBlockParams&&!$)throw new C.default("must pass block params");if(I.useDepths&&!z)throw new C.default("must pass parent depths");return u(G,O,I[O],k,0,$,z)},B}function u(I,T,P,B,W,G,O){function k($){var z=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],H=O;return!O||$==O[0]||$===I.nullContext&&O[0]===null||(H=[$].concat(O)),P(I,$,I.helpers,I.partials,z.data||B,G&&[z.blockParams].concat(G),H)}return k=v(P,k,I,O,B,G),k.program=T,k.depth=O?O.length:0,k.blockParams=W||0,k}function h(I,T,P){return I?I.call||P.name||(P.name=I,I=P.partials[I]):I=P.name==="@partial-block"?P.data["partial-block"]:P.partials[P.name],I}function a(I,T,P){var B=P.data&&P.data["partial-block"];P.partial=!0,P.ids&&(P.data.contextPath=P.ids[0]||P.data.contextPath);var W=void 0;if(P.fn&&P.fn!==i&&function(){P.data=_.createFrame(P.data);var G=P.fn;W=P.data["partial-block"]=function(O){var k=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return k.data=_.createFrame(k.data),k.data["partial-block"]=B,G(O,k)},G.partials&&(P.partials=b.extend({},P.partials,G.partials))}(),I===void 0&&W&&(I=W),I===void 0)throw new C.default("The partial "+P.name+" could not be found");if(I instanceof Function)return I(T,P)}function i(){return""}function l(I,T){return T&&"root"in T||(T=T?_.createFrame(T):{},T.root=I),T}function v(I,T,P,B,W,G){if(I.decorator){var O={};T=I.decorator(T,O,P,B&&B[0],W,G,B),b.extend(T,O)}return T}function o(I,T){p(I).forEach(function(P){var B=I[P];I[P]=m(B,T)})}function m(I,T){var P=T.lookupProperty;return F.wrapHelper(I,function(B){return b.extend({lookupProperty:P},B)})}var d=c(79).default,p=c(60).default,y=c(3).default,E=c(1).default;s.__esModule=!0,s.checkRevision=r,s.template=n,s.wrapProgram=u,s.resolvePartial=h,s.invokePartial=a,s.noop=i;var S=c(5),b=y(S),A=c(6),C=E(A),_=c(4),R=c(10),F=c(82),N=c(73)},function(g,s,c){g.exports={default:c(80),__esModule:!0}},function(g,s,c){c(81),g.exports=c(21).Object.seal},function(g,s,c){var r=c(40);c(64)("seal",function(n){return function(u){return n&&r(u)?n(u):u}})},function(g,s){"use strict";function c(r,n){if(typeof r!="function")return r;var u=function(){var h=arguments[arguments.length-1];return arguments[arguments.length-1]=n(h),r.apply(this,arguments)};return u}s.__esModule=!0,s.wrapHelper=c},function(g,s){"use strict";s.__esModule=!0,s.default=function(c){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var r=globalThis.Handlebars;c.noConflict=function(){return globalThis.Handlebars===c&&(globalThis.Handlebars=r),c}},g.exports=s.default},function(g,s){"use strict";s.__esModule=!0;var c={helpers:{helperExpression:function(r){return r.type==="SubExpression"||(r.type==="MustacheStatement"||r.type==="BlockStatement")&&!!(r.params&&r.params.length||r.hash)},scopedId:function(r){return/^\.|this\b/.test(r.original)},simpleId:function(r){return r.parts.length===1&&!c.helpers.scopedId(r)&&!r.depth}}};s.default=c,g.exports=s.default},function(g,s,c){"use strict";function r(y,E){if(y.type==="Program")return y;i.default.yy=p,p.locInfo=function(b){return new p.SourceLocation(E&&E.srcName,b)};var S=i.default.parse(y);return S}function n(y,E){var S=r(y,E),b=new v.default(E);return b.accept(S)}var u=c(1).default,h=c(3).default;s.__esModule=!0,s.parseWithoutProcessing=r,s.parse=n;var a=c(86),i=u(a),l=c(87),v=u(l),o=c(89),m=h(o),d=c(5);s.parser=i.default;var p={};d.extend(p,m)},function(g,s){"use strict";s.__esModule=!0;var c=function(){function r(){this.yy={}}var n={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(h,a,i,l,v,o,m){var d=o.length-1;switch(v){case 1:return o[d-1];case 2:this.$=l.prepareProgram(o[d]);break;case 3:this.$=o[d];break;case 4:this.$=o[d];break;case 5:this.$=o[d];break;case 6:this.$=o[d];break;case 7:this.$=o[d];break;case 8:this.$=o[d];break;case 9:this.$={type:"CommentStatement",value:l.stripComment(o[d]),strip:l.stripFlags(o[d],o[d]),loc:l.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:o[d],value:o[d],loc:l.locInfo(this._$)};break;case 11:this.$=l.prepareRawBlock(o[d-2],o[d-1],o[d],this._$);break;case 12:this.$={path:o[d-3],params:o[d-2],hash:o[d-1]};break;case 13:this.$=l.prepareBlock(o[d-3],o[d-2],o[d-1],o[d],!1,this._$);break;case 14:this.$=l.prepareBlock(o[d-3],o[d-2],o[d-1],o[d],!0,this._$);break;case 15:this.$={open:o[d-5],path:o[d-4],params:o[d-3],hash:o[d-2],blockParams:o[d-1],strip:l.stripFlags(o[d-5],o[d])};break;case 16:this.$={path:o[d-4],params:o[d-3],hash:o[d-2],blockParams:o[d-1],strip:l.stripFlags(o[d-5],o[d])};break;case 17:this.$={path:o[d-4],params:o[d-3],hash:o[d-2],blockParams:o[d-1],strip:l.stripFlags(o[d-5],o[d])};break;case 18:this.$={strip:l.stripFlags(o[d-1],o[d-1]),program:o[d]};break;case 19:var p=l.prepareBlock(o[d-2],o[d-1],o[d],o[d],!1,this._$),y=l.prepareProgram([p],o[d-1].loc);y.chained=!0,this.$={strip:o[d-2].strip,program:y,chain:!0};break;case 20:this.$=o[d];break;case 21:this.$={path:o[d-1],strip:l.stripFlags(o[d-2],o[d])};break;case 22:this.$=l.prepareMustache(o[d-3],o[d-2],o[d-1],o[d-4],l.stripFlags(o[d-4],o[d]),this._$);break;case 23:this.$=l.prepareMustache(o[d-3],o[d-2],o[d-1],o[d-4],l.stripFlags(o[d-4],o[d]),this._$);break;case 24:this.$={type:"PartialStatement",name:o[d-3],params:o[d-2],hash:o[d-1],indent:"",strip:l.stripFlags(o[d-4],o[d]),loc:l.locInfo(this._$)};break;case 25:this.$=l.preparePartialBlock(o[d-2],o[d-1],o[d],this._$);break;case 26:this.$={path:o[d-3],params:o[d-2],hash:o[d-1],strip:l.stripFlags(o[d-4],o[d])};break;case 27:this.$=o[d];break;case 28:this.$=o[d];break;case 29:this.$={type:"SubExpression",path:o[d-3],params:o[d-2],hash:o[d-1],loc:l.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:o[d],loc:l.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:l.id(o[d-2]),value:o[d],loc:l.locInfo(this._$)};break;case 32:this.$=l.id(o[d-1]);break;case 33:this.$=o[d];break;case 34:this.$=o[d];break;case 35:this.$={type:"StringLiteral",value:o[d],original:o[d],loc:l.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(o[d]),original:Number(o[d]),loc:l.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:o[d]==="true",original:o[d]==="true",loc:l.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:l.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:l.locInfo(this._$)};break;case 40:this.$=o[d];break;case 41:this.$=o[d];break;case 42:this.$=l.preparePath(!0,o[d],this._$);break;case 43:this.$=l.preparePath(!1,o[d],this._$);break;case 44:o[d-2].push({part:l.id(o[d]),original:o[d],separator:o[d-1]}),this.$=o[d-2];break;case 45:this.$=[{part:l.id(o[d]),original:o[d]}];break;case 46:this.$=[];break;case 47:o[d-1].push(o[d]);break;case 48:this.$=[];break;case 49:o[d-1].push(o[d]);break;case 50:this.$=[];break;case 51:o[d-1].push(o[d]);break;case 58:this.$=[];break;case 59:o[d-1].push(o[d]);break;case 64:this.$=[];break;case 65:o[d-1].push(o[d]);break;case 70:this.$=[];break;case 71:o[d-1].push(o[d]);break;case 78:this.$=[];break;case 79:o[d-1].push(o[d]);break;case 82:this.$=[];break;case 83:o[d-1].push(o[d]);break;case 86:this.$=[];break;case 87:o[d-1].push(o[d]);break;case 90:this.$=[];break;case 91:o[d-1].push(o[d]);break;case 94:this.$=[];break;case 95:o[d-1].push(o[d]);break;case 98:this.$=[o[d]];break;case 99:o[d-1].push(o[d]);break;case 100:this.$=[o[d]];break;case 101:o[d-1].push(o[d])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(h,a){throw new Error(h)},parse:function(h){function a(){var G;return G=i.lexer.lex()||1,typeof G!="number"&&(G=i.symbols_[G]||G),G}var i=this,l=[0],v=[null],o=[],m=this.table,d="",p=0,y=0,E=0;this.lexer.setInput(h),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc=="undefined"&&(this.lexer.yylloc={});var S=this.lexer.yylloc;o.push(S);var b=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);for(var A,C,_,R,F,N,I,T,P,B={};;){if(_=l[l.length-1],this.defaultActions[_]?R=this.defaultActions[_]:(A!==null&&typeof A!="undefined"||(A=a()),R=m[_]&&m[_][A]),typeof R=="undefined"||!R.length||!R[0]){var W="";if(!E){P=[];for(N in m[_])this.terminals_[N]&&N>2&&P.push("'"+this.terminals_[N]+"'");W=this.lexer.showPosition?"Parse error on line "+(p+1)+`: `+this.lexer.showPosition()+` -Expecting `+P.join(", ")+", got '"+(this.terminals_[A]||A)+"'":"Parse error on line "+(h+1)+": Unexpected "+(A==1?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(W,{text:this.lexer.match,token:this.terminals_[A]||A,line:this.lexer.yylineno,loc:S,expected:P})}}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+D+", token: "+A);switch(b[0]){case 1:l.push(A),v.push(this.lexer.yytext),o.push(this.lexer.yylloc),l.push(b[1]),A=null,C?(A=C,C=null):(y=this.lexer.yyleng,d=this.lexer.yytext,h=this.lexer.yylineno,S=this.lexer.yylloc,E>0&&E--);break;case 2:if(I=this.productions_[b[1]][1],B.$=v[v.length-I],B._$={first_line:o[o.length-(I||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(I||1)].first_column,last_column:o[o.length-1].last_column},_&&(B._$.range=[o[o.length-(I||1)].range[0],o[o.length-1].range[1]]),F=this.performAction.call(B,d,y,h,this.yy,b[1],v,o),typeof F!="undefined")return F;I&&(l=l.slice(0,-1*I*2),v=v.slice(0,-1*I),o=o.slice(0,-1*I)),l.push(this.productions_[b[1]][0]),v.push(B.$),o.push(B._$),T=m[l[l.length-2]][l[l.length-1]],l.push(T);break;case 3:return!0}}return!0}},u=function(){var p={EOF:1,parseError:function(a,i){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,i)},setInput:function(a){return this._input=a,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var i=a.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var i=a.length,l=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i-1),this.offset-=i;var v=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===v.length?this.yylloc.first_column:0)+v[v.length-l.length].length-l[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-i]),this},more:function(){return this._more=!0,this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),i=new Array(a.length+1).join("-");return a+this.upcomingInput()+` +Expecting `+P.join(", ")+", got '"+(this.terminals_[A]||A)+"'":"Parse error on line "+(p+1)+": Unexpected "+(A==1?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(W,{text:this.lexer.match,token:this.terminals_[A]||A,line:this.lexer.yylineno,loc:S,expected:P})}}if(R[0]instanceof Array&&R.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+A);switch(R[0]){case 1:l.push(A),v.push(this.lexer.yytext),o.push(this.lexer.yylloc),l.push(R[1]),A=null,C?(A=C,C=null):(y=this.lexer.yyleng,d=this.lexer.yytext,p=this.lexer.yylineno,S=this.lexer.yylloc,E>0&&E--);break;case 2:if(I=this.productions_[R[1]][1],B.$=v[v.length-I],B._$={first_line:o[o.length-(I||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(I||1)].first_column,last_column:o[o.length-1].last_column},b&&(B._$.range=[o[o.length-(I||1)].range[0],o[o.length-1].range[1]]),F=this.performAction.call(B,d,y,p,this.yy,R[1],v,o),typeof F!="undefined")return F;I&&(l=l.slice(0,-1*I*2),v=v.slice(0,-1*I),o=o.slice(0,-1*I)),l.push(this.productions_[R[1]][0]),v.push(B.$),o.push(B._$),T=m[l[l.length-2]][l[l.length-1]],l.push(T);break;case 3:return!0}}return!0}},u=function(){var h={EOF:1,parseError:function(a,i){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,i)},setInput:function(a){return this._input=a,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var i=a.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var i=a.length,l=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i-1),this.offset-=i;var v=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===v.length?this.yylloc.first_column:0)+v[v.length-l.length].length-l[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-i]),this},more:function(){return this._more=!0,this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),i=new Array(a.length+1).join("-");return a+this.upcomingInput()+` `+i+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,i,l,v,o;this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),d=0;di[0].length)||(i=l,v=d,this.options.flex));d++);return i?(o=i[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(i[0].length),this.matched+=i[0],a=this.performAction.call(this,this.yy,this,m[v],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return typeof a!="undefined"?a:this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(a){this.begin(a)}};return p.options={},p.performAction=function(a,i,l,v){function o(m,d){return i.yytext=i.yytext.substring(m,i.yyleng-d+m)}switch(l){case 0:if(i.yytext.slice(-2)==="\\\\"?(o(0,1),this.begin("mu")):i.yytext.slice(-1)==="\\"?(o(0,1),this.begin("emu")):this.begin("mu"),i.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(o(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(i.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return i.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return i.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return i.yytext=i.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},p.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],p.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},p}();return n.lexer=u,r.prototype=n,n.Parser=r,new r}();s.default=c,g.exports=s.default},function(g,s,c){"use strict";function r(){var o=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=o}function n(o,m,d){m===void 0&&(m=o.length);var h=o[m-1],y=o[m-2];return h?h.type==="ContentStatement"?(y||!d?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(h.original):void 0:d}function u(o,m,d){m===void 0&&(m=-1);var h=o[m+1],y=o[m+2];return h?h.type==="ContentStatement"?(y||!d?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(h.original):void 0:d}function p(o,m,d){var h=o[m==null?0:m+1];if(h&&h.type==="ContentStatement"&&(d||!h.rightStripped)){var y=h.value;h.value=h.value.replace(d?/^\s+/:/^[ \t]*\r?\n?/,""),h.rightStripped=h.value!==y}}function a(o,m,d){var h=o[m==null?o.length-1:m-1];if(h&&h.type==="ContentStatement"&&(d||!h.leftStripped)){var y=h.value;return h.value=h.value.replace(d?/\s+$/:/[ \t]+$/,""),h.leftStripped=h.value!==y,h.leftStripped}}var i=c(1).default;s.__esModule=!0;var l=c(88),v=i(l);r.prototype=new v.default,r.prototype.Program=function(o){var m=!this.options.ignoreStandalone,d=!this.isRootSeen;this.isRootSeen=!0;for(var h=o.body,y=0,E=h.length;y0)throw new E.default("Invalid path: "+C,{loc:A});I===".."&&b++}}return{type:"PathExpression",data:S,depth:b,parts:D,original:C,loc:A}}function l(S,_,A,C,D,b){var F=C.charAt(3)||C.charAt(2),N=F!=="{"&&F!=="&",I=/\*/.test(C);return{type:I?"Decorator":"MustacheStatement",path:S,params:_,hash:A,escaped:N,strip:D,loc:this.locInfo(b)}}function v(S,_,A,C){r(S,A),C=this.locInfo(C);var D={type:"Program",body:_,strip:{},loc:C};return{type:"BlockStatement",path:S.path,params:S.params,hash:S.hash,program:D,openStrip:{},inverseStrip:{},closeStrip:{},loc:C}}function o(S,_,A,C,D,b){C&&C.path&&r(S,C);var F=/\*/.test(S.open);_.blockParams=S.blockParams;var N=void 0,I=void 0;if(A){if(F)throw new E.default("Unexpected inverse block on decorator",A);A.chain&&(A.program.body[0].closeStrip=C.strip),I=A.strip,N=A.program}return D&&(D=N,N=_,_=D),{type:F?"DecoratorBlock":"BlockStatement",path:S.path,params:S.params,hash:S.hash,program:_,inverse:N,openStrip:S.strip,inverseStrip:I,closeStrip:C&&C.strip,loc:this.locInfo(b)}}function m(S,_){if(!_&&S.length){var A=S[0].loc,C=S[S.length-1].loc;A&&C&&(_={source:A.source,start:{line:A.start.line,column:A.start.column},end:{line:C.end.line,column:C.end.column}})}return{type:"Program",body:S,strip:{},loc:_}}function d(S,_,A,C){return r(S,A),{type:"PartialBlockStatement",name:S.path,params:S.params,hash:S.hash,program:_,openStrip:S.strip,closeStrip:A&&A.strip,loc:this.locInfo(C)}}var h=c(1).default;s.__esModule=!0,s.SourceLocation=n,s.id=u,s.stripFlags=p,s.stripComment=a,s.preparePath=i,s.prepareMustache=l,s.prepareRawBlock=v,s.prepareBlock=o,s.prepareProgram=m,s.preparePartialBlock=d;var y=c(6),E=h(y)},function(g,s,c){"use strict";function r(){}function n(E,S,_){if(E==null||typeof E!="string"&&E.type!=="Program")throw new o.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+E);S=S||{},"data"in S||(S.data=!0),S.compat&&(S.useDepths=!0);var A=_.parse(E,S),C=new _.Compiler().compile(A,S);return new _.JavaScriptCompiler().compile(C,S)}function u(E,S,_){function A(){var b=_.parse(E,S),F=new _.Compiler().compile(b,S),N=new _.JavaScriptCompiler().compile(F,S,void 0,!0);return _.template(N)}function C(b,F){return D||(D=A()),D.call(this,b,F)}if(S===void 0&&(S={}),E==null||typeof E!="string"&&E.type!=="Program")throw new o.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+E);S=m.extend({},S),"data"in S||(S.data=!0),S.compat&&(S.useDepths=!0);var D=void 0;return C._setup=function(b){return D||(D=A()),D._setup(b)},C._child=function(b,F,N,I){return D||(D=A()),D._child(b,F,N,I)},C}function p(E,S){if(E===S)return!0;if(m.isArray(E)&&m.isArray(S)&&E.length===S.length){for(var _=0;_1)throw new o.default("Unsupported number of partial arguments: "+_.length,E);_.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):_.push({type:"PathExpression",parts:[],depth:0}));var A=E.name.original,C=E.name.type==="SubExpression";C&&this.accept(E.name),this.setupFullMustacheParams(E,S,void 0,!0);var D=E.indent||"";this.options.preventIndent&&D&&(this.opcode("appendContent",D),D=""),this.opcode("invokePartial",C,A,D),this.opcode("append")},PartialBlockStatement:function(E){this.PartialStatement(E)},MustacheStatement:function(E){this.SubExpression(E),E.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(E){this.DecoratorBlock(E)},ContentStatement:function(E){E.value&&this.opcode("appendContent",E.value)},CommentStatement:function(){},SubExpression:function(E){a(E);var S=this.classifySexpr(E);S==="simple"?this.simpleSexpr(E):S==="helper"?this.helperSexpr(E):this.ambiguousSexpr(E)},ambiguousSexpr:function(E,S,_){var A=E.path,C=A.parts[0],D=S!=null||_!=null;this.opcode("getContext",A.depth),this.opcode("pushProgram",S),this.opcode("pushProgram",_),A.strict=!0,this.accept(A),this.opcode("invokeAmbiguous",C,D)},simpleSexpr:function(E){var S=E.path;S.strict=!0,this.accept(S),this.opcode("resolvePossibleLambda")},helperSexpr:function(E,S,_){var A=this.setupFullMustacheParams(E,S,_),C=E.path,D=C.parts[0];if(this.options.knownHelpers[D])this.opcode("invokeKnownHelper",A.length,D);else{if(this.options.knownHelpersOnly)throw new o.default("You specified knownHelpersOnly, but used the unknown helper "+D,E);C.strict=!0,C.falsy=!0,this.accept(C),this.opcode("invokeHelper",A.length,C.original,h.default.helpers.simpleId(C))}},PathExpression:function(E){this.addDepth(E.depth),this.opcode("getContext",E.depth);var S=E.parts[0],_=h.default.helpers.scopedId(E),A=!E.depth&&!_&&this.blockParamIndex(S);A?this.opcode("lookupBlockParam",A,E.parts):S?E.data?(this.options.data=!0,this.opcode("lookupData",E.depth,E.parts,E.strict)):this.opcode("lookupOnContext",E.parts,E.falsy,E.strict,_):this.opcode("pushContext")},StringLiteral:function(E){this.opcode("pushString",E.value)},NumberLiteral:function(E){this.opcode("pushLiteral",E.value)},BooleanLiteral:function(E){this.opcode("pushLiteral",E.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(E){var S=E.pairs,_=0,A=S.length;for(this.opcode("pushHash");_=0)return[S,C]}}}},function(g,s,c){"use strict";function r(h){this.value=h}function n(){}function u(h,y,E,S,_){var A=y.popStack(),C=E.length;for(h&&C--;S@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],h.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},h}();return n.lexer=u,r.prototype=n,n.Parser=r,new r}();s.default=c,g.exports=s.default},function(g,s,c){"use strict";function r(){var o=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=o}function n(o,m,d){m===void 0&&(m=o.length);var p=o[m-1],y=o[m-2];return p?p.type==="ContentStatement"?(y||!d?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(p.original):void 0:d}function u(o,m,d){m===void 0&&(m=-1);var p=o[m+1],y=o[m+2];return p?p.type==="ContentStatement"?(y||!d?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(p.original):void 0:d}function h(o,m,d){var p=o[m==null?0:m+1];if(p&&p.type==="ContentStatement"&&(d||!p.rightStripped)){var y=p.value;p.value=p.value.replace(d?/^\s+/:/^[ \t]*\r?\n?/,""),p.rightStripped=p.value!==y}}function a(o,m,d){var p=o[m==null?o.length-1:m-1];if(p&&p.type==="ContentStatement"&&(d||!p.leftStripped)){var y=p.value;return p.value=p.value.replace(d?/\s+$/:/[ \t]+$/,""),p.leftStripped=p.value!==y,p.leftStripped}}var i=c(1).default;s.__esModule=!0;var l=c(88),v=i(l);r.prototype=new v.default,r.prototype.Program=function(o){var m=!this.options.ignoreStandalone,d=!this.isRootSeen;this.isRootSeen=!0;for(var p=o.body,y=0,E=p.length;y0)throw new E.default("Invalid path: "+C,{loc:A});I===".."&&R++}}return{type:"PathExpression",data:S,depth:R,parts:_,original:C,loc:A}}function l(S,b,A,C,_,R){var F=C.charAt(3)||C.charAt(2),N=F!=="{"&&F!=="&",I=/\*/.test(C);return{type:I?"Decorator":"MustacheStatement",path:S,params:b,hash:A,escaped:N,strip:_,loc:this.locInfo(R)}}function v(S,b,A,C){r(S,A),C=this.locInfo(C);var _={type:"Program",body:b,strip:{},loc:C};return{type:"BlockStatement",path:S.path,params:S.params,hash:S.hash,program:_,openStrip:{},inverseStrip:{},closeStrip:{},loc:C}}function o(S,b,A,C,_,R){C&&C.path&&r(S,C);var F=/\*/.test(S.open);b.blockParams=S.blockParams;var N=void 0,I=void 0;if(A){if(F)throw new E.default("Unexpected inverse block on decorator",A);A.chain&&(A.program.body[0].closeStrip=C.strip),I=A.strip,N=A.program}return _&&(_=N,N=b,b=_),{type:F?"DecoratorBlock":"BlockStatement",path:S.path,params:S.params,hash:S.hash,program:b,inverse:N,openStrip:S.strip,inverseStrip:I,closeStrip:C&&C.strip,loc:this.locInfo(R)}}function m(S,b){if(!b&&S.length){var A=S[0].loc,C=S[S.length-1].loc;A&&C&&(b={source:A.source,start:{line:A.start.line,column:A.start.column},end:{line:C.end.line,column:C.end.column}})}return{type:"Program",body:S,strip:{},loc:b}}function d(S,b,A,C){return r(S,A),{type:"PartialBlockStatement",name:S.path,params:S.params,hash:S.hash,program:b,openStrip:S.strip,closeStrip:A&&A.strip,loc:this.locInfo(C)}}var p=c(1).default;s.__esModule=!0,s.SourceLocation=n,s.id=u,s.stripFlags=h,s.stripComment=a,s.preparePath=i,s.prepareMustache=l,s.prepareRawBlock=v,s.prepareBlock=o,s.prepareProgram=m,s.preparePartialBlock=d;var y=c(6),E=p(y)},function(g,s,c){"use strict";function r(){}function n(E,S,b){if(E==null||typeof E!="string"&&E.type!=="Program")throw new o.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+E);S=S||{},"data"in S||(S.data=!0),S.compat&&(S.useDepths=!0);var A=b.parse(E,S),C=new b.Compiler().compile(A,S);return new b.JavaScriptCompiler().compile(C,S)}function u(E,S,b){function A(){var R=b.parse(E,S),F=new b.Compiler().compile(R,S),N=new b.JavaScriptCompiler().compile(F,S,void 0,!0);return b.template(N)}function C(R,F){return _||(_=A()),_.call(this,R,F)}if(S===void 0&&(S={}),E==null||typeof E!="string"&&E.type!=="Program")throw new o.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+E);S=m.extend({},S),"data"in S||(S.data=!0),S.compat&&(S.useDepths=!0);var _=void 0;return C._setup=function(R){return _||(_=A()),_._setup(R)},C._child=function(R,F,N,I){return _||(_=A()),_._child(R,F,N,I)},C}function h(E,S){if(E===S)return!0;if(m.isArray(E)&&m.isArray(S)&&E.length===S.length){for(var b=0;b1)throw new o.default("Unsupported number of partial arguments: "+b.length,E);b.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):b.push({type:"PathExpression",parts:[],depth:0}));var A=E.name.original,C=E.name.type==="SubExpression";C&&this.accept(E.name),this.setupFullMustacheParams(E,S,void 0,!0);var _=E.indent||"";this.options.preventIndent&&_&&(this.opcode("appendContent",_),_=""),this.opcode("invokePartial",C,A,_),this.opcode("append")},PartialBlockStatement:function(E){this.PartialStatement(E)},MustacheStatement:function(E){this.SubExpression(E),E.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(E){this.DecoratorBlock(E)},ContentStatement:function(E){E.value&&this.opcode("appendContent",E.value)},CommentStatement:function(){},SubExpression:function(E){a(E);var S=this.classifySexpr(E);S==="simple"?this.simpleSexpr(E):S==="helper"?this.helperSexpr(E):this.ambiguousSexpr(E)},ambiguousSexpr:function(E,S,b){var A=E.path,C=A.parts[0],_=S!=null||b!=null;this.opcode("getContext",A.depth),this.opcode("pushProgram",S),this.opcode("pushProgram",b),A.strict=!0,this.accept(A),this.opcode("invokeAmbiguous",C,_)},simpleSexpr:function(E){var S=E.path;S.strict=!0,this.accept(S),this.opcode("resolvePossibleLambda")},helperSexpr:function(E,S,b){var A=this.setupFullMustacheParams(E,S,b),C=E.path,_=C.parts[0];if(this.options.knownHelpers[_])this.opcode("invokeKnownHelper",A.length,_);else{if(this.options.knownHelpersOnly)throw new o.default("You specified knownHelpersOnly, but used the unknown helper "+_,E);C.strict=!0,C.falsy=!0,this.accept(C),this.opcode("invokeHelper",A.length,C.original,p.default.helpers.simpleId(C))}},PathExpression:function(E){this.addDepth(E.depth),this.opcode("getContext",E.depth);var S=E.parts[0],b=p.default.helpers.scopedId(E),A=!E.depth&&!b&&this.blockParamIndex(S);A?this.opcode("lookupBlockParam",A,E.parts):S?E.data?(this.options.data=!0,this.opcode("lookupData",E.depth,E.parts,E.strict)):this.opcode("lookupOnContext",E.parts,E.falsy,E.strict,b):this.opcode("pushContext")},StringLiteral:function(E){this.opcode("pushString",E.value)},NumberLiteral:function(E){this.opcode("pushLiteral",E.value)},BooleanLiteral:function(E){this.opcode("pushLiteral",E.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(E){var S=E.pairs,b=0,A=S.length;for(this.opcode("pushHash");b=0)return[S,C]}}}},function(g,s,c){"use strict";function r(p){this.value=p}function n(){}function u(p,y,E,S,b){var A=y.popStack(),C=E.length;for(p&&C--;S0&&(E+=", "+S.join(", "));var _=0;p(this.aliases).forEach(function(D){var b=y.aliases[D];b.children&&b.referenceCount>1&&(E+=", alias"+ ++_+"="+D,b.children[0]="alias"+_)}),this.lookupPropertyFunctionIsUsed&&(E+=", "+this.lookupPropertyFunctionVarDeclaration());var A=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&A.push("blockParams"),this.useDepths&&A.push("depths");var C=this.mergeSource(E);return h?(A.push(C),Function.apply(this,A)):this.source.wrap(["function(",A.join(","),`) { - `,C,"}"])},mergeSource:function(h){var y=this.environment.isSimple,E=!this.forceBuffer,S=void 0,_=void 0,A=void 0,C=void 0;return this.source.each(function(D){D.appendToBuffer?(A?D.prepend(" + "):A=D,C=D):(A&&(_?A.prepend("buffer += "):S=!0,C.add(";"),A=C=void 0),_=!0,y||(E=!1))}),E?A?(A.prepend("return "),C.add(";")):_||this.source.push('return "";'):(h+=", buffer = "+(S?"":this.initializeBuffer()),A?(A.prepend("return buffer + "),C.add(";")):this.source.push("return buffer;")),h&&this.source.prepend("var "+h.substring(2)+(S?"":`; +`),this.decorators=this.decorators.merge()));var F=this.createFunctionContext(S);if(this.isChild)return F;var N={compiler:this.compilerInfo(),main:F};this.decorators&&(N.main_d=this.decorators,N.useDecorators=!0);var I=this.context,T=I.programs,P=I.decorators;for(_=0,R=T.length;_0&&(E+=", "+S.join(", "));var b=0;h(this.aliases).forEach(function(_){var R=y.aliases[_];R.children&&R.referenceCount>1&&(E+=", alias"+ ++b+"="+_,R.children[0]="alias"+b)}),this.lookupPropertyFunctionIsUsed&&(E+=", "+this.lookupPropertyFunctionVarDeclaration());var A=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&A.push("blockParams"),this.useDepths&&A.push("depths");var C=this.mergeSource(E);return p?(A.push(C),Function.apply(this,A)):this.source.wrap(["function(",A.join(","),`) { + `,C,"}"])},mergeSource:function(p){var y=this.environment.isSimple,E=!this.forceBuffer,S=void 0,b=void 0,A=void 0,C=void 0;return this.source.each(function(_){_.appendToBuffer?(A?_.prepend(" + "):A=_,C=_):(A&&(b?A.prepend("buffer += "):S=!0,C.add(";"),A=C=void 0),b=!0,y||(E=!1))}),E?A?(A.prepend("return "),C.add(";")):b||this.source.push('return "";'):(p+=", buffer = "+(S?"":this.initializeBuffer()),A?(A.prepend("return buffer + "),C.add(";")):this.source.push("return buffer;")),p&&this.source.prepend("var "+p.substring(2)+(S?"":`; `)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return` lookupProperty = container.lookupProperty || function(parent, propertyName) { if (Object.prototype.hasOwnProperty.call(parent, propertyName)) { @@ -47,21 +47,21 @@ Expecting `+P.join(", ")+", got '"+(this.terminals_[A]||A)+"'":"Parse error on l } return undefined } - `.trim()},blockValue:function(h){var y=this.aliasable("container.hooks.blockHelperMissing"),E=[this.contextName(0)];this.setupHelperArgs(h,0,E);var S=this.popStack();E.splice(1,0,S),this.push(this.source.functionCall(y,"call",E))},ambiguousBlockValue:function(){var h=this.aliasable("container.hooks.blockHelperMissing"),y=[this.contextName(0)];this.setupHelperArgs("",0,y,!0),this.flushInline();var E=this.topStack();y.splice(1,0,E),this.pushSource(["if (!",this.lastHelper,") { ",E," = ",this.source.functionCall(h,"call",y),"}"])},appendContent:function(h){this.pendingContent?h=this.pendingContent+h:this.pendingLocation=this.source.currentLocation,this.pendingContent=h},append:function(){if(this.isInline())this.replaceStack(function(y){return[" != null ? ",y,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var h=this.popStack();this.pushSource(["if (",h," != null) { ",this.appendToBuffer(h,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(h){this.lastContext=h},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(h,y,E,S){var _=0;S||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(h[_++])),this.resolvePath("context",h,_,y,E)},lookupBlockParam:function(h,y){this.useBlockParams=!0,this.push(["blockParams[",h[0],"][",h[1],"]"]),this.resolvePath("context",y,1)},lookupData:function(h,y,E){h?this.pushStackLiteral("container.data(data, "+h+")"):this.pushStackLiteral("data"),this.resolvePath("data",y,0,!0,E)},resolvePath:function(h,y,E,S,_){var A=this;if(this.options.strict||this.options.assumeObjects)return void this.push(u(this.options.strict&&_,this,y,E,h));for(var C=y.length;Ethis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var h=this.inlineStack;this.inlineStack=[];for(var y=0,E=h.length;y{var c,r;c=[s(8934),s(7792),s(2134),s(8663),s(454),s(6981),s(7661),s(8048),s(461),s(1045),s(6525),s(5385)],r=function(n,u,p,a,i,l,v){"use strict";var o=/%20/g,m=/#.*$/,d=/([?&])_=[^&]*/,h=/^(.*?):[ \t]*([^\r\n]*)$/mg,y=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,E=/^(?:GET|HEAD)$/,S=/^\/\//,_={},A={},C="*/".concat("*"),D=u.createElement("a");D.href=i.href;function b(P){return function(B,W){typeof B!="string"&&(W=B,B="*");var G,O=0,k=B.toLowerCase().match(a)||[];if(p(W))for(;G=k[O++];)G[0]==="+"?(G=G.slice(1)||"*",(P[G]=P[G]||[]).unshift(W)):(P[G]=P[G]||[]).push(W)}}function F(P,B,W,G){var O={},k=P===A;function $(z){var H;return O[z]=!0,n.each(P[z]||[],function(j,ie){var fe=ie(B,W,G);if(typeof fe=="string"&&!k&&!O[fe])return B.dataTypes.unshift(fe),$(fe),!1;if(k)return!(H=fe)}),H}return $(B.dataTypes[0])||!O["*"]&&$("*")}function N(P,B){var W,G,O=n.ajaxSettings.flatOptions||{};for(W in B)B[W]!==void 0&&((O[W]?P:G||(G={}))[W]=B[W]);return G&&n.extend(!0,P,G),P}function I(P,B,W){for(var G,O,k,$,z=P.contents,H=P.dataTypes;H[0]==="*";)H.shift(),G===void 0&&(G=P.mimeType||B.getResponseHeader("Content-Type"));if(G){for(O in z)if(z[O]&&z[O].test(G)){H.unshift(O);break}}if(H[0]in W)k=H[0];else{for(O in W){if(!H[0]||P.converters[O+" "+H[0]]){k=O;break}$||($=O)}k=k||$}if(k)return k!==H[0]&&H.unshift(k),W[k]}function T(P,B,W,G){var O,k,$,z,H,j={},ie=P.dataTypes.slice();if(ie[1])for($ in P.converters)j[$.toLowerCase()]=P.converters[$];for(k=ie.shift();k;)if(P.responseFields[k]&&(W[P.responseFields[k]]=B),!H&&G&&P.dataFilter&&(B=P.dataFilter(B,P.dataType)),H=k,k=ie.shift(),k){if(k==="*")k=H;else if(H!=="*"&&H!==k){if($=j[H+" "+k]||j["* "+k],!$){for(O in j)if(z=O.split(" "),z[1]===k&&($=j[H+" "+z[0]]||j["* "+z[0]],$)){$===!0?$=j[O]:j[O]!==!0&&(k=z[0],ie.unshift(z[1]));break}}if($!==!0)if($&&P.throws)B=$(B);else try{B=$(B)}catch(fe){return{state:"parsererror",error:$?fe:"No conversion from "+H+" to "+k}}}}return{state:"success",data:B}}return n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:i.href,type:"GET",isLocal:y.test(i.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":C,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(P,B){return B?N(N(P,n.ajaxSettings),B):N(n.ajaxSettings,P)},ajaxPrefilter:b(_),ajaxTransport:b(A),ajax:function(P,B){typeof P=="object"&&(B=P,P=void 0),B=B||{};var W,G,O,k,$,z,H,j,ie,fe,Z=n.ajaxSetup({},B),ye=Z.context||Z,Ae=Z.context&&(ye.nodeType||ye.jquery)?n(ye):n.event,xe=n.Deferred(),qe=n.Callbacks("once memory"),ht=Z.statusCode||{},yt={},At={},Rt="canceled",he={readyState:0,getResponseHeader:function(Se){var Fe;if(H){if(!k)for(k={};Fe=h.exec(O);)k[Fe[1].toLowerCase()+" "]=(k[Fe[1].toLowerCase()+" "]||[]).concat(Fe[2]);Fe=k[Se.toLowerCase()+" "]}return Fe==null?null:Fe.join(", ")},getAllResponseHeaders:function(){return H?O:null},setRequestHeader:function(Se,Fe){return H==null&&(Se=At[Se.toLowerCase()]=At[Se.toLowerCase()]||Se,yt[Se]=Fe),this},overrideMimeType:function(Se){return H==null&&(Z.mimeType=Se),this},statusCode:function(Se){var Fe;if(Se)if(H)he.always(Se[he.status]);else for(Fe in Se)ht[Fe]=[ht[Fe],Se[Fe]];return this},abort:function(Se){var Fe=Se||Rt;return W&&W.abort(Fe),be(0,Fe),this}};if(xe.promise(he),Z.url=((P||Z.url||i.href)+"").replace(S,i.protocol+"//"),Z.type=B.method||B.type||Z.method||Z.type,Z.dataTypes=(Z.dataType||"*").toLowerCase().match(a)||[""],Z.crossDomain==null){z=u.createElement("a");try{z.href=Z.url,z.href=z.href,Z.crossDomain=D.protocol+"//"+D.host!=z.protocol+"//"+z.host}catch(Se){Z.crossDomain=!0}}if(Z.data&&Z.processData&&typeof Z.data!="string"&&(Z.data=n.param(Z.data,Z.traditional)),F(_,Z,B,he),H)return he;j=n.event&&Z.global,j&&n.active++===0&&n.event.trigger("ajaxStart"),Z.type=Z.type.toUpperCase(),Z.hasContent=!E.test(Z.type),G=Z.url.replace(m,""),Z.hasContent?Z.data&&Z.processData&&(Z.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Z.data=Z.data.replace(o,"+")):(fe=Z.url.slice(G.length),Z.data&&(Z.processData||typeof Z.data=="string")&&(G+=(v.test(G)?"&":"?")+Z.data,delete Z.data),Z.cache===!1&&(G=G.replace(d,"$1"),fe=(v.test(G)?"&":"?")+"_="+l.guid+++fe),Z.url=G+fe),Z.ifModified&&(n.lastModified[G]&&he.setRequestHeader("If-Modified-Since",n.lastModified[G]),n.etag[G]&&he.setRequestHeader("If-None-Match",n.etag[G])),(Z.data&&Z.hasContent&&Z.contentType!==!1||B.contentType)&&he.setRequestHeader("Content-Type",Z.contentType),he.setRequestHeader("Accept",Z.dataTypes[0]&&Z.accepts[Z.dataTypes[0]]?Z.accepts[Z.dataTypes[0]]+(Z.dataTypes[0]!=="*"?", "+C+"; q=0.01":""):Z.accepts["*"]);for(ie in Z.headers)he.setRequestHeader(ie,Z.headers[ie]);if(Z.beforeSend&&(Z.beforeSend.call(ye,he,Z)===!1||H))return he.abort();if(Rt="abort",qe.add(Z.complete),he.done(Z.success),he.fail(Z.error),W=F(A,Z,B,he),!W)be(-1,"No Transport");else{if(he.readyState=1,j&&Ae.trigger("ajaxSend",[he,Z]),H)return he;Z.async&&Z.timeout>0&&($=window.setTimeout(function(){he.abort("timeout")},Z.timeout));try{H=!1,W.send(yt,be)}catch(Se){if(H)throw Se;be(-1,Se)}}function be(Se,Fe,dt,Ht){var tt,Le,pe,Pe,Te,q=Fe;H||(H=!0,$&&window.clearTimeout($),W=void 0,O=Ht||"",he.readyState=Se>0?4:0,tt=Se>=200&&Se<300||Se===304,dt&&(Pe=I(Z,he,dt)),!tt&&n.inArray("script",Z.dataTypes)>-1&&n.inArray("json",Z.dataTypes)<0&&(Z.converters["text script"]=function(){}),Pe=T(Z,Pe,he,tt),tt?(Z.ifModified&&(Te=he.getResponseHeader("Last-Modified"),Te&&(n.lastModified[G]=Te),Te=he.getResponseHeader("etag"),Te&&(n.etag[G]=Te)),Se===204||Z.type==="HEAD"?q="nocontent":Se===304?q="notmodified":(q=Pe.state,Le=Pe.data,pe=Pe.error,tt=!pe)):(pe=q,(Se||!q)&&(q="error",Se<0&&(Se=0))),he.status=Se,he.statusText=(Fe||q)+"",tt?xe.resolveWith(ye,[Le,q,he]):xe.rejectWith(ye,[he,q,pe]),he.statusCode(ht),ht=void 0,j&&Ae.trigger(tt?"ajaxSuccess":"ajaxError",[he,Z,tt?Le:pe]),qe.fireWith(ye,[he,q]),j&&(Ae.trigger("ajaxComplete",[he,Z]),--n.active||n.event.trigger("ajaxStop")))}return he},getJSON:function(P,B,W){return n.get(P,B,W,"json")},getScript:function(P,B){return n.get(P,void 0,B,"script")}}),n.each(["get","post"],function(P,B){n[B]=function(W,G,O,k){return p(G)&&(k=k||O,O=G,G=void 0),n.ajax(n.extend({url:W,type:B,dataType:k,data:G,success:O},n.isPlainObject(W)&&W))}}),n.ajaxPrefilter(function(P){var B;for(B in P.headers)B.toLowerCase()==="content-type"&&(P.contentType=P.headers[B]||"")}),n}.apply(g,c),r!==void 0&&(w.exports=r)},7533:(w,g,s)=>{var c,r;c=[s(8934),s(2134),s(6981),s(7661),s(7178)],r=function(n,u,p,a){"use strict";var i=[],l=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var v=i.pop()||n.expando+"_"+p.guid++;return this[v]=!0,v}}),n.ajaxPrefilter("json jsonp",function(v,o,m){var d,h,y,E=v.jsonp!==!1&&(l.test(v.url)?"url":typeof v.data=="string"&&(v.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&l.test(v.data)&&"data");if(E||v.dataTypes[0]==="jsonp")return d=v.jsonpCallback=u(v.jsonpCallback)?v.jsonpCallback():v.jsonpCallback,E?v[E]=v[E].replace(l,"$1"+d):v.jsonp!==!1&&(v.url+=(a.test(v.url)?"&":"?")+v.jsonp+"="+d),v.converters["script json"]=function(){return y||n.error(d+" was not called"),y[0]},v.dataTypes[0]="json",h=window[d],window[d]=function(){y=arguments},m.always(function(){h===void 0?n(window).removeProp(d):window[d]=h,v[d]&&(v.jsonpCallback=o.jsonpCallback,i.push(d)),y&&u(h)&&h(y[0]),y=h=void 0}),"script"})}.apply(g,c),r!==void 0&&(w.exports=r)},4581:(w,g,s)=>{var c,r;c=[s(8934),s(4552),s(2134),s(2889),s(7178),s(8482),s(2632),s(655)],r=function(n,u,p){"use strict";n.fn.load=function(a,i,l){var v,o,m,d=this,h=a.indexOf(" ");return h>-1&&(v=u(a.slice(h)),a=a.slice(0,h)),p(i)?(l=i,i=void 0):i&&typeof i=="object"&&(o="POST"),d.length>0&&n.ajax({url:a,type:o||"GET",dataType:"html",data:i}).done(function(y){m=arguments,d.html(v?n("
").append(n.parseHTML(y)).find(v):y)}).always(l&&function(y,E){d.each(function(){l.apply(this,m||[y.responseText,E,y])})}),this}}.apply(g,c),r!==void 0&&(w.exports=r)},5488:(w,g,s)=>{var c,r;c=[s(8934),s(7792),s(7178)],r=function(n,u){"use strict";n.ajaxPrefilter(function(p){p.crossDomain&&(p.contents.script=!1)}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(p){return n.globalEval(p),p}}}),n.ajaxPrefilter("script",function(p){p.cache===void 0&&(p.cache=!1),p.crossDomain&&(p.type="GET")}),n.ajaxTransport("script",function(p){if(p.crossDomain||p.scriptAttrs){var a,i;return{send:function(l,v){a=n(" + diff --git a/apidoc.json b/apidoc.json index 5d6e11a..1fce659 100644 --- a/apidoc.json +++ b/apidoc.json @@ -1,7 +1,7 @@ { "name": "Code Rating Engine", - "version": "1.0.0", + "version": "1.20.0", "description": "Engine to handle the rating mechanisms for the clean code", "title": "Code Rating Engine", "url": "https://coderatingengine-techous.vercel.app" -} \ No newline at end of file +} diff --git a/routes/api/v1/API.js b/routes/api/v1/API.js index 8ccb1f5..1c7bd49 100644 --- a/routes/api/v1/API.js +++ b/routes/api/v1/API.js @@ -26,7 +26,7 @@ const {updateValidator, searchValidator} = require('../../../src/validator') * @api {GET} /api/v1/randomCodes GET: get the random Code files * @apiName randomCodes * @apiDescription api to get the Random Code files present in code base - * @apiVersion 1.0.0 + * @apiVersion 1.20.0 * * @apiGroup randomCodes * @apiSuccess (200 Success Response) {Number} status 200 (Status Code) @@ -155,7 +155,7 @@ router.get('/randomCodes', async (req, res, next) => { * @api {PUT} /api/v1/rateCode PUT: rate the code file * @apiName rateCode * @apiDescription api to rate the Random Code files present in code base - * @apiVersion 1.0.0 + * @apiVersion 1.20.0 * @apiBody {Number} winner Marked winner 1 or 2 * @apiBody {String} codeId1 code Id for code 1 * @apiBody {String} codeId2 code Id for code 2 @@ -249,8 +249,8 @@ router.put( * @api {GET} /api/v1/searchUser GET: searching the user name * @apiName searchUser * @apiDescription search and return the code rating for the specific user - * @apiVersion 1.0.0 - * @apiHeader {String} authorization Access token received from randomCodes request + * @apiVersion 1.20.0 + * @apiHeader {String} Authorization Access token received from randomCodes request * @apiHeaderExample {json} Request Header example * { * "Authorization": "Bearer " diff --git a/routes/api/v1/_apidoc.js b/routes/api/v1/_apidoc.js new file mode 100644 index 0000000..2ed6a94 --- /dev/null +++ b/routes/api/v1/_apidoc.js @@ -0,0 +1,138 @@ +/** + * @api {GET} /api/v1/randomCodes GET: get the random Code files + * @apiName randomCodes + * @apiDescription api to get the Random Code files present in code base + * @apiVersion 1.0.0 + * + * @apiGroup randomCodes + * @apiSuccess (200 Success Response) {Number} status 200 (Status Code) + * @apiSuccess (200 Success Response) {Object} codeObject1 First CodeObject + * @apiSuccess (200 Success Response) {Object} codeObject2 Second CodeObject + * @apiSuccess (200 Success Response) {String} accessToken Access Token for the secured APIs + * @apiSuccess (CodeObject) {String} codeId unique code Id + * @apiSuccess (CodeObject) {Number} codeRating current code rating of the file + * @apiSuccess (CodeObject) {String} codeUrl file URL of the code file + * @apiSuccess (CodeObject) {String} codeName file name of the code file + * @apiSuccess (CodeObject) {String} content content of the code file + * + * @apiSuccessExample {json} Success Response Example + * + * { + * "status": 200, + * "codeObject1": { + * "codeId": "9f6ca40579efdee44097ccf62c93fa192b6efb2b", + * "codeRating": 45, + * "codeUrl": "https://api.github.com/repos//CodeBase/UnixTimeStampToHumanReadableFormat.cpp", + * "codeName": "UnixTimeStampToHumanReadableFormat.cpp", + * "content": "#include\n\nusing namespace std;\n......." + * }, + * "codeObject2": { + * "codeId": "55dfc162f8163243c9c7e155e9a9a26b9528be73", + * "codeRating": 2361, + * "codeUrl": "https://api.github.com/repos//CodeBase/SelectionSort.java", + * "codeName": "SelectionSort.java", + * "content": "public class SelectionSort{public static void main(String[] args){......." + * }, + * "accessToken": "96d3371e-9da8-4261-b8a6-ea9b8e68f770" + * } + * + * @apiError (4xx Error Response) {Number} 429 Too many requests, please try again later!!! + * @apiError (4xx Error Response) {Number} 405 Method not Allowed + * @apiError (4xx Error Response) {Number} 404 No results found + * @apiError (4xx Error Response) {Number} 400 Bad Request + * @apiError (500 Error Response) {Number} 500 Internal Server Error + **/ +/** + * @api {PUT} /api/v1/rateCode PUT: rate the code file + * @apiName rateCode + * @apiDescription api to rate the Random Code files present in code base + * @apiVersion 1.0.0 + * @apiBody {Number} winner Marked winner 1 or 2 + * @apiBody {String} codeId1 code Id for code 1 + * @apiBody {String} codeId2 code Id for code 2 + * @apiBody {String} codeRatingEngineToken Access token received from randomCodes request + * + * @apiGroup rateCode + * @apiSuccess (200 Success Response) {Object} update1 First UpdatedCodeObject + * @apiSuccess (200 Success Response) {Object} update2 Second UpdatedCodeObject + * @apiSuccess (200 Success Response) {Number} status 200 (Status Code) + * @apiSuccess (200 Success Response) {String} message Code Ratings are updated + * @apiSuccess (UpdatedCodeObject) {String} codeId unique code Id + * @apiSuccess (UpdatedCodeObject) {Number} codeRating updated code rating of the file + * @apiSuccess (UpdatedCodeObject) {String} codeUrl file URL of the code file + * @apiSuccess (UpdatedCodeObject) {String} codeName file name of the code file + * @apiSuccess (UpdatedCodeObject) {String} userName user name of the contributed user + * + * @apiSuccessExample {json} Success Response Example + * + * { + * "update1": { + * "codeId": "55dfc162f8163243c9c7e155e9a9a26b9528be73", + * "codeRating": 2369, + * "codeUrl": "https://api.github.com/repos/..../CodeBase/SelectionSort.java", + * "codeName": "SelectionSort.java", + * "userName": "GauravWalia19", + * }, + * "update2": { + * "codeId": "489e8fe91b2db73cc0f8f78b831fabb1b927d2b5", + * "codeRating": 2235, + * "codeUrl": "https://api.github.com/repos/..../CodeBase/LinearSearch.c", + * "codeName": "LinearSearch.c", + * "userName": "GauravWalia19", + * }, + * "status": 200, + * "message": "Code Ratings are updated" + * } + * + * @apiError (4xx Error Response) {Number} 429 Too many requests, please try again later!!! + * @apiError (4xx Error Response) {Number} 405 Method not Allowed + * @apiError (4xx Error Response) {Number} 401 Invalid Token !! Please send the valid token + * @apiError (4xx Error Response) {Number} 400 Bad Request + * @apiError (500 Error Response) {Number} 500 Internal Server Error + **/ +/** + * @api {GET} /api/v1/searchUser GET: searching the user name + * @apiName searchUser + * @apiDescription search and return the code rating for the specific user + * @apiVersion 1.0.0 + * @apiBody {String} codeRatingEngineToken Access token received from randomCodes request + * @apiQuery {String} username Username to search + * @apiQuery {Boolean} sendContent Whether content is needed from the API or not + * + * @apiGroup searchUser + * @apiSuccess (200 Success Response) {Number} status 200 (Status Code) + * @apiSuccess (200 Success Response) {Array} userCodeBaseFiles CodeBaseFile + * + * @apiSuccess (CodeBaseFile) {String} _id unique mongo Id + * @apiSuccess (CodeBaseFile) {String} codeId unique code Id + * @apiSuccess (CodeBaseFile) {Number} codeRating current code rating of the file + * @apiSuccess (CodeBaseFile) {String} codeUrl file URL of the code file + * @apiSuccess (CodeBaseFile) {String} codeName file name of the code file + * @apiSuccess (CodeBaseFile) {String} userName user name of the contributed user + * @apiSuccess (CodeBaseFile) {String} content content of the code file + * + * @apiSuccessExample {json} Success Response Example + * + * { + * "status": 200, + * "userCodeBaseFiles": [ + * { + * "_id": "60d877a541d44f4a2350d1b1", + * "codeId": "55dfc162f8163243c9c7e155e9a9a26b9528be73", + * "codeRating": 2384, + * "codeUrl": "https://api.github.com/repos/..../CodeBase/SelectionSort.java?ref=master", + * "codeName": "SelectionSort.java", + * "userName": "GauravWalia19", + * "__v": 0, + * "content": "Scanner in = new Scanner(System.in)" + * } + * ] + * } + * + * @apiError (4xx Error Response) {Number} 429 Too many requests, please try again later!!! + * @apiError (4xx Error Response) {Number} 405 Method not Allowed + * @apiError (4xx Error Response) {Number} 404 No Code Base file found for the respective user + * @apiError (4xx Error Response) {Number} 401 Invalid Token !! Please send the valid token + * @apiError (4xx Error Response) {Number} 400 Bad Request + * @apiError (500 Error Response) {Number} 500 Internal Server Error + **/