From 62f9013b255449e57530914e53de57df909bffd0 Mon Sep 17 00:00:00 2001 From: Sabina Talipova Date: Tue, 11 Jul 2023 20:29:45 +1200 Subject: [PATCH] DEP Update eslint module --- client/dist/js/bundle.js | 2 +- package.json | 2 +- yarn.lock | 4431 +++++++++++++++++++------------------- 3 files changed, 2274 insertions(+), 2161 deletions(-) diff --git a/client/dist/js/bundle.js b/client/dist/js/bundle.js index 1a9fed5..12c293d 100644 --- a/client/dist/js/bundle.js +++ b/client/dist/js/bundle.js @@ -1 +1 @@ -!function(){var e={274:function(e,t,r){"use strict";var a=s(r(521)),n=s(r(180));function s(e){return e&&e.__esModule?e:{default:e}}window.document.addEventListener("DOMContentLoaded",(()=>{(0,a.default)(),(0,n.default)()}))},521:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(r(648)),n=i(r(273)),s=i(r(834));function i(e){return e&&e.__esModule?e:{default:e}}t.default=()=>{a.default.component.registerMany({WebAuthnRegister:n.default,WebAuthnVerify:s.default})}},180:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(r(648)),n=s(r(675));function s(e){return e&&e.__esModule?e:{default:e}}t.default=()=>{a.default.reducer.register("web-authnAvailability",n.default)}},388:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(294))&&a.__esModule?a:{default:a};t.default=()=>n.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 240 240"},n.default.createElement("defs",null,n.default.createElement("style",null,".a{fill:none;}.b{fill:#549ad3;}.c,.g{fill:#333a48;}.d{fill:#ffcf6e;}.e{clip-path:url(#a);}.f{fill:#d6e1ea;}.g{opacity:0.2;}.h{fill:url(#b);}.i{fill:#fff;}"),n.default.createElement("clipPath",{id:"a"},n.default.createElement("circle",{className:"a",cx:"120",cy:"120",r:"120"})),n.default.createElement("linearGradient",{id:"b",x1:"-26.14",y1:"68.86",x2:"-11.09",y2:"-38.22",gradientUnits:"userSpaceOnUse"},n.default.createElement("stop",{offset:"0.58",stopColor:"#333a48"}),n.default.createElement("stop",{offset:"0.59",stopColor:"#424a5c"}))),n.default.createElement("title",null,"U2F"),n.default.createElement("circle",{className:"b",cx:"120",cy:"120",r:"120"}),n.default.createElement("path",{className:"c",d:"M127.91,93.4a1.22,1.22,0,0,0,1.21,1.22h35.61a3.77,3.77,0,0,0,3.56-4V74.33a3.77,3.77,0,0,0-3.56-4H129.12a1.22,1.22,0,0,0-1.21,1.22Zm34.38-13.32A2.22,2.22,0,1,1,160,82.3,2.24,2.24,0,0,1,162.29,80.08Z"}),n.default.createElement("path",{className:"c",d:"M114.18,76.44h15.35a0,0,0,0,1,0,0v9.12a3,3,0,0,1-3,3h-9.35a3,3,0,0,1-3-3V76.44A0,0,0,0,1,114.18,76.44Z",transform:"translate(204.35 -39.35) rotate(90)"}),n.default.createElement("circle",{className:"d",cx:"146.94",cy:"82.77",r:"7.27"}),n.default.createElement("rect",{className:"d",x:"121.65",y:"82.3",width:"2.02",height:"10.5",transform:"translate(210.21 -35.11) rotate(90)"}),n.default.createElement("rect",{className:"d",x:"122.46",y:"79.87",width:"2.02",height:"8.88",transform:"translate(207.78 -39.15) rotate(90)"}),n.default.createElement("rect",{className:"d",x:"121.65",y:"72.2",width:"2.02",height:"10.5",transform:"translate(200.11 -45.21) rotate(90)"}),n.default.createElement("rect",{className:"d",x:"122.46",y:"76.24",width:"2.02",height:"8.88",transform:"translate(204.15 -42.78) rotate(90)"}),n.default.createElement("g",{className:"e"},n.default.createElement("rect",{className:"f",x:"-157.14",y:"54",width:"285",height:"192",rx:"10",ry:"10"}),n.default.createElement("rect",{className:"c",x:"-139.64",y:"70",width:"250",height:"97",rx:"2",ry:"2"}),n.default.createElement("rect",{className:"g",x:"-62.64",y:"175",width:"96",height:"62",rx:"3",ry:"3"}),n.default.createElement("rect",{className:"c",x:"-139.64",y:"54",width:"250",height:"5"}),n.default.createElement("path",{className:"h",d:"M-149.51,51.5a2.52,2.52,0,0,1-2.25-1.41l-30.14-62a2.49,2.49,0,0,1,.13-2.42,2.47,2.47,0,0,1,2.12-1.17h330a2.47,2.47,0,0,1,2.12,1.17,2.47,2.47,0,0,1,.13,2.42l-30.14,62a2.5,2.5,0,0,1-2.25,1.41Z"}),n.default.createElement("path",{className:"c",d:"M150.37-13h0L120.23,49H-149.51l-30.14-62h330m0-5h-330a5,5,0,0,0-4.49,7.19l30.13,62a5,5,0,0,0,4.5,2.81H120.23a5,5,0,0,0,4.5-2.81l30.14-62a5,5,0,0,0-4.5-7.19Z"})),n.default.createElement("path",{className:"i",d:"M159,107.75a5.47,5.47,0,0,1,1.83.32,5.64,5.64,0,0,1,3.76,5.37c0,2.26,0,4.51,0,6.77v18.2a.6.6,0,0,0,.61.6.57.57,0,0,0,.5-.29c.89-1.49,2.34-3.08,4.49-3.08a6,6,0,0,1,4.32,1.5,5.45,5.45,0,0,1,1.43,2.18,1.28,1.28,0,0,0,1.2.86,1.2,1.2,0,0,0,.67-.21,5.81,5.81,0,0,1,3.2-1,5.33,5.33,0,0,1,2.77.76,5.81,5.81,0,0,1,2.43,3,5,5,0,0,1,.28,1.19,1.05,1.05,0,0,0,1,.93,1.07,1.07,0,0,0,.43-.09,5.53,5.53,0,0,1,2.4-.55h.08a5.57,5.57,0,0,1,5.45,4.66,17.12,17.12,0,0,1,.07,2.89v7.1c0,3.09-2.59,29-18,29H161.34l-1.1,0a4,4,0,0,1-1.42-.21A4.63,4.63,0,0,1,157,186a6,6,0,0,1-.5-.71L137,153.54a4.89,4.89,0,0,1,3.92-7.27h.22a5,5,0,0,1,3.86,1.86,8.76,8.76,0,0,1,.79,1.22l2.55,4.42,1.72,3a1.72,1.72,0,0,0,1.52.89,1.77,1.77,0,0,0,1.81-1.74c0-.73,0-1.26,0-1.42V113.52a5.62,5.62,0,0,1,5.61-5.77m0-5h0a10.6,10.6,0,0,0-10.61,10.75v30.94a10.12,10.12,0,0,0-7.28-3.18h-.47a9.9,9.9,0,0,0-8,14.77l0,.06,0,.05,19.47,31.75a12.19,12.19,0,0,0,4.79,4.45,8.84,8.84,0,0,0,3.29.57h17.65c18.94,0,23-27.28,23-34v-7.1c0-.4,0-.73,0-1a12.7,12.7,0,0,0-.16-2.75,10.55,10.55,0,0,0-10.37-8.8H190a10.89,10.89,0,0,0-3.7-3.75A10.45,10.45,0,0,0,181,134a10.69,10.69,0,0,0-2.34.25,10.59,10.59,0,0,0-.74-.76,10.91,10.91,0,0,0-7.74-2.85h-.6V118c0-1.51,0-3,0-4.55a10.61,10.61,0,0,0-7.09-10.06,10.38,10.38,0,0,0-3.5-.6Z"}))},947:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(294))&&a.__esModule?a:{default:a};t.default=e=>{let{color:t="currentColor",size:r="3em"}=e;return n.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:r,width:r},n.default.createElement("g",{fill:t},n.default.createElement("path",{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"})))}},409:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(294))&&a.__esModule?a:{default:a};t.default=e=>{let{color:t="currentColor",size:r="3em"}=e;return n.default.createElement("svg",{width:r,height:r,viewBox:"0 0 80 80",xmlns:"http://www.w3.org/2000/svg"},n.default.createElement("g",{fill:t,fillRule:"nonzero"},n.default.createElement("path",{d:"M39.8233243,0 C17.9664349,0 0.272762495,17.8947368 0.272762495,40 C0.272762495,62.1052632 17.9664349,80 39.8233243,80 C61.6802137,80 79.3738861,62.1052632 79.3738861,40 C79.3738861,17.8947368 61.6802137,0 39.8233243,0 Z M44.5069435,62.6315789 C43.2926718,63.8596491 41.7314654,64.5614035 40.170259,64.5614035 C38.4355853,64.5614035 36.8743789,63.8596491 35.8335746,62.6315789 C34.619303,61.5789474 33.9254335,60 33.9254335,58.245614 C33.9254335,56.6666667 34.619303,55.0877193 35.8335746,53.8596491 C38.0886505,51.5789474 42.2518676,51.5789474 44.5069435,53.8596491 C45.7212151,55.0877193 46.2416172,56.6666667 46.2416172,58.245614 C46.4150846,60 45.7212151,61.5789474 44.5069435,62.6315789 Z M47.2824215,23.3333333 L45.0273456,44.0350877 C44.8538782,46.8421053 42.4253349,48.7719298 39.6498569,48.5964912 C37.2213136,48.245614 35.4866399,46.4912281 35.3131725,44.0350877 L33.0580966,23.3333333 C32.7111619,19.2982456 35.4866399,15.7894737 39.4763895,15.2631579 C43.4661392,14.9122807 46.9354867,17.8947368 47.2824215,21.9298246 C47.4558889,22.2807018 47.4558889,22.8070175 47.2824215,23.3333333 Z"})))}},292:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(r(294)),n=s(r(184));function s(e){return e&&e.__esModule?e:{default:e}}t.default=e=>{let{block:t=!1,size:r="6em"}=e;return a.default.createElement("div",{style:{height:r,width:r},className:(0,n.default)({"mfa-loading-indicator":!0,"mfa-loading-indicator--block":t})})}},273:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.VIEWS=t.Component=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(a,s,i):a[s]=e[s]}a.default=e,r&&r.set(e,a);return a}(r(294)),n=d(r(697)),s=r(28),i=d(r(184)),u=d(r(947)),o=d(r(409)),l=d(r(292)),c=d(r(388)),f=d(r(462));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}const h={LOADING:"LOADING",READY:"READY",ERROR:"ERROR",PROMPTING:"PROMPTING",FAILURE:"FAILURE",SUCCESS:"SUCCESS"};t.VIEWS=h;class m extends a.Component{constructor(e){super(e);let t=h.LOADING;e.keyData?t=h.READY:e.errors.length&&(t=h.ERROR),this.state={view:t,registrationData:null},this.handleBack=this.handleBack.bind(this),this.handleNext=this.handleNext.bind(this),this.handleStartRegistration=this.handleStartRegistration.bind(this)}componentDidUpdate(){const{keyData:e}=this.props,{view:t}=this.state;t===h.LOADING&&e&&this.setState({view:h.READY})}handleBack(){this.props.onBack()}handleNext(){const{registrationData:e}=this.state;null!==e?this.props.onCompleteRegistration(e):this.setState({view:h.FAILURE})}handleStartRegistration(){this.setState({view:h.PROMPTING}),(0,s.performRegistration)(this.props.keyData).then((e=>this.setState({view:h.SUCCESS,registrationData:e}))).catch((()=>this.setState({view:h.FAILURE})))}renderDescription(){const{ss:{i18n:e}}=window,{method:{supportLink:t,supportText:r}}=this.props,n=e._t("MFAWebAuthnRegister.REGISTER",f.default["MFAWebAuthnRegister.REGISTER"]),s=e.inject(e._t("MFAWebAuthnRegister.INSTRUCTION",f.default["MFAWebAuthnRegister.INSTRUCTION"]),{button:`${n}`});return a.default.createElement("div",{className:"mfa-registration-container__description"},a.default.createElement("p",null,e._t("MFAWebAuthnRegister.DESCRIPTION",f.default["MFAWebAuthnRegister.DESCRIPTION"]),t&&a.default.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer"},r||e._t("MFAWebAuthnRegister.HELP",f.default["MFAWebAuthnRegister.HELP"]))),a.default.createElement("p",{dangerouslySetInnerHTML:{__html:s}}))}renderStatus(){const{errors:e}=this.props,{ss:{i18n:t}}=window;switch(this.state.view){case h.READY:return a.default.createElement("div",{className:"mfa-registration-container__status status-message--empty"});case h.SUCCESS:return a.default.createElement("div",{className:"mfa-registration-container__status status-message--success"},a.default.createElement("span",{className:"status-message__icon"},a.default.createElement(u.default,{size:"32px"})),a.default.createElement("span",{className:"status-message__description"},t._t("MFAWebAuthnRegister.SUCCESS",f.default["MFAWebAuthnRegister.SUCCESS"])));case h.FAILURE:return a.default.createElement("div",{className:"mfa-registration-container__status status-message--failure"},a.default.createElement("span",{className:"status-message__icon"},a.default.createElement(o.default,{size:"32px"})),a.default.createElement("span",{className:"status-message__description"},t._t("MFAWebAuthnRegister.FAILURE",f.default["MFAWebAuthnRegister.FAILURE"])));case h.ERROR:return a.default.createElement("div",{className:"mfa-registration-container__status status-message--error"},a.default.createElement("span",{className:"status-message__icon"},a.default.createElement(o.default,{size:"32px"})),a.default.createElement("span",{className:"status-message__description"},e.join(", ")));default:return a.default.createElement("div",{className:"mfa-registration-container__status status-message--loading"},a.default.createElement(l.default,{size:"3em"}),a.default.createElement("span",{className:"status-message__description"},t._t("MFAWebAuthnRegister.WAITING",f.default["MFAWebAuthnRegister.WAITING"])))}}renderThumbnail(){return a.default.createElement("div",{className:"mfa-registration-container__thumbnail"},a.default.createElement(c.default,null))}renderActions(){const{ss:{i18n:e}}=window,{view:t}=this.state;let r=[];switch(t){case h.FAILURE:r=[{action:this.handleStartRegistration,name:e._t("MFAWebAuthnRegister.RETRY",f.default["MFAWebAuthnRegister.RETRY"])},{action:this.handleBack,name:e._t("MFAWebAuthnRegister.BACK",f.default["MFAWebAuthnRegister.BACK"])}];break;case h.ERROR:r=[];break;case h.READY:r=[{action:this.handleStartRegistration,name:e._t("MFAWebAuthnRegister.REGISTER",f.default["MFAWebAuthnRegister.REGISTER"])},{action:this.handleBack,name:e._t("MFAWebAuthnRegister.BACK",f.default["MFAWebAuthnRegister.BACK"])}];break;case h.PROMPTING:r=[{action:this.handleStartRegistration,name:e._t("MFAWebAuthnRegister.REGISTERING",f.default["MFAWebAuthnRegister.REGISTERING"]),disabled:!0},{action:this.handleBack,name:e._t("MFAWebAuthnRegister.BACK",f.default["MFAWebAuthnRegister.BACK"]),disabled:!0}];break;case h.SUCCESS:r=[{action:this.handleNext,name:e._t("MFAWebAuthnRegister.COMPLETEREGISTRATION",f.default["MFAWebAuthnRegister.COMPLETEREGISTRATION"])}];break;default:r=[{action:this.handleStartRegistration,name:e._t("MFAWebAuthnRegister.REGISTERING",f.default["MFAWebAuthnRegister.REGISTERING"]),disabled:!0},{action:this.handleBack,name:e._t("MFAWebAuthnRegister.BACK",f.default["MFAWebAuthnRegister.BACK"])}]}return a.default.createElement("div",{className:"mfa-registration-container__actions mfa-action-list"},r.map(((e,t)=>{const r=0===t,n=(0,i.default)("btn","mfa-action-list__item",{"btn-primary":r,"btn-secondary":!r});return a.default.createElement("button",{key:e.name,className:n,disabled:e.disabled||!1,onClick:e.action,type:"button"},e.name)})))}render(){return a.default.createElement("div",{className:"mfa-registration-container mfa-registration-container--web-authn"},this.renderDescription(),this.renderStatus(),this.renderThumbnail(),this.renderActions())}}t.Component=m,m.propTypes={keyData:n.default.object,method:n.default.object.isRequired,errors:n.default.arrayOf(n.default.string),onBack:n.default.func.isRequired,onCompleteRegistration:n.default.func.isRequired},m.defaultProps={errors:[]},m.displayName="WebAuthnRegister";var y=m;t.default=y},834:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(a,s,i):a[s]=e[s]}a.default=e,r&&r.set(e,a);return a}(r(294)),n=d(r(697)),s=d(r(342)),i=r(28),u=d(r(947)),o=d(r(409)),l=d(r(292)),c=d(r(388)),f=d(r(462));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}class h extends a.Component{constructor(e){super(e),this.state={failure:!1,success:!1},this.startAuth=this.startAuth.bind(this),this.handleRetry=this.handleRetry.bind(this)}handleRetry(e){e.preventDefault(),this.setState({failure:!1})}startAuth(){const{publicKey:e,onCompleteVerification:t}=this.props;(0,i.performVerification)(e).then((e=>{this.setState({success:!0},(()=>setTimeout((()=>{t(e)}),1e3)))})).catch((()=>this.setState({failure:!0})))}renderDescription(){const{ss:{i18n:e}}=window,{method:{supportLink:t}}=this.props,r=e._t("MFAWebAuthnVerify.VERIFY",f.default["MFAWebAuthnVerify.VERIFY"]),n=e.inject(e._t("MFAWebAuthnVerify.INSTRUCTION",f.default["MFAWebAuthnVerify.INSTRUCTION"]),{button:`${r}`});return a.default.createElement("div",{className:"mfa-verification-container__description"},a.default.createElement("p",null,e._t("MFAWebAuthnVerify.DESCRIPTION",f.default["MFAWebAuthnVerify.DESCRIPTION"]),t&&a.default.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer"},e._t("MFAWebAuthnVerify.HELP",f.default["MFAWebAuthnVerify.HELP"]))),a.default.createElement("p",{dangerouslySetInnerHTML:{__html:n}}))}renderStatus(){const{ss:{i18n:e}}=window,{errors:t}=this.props,{failure:r,success:n}=this.state;return t.length?a.default.createElement("div",{className:"mfa-verification-container__status status-message--error"},a.default.createElement("span",{className:"status-message__icon"},a.default.createElement(o.default,{size:"32px"})),a.default.createElement("span",{className:"status-message__description"},t.join(", "))):n?a.default.createElement("div",{className:"mfa-verification-container__status status-message--success"},a.default.createElement("span",{className:"status-message__icon"},a.default.createElement(u.default,{size:"32px"})),a.default.createElement("span",{className:"status-message__description"},e._t("MFAWebAuthnVerify.SUCCESS",f.default["MFAWebAuthnVerify.SUCCESS"]))):r?a.default.createElement("div",{className:"mfa-verification-container__status status-message--failure"},a.default.createElement("span",{className:"status-message__icon"},a.default.createElement(o.default,{size:"32px"})),a.default.createElement("span",{className:"status-message__description"},e._t("MFAWebAuthnVerify.FAILURE",f.default["MFAWebAuthnVerify.FAILURE"]))):a.default.createElement("div",{className:"mfa-verification-container__status status-message--loading"},a.default.createElement(l.default,{size:"3em"}),a.default.createElement("span",{className:"status-message__description"},e._t("MFAWebAuthnVerify.WAITING",f.default["MFAWebAuthnVerify.WAITING"])))}renderThumbnail(){return a.default.createElement("div",{className:"mfa-verification-container__thumbnail"},a.default.createElement(c.default,null))}renderActions(){const{ss:{i18n:e}}=window,{moreOptionsControl:t}=this.props,{failure:r,success:n}=this.state;if(n)return a.default.createElement("div",{className:"mfa-verification-container__actions mfa-action-list"});const s=e._t("MFAWebAuthnVerify.RETRY",f.default["MFAWebAuthnVerify.RETRY"]),i=a.default.createElement("button",{key:s,className:"btn mfa-action-list__item btn-primary",disabled:!1,onClick:this.handleRetry,type:"button"},s);return a.default.createElement("div",{className:"mfa-verification-container__actions mfa-action-list"},r?i:null,t)}render(){const{failure:e,success:t}=this.state;return e||t||this.startAuth(),a.default.createElement("div",{className:"mfa-verification-container mfa-verification-container--web-authn"},this.renderDescription(),this.renderStatus(),this.renderThumbnail(),this.renderActions())}}h.propTypes={method:n.default.object.isRequired,publicKey:s.default,onCompleteVerification:n.default.func.isRequired,moreOptionsControl:n.default.oneOfType([n.default.object,n.default.func]),errors:n.default.arrayOf(n.default.string)},h.defaultProps={errors:[]};var m=h;t.default=m},28:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.performVerification=t.performRegistration=void 0;var a=r(132);t.performRegistration=e=>new Promise(((t,r)=>{void 0!==e.user&&void 0!==e.challenge||r("keyData not provided");const n={...e.user,id:(0,a.base64ToByteArray)(e.user.id)},s={...e,user:n,challenge:(0,a.base64ToByteArray)(e.challenge)},{navigator:i}=window;i.credentials.create({publicKey:s}).then((e=>{t({credentials:btoa(JSON.stringify({id:e.id,type:e.type,rawId:(0,a.byteArrayToBase64)(e.rawId),response:{clientDataJSON:(0,a.byteArrayToBase64)(e.response.clientDataJSON),attestationObject:(0,a.byteArrayToBase64)(e.response.attestationObject)}}))})})).catch((e=>{r(e.message)}))}));t.performVerification=e=>new Promise(((t,r)=>{const n={...e,challenge:(0,a.base64ToByteArray)(e.challenge),allowCredentials:e.allowCredentials.map((e=>({...e,id:(0,a.base64ToByteArray)(e.id)})))};navigator.credentials.get({publicKey:n}).then((e=>{t({credentials:btoa(JSON.stringify({id:e.id,type:e.type,rawId:(0,a.byteArrayToBase64)(e.rawId),response:{clientDataJSON:(0,a.byteArrayToBase64)(e.response.clientDataJSON),authenticatorData:(0,a.byteArrayToBase64)(e.response.authenticatorData),signature:(0,a.byteArrayToBase64)(e.response.signature),userHandle:e.response.userHandle?(0,a.byteArrayToBase64)(e.response.userHandle):null}}))})})).catch((e=>{r(e.message)}))}))},132:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.byteArrayToBase64=t.base64ToByteArray=void 0;t.base64ToByteArray=e=>{const t=atob(e.replace(/_/g,"/").replace(/-/g,"+"));return Uint8Array.from(t,(e=>e.charCodeAt(0)))};t.byteArrayToBase64=e=>{const t=new Uint8Array(e);return btoa(String.fromCharCode(...t)).replace(/\=+$/,"")}},675:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!0,r=null;"https:"!==window.location.protocol?(t=!1,r=window.ss.i18n._t("WebAuthnReducer.NOT_ON_HTTPS","This method can only be used over HTTPS.")):void 0===window.AuthenticatorResponse&&(t=!1,r=window.ss.i18n._t("WebAuthnReducer.UNSUPPORTED_BROWSER","Security keys are not supported by this browser"));const a=t?{}:{isAvailable:t,unavailableMessage:r};return{...e,...a}}},342:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(697))&&a.__esModule?a:{default:a};var s=n.default.shape({challenge:n.default.string.isRequired,rpId:n.default.string,userVerification:n.default.string,allowCredentials:n.default.arrayOf(n.default.shape({id:n.default.string.isRequired,type:n.default.string.isRequired,transports:n.default.arrayOf(n.default.string)})),extensions:n.default.Object,timeout:n.default.number});t.default=s},184:function(e,t){var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e=[],t=0;t{(0,a.default)(),(0,n.default)()}))},521:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(r(648)),n=i(r(273)),s=i(r(834));function i(e){return e&&e.__esModule?e:{default:e}}t.default=()=>{a.default.component.registerMany({WebAuthnRegister:n.default,WebAuthnVerify:s.default})}},180:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(r(648)),n=s(r(675));function s(e){return e&&e.__esModule?e:{default:e}}t.default=()=>{a.default.reducer.register("web-authnAvailability",n.default)}},388:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(294))&&a.__esModule?a:{default:a};t.default=()=>n.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 240 240"},n.default.createElement("defs",null,n.default.createElement("style",null,".a{fill:none;}.b{fill:#549ad3;}.c,.g{fill:#333a48;}.d{fill:#ffcf6e;}.e{clip-path:url(#a);}.f{fill:#d6e1ea;}.g{opacity:0.2;}.h{fill:url(#b);}.i{fill:#fff;}"),n.default.createElement("clipPath",{id:"a"},n.default.createElement("circle",{className:"a",cx:"120",cy:"120",r:"120"})),n.default.createElement("linearGradient",{id:"b",x1:"-26.14",y1:"68.86",x2:"-11.09",y2:"-38.22",gradientUnits:"userSpaceOnUse"},n.default.createElement("stop",{offset:"0.58",stopColor:"#333a48"}),n.default.createElement("stop",{offset:"0.59",stopColor:"#424a5c"}))),n.default.createElement("title",null,"U2F"),n.default.createElement("circle",{className:"b",cx:"120",cy:"120",r:"120"}),n.default.createElement("path",{className:"c",d:"M127.91,93.4a1.22,1.22,0,0,0,1.21,1.22h35.61a3.77,3.77,0,0,0,3.56-4V74.33a3.77,3.77,0,0,0-3.56-4H129.12a1.22,1.22,0,0,0-1.21,1.22Zm34.38-13.32A2.22,2.22,0,1,1,160,82.3,2.24,2.24,0,0,1,162.29,80.08Z"}),n.default.createElement("path",{className:"c",d:"M114.18,76.44h15.35a0,0,0,0,1,0,0v9.12a3,3,0,0,1-3,3h-9.35a3,3,0,0,1-3-3V76.44A0,0,0,0,1,114.18,76.44Z",transform:"translate(204.35 -39.35) rotate(90)"}),n.default.createElement("circle",{className:"d",cx:"146.94",cy:"82.77",r:"7.27"}),n.default.createElement("rect",{className:"d",x:"121.65",y:"82.3",width:"2.02",height:"10.5",transform:"translate(210.21 -35.11) rotate(90)"}),n.default.createElement("rect",{className:"d",x:"122.46",y:"79.87",width:"2.02",height:"8.88",transform:"translate(207.78 -39.15) rotate(90)"}),n.default.createElement("rect",{className:"d",x:"121.65",y:"72.2",width:"2.02",height:"10.5",transform:"translate(200.11 -45.21) rotate(90)"}),n.default.createElement("rect",{className:"d",x:"122.46",y:"76.24",width:"2.02",height:"8.88",transform:"translate(204.15 -42.78) rotate(90)"}),n.default.createElement("g",{className:"e"},n.default.createElement("rect",{className:"f",x:"-157.14",y:"54",width:"285",height:"192",rx:"10",ry:"10"}),n.default.createElement("rect",{className:"c",x:"-139.64",y:"70",width:"250",height:"97",rx:"2",ry:"2"}),n.default.createElement("rect",{className:"g",x:"-62.64",y:"175",width:"96",height:"62",rx:"3",ry:"3"}),n.default.createElement("rect",{className:"c",x:"-139.64",y:"54",width:"250",height:"5"}),n.default.createElement("path",{className:"h",d:"M-149.51,51.5a2.52,2.52,0,0,1-2.25-1.41l-30.14-62a2.49,2.49,0,0,1,.13-2.42,2.47,2.47,0,0,1,2.12-1.17h330a2.47,2.47,0,0,1,2.12,1.17,2.47,2.47,0,0,1,.13,2.42l-30.14,62a2.5,2.5,0,0,1-2.25,1.41Z"}),n.default.createElement("path",{className:"c",d:"M150.37-13h0L120.23,49H-149.51l-30.14-62h330m0-5h-330a5,5,0,0,0-4.49,7.19l30.13,62a5,5,0,0,0,4.5,2.81H120.23a5,5,0,0,0,4.5-2.81l30.14-62a5,5,0,0,0-4.5-7.19Z"})),n.default.createElement("path",{className:"i",d:"M159,107.75a5.47,5.47,0,0,1,1.83.32,5.64,5.64,0,0,1,3.76,5.37c0,2.26,0,4.51,0,6.77v18.2a.6.6,0,0,0,.61.6.57.57,0,0,0,.5-.29c.89-1.49,2.34-3.08,4.49-3.08a6,6,0,0,1,4.32,1.5,5.45,5.45,0,0,1,1.43,2.18,1.28,1.28,0,0,0,1.2.86,1.2,1.2,0,0,0,.67-.21,5.81,5.81,0,0,1,3.2-1,5.33,5.33,0,0,1,2.77.76,5.81,5.81,0,0,1,2.43,3,5,5,0,0,1,.28,1.19,1.05,1.05,0,0,0,1,.93,1.07,1.07,0,0,0,.43-.09,5.53,5.53,0,0,1,2.4-.55h.08a5.57,5.57,0,0,1,5.45,4.66,17.12,17.12,0,0,1,.07,2.89v7.1c0,3.09-2.59,29-18,29H161.34l-1.1,0a4,4,0,0,1-1.42-.21A4.63,4.63,0,0,1,157,186a6,6,0,0,1-.5-.71L137,153.54a4.89,4.89,0,0,1,3.92-7.27h.22a5,5,0,0,1,3.86,1.86,8.76,8.76,0,0,1,.79,1.22l2.55,4.42,1.72,3a1.72,1.72,0,0,0,1.52.89,1.77,1.77,0,0,0,1.81-1.74c0-.73,0-1.26,0-1.42V113.52a5.62,5.62,0,0,1,5.61-5.77m0-5h0a10.6,10.6,0,0,0-10.61,10.75v30.94a10.12,10.12,0,0,0-7.28-3.18h-.47a9.9,9.9,0,0,0-8,14.77l0,.06,0,.05,19.47,31.75a12.19,12.19,0,0,0,4.79,4.45,8.84,8.84,0,0,0,3.29.57h17.65c18.94,0,23-27.28,23-34v-7.1c0-.4,0-.73,0-1a12.7,12.7,0,0,0-.16-2.75,10.55,10.55,0,0,0-10.37-8.8H190a10.89,10.89,0,0,0-3.7-3.75A10.45,10.45,0,0,0,181,134a10.69,10.69,0,0,0-2.34.25,10.59,10.59,0,0,0-.74-.76,10.91,10.91,0,0,0-7.74-2.85h-.6V118c0-1.51,0-3,0-4.55a10.61,10.61,0,0,0-7.09-10.06,10.38,10.38,0,0,0-3.5-.6Z"}))},947:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(294))&&a.__esModule?a:{default:a};t.default=e=>{let{color:t="currentColor",size:r="3em"}=e;return n.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:r,width:r},n.default.createElement("g",{fill:t},n.default.createElement("path",{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"})))}},409:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(294))&&a.__esModule?a:{default:a};t.default=e=>{let{color:t="currentColor",size:r="3em"}=e;return n.default.createElement("svg",{width:r,height:r,viewBox:"0 0 80 80",xmlns:"http://www.w3.org/2000/svg"},n.default.createElement("g",{fill:t,fillRule:"nonzero"},n.default.createElement("path",{d:"M39.8233243,0 C17.9664349,0 0.272762495,17.8947368 0.272762495,40 C0.272762495,62.1052632 17.9664349,80 39.8233243,80 C61.6802137,80 79.3738861,62.1052632 79.3738861,40 C79.3738861,17.8947368 61.6802137,0 39.8233243,0 Z M44.5069435,62.6315789 C43.2926718,63.8596491 41.7314654,64.5614035 40.170259,64.5614035 C38.4355853,64.5614035 36.8743789,63.8596491 35.8335746,62.6315789 C34.619303,61.5789474 33.9254335,60 33.9254335,58.245614 C33.9254335,56.6666667 34.619303,55.0877193 35.8335746,53.8596491 C38.0886505,51.5789474 42.2518676,51.5789474 44.5069435,53.8596491 C45.7212151,55.0877193 46.2416172,56.6666667 46.2416172,58.245614 C46.4150846,60 45.7212151,61.5789474 44.5069435,62.6315789 Z M47.2824215,23.3333333 L45.0273456,44.0350877 C44.8538782,46.8421053 42.4253349,48.7719298 39.6498569,48.5964912 C37.2213136,48.245614 35.4866399,46.4912281 35.3131725,44.0350877 L33.0580966,23.3333333 C32.7111619,19.2982456 35.4866399,15.7894737 39.4763895,15.2631579 C43.4661392,14.9122807 46.9354867,17.8947368 47.2824215,21.9298246 C47.4558889,22.2807018 47.4558889,22.8070175 47.2824215,23.3333333 Z"})))}},292:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(r(294)),n=s(r(184));function s(e){return e&&e.__esModule?e:{default:e}}t.default=e=>{let{block:t=!1,size:r="6em"}=e;return a.default.createElement("div",{style:{height:r,width:r},className:(0,n.default)({"mfa-loading-indicator":!0,"mfa-loading-indicator--block":t})})}},273:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.VIEWS=t.Component=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(a,s,i):a[s]=e[s]}a.default=e,r&&r.set(e,a);return a}(r(294)),n=d(r(697)),s=r(28),i=d(r(184)),u=d(r(947)),o=d(r(409)),l=d(r(292)),c=d(r(388)),f=d(r(462));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}const h={LOADING:"LOADING",READY:"READY",ERROR:"ERROR",PROMPTING:"PROMPTING",FAILURE:"FAILURE",SUCCESS:"SUCCESS"};t.VIEWS=h;class m extends a.Component{constructor(e){super(e);let t=h.LOADING;e.keyData?t=h.READY:e.errors.length&&(t=h.ERROR),this.state={view:t,registrationData:null},this.handleBack=this.handleBack.bind(this),this.handleNext=this.handleNext.bind(this),this.handleStartRegistration=this.handleStartRegistration.bind(this)}componentDidUpdate(){const{keyData:e}=this.props,{view:t}=this.state;t===h.LOADING&&e&&this.setState({view:h.READY})}handleBack(){this.props.onBack()}handleNext(){const{registrationData:e}=this.state;null!==e?this.props.onCompleteRegistration(e):this.setState({view:h.FAILURE})}handleStartRegistration(){this.setState({view:h.PROMPTING}),(0,s.performRegistration)(this.props.keyData).then((e=>this.setState({view:h.SUCCESS,registrationData:e}))).catch((()=>this.setState({view:h.FAILURE})))}renderDescription(){const{ss:{i18n:e}}=window,{method:{supportLink:t,supportText:r}}=this.props,n=e._t("MFAWebAuthnRegister.REGISTER",f.default["MFAWebAuthnRegister.REGISTER"]),s=e.inject(e._t("MFAWebAuthnRegister.INSTRUCTION",f.default["MFAWebAuthnRegister.INSTRUCTION"]),{button:`${n}`});return a.default.createElement("div",{className:"mfa-registration-container__description"},a.default.createElement("p",null,e._t("MFAWebAuthnRegister.DESCRIPTION",f.default["MFAWebAuthnRegister.DESCRIPTION"]),t&&a.default.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer"},r||e._t("MFAWebAuthnRegister.HELP",f.default["MFAWebAuthnRegister.HELP"]))),a.default.createElement("p",{dangerouslySetInnerHTML:{__html:s}}))}renderStatus(){const{errors:e}=this.props,{ss:{i18n:t}}=window;switch(this.state.view){case h.READY:return a.default.createElement("div",{className:"mfa-registration-container__status status-message--empty"});case h.SUCCESS:return a.default.createElement("div",{className:"mfa-registration-container__status status-message--success"},a.default.createElement("span",{className:"status-message__icon"},a.default.createElement(u.default,{size:"32px"})),a.default.createElement("span",{className:"status-message__description"},t._t("MFAWebAuthnRegister.SUCCESS",f.default["MFAWebAuthnRegister.SUCCESS"])));case h.FAILURE:return a.default.createElement("div",{className:"mfa-registration-container__status status-message--failure"},a.default.createElement("span",{className:"status-message__icon"},a.default.createElement(o.default,{size:"32px"})),a.default.createElement("span",{className:"status-message__description"},t._t("MFAWebAuthnRegister.FAILURE",f.default["MFAWebAuthnRegister.FAILURE"])));case h.ERROR:return a.default.createElement("div",{className:"mfa-registration-container__status status-message--error"},a.default.createElement("span",{className:"status-message__icon"},a.default.createElement(o.default,{size:"32px"})),a.default.createElement("span",{className:"status-message__description"},e.join(", ")));default:return a.default.createElement("div",{className:"mfa-registration-container__status status-message--loading"},a.default.createElement(l.default,{size:"3em"}),a.default.createElement("span",{className:"status-message__description"},t._t("MFAWebAuthnRegister.WAITING",f.default["MFAWebAuthnRegister.WAITING"])))}}renderThumbnail(){return a.default.createElement("div",{className:"mfa-registration-container__thumbnail"},a.default.createElement(c.default,null))}renderActions(){const{ss:{i18n:e}}=window,{view:t}=this.state;let r=[];switch(t){case h.FAILURE:r=[{action:this.handleStartRegistration,name:e._t("MFAWebAuthnRegister.RETRY",f.default["MFAWebAuthnRegister.RETRY"])},{action:this.handleBack,name:e._t("MFAWebAuthnRegister.BACK",f.default["MFAWebAuthnRegister.BACK"])}];break;case h.ERROR:r=[];break;case h.READY:r=[{action:this.handleStartRegistration,name:e._t("MFAWebAuthnRegister.REGISTER",f.default["MFAWebAuthnRegister.REGISTER"])},{action:this.handleBack,name:e._t("MFAWebAuthnRegister.BACK",f.default["MFAWebAuthnRegister.BACK"])}];break;case h.PROMPTING:r=[{action:this.handleStartRegistration,name:e._t("MFAWebAuthnRegister.REGISTERING",f.default["MFAWebAuthnRegister.REGISTERING"]),disabled:!0},{action:this.handleBack,name:e._t("MFAWebAuthnRegister.BACK",f.default["MFAWebAuthnRegister.BACK"]),disabled:!0}];break;case h.SUCCESS:r=[{action:this.handleNext,name:e._t("MFAWebAuthnRegister.COMPLETEREGISTRATION",f.default["MFAWebAuthnRegister.COMPLETEREGISTRATION"])}];break;default:r=[{action:this.handleStartRegistration,name:e._t("MFAWebAuthnRegister.REGISTERING",f.default["MFAWebAuthnRegister.REGISTERING"]),disabled:!0},{action:this.handleBack,name:e._t("MFAWebAuthnRegister.BACK",f.default["MFAWebAuthnRegister.BACK"])}]}return a.default.createElement("div",{className:"mfa-registration-container__actions mfa-action-list"},r.map(((e,t)=>{const r=0===t,n=(0,i.default)("btn","mfa-action-list__item",{"btn-primary":r,"btn-secondary":!r});return a.default.createElement("button",{key:e.name,className:n,disabled:e.disabled||!1,onClick:e.action,type:"button"},e.name)})))}render(){return a.default.createElement("div",{className:"mfa-registration-container mfa-registration-container--web-authn"},this.renderDescription(),this.renderStatus(),this.renderThumbnail(),this.renderActions())}}t.Component=m,m.propTypes={keyData:n.default.object,method:n.default.object.isRequired,errors:n.default.arrayOf(n.default.string),onBack:n.default.func.isRequired,onCompleteRegistration:n.default.func.isRequired},m.defaultProps={errors:[]},m.displayName="WebAuthnRegister";var y=m;t.default=y},834:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(a,s,i):a[s]=e[s]}a.default=e,r&&r.set(e,a);return a}(r(294)),n=d(r(697)),s=d(r(342)),i=r(28),u=d(r(947)),o=d(r(409)),l=d(r(292)),c=d(r(388)),f=d(r(462));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}class h extends a.Component{constructor(e){super(e),this.state={failure:!1,success:!1},this.startAuth=this.startAuth.bind(this),this.handleRetry=this.handleRetry.bind(this)}handleRetry(e){e.preventDefault(),this.setState({failure:!1})}startAuth(){const{publicKey:e,onCompleteVerification:t}=this.props;(0,i.performVerification)(e).then((e=>{this.setState({success:!0},(()=>setTimeout((()=>{t(e)}),1e3)))})).catch((()=>this.setState({failure:!0})))}renderDescription(){const{ss:{i18n:e}}=window,{method:{supportLink:t}}=this.props,r=e._t("MFAWebAuthnVerify.VERIFY",f.default["MFAWebAuthnVerify.VERIFY"]),n=e.inject(e._t("MFAWebAuthnVerify.INSTRUCTION",f.default["MFAWebAuthnVerify.INSTRUCTION"]),{button:`${r}`});return a.default.createElement("div",{className:"mfa-verification-container__description"},a.default.createElement("p",null,e._t("MFAWebAuthnVerify.DESCRIPTION",f.default["MFAWebAuthnVerify.DESCRIPTION"]),t&&a.default.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer"},e._t("MFAWebAuthnVerify.HELP",f.default["MFAWebAuthnVerify.HELP"]))),a.default.createElement("p",{dangerouslySetInnerHTML:{__html:n}}))}renderStatus(){const{ss:{i18n:e}}=window,{errors:t}=this.props,{failure:r,success:n}=this.state;return t.length?a.default.createElement("div",{className:"mfa-verification-container__status status-message--error"},a.default.createElement("span",{className:"status-message__icon"},a.default.createElement(o.default,{size:"32px"})),a.default.createElement("span",{className:"status-message__description"},t.join(", "))):n?a.default.createElement("div",{className:"mfa-verification-container__status status-message--success"},a.default.createElement("span",{className:"status-message__icon"},a.default.createElement(u.default,{size:"32px"})),a.default.createElement("span",{className:"status-message__description"},e._t("MFAWebAuthnVerify.SUCCESS",f.default["MFAWebAuthnVerify.SUCCESS"]))):r?a.default.createElement("div",{className:"mfa-verification-container__status status-message--failure"},a.default.createElement("span",{className:"status-message__icon"},a.default.createElement(o.default,{size:"32px"})),a.default.createElement("span",{className:"status-message__description"},e._t("MFAWebAuthnVerify.FAILURE",f.default["MFAWebAuthnVerify.FAILURE"]))):a.default.createElement("div",{className:"mfa-verification-container__status status-message--loading"},a.default.createElement(l.default,{size:"3em"}),a.default.createElement("span",{className:"status-message__description"},e._t("MFAWebAuthnVerify.WAITING",f.default["MFAWebAuthnVerify.WAITING"])))}renderThumbnail(){return a.default.createElement("div",{className:"mfa-verification-container__thumbnail"},a.default.createElement(c.default,null))}renderActions(){const{ss:{i18n:e}}=window,{moreOptionsControl:t}=this.props,{failure:r,success:n}=this.state;if(n)return a.default.createElement("div",{className:"mfa-verification-container__actions mfa-action-list"});const s=e._t("MFAWebAuthnVerify.RETRY",f.default["MFAWebAuthnVerify.RETRY"]),i=a.default.createElement("button",{key:s,className:"btn mfa-action-list__item btn-primary",disabled:!1,onClick:this.handleRetry,type:"button"},s);return a.default.createElement("div",{className:"mfa-verification-container__actions mfa-action-list"},r?i:null,t)}render(){const{failure:e,success:t}=this.state;return e||t||this.startAuth(),a.default.createElement("div",{className:"mfa-verification-container mfa-verification-container--web-authn"},this.renderDescription(),this.renderStatus(),this.renderThumbnail(),this.renderActions())}}h.propTypes={method:n.default.object.isRequired,publicKey:s.default,onCompleteVerification:n.default.func.isRequired,moreOptionsControl:n.default.oneOfType([n.default.object,n.default.func]),errors:n.default.arrayOf(n.default.string)},h.defaultProps={errors:[]};var m=h;t.default=m},28:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.performVerification=t.performRegistration=void 0;var a=r(132);t.performRegistration=e=>new Promise(((t,r)=>{void 0!==e.user&&void 0!==e.challenge||r("keyData not provided");const n={...e.user,id:(0,a.base64ToByteArray)(e.user.id)},s={...e,user:n,challenge:(0,a.base64ToByteArray)(e.challenge)},{navigator:i}=window;i.credentials.create({publicKey:s}).then((e=>{t({credentials:btoa(JSON.stringify({id:e.id,type:e.type,rawId:(0,a.byteArrayToBase64)(e.rawId),response:{clientDataJSON:(0,a.byteArrayToBase64)(e.response.clientDataJSON),attestationObject:(0,a.byteArrayToBase64)(e.response.attestationObject)}}))})})).catch((e=>{r(e.message)}))}));t.performVerification=e=>new Promise(((t,r)=>{const n={...e,challenge:(0,a.base64ToByteArray)(e.challenge),allowCredentials:e.allowCredentials.map((e=>({...e,id:(0,a.base64ToByteArray)(e.id)})))};navigator.credentials.get({publicKey:n}).then((e=>{t({credentials:btoa(JSON.stringify({id:e.id,type:e.type,rawId:(0,a.byteArrayToBase64)(e.rawId),response:{clientDataJSON:(0,a.byteArrayToBase64)(e.response.clientDataJSON),authenticatorData:(0,a.byteArrayToBase64)(e.response.authenticatorData),signature:(0,a.byteArrayToBase64)(e.response.signature),userHandle:e.response.userHandle?(0,a.byteArrayToBase64)(e.response.userHandle):null}}))})})).catch((e=>{r(e.message)}))}))},132:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.byteArrayToBase64=t.base64ToByteArray=void 0;t.base64ToByteArray=e=>{const t=atob(e.replace(/_/g,"/").replace(/-/g,"+"));return Uint8Array.from(t,(e=>e.charCodeAt(0)))};t.byteArrayToBase64=e=>{const t=new Uint8Array(e);return btoa(String.fromCharCode(...t)).replace(/\=+$/,"")}},675:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!0,r=null;"https:"!==window.location.protocol?(t=!1,r=window.ss.i18n._t("WebAuthnReducer.NOT_ON_HTTPS","This method can only be used over HTTPS.")):void 0===window.AuthenticatorResponse&&(t=!1,r=window.ss.i18n._t("WebAuthnReducer.UNSUPPORTED_BROWSER","Security keys are not supported by this browser"));return{...e,...t?{}:{isAvailable:t,unavailableMessage:r}}}},342:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(697))&&a.__esModule?a:{default:a};var s=n.default.shape({challenge:n.default.string.isRequired,rpId:n.default.string,userVerification:n.default.string,allowCredentials:n.default.arrayOf(n.default.shape({id:n.default.string.isRequired,type:n.default.string.isRequired,transports:n.default.arrayOf(n.default.string)})),extensions:n.default.Object,timeout:n.default.number});t.default=s},184:function(e,t){var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e=[],t=0;t=3.0.0 <4.0.0" immutable "^4.0.0" @@ -6999,38 +7085,38 @@ scheduler@^0.23.0: dependencies: loose-envify "^1.1.0" -schema-utils@^3.1.0, schema-utils@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281" - integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw== +schema-utils@^3.1.1, schema-utils@^3.2.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe" + integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg== dependencies: "@types/json-schema" "^7.0.8" ajv "^6.12.5" ajv-keywords "^3.5.2" schema-utils@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.0.0.tgz#60331e9e3ae78ec5d16353c467c34b3a0a1d3df7" - integrity sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg== + version "4.2.0" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.2.0.tgz#70d7c93e153a273a805801882ebd3bff20d89c8b" + integrity sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw== dependencies: "@types/json-schema" "^7.0.9" - ajv "^8.8.0" + ajv "^8.9.0" ajv-formats "^2.1.1" - ajv-keywords "^5.0.0" + ajv-keywords "^5.1.0" -semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^6.0.0, semver@^6.3.0: + version "6.3.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.0.0, semver@^7.1.1, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8: - version "7.3.8" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" - integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== +semver@^7.0.0, semver@^7.1.1, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3: + version "7.5.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" + integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== dependencies: lru-cache "^6.0.0" -serialize-javascript@^6.0.0: +serialize-javascript@^6.0.0, serialize-javascript@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c" integrity sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w== @@ -7040,7 +7126,7 @@ serialize-javascript@^6.0.0: set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= + integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== shallow-clone@^3.0.0: version "3.0.1" @@ -7064,7 +7150,7 @@ shebang-regex@^3.0.0: shelljs@^0.6.0: version "0.6.1" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.6.1.tgz#ec6211bed1920442088fe0f70b2837232ed2c8a8" - integrity sha1-7GIRvtGSBEIIj+D3Cyg3Iy7SyKg= + integrity sha512-B1vvzXQlJ77SURr3SIUQ/afh+LwecDKAVKE1wqkBlr2PCHoZDaF6MFD+YX1u9ddQjR4z2CKx1tdqvS2Xfs5h1A== side-channel@^1.0.4: version "1.0.4" @@ -7080,6 +7166,11 @@ signal-exit@^3.0.3, signal-exit@^3.0.7: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== +signal-exit@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.0.2.tgz#ff55bb1d9ff2114c13b400688fa544ac63c36967" + integrity sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q== + sirv@^1.0.7: version "1.0.19" resolved "https://registry.yarnpkg.com/sirv/-/sirv-1.0.19.tgz#1d73979b38c7fe91fcba49c85280daa9c2363b49" @@ -7107,7 +7198,7 @@ slash@^4.0.0: slice-ansi@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" - integrity sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU= + integrity sha512-up04hB2hR92PgjpyU3y/eg91yIBILyjVY26NvvciY3EVVPjybkMszMpXQ9QAkcS3I5rtJBDLoTxxg+qvW8c7rw== smart-buffer@^4.2.0: version "4.2.0" @@ -7158,9 +7249,9 @@ source-map@0.6.1, source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== spdx-correct@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9" - integrity sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w== + version "3.2.0" + resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.2.0.tgz#4f5ab0668f0059e34f9c00dce331784a12de4e9c" + integrity sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA== dependencies: spdx-expression-parse "^3.0.0" spdx-license-ids "^3.0.0" @@ -7179,14 +7270,21 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.11" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz#50c0d8c40a14ec1bf449bae69a0ea4685a9d9f95" - integrity sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g== + version "3.0.13" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz#7189a474c46f8d47c7b0da4b987bb45e908bd2d5" + integrity sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w== sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== + +ssri@^10.0.0: + version "10.0.4" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-10.0.4.tgz#5a20af378be586df139ddb2dfb3bf992cf0daba6" + integrity sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ== + dependencies: + minipass "^5.0.0" ssri@^9.0.0, ssri@^9.0.1: version "9.0.1" @@ -7217,16 +7315,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -7235,6 +7324,15 @@ string-width@^1.0.1: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" +string-width@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" + integrity sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw== + dependencies: + code-point-at "^1.0.0" + is-fullwidth-code-point "^1.0.0" + strip-ansi "^3.0.0" + string-width@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" @@ -7243,6 +7341,15 @@ string-width@^2.0.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + string.prototype.matchall@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz#3bf85722021816dcd1bf38bb714915887ca79fd3" @@ -7257,13 +7364,14 @@ string.prototype.matchall@^4.0.8: regexp.prototype.flags "^1.4.3" side-channel "^1.0.4" -string.prototype.trimend@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz#e75ae90c2942c63504686c18b287b4a0b1a45f80" - integrity sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A== +string.prototype.trim@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz#a68352740859f6893f14ce3ef1bb3037f7a90533" + integrity sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg== dependencies: call-bind "^1.0.2" - define-properties "^1.1.3" + define-properties "^1.1.4" + es-abstract "^1.20.4" string.prototype.trimend@^1.0.6: version "1.0.6" @@ -7274,14 +7382,6 @@ string.prototype.trimend@^1.0.6: define-properties "^1.1.4" es-abstract "^1.20.4" -string.prototype.trimstart@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz#b36399af4ab2999b4c9c648bd7a3fb2bb26feeed" - integrity sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - string.prototype.trimstart@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz#e90ab66aa8e4007d92ef591bbf3cd422c56bdcf4" @@ -7305,31 +7405,38 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= + integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== dependencies: ansi-regex "^2.0.0" strip-ansi@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8= + integrity sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow== dependencies: ansi-regex "^3.0.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== +strip-ansi@^7.0.1: + version "7.1.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" + integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== dependencies: - ansi-regex "^5.0.1" + ansi-regex "^6.0.1" strip-bom@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= + integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== strip-bom@^4.0.0: version "4.0.0" @@ -7354,12 +7461,12 @@ strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: strip-json-comments@~1.0.1: version "1.0.4" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-1.0.4.tgz#1e15fbcac97d3ee99bf2d73b4c656b082bbafb91" - integrity sha1-HhX7ysl9Pumb8tc7TGVrCCu6+5E= + integrity sha512-AOPG8EBc5wAikaG1/7uFCNFJwnKOuQwFTpYBdTW6OvWHeZBQBrAA/amefHGrEiOnCPcLFZK6FUPtWVKpQVIRgg== supports-color@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" - integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= + integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== supports-color@^5.3.0: version "5.5.0" @@ -7395,7 +7502,7 @@ symbol-tree@^3.2.4: table@^3.7.8: version "3.8.3" resolved "https://registry.yarnpkg.com/table/-/table-3.8.3.tgz#2bbc542f0fda9861a755d3947fefd8b3f513855f" - integrity sha1-K7xULw/amGGnVdOUf+/Ys/UThV8= + integrity sha512-RZuzIOtzFbprLCE0AXhkI0Xi42ZJLZhCC+qkwuMLf/Vjz3maWpA8gz1qMdbmNoI9cOROT2Am/DxeRyXenrL11g== dependencies: ajv "^4.7.0" ajv-keywords "^1.0.0" @@ -7410,35 +7517,35 @@ tapable@^2.1.1, tapable@^2.2.0: integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== tar@^6.1.0, tar@^6.1.11, tar@^6.1.2: - version "6.1.13" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.13.tgz#46e22529000f612180601a6fe0680e7da508847b" - integrity sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw== + version "6.1.15" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.15.tgz#c9738b0b98845a3b344d334b8fa3041aaba53a69" + integrity sha512-/zKt9UyngnxIT/EAGYuxaMYgOIJiP81ab9ZfkILq4oNLPFX50qyYmu7jRj9qeXoxmJHjGlbH0+cm2uy1WCs10A== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" - minipass "^4.0.0" + minipass "^5.0.0" minizlib "^2.1.1" mkdirp "^1.0.3" yallist "^4.0.0" -terser-webpack-plugin@^5.1.3: - version "5.3.6" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.6.tgz#5590aec31aa3c6f771ce1b1acca60639eab3195c" - integrity sha512-kfLFk+PoLUQIbLmB1+PZDMRSZS99Mp+/MHqDNmMA6tOItzRt+Npe3E+fsMs5mfcM0wCtrrdU387UnV+vnSffXQ== +terser-webpack-plugin@^5.3.7: + version "5.3.9" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz#832536999c51b46d468067f9e37662a3b96adfe1" + integrity sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA== dependencies: - "@jridgewell/trace-mapping" "^0.3.14" + "@jridgewell/trace-mapping" "^0.3.17" jest-worker "^27.4.5" schema-utils "^3.1.1" - serialize-javascript "^6.0.0" - terser "^5.14.1" + serialize-javascript "^6.0.1" + terser "^5.16.8" -terser@^5.14.1: - version "5.16.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.16.1.tgz#5af3bc3d0f24241c7fb2024199d5c461a1075880" - integrity sha512-xvQfyfA1ayT0qdK47zskQgRZeWLoOQ8JQ6mIgRGVNwZKdQMU+5FkCBjmv4QjcrTzyZquRw2FVtlJSRUmMKQslw== +terser@^5.16.8: + version "5.18.2" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.18.2.tgz#ff3072a0faf21ffd38f99acc9a0ddf7b5f07b948" + integrity sha512-Ah19JS86ypbJzTzvUCX7KOsEIhDaRONungA4aYBjEP3JZRf4ocuDzTg4QWZnPn9DEMiMYGJPiSOy7aykoCc70w== dependencies: - "@jridgewell/source-map" "^0.3.2" - acorn "^8.5.0" + "@jridgewell/source-map" "^0.3.3" + acorn "^8.8.2" commander "^2.20.0" source-map-support "~0.5.20" @@ -7459,7 +7566,7 @@ text-table@^0.2.0, text-table@~0.2.0: through@^2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= + integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== tiny-relative-date@^1.3.0: version "1.3.0" @@ -7489,9 +7596,9 @@ totalist@^1.0.0: integrity sha512-gduQwd1rOdDMGxFG1gEvhV88Oirdo2p+KjoYFU7k2g+i7n6AFFbDQ5kMPUsW0pNbfQsB/cwXvT1i4Bue0s9g5g== tough-cookie@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.2.tgz#e53e84b85f24e0b65dd526f46628db6c85f6b874" - integrity sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ== + version "4.1.3" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.3.tgz#97b9adb0728b42280aa3d814b6b999b2ff0318bf" + integrity sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw== dependencies: psl "^1.1.33" punycode "^2.1.1" @@ -7516,12 +7623,12 @@ treeverse@^2.0.0: integrity sha512-N5gJCkLu1aXccpOTtqV6ddSEi6ZmGkh3hjmbu1IjcavJK4qyOVQmi0myQKM7z5jVGmD68SJoliaVrMmVObhj6A== tsconfig-paths@^3.14.1: - version "3.14.1" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" - integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ== + version "3.14.2" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088" + integrity sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g== dependencies: "@types/json5" "^0.0.29" - json5 "^1.0.1" + json5 "^1.0.2" minimist "^1.2.6" strip-bom "^3.0.0" @@ -7535,7 +7642,7 @@ type-check@^0.4.0, type-check@~0.4.0: type-check@~0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" - integrity sha1-WITKtRLPHTVeP7eE8wgEsrUg23I= + integrity sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg== dependencies: prelude-ls "~1.1.2" @@ -7559,10 +7666,10 @@ type@^1.0.1: resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== -type@^2.5.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/type/-/type-2.6.0.tgz#3ca6099af5981d36ca86b78442973694278a219f" - integrity sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ== +type@^2.7.2: + version "2.7.2" + resolved "https://registry.yarnpkg.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" + integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== typed-array-length@^1.0.4: version "1.0.4" @@ -7576,23 +7683,13 @@ typed-array-length@^1.0.4: typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= + integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.6" resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac" integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA== -unbox-primitive@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.1.tgz#085e215625ec3162574dc8859abee78a59b14471" - integrity sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw== - dependencies: - function-bind "^1.1.1" - has-bigints "^1.0.1" - has-symbols "^1.0.2" - which-boxed-primitive "^1.0.2" - unbox-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" @@ -7633,6 +7730,13 @@ unique-filename@^2.0.0: dependencies: unique-slug "^3.0.0" +unique-filename@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-3.0.0.tgz#48ba7a5a16849f5080d26c760c86cf5cf05770ea" + integrity sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g== + dependencies: + unique-slug "^4.0.0" + unique-slug@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-3.0.0.tgz#6d347cf57c8a7a7a6044aabd0e2d74e4d76dc7c9" @@ -7640,6 +7744,13 @@ unique-slug@^3.0.0: dependencies: imurmurhash "^0.1.4" +unique-slug@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-4.0.0.tgz#6bae6bb16be91351badd24cdce741f892a6532e3" + integrity sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ== + dependencies: + imurmurhash "^0.1.4" + universalify@^0.1.0: version "0.1.2" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" @@ -7650,10 +7761,10 @@ universalify@^0.2.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== -update-browserslist-db@^1.0.9: - version "1.0.10" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" - integrity sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ== +update-browserslist-db@^1.0.11: + version "1.0.11" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" + integrity sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA== dependencies: escalade "^3.1.1" picocolors "^1.0.0" @@ -7676,14 +7787,14 @@ url-parse@^1.5.3: user-home@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/user-home/-/user-home-2.0.0.tgz#9c70bfd8169bc1dcbf48604e0f04b8b49cde9e9f" - integrity sha1-nHC/2Babwdy/SGBODwS4tJzenp8= + integrity sha512-KMWqdlOcjCYdtIJpicDSFBQ8nFwS2i9sslAd6f4+CBGcU4gist2REnr2fxj2YocvJFxSF3ZOHLYLVZnUxv4BZQ== dependencies: os-homedir "^1.0.0" util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== util@^0.10.3: version "0.10.4" @@ -7693,9 +7804,9 @@ util@^0.10.3: inherits "2.0.3" v8-to-istanbul@^9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz#b6f994b0b5d4ef255e17a0d17dc444a9f5132fa4" - integrity sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w== + version "9.1.0" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz#1b83ed4e397f58c85c266a570fc2558b5feb9265" + integrity sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA== dependencies: "@jridgewell/trace-mapping" "^0.3.12" "@types/istanbul-lib-coverage" "^2.0.1" @@ -7746,7 +7857,7 @@ watchpack@^2.4.0: wcwidth@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" - integrity sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g= + integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== dependencies: defaults "^1.0.3" @@ -7761,10 +7872,11 @@ webidl-conversions@^7.0.0: integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== webpack-bundle-analyzer@^4.7.0: - version "4.7.0" - resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.7.0.tgz#33c1c485a7fcae8627c547b5c3328b46de733c66" - integrity sha512-j9b8ynpJS4K+zfO5GGwsAcQX4ZHpWV+yRiHDiL+bE0XHJ8NiPYLTNVQdlFYWxtpg9lfAQNlwJg16J9AJtFSXRg== + version "4.9.0" + resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.9.0.tgz#fc093c4ab174fd3dcbd1c30b763f56d10141209d" + integrity sha512-+bXGmO1LyiNx0i9enBu3H8mv42sj/BJWhZNFwjz92tVnBa9J3JMGo2an2IXlEleoDOPn/Hofl5hr/xCpObUDtw== dependencies: + "@discoveryjs/json-ext" "0.5.7" acorn "^8.0.4" acorn-walk "^8.0.0" chalk "^4.1.0" @@ -7776,16 +7888,16 @@ webpack-bundle-analyzer@^4.7.0: ws "^7.3.1" webpack-cli@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-5.0.1.tgz#95fc0495ac4065e9423a722dec9175560b6f2d9a" - integrity sha512-S3KVAyfwUqr0Mo/ur3NzIp6jnerNpo7GUO6so51mxLi1spqsA17YcMXy0WOIJtBSnj748lthxC6XLbNKh/ZC+A== + version "5.1.4" + resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-5.1.4.tgz#c8e046ba7eaae4911d7e71e2b25b776fcc35759b" + integrity sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg== dependencies: "@discoveryjs/json-ext" "^0.5.0" - "@webpack-cli/configtest" "^2.0.1" - "@webpack-cli/info" "^2.0.1" - "@webpack-cli/serve" "^2.0.1" + "@webpack-cli/configtest" "^2.1.1" + "@webpack-cli/info" "^2.0.2" + "@webpack-cli/serve" "^2.0.5" colorette "^2.0.14" - commander "^9.4.1" + commander "^10.0.1" cross-spawn "^7.0.3" envinfo "^7.7.3" fastest-levenshtein "^1.0.12" @@ -7795,9 +7907,9 @@ webpack-cli@^5.0.0: webpack-merge "^5.7.3" webpack-merge@^5.7.3: - version "5.8.0" - resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.8.0.tgz#2b39dbf22af87776ad744c390223731d30a68f61" - integrity sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q== + version "5.9.0" + resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.9.0.tgz#dc160a1c4cf512ceca515cc231669e9ddb133826" + integrity sha512-6NbRQw4+Sy50vYNTw7EyOn41OZItPiXB8GNv3INSoe3PSFaHJEz3SHTrYVaRm2LilNGnFUzh0FAwqPEmU/CwDg== dependencies: clone-deep "^4.0.1" wildcard "^2.0.0" @@ -7808,21 +7920,21 @@ webpack-sources@^3.2.3: integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack@^5.74.0: - version "5.75.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.75.0.tgz#1e440468647b2505860e94c9ff3e44d5b582c152" - integrity sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ== + version "5.88.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.88.1.tgz#21eba01e81bd5edff1968aea726e2fbfd557d3f8" + integrity sha512-FROX3TxQnC/ox4N+3xQoWZzvGXSuscxR32rbzjpXgEzWudJFEJBpdlkkob2ylrv5yzzufD1zph1OoFsLtm6stQ== dependencies: "@types/eslint-scope" "^3.7.3" - "@types/estree" "^0.0.51" - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/wasm-edit" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" + "@types/estree" "^1.0.0" + "@webassemblyjs/ast" "^1.11.5" + "@webassemblyjs/wasm-edit" "^1.11.5" + "@webassemblyjs/wasm-parser" "^1.11.5" acorn "^8.7.1" - acorn-import-assertions "^1.7.6" + acorn-import-assertions "^1.9.0" browserslist "^4.14.5" chrome-trace-event "^1.0.2" - enhanced-resolve "^5.10.0" - es-module-lexer "^0.9.0" + enhanced-resolve "^5.15.0" + es-module-lexer "^1.2.1" eslint-scope "5.1.1" events "^3.2.0" glob-to-regexp "^0.4.1" @@ -7831,9 +7943,9 @@ webpack@^5.74.0: loader-runner "^4.2.0" mime-types "^2.1.27" neo-async "^2.6.2" - schema-utils "^3.1.0" + schema-utils "^3.2.0" tapable "^2.1.1" - terser-webpack-plugin "^5.1.3" + terser-webpack-plugin "^5.3.7" watchpack "^2.4.0" webpack-sources "^3.2.3" @@ -7892,14 +8004,14 @@ which-collection@^1.0.1: is-weakset "^2.0.1" which-module@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" - integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= + version "2.0.1" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" + integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== which-typed-array@^1.1.9: - version "1.1.9" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" - integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA== + version "1.1.10" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.10.tgz#74baa2789991905c2076abb317103b866c64e69e" + integrity sha512-uxoA5vLUfRPdjCuJ1h5LlYdmTLbYfums398v3WLkM+i/Wltl2/XyZpQWKbN++ck5L64SR/grOHqtXCUKmlZPNA== dependencies: available-typed-arrays "^1.0.5" call-bind "^1.0.2" @@ -7923,15 +8035,24 @@ wide-align@^1.1.5: string-width "^1.0.2 || 2 || 3 || 4" wildcard@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" - integrity sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw== + version "2.0.1" + resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.1.tgz#5ab10d02487198954836b6349f74fff961e10f67" + integrity sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ== -word-wrap@^1.2.3, word-wrap@~1.2.3: +word-wrap@~1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" @@ -7941,21 +8062,21 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== -write-file-atomic@^4.0.0, write-file-atomic@^4.0.1: +write-file-atomic@^4.0.0, write-file-atomic@^4.0.1, write-file-atomic@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== @@ -7963,18 +8084,10 @@ write-file-atomic@^4.0.0, write-file-atomic@^4.0.1: imurmurhash "^0.1.4" signal-exit "^3.0.7" -write-file-atomic@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-5.0.0.tgz#54303f117e109bf3d540261125c8ea5a7320fab0" - integrity sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w== - dependencies: - imurmurhash "^0.1.4" - signal-exit "^3.0.7" - write@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757" - integrity sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c= + integrity sha512-CJ17OoULEKXpA5pef3qLj5AxTJ6mSt7g84he2WIskKwqFO4T97d5V7Tadl0DYDk7qyUOQD5WlUlOMChaYrhxeA== dependencies: mkdirp "^0.5.1" @@ -7984,9 +8097,9 @@ ws@^7.3.1: integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== ws@^8.11.0: - version "8.12.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.12.0.tgz#485074cc392689da78e1828a9ff23585e06cddd8" - integrity sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig== + version "8.13.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" + integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== xml-name-validator@^4.0.0: version "4.0.0" @@ -8023,15 +8136,10 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^1.10.0: - version "1.10.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" - integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== - yaml@^2.1.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.2.1.tgz#3014bf0482dcd15147aa8e56109ce8632cd60ce4" - integrity sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw== + version "2.3.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b" + integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ== yargs-parser@^18.1.2: version "18.1.3" @@ -8064,9 +8172,9 @@ yargs@^15.4.1: yargs-parser "^18.1.2" yargs@^17.3.1: - version "17.6.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.2.tgz#2e23f2944e976339a1ee00f18c77fedee8332541" - integrity sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw== + version "17.7.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" + integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== dependencies: cliui "^8.0.1" escalade "^3.1.1" @@ -8080,3 +8188,8 @@ yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + +yocto-queue@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" + integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==