aboutsummaryrefslogtreecommitdiffstats
path: root/dist/settings-vue-settings-personal-webauthn.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/settings-vue-settings-personal-webauthn.js')
-rw-r--r--dist/settings-vue-settings-personal-webauthn.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/dist/settings-vue-settings-personal-webauthn.js b/dist/settings-vue-settings-personal-webauthn.js
index b22aac238c1..d362ae54750 100644
--- a/dist/settings-vue-settings-personal-webauthn.js
+++ b/dist/settings-vue-settings-personal-webauthn.js
@@ -1,3 +1,2 @@
-/*! For license information please see settings-vue-settings-personal-webauthn.js.license?v=6a2cca82b72b74640202 */
-(()=>{var e,n,r,i={53873:(e,n,r)=>{"use strict";var i=r(85471),a=r(38613),o=r(96763);function s(t){const e=new Uint8Array(t);let n="";for(const t of e)n+=String.fromCharCode(t);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function c(t){const e=t.replace(/-/g,"+").replace(/_/g,"/"),n=(4-e.length%4)%4,r=e.padEnd(e.length+n,"="),i=atob(r),a=new ArrayBuffer(i.length),o=new Uint8Array(a);for(let t=0;t<i.length;t++)o[t]=i.charCodeAt(t);return a}function l(){return void 0!==window?.PublicKeyCredential&&"function"==typeof window.PublicKeyCredential}function u(t){const{id:e}=t;return{...t,id:c(e),transports:t.transports}}class d extends Error{constructor({message:t,code:e,cause:n,name:r}){super(t,{cause:n}),this.name=r??n.name,this.code=e}}const p=new class{createNewAbortSignal(){if(this.controller){const t=new Error("Cancelling existing WebAuthn API call for new one");t.name="AbortError",this.controller.abort(t)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}},h=["cross-platform","platform"];function f(t){if(t&&!(h.indexOf(t)<0))return t}function v(t,e){o.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${t}. You should report this error to them.\n`,e)}var g=r(56760),m=r(48934),A=(r(51257),r(10854)),y=r.n(A),b=r(85168),w=r(9518),_=r(82182);const x=(0,r(35947).YK)().setApp("settings").detectUser().build();var R=r(53334),E=r(63814),C=r(28893),I=r(26287),W=r(96763);const O=t=>e=>(x.debug(t),e),D=Object.freeze({READY:1,REGISTRATION:2,NAMING:3,PERSIST:4}),N={name:"AddDevice",components:{NcButton:w.A,NcTextField:_.A},props:{httpWarning:Boolean,isHttps:{type:Boolean,default:!1},isLocalhost:{type:Boolean,default:!1}},setup:()=>({RegistrationSteps:D}),data:()=>({name:"",credential:{},step:D.READY}),watch:{step(){this.step===D.NAMING&&this.$nextTick((()=>{var t;return null===(t=this.$refs.nameInput)||void 0===t?void 0:t.focus()}))}},methods:{async start(){this.step=D.REGISTRATION,W.debug("Starting WebAuthn registration");try{await(0,g.C)(),this.credential=await async function(){const t=(0,E.Jv)("/settings/api/personal/webauthn/registration");try{x.debug("Fetching webauthn registration data");const{data:e}=await I.A.get(t);return x.debug("Start webauthn registration"),await async function(t){if(!l())throw new Error("WebAuthn is not supported in this browser");const e={publicKey:{...t,challenge:c(t.challenge),user:{...t.user,id:c(t.user.id)},excludeCredentials:t.excludeCredentials?.map(u)}};let n;e.signal=p.createNewAbortSignal();try{n=await navigator.credentials.create(e)}catch(t){throw function({error:t,options:e}){const{publicKey:n}=e;if(!n)throw Error("options was missing required publicKey property");if("AbortError"===t.name){if(e.signal instanceof AbortSignal)return new d({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:t})}else if("ConstraintError"===t.name){if(!0===n.authenticatorSelection?.requireResidentKey)return new d({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:t});if("required"===n.authenticatorSelection?.userVerification)return new d({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:t})}else{if("InvalidStateError"===t.name)return new d({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:t});if("NotAllowedError"===t.name)return new d({message:t.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t});if("NotSupportedError"===t.name)return 0===n.pubKeyCredParams.filter((t=>"public-key"===t.type)).length?new d({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:t}):new d({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:t});if("SecurityError"===t.name){const e=window.location.hostname;if("localhost"!==(r=e)&&!/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(r))return new d({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:t});if(n.rp.id!==e)return new d({message:`The RP ID "${n.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:t})}else if("TypeError"===t.name){if(n.user.id.byteLength<1||n.user.id.byteLength>64)return new d({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:t})}else if("UnknownError"===t.name)return new d({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:t})}var r;return t}({error:t,options:e})}if(!n)throw new Error("Registration was not completed");const{id:r,rawId:i,response:a,type:o}=n;let h,g,m,A;if("function"==typeof a.getTransports&&(h=a.getTransports()),"function"==typeof a.getPublicKeyAlgorithm)try{g=a.getPublicKeyAlgorithm()}catch(t){v("getPublicKeyAlgorithm()",t)}if("function"==typeof a.getPublicKey)try{const t=a.getPublicKey();null!==t&&(m=s(t))}catch(t){v("getPublicKey()",t)}if("function"==typeof a.getAuthenticatorData)try{A=s(a.getAuthenticatorData())}catch(t){v("getAuthenticatorData()",t)}return{id:r,rawId:s(i),response:{attestationObject:s(a.attestationObject),clientDataJSON:s(a.clientDataJSON),transports:h,publicKeyAlgorithm:g,publicKey:m,authenticatorData:A},type:o,clientExtensionResults:n.getClientExtensionResults(),authenticatorAttachment:f(n.authenticatorAttachment)}}(e)}catch(t){if(x.error(t),C.A.isAxiosError(t))throw new Error((0,R.Tl)("settings","Could not register device: Network error"));if("InvalidStateError"===t.name)throw new Error((0,R.Tl)("settings","Could not register device: Probably already registered"));throw new Error((0,R.Tl)("settings","Could not register device"))}}(),this.step=D.NAMING}catch(t){(0,b.Qg)(t),this.step=D.READY}},submit(){return this.step=D.PERSIST,(0,g.C)().then(O("confirmed password")).then(this.saveRegistrationData).then(O("registration data saved")).then((()=>this.reset())).then(O("app reset")).catch(W.error)},async saveRegistrationData(){try{const t=await async function(t,e){const n=(0,E.Jv)("/settings/api/personal/webauthn/registration");return(await I.A.post(n,{name:t,data:JSON.stringify(e)})).data}(this.name,this.credential);x.info("new device added",{device:t}),this.$emit("added",t)}catch(e){throw x.error("Error persisting webauthn registration",{error:e}),new Error(t("settings","Server error while trying to complete WebAuthn device registration"))}},reset(){this.name="",this.registrationData={},this.step=D.READY}}};var S=r(85072),T=r.n(S),k=r(97825),P=r.n(k),B=r(77659),L=r.n(B),M=r(55056),j=r.n(M),F=r(10540),q=r.n(F),K=r(41113),U=r.n(K),z=r(66998),G={};G.styleTagTransform=U(),G.setAttributes=j(),G.insert=L().bind(null,"head"),G.domAPI=P(),G.insertStyleElement=q(),T()(z.A,G),z.A&&z.A.locals&&z.A.locals;var H=r(14486);const Y=(0,H.A)(N,(function(){var t=this,e=t._self._c;return t.isHttps||t.isLocalhost?e("div",[t.step===t.RegistrationSteps.READY?e("NcButton",{attrs:{type:"primary"},on:{click:t.start}},[t._v("\n\t\t"+t._s(t.t("settings","Add WebAuthn device"))+"\n\t")]):t.step===t.RegistrationSteps.REGISTRATION?e("div",{staticClass:"new-webauthn-device"},[e("span",{staticClass:"icon-loading-small webauthn-loading"}),t._v("\n\t\t"+t._s(t.t("settings","Please authorize your WebAuthn device."))+"\n\t")]):t.step===t.RegistrationSteps.NAMING?e("div",{staticClass:"new-webauthn-device"},[e("span",{staticClass:"icon-loading-small webauthn-loading"}),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("NcTextField",{ref:"nameInput",staticClass:"new-webauthn-device__name",attrs:{label:t.t("settings","Device name"),value:t.name,"show-trailing-button":"","trailing-button-label":t.t("settings","Add"),"trailing-button-icon":"arrowRight"},on:{"update:value":function(e){t.name=e},"trailing-button-click":t.submit}})],1)]):t.step===t.RegistrationSteps.PERSIST?e("div",{staticClass:"new-webauthn-device"},[e("span",{staticClass:"icon-loading-small webauthn-loading"}),t._v("\n\t\t"+t._s(t.t("settings","Adding your device …"))+"\n\t")]):e("div",[t._v("\n\t\tInvalid registration step. This should not have happened.\n\t")])],1):e("div",[t._v("\n\t"+t._s(t.t("settings","Passwordless authentication requires a secure connection."))+"\n")])}),[],!1,null,"bc76dfe4",null).exports;var $=r(24764);const V={name:"Device",components:{NcActionButton:r(63420).A,NcActions:$.A},props:{name:{type:String,required:!0}}};var J=r(42328),X={};X.styleTagTransform=U(),X.setAttributes=j(),X.insert=L().bind(null,"head"),X.domAPI=P(),X.insertStyleElement=q(),T()(J.A,X),J.A&&J.A.locals&&J.A.locals;const Q=(0,H.A)(V,(function(){var t=this,e=t._self._c;return e("li",{staticClass:"webauthn-device"},[e("span",{staticClass:"icon-webauthn-device"}),t._v("\n\t"+t._s(t.name||t.t("settings","Unnamed device"))+"\n\t"),e("NcActions",{attrs:{"force-menu":!0}},[e("NcActionButton",{attrs:{icon:"icon-delete"},on:{click:function(e){return t.$emit("delete")}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Delete"))+"\n\t\t")])],1)],1)}),[],!1,null,"60aaa94c",null).exports,Z=y()("name"),tt={components:{AddDevice:Y,Device:Q,NcNoteCard:m.A},props:{initialDevices:{type:Array,required:!0},isHttps:{type:Boolean,default:!1},isLocalhost:{type:Boolean,default:!1}},setup:()=>({supportsWebauthn:l()}),data(){return{devices:this.initialDevices}},computed:{sortedDevices(){return Z(this.devices)}},methods:{deviceAdded(t){x.debug("adding new device to the list ".concat(t.id)),this.devices.push(t)},async deleteDevice(t){x.info("deleting webauthn device ".concat(t)),await(0,g.C)(),await async function(t){const e=(0,E.Jv)("/settings/api/personal/webauthn/registration/".concat(t));await I.A.delete(e)}(t),this.devices=this.devices.filter((e=>e.id!==t)),x.info("webauthn device ".concat(t," removed successfully"))}}};var et=r(41555),nt={};nt.styleTagTransform=U(),nt.setAttributes=j(),nt.insert=L().bind(null,"head"),nt.domAPI=P(),nt.insertStyleElement=q(),T()(et.A,nt),et.A&&et.A.locals&&et.A.locals;const rt=(0,H.A)(tt,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"section",attrs:{id:"security-webauthn"}},[e("h2",[t._v(t._s(t.t("settings","Passwordless Authentication")))]),t._v(" "),e("p",{staticClass:"settings-hint hidden-when-empty"},[t._v("\n\t\t"+t._s(t.t("settings","Set up your account for passwordless authentication following the FIDO2 standard."))+"\n\t")]),t._v(" "),0===t.devices.length?e("NcNoteCard",{attrs:{type:"info"}},[t._v("\n\t\t"+t._s(t.t("settings","No devices configured."))+"\n\t")]):e("h3",{attrs:{id:"security-webauthn__active-devices"}},[t._v("\n\t\t"+t._s(t.t("settings","The following devices are configured for your account:"))+"\n\t")]),t._v(" "),e("ul",{staticClass:"security-webauthn__device-list",attrs:{"aria-labelledby":"security-webauthn__active-devices"}},t._l(t.sortedDevices,(function(n){return e("Device",{key:n.id,attrs:{name:n.name},on:{delete:function(e){return t.deleteDevice(n.id)}}})})),1),t._v(" "),t.supportsWebauthn?t._e():e("NcNoteCard",{attrs:{type:"warning"}},[t._v("\n\t\t"+t._s(t.t("settings","Your browser does not support WebAuthn."))+"\n\t")]),t._v(" "),t.supportsWebauthn?e("AddDevice",{attrs:{"is-https":t.isHttps,"is-localhost":t.isLocalhost},on:{added:t.deviceAdded}}):t._e()],1)}),[],!1,null,"b88aaf8c",null).exports;r.nc=btoa(OC.requestToken),i.Ay.prototype.t=t,new(i.Ay.extend(rt))({propsData:{initialDevices:(0,a.C)("settings","webauthn-devices"),isHttps:"https:"===window.location.protocol,isLocalhost:"localhost"===window.location.hostname}}).$mount("#security-webauthn")},66998:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(71354),i=n.n(r),a=n(76314),o=n.n(a)()(i());o.push([t.id,".webauthn-loading[data-v-bc76dfe4]{display:inline-block;vertical-align:sub;margin-left:2px;margin-right:2px}.new-webauthn-device[data-v-bc76dfe4]{display:flex;gap:22px;align-items:center}.new-webauthn-device__name[data-v-bc76dfe4]{max-width:min(100vw,400px)}","",{version:3,sources:["webpack://./apps/settings/src/components/WebAuthn/AddDevice.vue"],names:[],mappings:"AACA,mCACC,oBAAA,CACA,kBAAA,CACA,eAAA,CACA,gBAAA,CAGD,sCACC,YAAA,CACA,QAAA,CACA,kBAAA,CAEA,4CACC,0BAAA",sourcesContent:["\n.webauthn-loading {\n\tdisplay: inline-block;\n\tvertical-align: sub;\n\tmargin-left: 2px;\n\tmargin-right: 2px;\n}\n\n.new-webauthn-device {\n\tdisplay: flex;\n\tgap: 22px;\n\talign-items: center;\n\n\t&__name {\n\t\tmax-width: min(100vw, 400px);\n\t}\n}\n"],sourceRoot:""}]);const s=o},42328:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(71354),i=n.n(r),a=n(76314),o=n.n(a)()(i());o.push([t.id,"\n.webauthn-device[data-v-60aaa94c] {\n\tline-height: 300%;\n\tdisplay: flex;\n}\n.icon-webauthn-device[data-v-60aaa94c] {\n\tdisplay: inline-block;\n\tbackground-size: 100%;\n\tpadding: 3px;\n\tmargin: 3px;\n}\n","",{version:3,sources:["webpack://./apps/settings/src/components/WebAuthn/Device.vue"],names:[],mappings:";AAkDA;CACA,iBAAA;CACA,aAAA;AACA;AAEA;CACA,qBAAA;CACA,qBAAA;CACA,YAAA;CACA,WAAA;AACA",sourcesContent:["\x3c!--\n - SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n<template>\n\t<li class=\"webauthn-device\">\n\t\t<span class=\"icon-webauthn-device\" />\n\t\t{{ name || t('settings', 'Unnamed device') }}\n\t\t<NcActions :force-menu=\"true\">\n\t\t\t<NcActionButton icon=\"icon-delete\" @click=\"$emit('delete')\">\n\t\t\t\t{{ t('settings', 'Delete') }}\n\t\t\t</NcActionButton>\n\t\t</NcActions>\n\t</li>\n</template>\n\n<script>\nimport NcActions from '@nextcloud/vue/dist/Components/NcActions.js'\nimport NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'\n\nexport default {\n\tname: 'Device',\n\tcomponents: {\n\t\tNcActionButton,\n\t\tNcActions,\n\t},\n\tprops: {\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n}\n<\/script>\n\n<style scoped>\n\t.webauthn-device {\n\t\tline-height: 300%;\n\t\tdisplay: flex;\n\t}\n\n\t.icon-webauthn-device {\n\t\tdisplay: inline-block;\n\t\tbackground-size: 100%;\n\t\tpadding: 3px;\n\t\tmargin: 3px;\n\t}\n</style>\n"],sourceRoot:""}]);const s=o},41555:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(71354),i=n.n(r),a=n(76314),o=n.n(a)()(i());o.push([t.id,"\n.security-webauthn__device-list[data-v-b88aaf8c] {\n\tmargin-block: 12px 18px;\n}\n","",{version:3,sources:["webpack://./apps/settings/src/components/WebAuthn/Section.vue"],names:[],mappings:";AA6GA;CACA,uBAAA;AACA",sourcesContent:["\x3c!--\n - SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n<template>\n\t<div id=\"security-webauthn\" class=\"section\">\n\t\t<h2>{{ t('settings', 'Passwordless Authentication') }}</h2>\n\t\t<p class=\"settings-hint hidden-when-empty\">\n\t\t\t{{ t('settings', 'Set up your account for passwordless authentication following the FIDO2 standard.') }}\n\t\t</p>\n\t\t<NcNoteCard v-if=\"devices.length === 0\" type=\"info\">\n\t\t\t{{ t('settings', 'No devices configured.') }}\n\t\t</NcNoteCard>\n\n\t\t<h3 v-else id=\"security-webauthn__active-devices\">\n\t\t\t{{ t('settings', 'The following devices are configured for your account:') }}\n\t\t</h3>\n\t\t<ul aria-labelledby=\"security-webauthn__active-devices\" class=\"security-webauthn__device-list\">\n\t\t\t<Device v-for=\"device in sortedDevices\"\n\t\t\t\t:key=\"device.id\"\n\t\t\t\t:name=\"device.name\"\n\t\t\t\t@delete=\"deleteDevice(device.id)\" />\n\t\t</ul>\n\n\t\t<NcNoteCard v-if=\"!supportsWebauthn\" type=\"warning\">\n\t\t\t{{ t('settings', 'Your browser does not support WebAuthn.') }}\n\t\t</NcNoteCard>\n\n\t\t<AddDevice v-if=\"supportsWebauthn\"\n\t\t\t:is-https=\"isHttps\"\n\t\t\t:is-localhost=\"isLocalhost\"\n\t\t\t@added=\"deviceAdded\" />\n\t</div>\n</template>\n\n<script>\nimport { browserSupportsWebAuthn } from '@simplewebauthn/browser'\nimport { confirmPassword } from '@nextcloud/password-confirmation'\nimport NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'\nimport '@nextcloud/password-confirmation/dist/style.css'\nimport sortBy from 'lodash/fp/sortBy.js'\n\nimport AddDevice from './AddDevice.vue'\nimport Device from './Device.vue'\nimport logger from '../../logger.ts'\nimport { removeRegistration } from '../../service/WebAuthnRegistrationSerice.js'\n\nconst sortByName = sortBy('name')\n\nexport default {\n\tcomponents: {\n\t\tAddDevice,\n\t\tDevice,\n\t\tNcNoteCard,\n\t},\n\tprops: {\n\t\tinitialDevices: {\n\t\t\ttype: Array,\n\t\t\trequired: true,\n\t\t},\n\t\tisHttps: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\tisLocalhost: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\tsetup() {\n\t\t// Non reactive properties\n\t\treturn {\n\t\t\tsupportsWebauthn: browserSupportsWebAuthn(),\n\t\t}\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tdevices: this.initialDevices,\n\t\t}\n\t},\n\tcomputed: {\n\t\tsortedDevices() {\n\t\t\treturn sortByName(this.devices)\n\t\t},\n\t},\n\tmethods: {\n\t\tdeviceAdded(device) {\n\t\t\tlogger.debug(`adding new device to the list ${device.id}`)\n\n\t\t\tthis.devices.push(device)\n\t\t},\n\t\tasync deleteDevice(id) {\n\t\t\tlogger.info(`deleting webauthn device ${id}`)\n\n\t\t\tawait confirmPassword()\n\t\t\tawait removeRegistration(id)\n\n\t\t\tthis.devices = this.devices.filter(d => d.id !== id)\n\n\t\t\tlogger.info(`webauthn device ${id} removed successfully`)\n\t\t},\n\t},\n}\n<\/script>\n\n<style scoped>\n.security-webauthn__device-list {\n\tmargin-block: 12px 18px;\n}\n</style>\n"],sourceRoot:""}]);const s=o},30980:(t,e,n)=>{var r=n(39344),i=n(94033);function a(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}a.prototype=r(i.prototype),a.prototype.constructor=a,t.exports=a},56017:(t,e,n)=>{var r=n(39344),i=n(94033);function a(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}a.prototype=r(i.prototype),a.prototype.constructor=a,t.exports=a},80909:(t,e,n)=>{var r=n(30641),i=n(38329)(r);t.exports=i},83120:(t,e,n)=>{var r=n(14528),i=n(45891);t.exports=function t(e,n,a,o,s){var c=-1,l=e.length;for(a||(a=i),s||(s=[]);++c<l;){var u=e[c];n>0&&a(u)?n>1?t(u,n-1,a,o,s):r(s,u):o||(s[s.length]=u)}return s}},30641:(t,e,n)=>{var r=n(86649),i=n(95950);t.exports=function(t,e){return t&&r(t,e,i)}},94033:t=>{t.exports=function(){}},5128:(t,e,n)=>{var r=n(80909),i=n(64894);t.exports=function(t,e){var n=-1,a=i(t)?Array(t.length):[];return r(t,(function(t,r,i){a[++n]=e(t,r,i)})),a}},46155:(t,e,n)=>{var r=n(34932),i=n(47422),a=n(15389),o=n(5128),s=n(73937),c=n(27301),l=n(43714),u=n(83488),d=n(56449);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return d(t)?function(e){return i(e,1===t.length?t[0]:t)}:t})):[u];var p=-1;e=r(e,c(a));var h=o(t,(function(t,n,i){return{criteria:r(e,(function(e){return e(t)})),index:++p,value:t}}));return s(h,(function(t,e){return l(t,e,n)}))}},68882:(t,e,n)=>{var r=n(83488),i=n(48152),a=i?function(t,e){return i.set(t,e),t}:r;t.exports=a},73937:t=>{t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},53730:(t,e,n)=>{var r=n(44394);t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,a=t==t,o=r(t),s=void 0!==e,c=null===e,l=e==e,u=r(e);if(!c&&!u&&!o&&t>e||o&&s&&l&&!c&&!u||i&&s&&l||!n&&l||!a)return 1;if(!i&&!o&&!u&&t<e||u&&n&&a&&!i&&!o||c&&n&&a||!s&&a||!l)return-1}return 0}},43714:(t,e,n)=>{var r=n(53730);t.exports=function(t,e,n){for(var i=-1,a=t.criteria,o=e.criteria,s=a.length,c=n.length;++i<s;){var l=r(a[i],o[i]);if(l)return i>=c?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}},91596:t=>{var e=Math.max;t.exports=function(t,n,r,i){for(var a=-1,o=t.length,s=r.length,c=-1,l=n.length,u=e(o-s,0),d=Array(l+u),p=!i;++c<l;)d[c]=n[c];for(;++a<s;)(p||a<o)&&(d[r[a]]=t[a]);for(;u--;)d[c++]=t[a++];return d}},53320:t=>{var e=Math.max;t.exports=function(t,n,r,i){for(var a=-1,o=t.length,s=-1,c=r.length,l=-1,u=n.length,d=e(o-c,0),p=Array(d+u),h=!i;++a<d;)p[a]=t[a];for(var f=a;++l<u;)p[f+l]=n[l];for(;++s<c;)(h||a<o)&&(p[f+r[s]]=t[a++]);return p}},58523:t=>{t.exports=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}},38329:(t,e,n)=>{var r=n(64894);t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var a=n.length,o=e?a:-1,s=Object(n);(e?o--:++o<a)&&!1!==i(s[o],o,s););return n}}},11842:(t,e,n)=>{var r=n(82819),i=n(9325);t.exports=function(t,e,n){var a=1&e,o=r(t);return function e(){return(this&&this!==i&&this instanceof e?o:t).apply(a?n:this,arguments)}}},82819:(t,e,n)=>{var r=n(39344),i=n(23805);t.exports=function(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=r(t.prototype),a=t.apply(n,e);return i(a)?a:n}}},77078:(t,e,n)=>{var r=n(91033),i=n(82819),a=n(37471),o=n(18073),s=n(11287),c=n(36306),l=n(9325);t.exports=function(t,e,n){var u=i(t);return function i(){for(var d=arguments.length,p=Array(d),h=d,f=s(i);h--;)p[h]=arguments[h];var v=d<3&&p[0]!==f&&p[d-1]!==f?[]:c(p,f);return(d-=v.length)<n?o(t,e,a,i.placeholder,void 0,p,v,void 0,void 0,n-d):r(this&&this!==l&&this instanceof i?u:t,this,p)}}},37471:(t,e,n)=>{var r=n(91596),i=n(53320),a=n(58523),o=n(82819),s=n(18073),c=n(11287),l=n(68294),u=n(36306),d=n(9325);t.exports=function t(e,n,p,h,f,v,g,m,A,y){var b=128&n,w=1&n,_=2&n,x=24&n,R=512&n,E=_?void 0:o(e);return function C(){for(var I=arguments.length,W=Array(I),O=I;O--;)W[O]=arguments[O];if(x)var D=c(C),N=a(W,D);if(h&&(W=r(W,h,f,x)),v&&(W=i(W,v,g,x)),I-=N,x&&I<y){var S=u(W,D);return s(e,n,t,C.placeholder,p,W,S,m,A,y-I)}var T=w?p:this,k=_?T[e]:e;return I=W.length,m?W=l(W,m):R&&I>1&&W.reverse(),b&&A<I&&(W.length=A),this&&this!==d&&this instanceof C&&(k=E||o(k)),k.apply(T,W)}}},24168:(t,e,n)=>{var r=n(91033),i=n(82819),a=n(9325);t.exports=function(t,e,n,o){var s=1&e,c=i(t);return function e(){for(var i=-1,l=arguments.length,u=-1,d=o.length,p=Array(d+l),h=this&&this!==a&&this instanceof e?c:t;++u<d;)p[u]=o[u];for(;l--;)p[u++]=arguments[++i];return r(h,s?n:this,p)}}},18073:(t,e,n)=>{var r=n(85087),i=n(54641),a=n(70981);t.exports=function(t,e,n,o,s,c,l,u,d,p){var h=8&e;e|=h?32:64,4&(e&=~(h?64:32))||(e&=-4);var f=[t,e,s,h?c:void 0,h?l:void 0,h?void 0:c,h?void 0:l,u,d,p],v=n.apply(void 0,f);return r(t)&&i(v,f),v.placeholder=o,a(v,t,e)}},66977:(t,e,n)=>{var r=n(68882),i=n(11842),a=n(77078),o=n(37471),s=n(24168),c=n(37381),l=n(3209),u=n(54641),d=n(70981),p=n(61489),h=Math.max;t.exports=function(t,e,n,f,v,g,m,A){var y=2&e;if(!y&&"function"!=typeof t)throw new TypeError("Expected a function");var b=f?f.length:0;if(b||(e&=-97,f=v=void 0),m=void 0===m?m:h(p(m),0),A=void 0===A?A:p(A),b-=v?v.length:0,64&e){var w=f,_=v;f=v=void 0}var x=y?void 0:c(t),R=[t,e,n,f,v,w,_,g,m,A];if(x&&l(R,x),t=R[0],e=R[1],n=R[2],f=R[3],v=R[4],!(A=R[9]=void 0===R[9]?y?0:t.length:h(R[9]-b,0))&&24&e&&(e&=-25),e&&1!=e)E=8==e||16==e?a(t,e,A):32!=e&&33!=e||v.length?o.apply(void 0,R):s(t,e,n,f);else var E=i(t,e,n);return d((x?r:u)(E,R),t,e)}},38816:(t,e,n)=>{var r=n(35970),i=n(56757),a=n(32865);t.exports=function(t){return a(i(t,void 0,r),t+"")}},37381:(t,e,n)=>{var r=n(48152),i=n(63950),a=r?function(t){return r.get(t)}:i;t.exports=a},62284:(t,e,n)=>{var r=n(84629),i=Object.prototype.hasOwnProperty;t.exports=function(t){for(var e=t.name+"",n=r[e],a=i.call(r,e)?n.length:0;a--;){var o=n[a],s=o.func;if(null==s||s==t)return o.name}return e}},11287:t=>{t.exports=function(t){return t.placeholder}},75251:t=>{var e=/\{\n\/\* \[wrapped with (.+)\] \*/,n=/,? & /;t.exports=function(t){var r=t.match(e);return r?r[1].split(n):[]}},62060:t=>{var e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;t.exports=function(t,n){var r=n.length;if(!r)return t;var i=r-1;return n[i]=(r>1?"& ":"")+n[i],n=n.join(r>2?", ":" "),t.replace(e,"{\n/* [wrapped with "+n+"] */\n")}},45891:(t,e,n)=>{var r=n(51873),i=n(72428),a=n(56449),o=r?r.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||i(t)||!!(o&&t&&t[o])}},85087:(t,e,n)=>{var r=n(30980),i=n(37381),a=n(62284),o=n(53758);t.exports=function(t){var e=a(t),n=o[e];if("function"!=typeof n||!(e in r.prototype))return!1;if(t===n)return!0;var s=i(n);return!!s&&t===s[0]}},3209:(t,e,n)=>{var r=n(91596),i=n(53320),a=n(36306),o="__lodash_placeholder__",s=Math.min;t.exports=function(t,e){var n=t[1],c=e[1],l=n|c,u=l<131,d=128==c&&8==n||128==c&&256==n&&t[7].length<=e[8]||384==c&&e[7].length<=e[8]&&8==n;if(!u&&!d)return t;1&c&&(t[2]=e[2],l|=1&n?0:4);var p=e[3];if(p){var h=t[3];t[3]=h?r(h,p,e[4]):p,t[4]=h?a(t[3],o):e[4]}return(p=e[5])&&(h=t[5],t[5]=h?i(h,p,e[6]):p,t[6]=h?a(t[5],o):e[6]),(p=e[7])&&(t[7]=p),128&c&&(t[8]=null==t[8]?e[8]:s(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=l,t}},48152:(t,e,n)=>{var r=n(28303),i=r&&new r;t.exports=i},84629:t=>{t.exports={}},68294:(t,e,n)=>{var r=n(23007),i=n(30361),a=Math.min;t.exports=function(t,e){for(var n=t.length,o=a(e.length,n),s=r(t);o--;){var c=e[o];t[o]=i(c,n)?s[c]:void 0}return t}},36306:t=>{var e="__lodash_placeholder__";t.exports=function(t,n){for(var r=-1,i=t.length,a=0,o=[];++r<i;){var s=t[r];s!==n&&s!==e||(t[r]=e,o[a++]=r)}return o}},54641:(t,e,n)=>{var r=n(68882),i=n(51811)(r);t.exports=i},70981:(t,e,n)=>{var r=n(75251),i=n(62060),a=n(32865),o=n(75948);t.exports=function(t,e,n){var s=e+"";return a(t,i(s,o(r(s),n)))}},75948:(t,e,n)=>{var r=n(83729),i=n(15325),a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];t.exports=function(t,e){return r(a,(function(n){var r="_."+n[0];e&n[1]&&!i(t,r)&&t.push(r)})),t.sort()}},80257:(t,e,n)=>{var r=n(30980),i=n(56017),a=n(23007);t.exports=function(t){if(t instanceof r)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=a(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}},64626:(t,e,n)=>{var r=n(66977);t.exports=function(t,e,n){return e=n?void 0:e,e=t&&null==e?t.length:e,r(t,128,void 0,void 0,void 0,void 0,e)}},49747:(t,e,n)=>{var r=n(66977);function i(t,e,n){var a=r(t,8,void 0,void 0,void 0,void 0,void 0,e=n?void 0:e);return a.placeholder=i.placeholder,a}i.placeholder={},t.exports=i},35970:(t,e,n)=>{var r=n(83120);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},73424:(t,e,n)=>{var r=n(16962),i=n(2874),a=Array.prototype.push;function o(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function s(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function c(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var i=r[0]=e.apply(void 0,r);return t.apply(void 0,r),i}}}t.exports=function t(e,n,l,u){var d="function"==typeof n,p=n===Object(n);if(p&&(u=l,l=n,n=void 0),null==l)throw new TypeError;u||(u={});var h={cap:!("cap"in u)||u.cap,curry:!("curry"in u)||u.curry,fixed:!("fixed"in u)||u.fixed,immutable:!("immutable"in u)||u.immutable,rearg:!("rearg"in u)||u.rearg},f=d?l:i,v="curry"in u&&u.curry,g="fixed"in u&&u.fixed,m="rearg"in u&&u.rearg,A=d?l.runInContext():void 0,y=d?l:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},b=y.ary,w=y.assign,_=y.clone,x=y.curry,R=y.forEach,E=y.isArray,C=y.isError,I=y.isFunction,W=y.isWeakMap,O=y.keys,D=y.rearg,N=y.toInteger,S=y.toPath,T=O(r.aryMethod),k={castArray:function(t){return function(){var e=arguments[0];return E(e)?t(s(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[1],n=t(arguments[0],e),r=n.length;return h.cap&&"number"==typeof e?(e=e>2?e-2:1,r&&r<=e?n:o(n,e)):n}},mixin:function(t){return function(e){var n=this;if(!I(n))return t(n,Object(e));var r=[];return R(O(e),(function(t){I(e[t])&&r.push([t,n.prototype[t]])})),t(n,Object(e)),R(r,(function(t){var e=t[1];I(e)?n.prototype[t[0]]=e:delete n.prototype[t[0]]})),n}},nthArg:function(t){return function(e){var n=e<0?1:N(e)+1;return x(t(e),n)}},rearg:function(t){return function(e,n){var r=n?n.length:0;return x(t(e,n),r)}},runInContext:function(n){return function(r){return t(e,n(r),u)}}};function P(t,e,n){if(h.fixed&&(g||!r.skipFixed[t])){var i=r.methodSpread[t],o=i&&i.start;return void 0===o?b(e,n):function(t,e){return function(){for(var n=arguments.length,r=n-1,i=Array(n);n--;)i[n]=arguments[n];var o=i[e],s=i.slice(0,e);return o&&a.apply(s,o),e!=r&&a.apply(s,i.slice(e+1)),t.apply(this,s)}}(e,o)}return e}function B(t,e,n){return h.rearg&&n>1&&(m||!r.skipRearg[t])?D(e,r.methodRearg[t]||r.aryRearg[n]):e}function L(t,e){for(var n=-1,r=(e=S(e)).length,i=r-1,a=_(Object(t)),o=a;null!=o&&++n<r;){var s=e[n],c=o[s];null==c||I(c)||C(c)||W(c)||(o[s]=_(n==i?c:Object(c))),o=o[s]}return a}function M(e,n){var i=r.aliasToReal[e]||e,a=r.remap[i]||i,o=u;return function(e){var r=d?A:y,s=d?A[a]:n,c=w(w({},o),e);return t(r,i,s,c)}}function j(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var i=h.rearg?0:n-1;return r[i]=e(r[i]),t.apply(void 0,r)}}function F(t,e,n){var i,a=r.aliasToReal[t]||t,l=e,u=k[a];return u?l=u(e):h.immutable&&(r.mutate.array[a]?l=c(e,s):r.mutate.object[a]?l=c(e,function(t){return function(e){return t({},e)}}(e)):r.mutate.set[a]&&(l=c(e,L))),R(T,(function(t){return R(r.aryMethod[t],(function(e){if(a==e){var n=r.methodSpread[a],s=n&&n.afterRearg;return i=s?P(a,B(a,l,t),t):B(a,P(a,l,t),t),i=function(t,e,n){return v||h.curry&&n>1?x(e,n):e}(0,i=function(t,e){if(h.cap){var n=r.iterateeRearg[t];if(n)return function(t,e){return j(t,(function(t){var n=e.length;return function(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}(D(o(t,n),e),n)}))}(e,n);var i=!d&&r.iterateeAry[t];if(i)return function(t,e){return j(t,(function(t){return"function"==typeof t?o(t,e):t}))}(e,i)}return e}(a,i),t),!1}})),!i})),i||(i=l),i==e&&(i=v?x(i,1):function(){return e.apply(this,arguments)}),i.convert=M(a,e),i.placeholder=e.placeholder=n,i}if(!p)return F(n,l,f);var q=l,K=[];return R(T,(function(t){R(r.aryMethod[t],(function(t){var e=q[r.remap[t]||t];e&&K.push([t,F(t,e,q)])}))})),R(O(q),(function(t){var e=q[t];if("function"==typeof e){for(var n=K.length;n--;)if(K[n][0]==t)return;e.convert=M(t,e),K.push([t,e])}})),R(K,(function(t){q[t[0]]=t[1]})),q.convert=function(t){return q.runInContext.convert(t)(void 0)},q.placeholder=q,R(O(q),(function(t){R(r.realToAlias[t]||[],(function(e){q[e]=q[t]}))})),q}},16962:(t,e)=>{e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var i in n){var a=n[i];t.call(r,a)?r[a].push(i):r[a]=[i]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},47934:(t,e,n)=>{t.exports={ary:n(64626),assign:n(74733),clone:n(32629),curry:n(49747),forEach:n(83729),isArray:n(56449),isError:n(23546),isFunction:n(1882),isWeakMap:n(47886),iteratee:n(33855),keys:n(88984),rearg:n(84195),toInteger:n(61489),toPath:n(42072)}},79920:(t,e,n)=>{var r=n(73424),i=n(47934);t.exports=function(t,e,n){return r(i,t,e,n)}},2874:t=>{t.exports={}},10854:(t,e,n)=>{var r=n(79920)("sortBy",n(33031));r.placeholder=n(2874),t.exports=r},23546:(t,e,n)=>{var r=n(72552),i=n(40346),a=n(11331);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!a(t)}},47886:(t,e,n)=>{var r=n(5861),i=n(40346);t.exports=function(t){return i(t)&&"[object WeakMap]"==r(t)}},33855:(t,e,n)=>{var r=n(9999),i=n(15389);t.exports=function(t){return i("function"==typeof t?t:r(t,1))}},84195:(t,e,n)=>{var r=n(66977),i=n(38816)((function(t,e){return r(t,256,void 0,void 0,void 0,e)}));t.exports=i},33031:(t,e,n)=>{var r=n(83120),i=n(46155),a=n(69302),o=n(36800),s=a((function(t,e){if(null==t)return[];var n=e.length;return n>1&&o(t,e[0],e[1])?e=[]:n>2&&o(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])}));t.exports=s},17400:(t,e,n)=>{var r=n(99374);t.exports=function(t){return t?Infinity===(t=r(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},61489:(t,e,n)=>{var r=n(17400);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},42072:(t,e,n)=>{var r=n(34932),i=n(23007),a=n(56449),o=n(44394),s=n(61802),c=n(77797),l=n(13222);t.exports=function(t){return a(t)?r(t,c):o(t)?[t]:i(s(l(t)))}},53758:(t,e,n)=>{var r=n(30980),i=n(56017),a=n(94033),o=n(56449),s=n(40346),c=n(80257),l=Object.prototype.hasOwnProperty;function u(t){if(s(t)&&!o(t)&&!(t instanceof r)){if(t instanceof i)return t;if(l.call(t,"__wrapped__"))return c(t)}return new i(t)}u.prototype=a.prototype,u.prototype.constructor=u,t.exports=u}},a={};function o(t){var e=a[t];if(void 0!==e)return e.exports;var n=a[t]={id:t,loaded:!1,exports:{}};return i[t].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}o.m=i,e=[],o.O=(t,n,r,i)=>{if(!n){var a=1/0;for(u=0;u<e.length;u++){n=e[u][0],r=e[u][1],i=e[u][2];for(var s=!0,c=0;c<n.length;c++)(!1&i||a>=i)&&Object.keys(o.O).every((t=>o.O[t](n[c])))?n.splice(c--,1):(s=!1,i<a&&(a=i));if(s){e.splice(u--,1);var l=r();void 0!==l&&(t=l)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[n,r,i]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,n)=>(o.f[n](t,e),e)),[])),o.u=t=>t+"-"+t+".js?v="+{1110:"a5d6e6f59aa058840a1e",5455:"3ac95a973131d586425e"}[t],o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n={},r="nextcloud:",o.l=(t,e,i,a)=>{if(n[t])n[t].push(e);else{var s,c;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==r+i){s=d;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",r+i),s.src=t),n[t]=[e];var p=(e,r)=>{s.onerror=s.onload=null,clearTimeout(h);var i=n[t];if(delete n[t],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((t=>t(r))),e)return e(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),c&&document.head.appendChild(s)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),o.j=9255,(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!t||!/^http(s?):/.test(t));)t=n[r--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{o.b=document.baseURI||self.location.href;var t={9255:0};o.f.j=(e,n)=>{var r=o.o(t,e)?t[e]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise(((n,i)=>r=t[e]=[n,i]));n.push(r[2]=i);var a=o.p+o.u(e),s=new Error;o.l(a,(n=>{if(o.o(t,e)&&(0!==(r=t[e])&&(t[e]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,r[1](s)}}),"chunk-"+e,e)}},o.O.j=e=>0===t[e];var e=(e,n)=>{var r,i,a=n[0],s=n[1],c=n[2],l=0;if(a.some((e=>0!==t[e]))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(c)var u=c(o)}for(e&&e(n);l<a.length;l++)i=a[l],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return o.O(u)},n=self.webpackChunknextcloud=self.webpackChunknextcloud||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})(),o.nc=void 0;var s=o.O(void 0,[4208],(()=>o(53873)));s=o.O(s)})();
-//# sourceMappingURL=settings-vue-settings-personal-webauthn.js.map?v=6a2cca82b72b74640202 \ No newline at end of file
+(()=>{var e,r,n,i={2874:t=>{t.exports={}},3209:(t,e,r)=>{var n=r(91596),i=r(53320),a=r(36306),o="__lodash_placeholder__",s=Math.min;t.exports=function(t,e){var r=t[1],c=e[1],u=r|c,l=u<131,d=128==c&&8==r||128==c&&256==r&&t[7].length<=e[8]||384==c&&e[7].length<=e[8]&&8==r;if(!l&&!d)return t;1&c&&(t[2]=e[2],u|=1&r?0:4);var p=e[3];if(p){var f=t[3];t[3]=f?n(f,p,e[4]):p,t[4]=f?a(t[3],o):e[4]}return(p=e[5])&&(f=t[5],t[5]=f?i(f,p,e[6]):p,t[6]=f?a(t[5],o):e[6]),(p=e[7])&&(t[7]=p),128&c&&(t[8]=null==t[8]?e[8]:s(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=u,t}},5128:(t,e,r)=>{var n=r(80909),i=r(64894);t.exports=function(t,e){var r=-1,a=i(t)?Array(t.length):[];return n(t,(function(t,n,i){a[++r]=e(t,n,i)})),a}},9999:(t,e,r)=>{var n=r(37217),i=r(83729),a=r(16547),o=r(74733),s=r(43838),c=r(93290),u=r(23007),l=r(92271),d=r(48948),p=r(50002),f=r(83349),h=r(5861),v=r(76189),g=r(99580),y=r(35529),m=r(56449),A=r(3656),b=r(87730),w=r(23805),x=r(38440),_=r(95950),R=r(37241),E="[object Arguments]",I="[object Function]",C="[object Object]",O={};O[E]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[C]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[I]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,S,W,j,N){var D,T=1&r,k=2&r,P=4&r;if(S&&(D=j?S(e,W,j,N):S(e)),void 0!==D)return D;if(!w(e))return e;var B=m(e);if(B){if(D=v(e),!T)return u(e,D)}else{var M=h(e),F=M==I||"[object GeneratorFunction]"==M;if(A(e))return c(e,T);if(M==C||M==E||F&&!j){if(D=k||F?{}:y(e),!T)return k?d(e,s(D,e)):l(e,o(D,e))}else{if(!O[M])return j?e:{};D=g(e,M,T)}}N||(N=new n);var L=N.get(e);if(L)return L;N.set(e,D),x(e)?e.forEach((function(n){D.add(t(n,r,S,n,e,N))})):b(e)&&e.forEach((function(n,i){D.set(i,t(n,r,S,i,e,N))}));var U=B?void 0:(P?k?f:p:k?R:_)(e);return i(U||e,(function(n,i){U&&(n=e[i=n]),a(D,i,t(n,r,S,i,e,N))})),D}},10776:(t,e,r)=>{var n=r(30756),i=r(95950);t.exports=function(t){for(var e=i(t),r=e.length;r--;){var a=e[r],o=t[a];e[r]=[a,o,n(o)]}return e}},10854:(t,e,r)=>{var n=r(79920)("sortBy",r(33031));n.placeholder=r(2874),t.exports=n},11287:t=>{t.exports=function(t){return t.placeholder}},11842:(t,e,r)=>{var n=r(82819),i=r(9325);t.exports=function(t,e,r){var a=1&e,o=n(t);return function e(){return(this&&this!==i&&this instanceof e?o:t).apply(a?r:this,arguments)}}},13222:(t,e,r)=>{var n=r(77556);t.exports=function(t){return null==t?"":n(t)}},15389:(t,e,r)=>{var n=r(93663),i=r(87978),a=r(83488),o=r(56449),s=r(50583);t.exports=function(t){return"function"==typeof t?t:null==t?a:"object"==typeof t?o(t)?i(t[0],t[1]):n(t):s(t)}},16038:(t,e,r)=>{var n=r(5861),i=r(40346);t.exports=function(t){return i(t)&&"[object Set]"==n(t)}},16962:(t,e)=>{e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,n={};for(var i in r){var a=r[i];t.call(n,a)?n[a].push(i):n[a]=[i]}return n}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},17255:(t,e,r)=>{var n=r(47422);t.exports=function(t){return function(e){return n(e,t)}}},17400:(t,e,r)=>{var n=r(99374),i=1/0;t.exports=function(t){return t?(t=n(t))===i||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},18073:(t,e,r)=>{var n=r(85087),i=r(54641),a=r(70981);t.exports=function(t,e,r,o,s,c,u,l,d,p){var f=8&e;e|=f?32:64,4&(e&=~(f?64:32))||(e&=-4);var h=[t,e,s,f?c:void 0,f?u:void 0,f?void 0:c,f?void 0:u,l,d,p],v=r.apply(void 0,h);return n(t)&&i(v,h),v.placeholder=o,a(v,t,e)}},23546:(t,e,r)=>{var n=r(72552),i=r(40346),a=r(11331);t.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!a(t)}},24168:(t,e,r)=>{var n=r(91033),i=r(82819),a=r(9325);t.exports=function(t,e,r,o){var s=1&e,c=i(t);return function e(){for(var i=-1,u=arguments.length,l=-1,d=o.length,p=Array(d+u),f=this&&this!==a&&this instanceof e?c:t;++l<d;)p[l]=o[l];for(;u--;)p[l++]=arguments[++i];return n(f,s?r:this,p)}}},28077:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},28586:(t,e,r)=>{var n=r(56449),i=r(44394),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!i(t))||o.test(t)||!a.test(t)||null!=e&&t in Object(e)}},29172:(t,e,r)=>{var n=r(5861),i=r(40346);t.exports=function(t){return i(t)&&"[object Map]"==n(t)}},30641:(t,e,r)=>{var n=r(86649),i=r(95950);t.exports=function(t,e){return t&&n(t,e,i)}},30756:(t,e,r)=>{var n=r(23805);t.exports=function(t){return t==t&&!n(t)}},30980:(t,e,r)=>{var n=r(39344),i=r(94033);function a(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}a.prototype=n(i.prototype),a.prototype.constructor=a,t.exports=a},31769:(t,e,r)=>{var n=r(56449),i=r(28586),a=r(61802),o=r(13222);t.exports=function(t,e){return n(t)?t:i(t,e)?[t]:a(o(t))}},32629:(t,e,r)=>{var n=r(9999);t.exports=function(t){return n(t,4)}},33031:(t,e,r)=>{var n=r(83120),i=r(46155),a=r(69302),o=r(36800),s=a((function(t,e){if(null==t)return[];var r=e.length;return r>1&&o(t,e[0],e[1])?e=[]:r>2&&o(e[0],e[1],e[2])&&(e=[e[0]]),i(t,n(e,1),[])}));t.exports=s},33855:(t,e,r)=>{var n=r(9999),i=r(15389);t.exports=function(t){return i("function"==typeof t?t:n(t,1))}},34932:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}},35970:(t,e,r)=>{var n=r(83120);t.exports=function(t){return null!=t&&t.length?n(t,1):[]}},36306:t=>{var e="__lodash_placeholder__";t.exports=function(t,r){for(var n=-1,i=t.length,a=0,o=[];++n<i;){var s=t[n];s!==r&&s!==e||(t[n]=e,o[a++]=n)}return o}},37381:(t,e,r)=>{var n=r(48152),i=r(63950),a=n?function(t){return n.get(t)}:i;t.exports=a},37471:(t,e,r)=>{var n=r(91596),i=r(53320),a=r(58523),o=r(82819),s=r(18073),c=r(11287),u=r(68294),l=r(36306),d=r(9325);t.exports=function t(e,r,p,f,h,v,g,y,m,A){var b=128&r,w=1&r,x=2&r,_=24&r,R=512&r,E=x?void 0:o(e);return function I(){for(var C=arguments.length,O=Array(C),S=C;S--;)O[S]=arguments[S];if(_)var W=c(I),j=a(O,W);if(f&&(O=n(O,f,h,_)),v&&(O=i(O,v,g,_)),C-=j,_&&C<A){var N=l(O,W);return s(e,r,t,I.placeholder,p,O,N,y,m,A-C)}var D=w?p:this,T=x?D[e]:e;return C=O.length,y?O=u(O,y):R&&C>1&&O.reverse(),b&&m<C&&(O.length=m),this&&this!==d&&this instanceof I&&(T=E||o(T)),T.apply(D,O)}}},38329:(t,e,r)=>{var n=r(64894);t.exports=function(t,e){return function(r,i){if(null==r)return r;if(!n(r))return t(r,i);for(var a=r.length,o=e?a:-1,s=Object(r);(e?o--:++o<a)&&!1!==i(s[o],o,s););return r}}},38440:(t,e,r)=>{var n=r(16038),i=r(27301),a=r(86009),o=a&&a.isSet,s=o?i(o):n;t.exports=s},38816:(t,e,r)=>{var n=r(35970),i=r(56757),a=r(32865);t.exports=function(t){return a(i(t,void 0,n),t+"")}},41799:(t,e,r)=>{var n=r(37217),i=r(60270);t.exports=function(t,e,r,a){var o=r.length,s=o,c=!a;if(null==t)return!s;for(t=Object(t);o--;){var u=r[o];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++o<s;){var l=(u=r[o])[0],d=t[l],p=u[1];if(c&&u[2]){if(void 0===d&&!(l in t))return!1}else{var f=new n;if(a)var h=a(d,p,l,t,e,f);if(!(void 0===h?i(p,d,3,a,f):h))return!1}}return!0}},42072:(t,e,r)=>{var n=r(34932),i=r(23007),a=r(56449),o=r(44394),s=r(61802),c=r(77797),u=r(13222);t.exports=function(t){return a(t)?n(t,c):o(t)?[t]:i(s(u(t)))}},43714:(t,e,r)=>{var n=r(53730);t.exports=function(t,e,r){for(var i=-1,a=t.criteria,o=e.criteria,s=a.length,c=r.length;++i<s;){var u=n(a[i],o[i]);if(u)return i>=c?u:u*("desc"==r[i]?-1:1)}return t.index-e.index}},43838:(t,e,r)=>{var n=r(21791),i=r(37241);t.exports=function(t,e){return t&&n(e,i(e),t)}},45711:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(71354),i=r.n(n),a=r(76314),o=r.n(a)()(i());o.push([t.id,".webauthn-loading[data-v-6f94ece4]{display:inline-block;vertical-align:sub;margin-inline:2px}.new-webauthn-device[data-v-6f94ece4]{display:flex;gap:22px;align-items:center}.new-webauthn-device__name[data-v-6f94ece4]{max-width:min(100vw,400px)}","",{version:3,sources:["webpack://./apps/settings/src/components/WebAuthn/AddDevice.vue"],names:[],mappings:"AACA,mCACC,oBAAA,CACA,kBAAA,CACA,iBAAA,CAGD,sCACC,YAAA,CACA,QAAA,CACA,kBAAA,CAEA,4CACC,0BAAA",sourcesContent:["\n.webauthn-loading {\n\tdisplay: inline-block;\n\tvertical-align: sub;\n\tmargin-inline: 2px;\n}\n\n.new-webauthn-device {\n\tdisplay: flex;\n\tgap: 22px;\n\talign-items: center;\n\n\t&__name {\n\t\tmax-width: min(100vw, 400px);\n\t}\n}\n"],sourceRoot:""}]);const s=o},45891:(t,e,r)=>{var n=r(51873),i=r(72428),a=r(56449),o=n?n.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||i(t)||!!(o&&t&&t[o])}},46155:(t,e,r)=>{var n=r(34932),i=r(47422),a=r(15389),o=r(5128),s=r(73937),c=r(27301),u=r(43714),l=r(83488),d=r(56449);t.exports=function(t,e,r){e=e.length?n(e,(function(t){return d(t)?function(e){return i(e,1===t.length?t[0]:t)}:t})):[l];var p=-1;e=n(e,c(a));var f=o(t,(function(t,r,i){return{criteria:n(e,(function(e){return e(t)})),index:++p,value:t}}));return s(f,(function(t,e){return u(t,e,r)}))}},47237:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},47422:(t,e,r)=>{var n=r(31769),i=r(77797);t.exports=function(t,e){for(var r=0,a=(e=n(e,t)).length;null!=t&&r<a;)t=t[i(e[r++])];return r&&r==a?t:void 0}},47886:(t,e,r)=>{var n=r(5861),i=r(40346);t.exports=function(t){return i(t)&&"[object WeakMap]"==n(t)}},47934:(t,e,r)=>{t.exports={ary:r(64626),assign:r(74733),clone:r(32629),curry:r(49747),forEach:r(83729),isArray:r(56449),isError:r(23546),isFunction:r(1882),isWeakMap:r(47886),iteratee:r(33855),keys:r(82955),rearg:r(84195),toInteger:r(61489),toPath:r(42072)}},48152:(t,e,r)=>{var n=r(28303),i=n&&new n;t.exports=i},48948:(t,e,r)=>{var n=r(21791),i=r(86375);t.exports=function(t,e){return n(t,i(t),e)}},49326:(t,e,r)=>{var n=r(31769),i=r(72428),a=r(56449),o=r(30361),s=r(30294),c=r(77797);t.exports=function(t,e,r){for(var u=-1,l=(e=n(e,t)).length,d=!1;++u<l;){var p=c(e[u]);if(!(d=null!=t&&r(t,p)))break;t=t[p]}return d||++u!=l?d:!!(l=null==t?0:t.length)&&s(l)&&o(p,l)&&(a(t)||i(t))}},49747:(t,e,r)=>{var n=r(66977);function i(t,e,r){var a=n(t,8,void 0,void 0,void 0,void 0,void 0,e=r?void 0:e);return a.placeholder=i.placeholder,a}i.placeholder={},t.exports=i},50104:(t,e,r)=>{var n=r(53661);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=t.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(i.Cache||n),r}i.Cache=n,t.exports=i},50583:(t,e,r)=>{var n=r(47237),i=r(17255),a=r(28586),o=r(77797);t.exports=function(t){return a(t)?n(o(t)):i(t)}},53320:t=>{var e=Math.max;t.exports=function(t,r,n,i){for(var a=-1,o=t.length,s=-1,c=n.length,u=-1,l=r.length,d=e(o-c,0),p=Array(d+l),f=!i;++a<d;)p[a]=t[a];for(var h=a;++u<l;)p[h+u]=r[u];for(;++s<c;)(f||a<o)&&(p[h+n[s]]=t[a++]);return p}},53730:(t,e,r)=>{var n=r(44394);t.exports=function(t,e){if(t!==e){var r=void 0!==t,i=null===t,a=t==t,o=n(t),s=void 0!==e,c=null===e,u=e==e,l=n(e);if(!c&&!l&&!o&&t>e||o&&s&&u&&!c&&!l||i&&s&&u||!r&&u||!a)return 1;if(!i&&!o&&!l&&t<e||l&&r&&a&&!i&&!o||c&&r&&a||!s&&a||!u)return-1}return 0}},53758:(t,e,r)=>{var n=r(30980),i=r(56017),a=r(94033),o=r(56449),s=r(40346),c=r(80257),u=Object.prototype.hasOwnProperty;function l(t){if(s(t)&&!o(t)&&!(t instanceof n)){if(t instanceof i)return t;if(u.call(t,"__wrapped__"))return c(t)}return new i(t)}l.prototype=a.prototype,l.prototype.constructor=l,t.exports=l},54641:(t,e,r)=>{var n=r(68882),i=r(51811)(n);t.exports=i},56017:(t,e,r)=>{var n=r(39344),i=r(94033);function a(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}a.prototype=n(i.prototype),a.prototype.constructor=a,t.exports=a},58156:(t,e,r)=>{var n=r(47422);t.exports=function(t,e,r){var i=null==t?void 0:n(t,e);return void 0===i?r:i}},58523:t=>{t.exports=function(t,e){for(var r=t.length,n=0;r--;)t[r]===e&&++n;return n}},61489:(t,e,r)=>{var n=r(17400);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},61738:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(71354),i=r.n(n),a=r(76314),o=r.n(a)()(i());o.push([t.id,"\n.security-webauthn__device-list[data-v-d3d13050] {\n\tmargin-block: 12px 18px;\n}\n","",{version:3,sources:["webpack://./apps/settings/src/components/WebAuthn/Section.vue"],names:[],mappings:";AA8GA;CACA,uBAAA;AACA",sourcesContent:["\x3c!--\n - SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n<template>\n\t<div id=\"security-webauthn\" class=\"section\">\n\t\t<h2>{{ t('settings', 'Passwordless Authentication') }}</h2>\n\t\t<p class=\"settings-hint hidden-when-empty\">\n\t\t\t{{ t('settings', 'Set up your account for passwordless authentication following the FIDO2 standard.') }}\n\t\t</p>\n\t\t<NcNoteCard v-if=\"devices.length === 0\" type=\"info\">\n\t\t\t{{ t('settings', 'No devices configured.') }}\n\t\t</NcNoteCard>\n\n\t\t<h3 v-else id=\"security-webauthn__active-devices\">\n\t\t\t{{ t('settings', 'The following devices are configured for your account:') }}\n\t\t</h3>\n\t\t<ul aria-labelledby=\"security-webauthn__active-devices\" class=\"security-webauthn__device-list\">\n\t\t\t<Device v-for=\"device in sortedDevices\"\n\t\t\t\t:key=\"device.id\"\n\t\t\t\t:name=\"device.name\"\n\t\t\t\t@delete=\"deleteDevice(device.id)\" />\n\t\t</ul>\n\n\t\t<NcNoteCard v-if=\"!supportsWebauthn\" type=\"warning\">\n\t\t\t{{ t('settings', 'Your browser does not support WebAuthn.') }}\n\t\t</NcNoteCard>\n\n\t\t<AddDevice v-if=\"supportsWebauthn\"\n\t\t\t:is-https=\"isHttps\"\n\t\t\t:is-localhost=\"isLocalhost\"\n\t\t\t@added=\"deviceAdded\" />\n\t</div>\n</template>\n\n<script>\nimport { browserSupportsWebAuthn } from '@simplewebauthn/browser'\nimport { confirmPassword } from '@nextcloud/password-confirmation'\nimport NcNoteCard from '@nextcloud/vue/components/NcNoteCard'\nimport sortBy from 'lodash/fp/sortBy.js'\n\nimport AddDevice from './AddDevice.vue'\nimport Device from './Device.vue'\nimport logger from '../../logger.ts'\nimport { removeRegistration } from '../../service/WebAuthnRegistrationSerice.js'\n\nimport '@nextcloud/password-confirmation/dist/style.css'\n\nconst sortByName = sortBy('name')\n\nexport default {\n\tcomponents: {\n\t\tAddDevice,\n\t\tDevice,\n\t\tNcNoteCard,\n\t},\n\tprops: {\n\t\tinitialDevices: {\n\t\t\ttype: Array,\n\t\t\trequired: true,\n\t\t},\n\t\tisHttps: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\tisLocalhost: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\tsetup() {\n\t\t// Non reactive properties\n\t\treturn {\n\t\t\tsupportsWebauthn: browserSupportsWebAuthn(),\n\t\t}\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tdevices: this.initialDevices,\n\t\t}\n\t},\n\tcomputed: {\n\t\tsortedDevices() {\n\t\t\treturn sortByName(this.devices)\n\t\t},\n\t},\n\tmethods: {\n\t\tdeviceAdded(device) {\n\t\t\tlogger.debug(`adding new device to the list ${device.id}`)\n\n\t\t\tthis.devices.push(device)\n\t\t},\n\t\tasync deleteDevice(id) {\n\t\t\tlogger.info(`deleting webauthn device ${id}`)\n\n\t\t\tawait confirmPassword()\n\t\t\tawait removeRegistration(id)\n\n\t\t\tthis.devices = this.devices.filter(d => d.id !== id)\n\n\t\t\tlogger.info(`webauthn device ${id} removed successfully`)\n\t\t},\n\t},\n}\n<\/script>\n\n<style scoped>\n.security-webauthn__device-list {\n\tmargin-block: 12px 18px;\n}\n</style>\n"],sourceRoot:""}]);const s=o},61802:(t,e,r)=>{var n=r(62224),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,o=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,r,n,i){e.push(n?i.replace(a,"$1"):r||t)})),e}));t.exports=o},62060:t=>{var e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;t.exports=function(t,r){var n=r.length;if(!n)return t;var i=n-1;return r[i]=(n>1?"& ":"")+r[i],r=r.join(n>2?", ":" "),t.replace(e,"{\n/* [wrapped with "+r+"] */\n")}},62224:(t,e,r)=>{var n=r(50104);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},62284:(t,e,r)=>{var n=r(84629),i=Object.prototype.hasOwnProperty;t.exports=function(t){for(var e=t.name+"",r=n[e],a=i.call(n,e)?r.length:0;a--;){var o=r[a],s=o.func;if(null==s||s==t)return o.name}return e}},64626:(t,e,r)=>{var n=r(66977);t.exports=function(t,e,r){return e=r?void 0:e,e=t&&null==e?t.length:e,n(t,128,void 0,void 0,void 0,void 0,e)}},66977:(t,e,r)=>{var n=r(68882),i=r(11842),a=r(77078),o=r(37471),s=r(24168),c=r(37381),u=r(3209),l=r(54641),d=r(70981),p=r(61489),f=Math.max;t.exports=function(t,e,r,h,v,g,y,m){var A=2&e;if(!A&&"function"!=typeof t)throw new TypeError("Expected a function");var b=h?h.length:0;if(b||(e&=-97,h=v=void 0),y=void 0===y?y:f(p(y),0),m=void 0===m?m:p(m),b-=v?v.length:0,64&e){var w=h,x=v;h=v=void 0}var _=A?void 0:c(t),R=[t,e,r,h,v,w,x,g,y,m];if(_&&u(R,_),t=R[0],e=R[1],r=R[2],h=R[3],v=R[4],!(m=R[9]=void 0===R[9]?A?0:t.length:f(R[9]-b,0))&&24&e&&(e&=-25),e&&1!=e)E=8==e||16==e?a(t,e,m):32!=e&&33!=e||v.length?o.apply(void 0,R):s(t,e,r,h);else var E=i(t,e,r);return d((_?n:l)(E,R),t,e)}},67197:t=>{t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},68294:(t,e,r)=>{var n=r(23007),i=r(30361),a=Math.min;t.exports=function(t,e){for(var r=t.length,o=a(e.length,r),s=n(t);o--;){var c=e[o];t[o]=i(c,r)?s[c]:void 0}return t}},68882:(t,e,r)=>{var n=r(83488),i=r(48152),a=i?function(t,e){return i.set(t,e),t}:n;t.exports=a},70981:(t,e,r)=>{var n=r(75251),i=r(62060),a=r(32865),o=r(75948);t.exports=function(t,e,r){var s=e+"";return a(t,i(s,o(n(s),r)))}},73201:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},73424:(t,e,r)=>{var n=r(16962),i=r(2874),a=Array.prototype.push;function o(t,e){return 2==e?function(e,r){return t(e,r)}:function(e){return t(e)}}function s(t){for(var e=t?t.length:0,r=Array(e);e--;)r[e]=t[e];return r}function c(t,e){return function(){var r=arguments.length;if(r){for(var n=Array(r);r--;)n[r]=arguments[r];var i=n[0]=e.apply(void 0,n);return t.apply(void 0,n),i}}}t.exports=function t(e,r,u,l){var d="function"==typeof r,p=r===Object(r);if(p&&(l=u,u=r,r=void 0),null==u)throw new TypeError;l||(l={});var f={cap:!("cap"in l)||l.cap,curry:!("curry"in l)||l.curry,fixed:!("fixed"in l)||l.fixed,immutable:!("immutable"in l)||l.immutable,rearg:!("rearg"in l)||l.rearg},h=d?u:i,v="curry"in l&&l.curry,g="fixed"in l&&l.fixed,y="rearg"in l&&l.rearg,m=d?u.runInContext():void 0,A=d?u:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},b=A.ary,w=A.assign,x=A.clone,_=A.curry,R=A.forEach,E=A.isArray,I=A.isError,C=A.isFunction,O=A.isWeakMap,S=A.keys,W=A.rearg,j=A.toInteger,N=A.toPath,D=S(n.aryMethod),T={castArray:function(t){return function(){var e=arguments[0];return E(e)?t(s(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[1],r=t(arguments[0],e),n=r.length;return f.cap&&"number"==typeof e?(e=e>2?e-2:1,n&&n<=e?r:o(r,e)):r}},mixin:function(t){return function(e){var r=this;if(!C(r))return t(r,Object(e));var n=[];return R(S(e),(function(t){C(e[t])&&n.push([t,r.prototype[t]])})),t(r,Object(e)),R(n,(function(t){var e=t[1];C(e)?r.prototype[t[0]]=e:delete r.prototype[t[0]]})),r}},nthArg:function(t){return function(e){var r=e<0?1:j(e)+1;return _(t(e),r)}},rearg:function(t){return function(e,r){var n=r?r.length:0;return _(t(e,r),n)}},runInContext:function(r){return function(n){return t(e,r(n),l)}}};function k(t,e,r){if(f.fixed&&(g||!n.skipFixed[t])){var i=n.methodSpread[t],o=i&&i.start;return void 0===o?b(e,r):function(t,e){return function(){for(var r=arguments.length,n=r-1,i=Array(r);r--;)i[r]=arguments[r];var o=i[e],s=i.slice(0,e);return o&&a.apply(s,o),e!=n&&a.apply(s,i.slice(e+1)),t.apply(this,s)}}(e,o)}return e}function P(t,e,r){return f.rearg&&r>1&&(y||!n.skipRearg[t])?W(e,n.methodRearg[t]||n.aryRearg[r]):e}function B(t,e){for(var r=-1,n=(e=N(e)).length,i=n-1,a=x(Object(t)),o=a;null!=o&&++r<n;){var s=e[r],c=o[s];null==c||C(c)||I(c)||O(c)||(o[s]=x(r==i?c:Object(c))),o=o[s]}return a}function M(e,r){var i=n.aliasToReal[e]||e,a=n.remap[i]||i,o=l;return function(e){var n=d?m:A,s=d?m[a]:r,c=w(w({},o),e);return t(n,i,s,c)}}function F(t,e){return function(){var r=arguments.length;if(!r)return t();for(var n=Array(r);r--;)n[r]=arguments[r];var i=f.rearg?0:r-1;return n[i]=e(n[i]),t.apply(void 0,n)}}function L(t,e,r){var i,a=n.aliasToReal[t]||t,u=e,l=T[a];return l?u=l(e):f.immutable&&(n.mutate.array[a]?u=c(e,s):n.mutate.object[a]?u=c(e,function(t){return function(e){return t({},e)}}(e)):n.mutate.set[a]&&(u=c(e,B))),R(D,(function(t){return R(n.aryMethod[t],(function(e){if(a==e){var r=n.methodSpread[a],s=r&&r.afterRearg;return i=s?k(a,P(a,u,t),t):P(a,k(a,u,t),t),i=function(t,e,r){return v||f.curry&&r>1?_(e,r):e}(0,i=function(t,e){if(f.cap){var r=n.iterateeRearg[t];if(r)return function(t,e){return F(t,(function(t){var r=e.length;return function(t,e){return 2==e?function(e,r){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}(W(o(t,r),e),r)}))}(e,r);var i=!d&&n.iterateeAry[t];if(i)return function(t,e){return F(t,(function(t){return"function"==typeof t?o(t,e):t}))}(e,i)}return e}(a,i),t),!1}})),!i})),i||(i=u),i==e&&(i=v?_(i,1):function(){return e.apply(this,arguments)}),i.convert=M(a,e),i.placeholder=e.placeholder=r,i}if(!p)return L(r,u,h);var U=u,q=[];return R(D,(function(t){R(n.aryMethod[t],(function(t){var e=U[n.remap[t]||t];e&&q.push([t,L(t,e,U)])}))})),R(S(U),(function(t){var e=U[t];if("function"==typeof e){for(var r=q.length;r--;)if(q[r][0]==t)return;e.convert=M(t,e),q.push([t,e])}})),R(q,(function(t){U[t[0]]=t[1]})),U.convert=function(t){return U.runInContext.convert(t)(void 0)},U.placeholder=U,R(S(U),(function(t){R(n.realToAlias[t]||[],(function(e){U[e]=U[t]}))})),U}},73937:t=>{t.exports=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}},74733:(t,e,r)=>{var n=r(21791),i=r(95950);t.exports=function(t,e){return t&&n(e,i(e),t)}},75251:t=>{var e=/\{\n\/\* \[wrapped with (.+)\] \*/,r=/,? & /;t.exports=function(t){var n=t.match(e);return n?n[1].split(r):[]}},75948:(t,e,r)=>{var n=r(83729),i=r(15325),a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];t.exports=function(t,e){return n(a,(function(r){var n="_."+r[0];e&r[1]&&!i(t,n)&&t.push(n)})),t.sort()}},76169:(t,e,r)=>{var n=r(49653);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},76189:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},77078:(t,e,r)=>{var n=r(91033),i=r(82819),a=r(37471),o=r(18073),s=r(11287),c=r(36306),u=r(9325);t.exports=function(t,e,r){var l=i(t);return function i(){for(var d=arguments.length,p=Array(d),f=d,h=s(i);f--;)p[f]=arguments[f];var v=d<3&&p[0]!==h&&p[d-1]!==h?[]:c(p,h);return(d-=v.length)<r?o(t,e,a,i.placeholder,void 0,p,v,void 0,void 0,r-d):n(this&&this!==u&&this instanceof i?l:t,this,p)}}},77326:(e,r,n)=>{"use strict";var i=n(21777),a=n(81222),o=n(85471);function s(t){const e=new Uint8Array(t);let r="";for(const t of e)r+=String.fromCharCode(t);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function c(t){const e=t.replace(/-/g,"+").replace(/_/g,"/"),r=(4-e.length%4)%4,n=e.padEnd(e.length+r,"="),i=atob(n),a=new ArrayBuffer(i.length),o=new Uint8Array(a);for(let t=0;t<i.length;t++)o[t]=i.charCodeAt(t);return a}function u(){return l.stubThis(void 0!==globalThis?.PublicKeyCredential&&"function"==typeof globalThis.PublicKeyCredential)}const l={stubThis:t=>t};function d(t){const{id:e}=t;return{...t,id:c(e),transports:t.transports}}class p extends Error{constructor({message:t,code:e,cause:r,name:n}){super(t,{cause:r}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=n??r.name,this.code=e}}const f=new class{constructor(){Object.defineProperty(this,"controller",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}createNewAbortSignal(){if(this.controller){const t=new Error("Cancelling existing WebAuthn API call for new one");t.name="AbortError",this.controller.abort(t)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}},h=["cross-platform","platform"];function v(t){if(t&&!(h.indexOf(t)<0))return t}function g(t,e){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${t}. You should report this error to them.\n`,e)}var y=n(56760),m=n(40083),A=n(10854),b=n.n(A),w=n(85168),x=n(97012),_=n(82182);const R=(0,n(35947).YK)().setApp("settings").detectUser().build();var E=n(53334),I=n(63814),C=n(65043);n(51257);const O=t=>e=>(R.debug(t),e),S=Object.freeze({READY:1,REGISTRATION:2,NAMING:3,PERSIST:4}),W={name:"AddDevice",components:{NcButton:x.A,NcTextField:_.A},props:{httpWarning:Boolean,isHttps:{type:Boolean,default:!1},isLocalhost:{type:Boolean,default:!1}},setup:()=>({RegistrationSteps:S}),data:()=>({name:"",credential:{},step:S.READY}),watch:{step(){this.step===S.NAMING&&this.$nextTick((()=>this.$refs.nameInput?.focus()))}},methods:{async start(){this.step=S.REGISTRATION,console.debug("Starting WebAuthn registration");try{await(0,y.C5)(),this.credential=await async function(){const t=(0,I.Jv)("/settings/api/personal/webauthn/registration");try{R.debug("Fetching webauthn registration data");const{data:e}=await C.Ay.get(t);return R.debug("Start webauthn registration"),await async function(t){!t.optionsJSON&&t.challenge&&(console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),t={optionsJSON:t});const{optionsJSON:e,useAutoRegister:r=!1}=t;if(!u())throw new Error("WebAuthn is not supported in this browser");const n={...e,challenge:c(e.challenge),user:{...e.user,id:c(e.user.id)},excludeCredentials:e.excludeCredentials?.map(d)},i={};let a;r&&(i.mediation="conditional"),i.publicKey=n,i.signal=f.createNewAbortSignal();try{a=await navigator.credentials.create(i)}catch(t){throw function({error:t,options:e}){const{publicKey:r}=e;if(!r)throw Error("options was missing required publicKey property");if("AbortError"===t.name){if(e.signal instanceof AbortSignal)return new p({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:t})}else if("ConstraintError"===t.name){if(!0===r.authenticatorSelection?.requireResidentKey)return new p({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:t});if("conditional"===e.mediation&&"required"===r.authenticatorSelection?.userVerification)return new p({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:t});if("required"===r.authenticatorSelection?.userVerification)return new p({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:t})}else{if("InvalidStateError"===t.name)return new p({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:t});if("NotAllowedError"===t.name)return new p({message:t.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t});if("NotSupportedError"===t.name)return 0===r.pubKeyCredParams.filter((t=>"public-key"===t.type)).length?new p({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:t}):new p({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:t});if("SecurityError"===t.name){const e=globalThis.location.hostname;if("localhost"!==(n=e)&&!/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(n))return new p({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:t});if(r.rp.id!==e)return new p({message:`The RP ID "${r.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:t})}else if("TypeError"===t.name){if(r.user.id.byteLength<1||r.user.id.byteLength>64)return new p({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:t})}else if("UnknownError"===t.name)return new p({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:t})}var n;return t}({error:t,options:i})}if(!a)throw new Error("Registration was not completed");const{id:o,rawId:l,response:h,type:y}=a;let m,A,b,w;if("function"==typeof h.getTransports&&(m=h.getTransports()),"function"==typeof h.getPublicKeyAlgorithm)try{A=h.getPublicKeyAlgorithm()}catch(t){g("getPublicKeyAlgorithm()",t)}if("function"==typeof h.getPublicKey)try{const t=h.getPublicKey();null!==t&&(b=s(t))}catch(t){g("getPublicKey()",t)}if("function"==typeof h.getAuthenticatorData)try{w=s(h.getAuthenticatorData())}catch(t){g("getAuthenticatorData()",t)}return{id:o,rawId:s(l),response:{attestationObject:s(h.attestationObject),clientDataJSON:s(h.clientDataJSON),transports:m,publicKeyAlgorithm:A,publicKey:b,authenticatorData:w},type:y,clientExtensionResults:a.getClientExtensionResults(),authenticatorAttachment:v(a.authenticatorAttachment)}}({optionsJSON:e})}catch(t){if(R.error(t),(0,C.F0)(t))throw new Error((0,E.Tl)("settings","Could not register device: Network error"));if("InvalidStateError"===t.name)throw new Error((0,E.Tl)("settings","Could not register device: Probably already registered"));throw new Error((0,E.Tl)("settings","Could not register device"))}}(),this.step=S.NAMING}catch(t){(0,w.Qg)(t),this.step=S.READY}},submit(){return this.step=S.PERSIST,(0,y.C5)().then(O("confirmed password")).then(this.saveRegistrationData).then(O("registration data saved")).then((()=>this.reset())).then(O("app reset")).catch(console.error)},async saveRegistrationData(){try{const t=await async function(t,e){const r=(0,I.Jv)("/settings/api/personal/webauthn/registration");return(await C.Ay.post(r,{name:t,data:JSON.stringify(e)})).data}(this.name,this.credential);R.info("new device added",{device:t}),this.$emit("added",t)}catch(e){throw R.error("Error persisting webauthn registration",{error:e}),new Error(t("settings","Server error while trying to complete WebAuthn device registration"))}},reset(){this.name="",this.registrationData={},this.step=S.READY}}};var j=n(85072),N=n.n(j),D=n(97825),T=n.n(D),k=n(77659),P=n.n(k),B=n(55056),M=n.n(B),F=n(10540),L=n.n(F),U=n(41113),q=n.n(U),K=n(45711),z={};z.styleTagTransform=q(),z.setAttributes=M(),z.insert=P().bind(null,"head"),z.domAPI=T(),z.insertStyleElement=L(),N()(K.A,z),K.A&&K.A.locals&&K.A.locals;var $=n(14486);const G=(0,$.A)(W,(function(){var t=this,e=t._self._c;return t.isHttps||t.isLocalhost?e("div",[t.step===t.RegistrationSteps.READY?e("NcButton",{attrs:{type:"primary"},on:{click:t.start}},[t._v("\n\t\t"+t._s(t.t("settings","Add WebAuthn device"))+"\n\t")]):t.step===t.RegistrationSteps.REGISTRATION?e("div",{staticClass:"new-webauthn-device"},[e("span",{staticClass:"icon-loading-small webauthn-loading"}),t._v("\n\t\t"+t._s(t.t("settings","Please authorize your WebAuthn device."))+"\n\t")]):t.step===t.RegistrationSteps.NAMING?e("div",{staticClass:"new-webauthn-device"},[e("span",{staticClass:"icon-loading-small webauthn-loading"}),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("NcTextField",{ref:"nameInput",staticClass:"new-webauthn-device__name",attrs:{label:t.t("settings","Device name"),value:t.name,"show-trailing-button":"","trailing-button-label":t.t("settings","Add"),"trailing-button-icon":"arrowRight"},on:{"update:value":function(e){t.name=e},"trailing-button-click":t.submit}})],1)]):t.step===t.RegistrationSteps.PERSIST?e("div",{staticClass:"new-webauthn-device"},[e("span",{staticClass:"icon-loading-small webauthn-loading"}),t._v("\n\t\t"+t._s(t.t("settings","Adding your device …"))+"\n\t")]):e("div",[t._v("\n\t\tInvalid registration step. This should not have happened.\n\t")])],1):e("div",[t._v("\n\t"+t._s(t.t("settings","Passwordless authentication requires a secure connection."))+"\n")])}),[],!1,null,"6f94ece4",null).exports;var H=n(24764);const Y={name:"Device",components:{NcActionButton:n(57505).A,NcActions:H.A},props:{name:{type:String,required:!0}}};var V=n(98497),J={};J.styleTagTransform=q(),J.setAttributes=M(),J.insert=P().bind(null,"head"),J.domAPI=T(),J.insertStyleElement=L(),N()(V.A,J),V.A&&V.A.locals&&V.A.locals;const X=(0,$.A)(Y,(function(){var t=this,e=t._self._c;return e("li",{staticClass:"webauthn-device"},[e("span",{staticClass:"icon-webauthn-device"}),t._v("\n\t"+t._s(t.name||t.t("settings","Unnamed device"))+"\n\t"),e("NcActions",{attrs:{"force-menu":!0}},[e("NcActionButton",{attrs:{icon:"icon-delete"},on:{click:function(e){return t.$emit("delete")}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Delete"))+"\n\t\t")])],1)],1)}),[],!1,null,"ff58f694",null).exports,Q=b()("name"),Z={components:{AddDevice:G,Device:X,NcNoteCard:m.A},props:{initialDevices:{type:Array,required:!0},isHttps:{type:Boolean,default:!1},isLocalhost:{type:Boolean,default:!1}},setup:()=>({supportsWebauthn:u()}),data(){return{devices:this.initialDevices}},computed:{sortedDevices(){return Q(this.devices)}},methods:{deviceAdded(t){R.debug(`adding new device to the list ${t.id}`),this.devices.push(t)},async deleteDevice(t){R.info(`deleting webauthn device ${t}`),await(0,y.C5)(),await async function(t){const e=(0,I.Jv)(`/settings/api/personal/webauthn/registration/${t}`);await C.Ay.delete(e)}(t),this.devices=this.devices.filter((e=>e.id!==t)),R.info(`webauthn device ${t} removed successfully`)}}};var tt=n(61738),et={};et.styleTagTransform=q(),et.setAttributes=M(),et.insert=P().bind(null,"head"),et.domAPI=T(),et.insertStyleElement=L(),N()(tt.A,et),tt.A&&tt.A.locals&&tt.A.locals;const rt=(0,$.A)(Z,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"section",attrs:{id:"security-webauthn"}},[e("h2",[t._v(t._s(t.t("settings","Passwordless Authentication")))]),t._v(" "),e("p",{staticClass:"settings-hint hidden-when-empty"},[t._v("\n\t\t"+t._s(t.t("settings","Set up your account for passwordless authentication following the FIDO2 standard."))+"\n\t")]),t._v(" "),0===t.devices.length?e("NcNoteCard",{attrs:{type:"info"}},[t._v("\n\t\t"+t._s(t.t("settings","No devices configured."))+"\n\t")]):e("h3",{attrs:{id:"security-webauthn__active-devices"}},[t._v("\n\t\t"+t._s(t.t("settings","The following devices are configured for your account:"))+"\n\t")]),t._v(" "),e("ul",{staticClass:"security-webauthn__device-list",attrs:{"aria-labelledby":"security-webauthn__active-devices"}},t._l(t.sortedDevices,(function(r){return e("Device",{key:r.id,attrs:{name:r.name},on:{delete:function(e){return t.deleteDevice(r.id)}}})})),1),t._v(" "),t.supportsWebauthn?t._e():e("NcNoteCard",{attrs:{type:"warning"}},[t._v("\n\t\t"+t._s(t.t("settings","Your browser does not support WebAuthn."))+"\n\t")]),t._v(" "),t.supportsWebauthn?e("AddDevice",{attrs:{"is-https":t.isHttps,"is-localhost":t.isLocalhost},on:{added:t.deviceAdded}}):t._e()],1)}),[],!1,null,"d3d13050",null).exports;n.nc=(0,i.aV)(),o.Ay.prototype.t=t,new(o.Ay.extend(rt))({propsData:{initialDevices:(0,a.C)("settings","webauthn-devices"),isHttps:"https:"===window.location.protocol,isLocalhost:"localhost"===window.location.hostname}}).$mount("#security-webauthn")},77556:(t,e,r)=>{var n=r(51873),i=r(34932),a=r(56449),o=r(44394),s=n?n.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(a(e))return i(e,t)+"";if(o(e))return c?c.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}},77797:(t,e,r)=>{var n=r(44394);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},79920:(t,e,r)=>{var n=r(73424),i=r(47934);t.exports=function(t,e,r){return n(i,t,e,r)}},80257:(t,e,r)=>{var n=r(30980),i=r(56017),a=r(23007);t.exports=function(t){if(t instanceof n)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=a(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}},80631:(t,e,r)=>{var n=r(28077),i=r(49326);t.exports=function(t,e){return null!=t&&i(t,e,n)}},80909:(t,e,r)=>{var n=r(30641),i=r(38329)(n);t.exports=i},82819:(t,e,r)=>{var n=r(39344),i=r(23805);t.exports=function(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var r=n(t.prototype),a=t.apply(r,e);return i(a)?a:r}}},83120:(t,e,r)=>{var n=r(14528),i=r(45891);t.exports=function t(e,r,a,o,s){var c=-1,u=e.length;for(a||(a=i),s||(s=[]);++c<u;){var l=e[c];r>0&&a(l)?r>1?t(l,r-1,a,o,s):n(s,l):o||(s[s.length]=l)}return s}},83349:(t,e,r)=>{var n=r(82199),i=r(86375),a=r(37241);t.exports=function(t){return n(t,a,i)}},83729:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}},84195:(t,e,r)=>{var n=r(66977),i=r(38816)((function(t,e){return n(t,256,void 0,void 0,void 0,e)}));t.exports=i},84629:t=>{t.exports={}},85087:(t,e,r)=>{var n=r(30980),i=r(37381),a=r(62284),o=r(53758);t.exports=function(t){var e=a(t),r=o[e];if("function"!=typeof r||!(e in n.prototype))return!1;if(t===r)return!0;var s=i(r);return!!s&&t===s[0]}},86375:(t,e,r)=>{var n=r(14528),i=r(28879),a=r(4664),o=r(63345),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=i(t);return e}:o;t.exports=s},87730:(t,e,r)=>{var n=r(29172),i=r(27301),a=r(86009),o=a&&a.isMap,s=o?i(o):n;t.exports=s},87978:(t,e,r)=>{var n=r(60270),i=r(58156),a=r(80631),o=r(28586),s=r(30756),c=r(67197),u=r(77797);t.exports=function(t,e){return o(t)&&s(e)?c(u(t),e):function(r){var o=i(r,t);return void 0===o&&o===e?a(r,t):n(e,o,3)}}},91596:t=>{var e=Math.max;t.exports=function(t,r,n,i){for(var a=-1,o=t.length,s=n.length,c=-1,u=r.length,l=e(o-s,0),d=Array(u+l),p=!i;++c<u;)d[c]=r[c];for(;++a<s;)(p||a<o)&&(d[n[a]]=t[a]);for(;l--;)d[c++]=t[a++];return d}},92271:(t,e,r)=>{var n=r(21791),i=r(4664);t.exports=function(t,e){return n(t,i(t),e)}},93663:(t,e,r)=>{var n=r(41799),i=r(10776),a=r(67197);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?a(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},93736:(t,e,r)=>{var n=r(51873),i=n?n.prototype:void 0,a=i?i.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},94033:t=>{t.exports=function(){}},98497:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(71354),i=r.n(n),a=r(76314),o=r.n(a)()(i());o.push([t.id,"\n.webauthn-device[data-v-ff58f694] {\n\tline-height: 300%;\n\tdisplay: flex;\n}\n.icon-webauthn-device[data-v-ff58f694] {\n\tdisplay: inline-block;\n\tbackground-size: 100%;\n\tpadding: 3px;\n\tmargin: 3px;\n}\n","",{version:3,sources:["webpack://./apps/settings/src/components/WebAuthn/Device.vue"],names:[],mappings:";AAkDA;CACA,iBAAA;CACA,aAAA;AACA;AAEA;CACA,qBAAA;CACA,qBAAA;CACA,YAAA;CACA,WAAA;AACA",sourcesContent:["\x3c!--\n - SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n<template>\n\t<li class=\"webauthn-device\">\n\t\t<span class=\"icon-webauthn-device\" />\n\t\t{{ name || t('settings', 'Unnamed device') }}\n\t\t<NcActions :force-menu=\"true\">\n\t\t\t<NcActionButton icon=\"icon-delete\" @click=\"$emit('delete')\">\n\t\t\t\t{{ t('settings', 'Delete') }}\n\t\t\t</NcActionButton>\n\t\t</NcActions>\n\t</li>\n</template>\n\n<script>\nimport NcActions from '@nextcloud/vue/components/NcActions'\nimport NcActionButton from '@nextcloud/vue/components/NcActionButton'\n\nexport default {\n\tname: 'Device',\n\tcomponents: {\n\t\tNcActionButton,\n\t\tNcActions,\n\t},\n\tprops: {\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n}\n<\/script>\n\n<style scoped>\n\t.webauthn-device {\n\t\tline-height: 300%;\n\t\tdisplay: flex;\n\t}\n\n\t.icon-webauthn-device {\n\t\tdisplay: inline-block;\n\t\tbackground-size: 100%;\n\t\tpadding: 3px;\n\t\tmargin: 3px;\n\t}\n</style>\n"],sourceRoot:""}]);const s=o},99580:(t,e,r)=>{var n=r(49653),i=r(76169),a=r(73201),o=r(93736),s=r(71961);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return i(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return o(t)}}}},a={};function o(t){var e=a[t];if(void 0!==e)return e.exports;var r=a[t]={id:t,loaded:!1,exports:{}};return i[t].call(r.exports,r,r.exports,o),r.loaded=!0,r.exports}o.m=i,e=[],o.O=(t,r,n,i)=>{if(!r){var a=1/0;for(l=0;l<e.length;l++){r=e[l][0],n=e[l][1],i=e[l][2];for(var s=!0,c=0;c<r.length;c++)(!1&i||a>=i)&&Object.keys(o.O).every((t=>o.O[t](r[c])))?r.splice(c--,1):(s=!1,i<a&&(a=i));if(s){e.splice(l--,1);var u=n();void 0!==u&&(t=u)}}return t}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[r,n,i]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,r)=>(o.f[r](t,e),e)),[])),o.u=t=>t+"-"+t+".js?v="+{640:"ce8e671e5f815db1f8e8",3580:"6c010e0aed50d3c00035",5771:"a4e2a98efcfb7393c5bd",5810:"e0ecfcd31fb108c51bfd"}[t],o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r={},n="nextcloud:",o.l=(t,e,i,a)=>{if(r[t])r[t].push(e);else{var s,c;if(void 0!==i)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==n+i){s=d;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",n+i),s.src=t),r[t]=[e];var p=(e,n)=>{s.onerror=s.onload=null,clearTimeout(f);var i=r[t];if(delete r[t],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((t=>t(n))),e)return e(n)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),c&&document.head.appendChild(s)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),o.j=9255,(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{o.b=document.baseURI||self.location.href;var t={9255:0};o.f.j=(e,r)=>{var n=o.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise(((r,i)=>n=t[e]=[r,i]));r.push(n[2]=i);var a=o.p+o.u(e),s=new Error;o.l(a,(r=>{if(o.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,n[1](s)}}),"chunk-"+e,e)}},o.O.j=e=>0===t[e];var e=(e,r)=>{var n,i,a=r[0],s=r[1],c=r[2],u=0;if(a.some((e=>0!==t[e]))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);if(c)var l=c(o)}for(e&&e(r);u<a.length;u++)i=a[u],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return o.O(l)},r=self.webpackChunknextcloud=self.webpackChunknextcloud||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),o.nc=void 0;var s=o.O(void 0,[4208],(()=>o(77326)));s=o.O(s)})();
+//# sourceMappingURL=settings-vue-settings-personal-webauthn.js.map?v=1f59e4353d5f7e3e5260 \ No newline at end of file