settings-vue-settings-admin-sharing.js 97 KB

123
  1. /*! For license information please see settings-vue-settings-admin-sharing.js.LICENSE.txt */
  2. (()=>{var t,n,e,r={54860:(t,n,e)=>{"use strict";var r=e(85471),i=e(76333),u=e(38613),o=e(53334),a=e(85168);const s=(0,r.pM)({name:"SelectSharingPermissions",components:{NcCheckboxRadioSwitch:i.AO},props:{value:{type:Number,required:!0}},emits:{"update:value":t=>"number"==typeof t},data:()=>({PERMISSION_UPDATE:2,PERMISSION_CREATE:4,PERMISSION_DELETE:8,PERMISSION_SHARE:16}),computed:{canCreate(){return 0!=(this.value&this.PERMISSION_CREATE)},canUpdate(){return 0!=(this.value&this.PERMISSION_UPDATE)},canDelete(){return 0!=(this.value&this.PERMISSION_DELETE)},canShare(){return 0!=(this.value&this.PERMISSION_SHARE)}},methods:{t:o.Tl,toggle(t){this.$emit("update:value",this.value^t)}}});var c=e(85072),l=e.n(c),f=e(97825),h=e.n(f),p=e(77659),g=e.n(p),d=e(55056),v=e.n(d),_=e(10540),y=e.n(_),m=e(41113),w=e.n(m),b=e(16222),x={};x.styleTagTransform=w(),x.setAttributes=v(),x.insert=g().bind(null,"head"),x.domAPI=h(),x.insertStyleElement=y(),l()(b.A,x),b.A&&b.A.locals&&b.A.locals;var A=e(14486);const S=(0,A.A)(s,(function(){var t=this,n=t._self._c;return t._self._setupProxy,n("fieldset",{staticClass:"permissions-select"},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.canCreate},on:{"update:checked":function(n){return t.toggle(t.PERMISSION_CREATE)}}},[t._v("\n\t\t"+t._s(t.t("settings","Create"))+"\n\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.canUpdate},on:{"update:checked":function(n){return t.toggle(t.PERMISSION_UPDATE)}}},[t._v("\n\t\t"+t._s(t.t("settings","Change"))+"\n\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.canDelete},on:{"update:checked":function(n){return t.toggle(t.PERMISSION_DELETE)}}},[t._v("\n\t\t"+t._s(t.t("settings","Delete"))+"\n\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.canShare},on:{"update:checked":function(n){return t.toggle(t.PERMISSION_SHARE)}}},[t._v("\n\t\t"+t._s(t.t("settings","Reshare"))+"\n\t")])],1)}),[],!1,null,"54c0ce93",null).exports;var k=e(2543),E=e(96763);const C=(0,r.pM)({name:"AdminSettingsSharingForm",components:{NcCheckboxRadioSwitch:i.AO,NcSettingsSelectGroup:i.C7,NcTextArea:i.gb,NcTextField:i.v,SelectSharingPermissions:S},data:()=>({settingsData:(0,u.C)("settings","sharingSettings")}),computed:{settings(){return E.warn("new proxy"),new Proxy(this.settingsData,{get:(t,n)=>t[n],set(t,n,e){const r="shareapi_".concat((0,k.snakeCase)(n)),i="boolean"==typeof e?e?"yes":"no":"string"==typeof e?e:JSON.stringify(e);return window.OCP.AppConfig.setValue("core",r,i),t[n]=e,!0}})},publicShareDisclaimerEnabled:{get(){return"string"==typeof this.settingsData.publicShareDisclaimerText},set(t){t?this.settingsData.publicShareDisclaimerText="":this.onUpdateDisclaimer()}}},methods:{t:o.Tl,onUpdateDisclaimer:(0,k.debounce)((function(t){const n={success(){t?(0,a.Te)((0,o.Tl)("settings","Changed disclaimer text")):(0,a.Te)((0,o.Tl)("settings","Deleted disclaimer text"))},error(){(0,a.Qg)((0,o.Tl)("settings","Could not set disclaimer text"))}};t?window.OCP.AppConfig.setValue("core","shareapi_public_link_disclaimertext",t,n):window.OCP.AppConfig.deleteKey("core","shareapi_public_link_disclaimertext",n),this.settingsData.publicShareDisclaimerText=t}),500)}}),N=C;var R=e(86095),I={};I.styleTagTransform=w(),I.setAttributes=v(),I.insert=g().bind(null,"head"),I.domAPI=h(),I.insertStyleElement=y(),l()(R.A,I),R.A&&R.A.locals&&R.A.locals;const O=(0,A.A)(N,(function(){var t=this,n=t._self._c;return t._self._setupProxy,n("form",{staticClass:"sharing"},[n("NcCheckboxRadioSwitch",{attrs:{"aria-controls":"settings-sharing-api settings-sharing-api-settings settings-sharing-default-permissions settings-sharing-privary-related",type:"switch",checked:t.settings.enabled},on:{"update:checked":function(n){return t.$set(t.settings,"enabled",n)}}},[t._v("\n\t\t"+t._s(t.t("settings","Allow apps to use the Share API"))+"\n\t")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.enabled,expression:"settings.enabled"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-api-settings"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.allowResharing},on:{"update:checked":function(n){return t.$set(t.settings,"allowResharing",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow resharing"))+"\n\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.allowGroupSharing},on:{"update:checked":function(n){return t.$set(t.settings,"allowGroupSharing",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow sharing with groups"))+"\n\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.onlyShareWithGroupMembers},on:{"update:checked":function(n){return t.$set(t.settings,"onlyShareWithGroupMembers",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Restrict users to only share with users in their groups"))+"\n\t\t")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.onlyShareWithGroupMembers,expression:"settings.onlyShareWithGroupMembers"}],staticClass:"sharing__labeled-entry sharing__input",attrs:{id:"settings-sharing-api-excluded-groups"}},[n("label",{attrs:{for:"settings-sharing-only-group-members-excluded-groups"}},[t._v(t._s(t.t("settings","Ignore the following groups when checking group membership")))]),t._v(" "),n("NcSettingsSelectGroup",{staticStyle:{width:"100%"},attrs:{id:"settings-sharing-only-group-members-excluded-groups",label:t.t("settings","Ignore the following groups when checking group membership")},model:{value:t.settings.onlyShareWithGroupMembersExcludeGroupList,callback:function(n){t.$set(t.settings,"onlyShareWithGroupMembersExcludeGroupList",n)},expression:"settings.onlyShareWithGroupMembersExcludeGroupList"}})],1)],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.enabled,expression:"settings.enabled"}],staticClass:"sharing__section",attrs:{id:"settings-sharing-api"}},[n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-api-public-link",checked:t.settings.allowLinks},on:{"update:checked":function(n){return t.$set(t.settings,"allowLinks",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow users to share via link and emails"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.allowLinks,expression:"settings.allowLinks"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-api-public-link"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.allowPublicUpload},on:{"update:checked":function(n){return t.$set(t.settings,"allowPublicUpload",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Allow public uploads"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enableLinkPasswordByDefault},on:{"update:checked":function(n){return t.$set(t.settings,"enableLinkPasswordByDefault",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Always ask for a password"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enforceLinksPassword,disabled:!t.settings.enableLinkPasswordByDefault},on:{"update:checked":function(n){return t.$set(t.settings,"enforceLinksPassword",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Enforce password protection"))+"\n\t\t\t")]),t._v(" "),t.settings.passwordExcludedGroupsFeatureEnabled?n("label",{staticClass:"sharing__labeled-entry sharing__input"},[n("span",[t._v(t._s(t.t("settings","Exclude groups from password requirements")))]),t._v(" "),n("NcSettingsSelectGroup",{staticStyle:{width:"100%"},attrs:{disabled:!t.settings.enforceLinksPassword||!t.settings.enableLinkPasswordByDefault},model:{value:t.settings.passwordExcludedGroups,callback:function(n){t.$set(t.settings,"passwordExcludedGroups",n)},expression:"settings.passwordExcludedGroups"}})],1):t._e(),t._v(" "),n("label",{staticClass:"sharing__labeled-entry sharing__input"},[n("span",[t._v(t._s(t.t("settings","Exclude groups from creating link shares")))]),t._v(" "),n("NcSettingsSelectGroup",{staticStyle:{width:"100%"},attrs:{label:t.t("settings","Exclude groups from creating link shares")},model:{value:t.settings.allowLinksExcludeGroups,callback:function(n){t.$set(t.settings,"allowLinksExcludeGroups",n)},expression:"settings.allowLinksExcludeGroups"}})],1)],1),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:t.settings.excludeGroups},on:{"update:checked":function(n){return t.$set(t.settings,"excludeGroups",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Exclude groups from sharing"))+"\n\t\t")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.excludeGroups,expression:"settings.excludeGroups"}],staticClass:"sharing__sub-section"},[n("div",{staticClass:"sharing__labeled-entry sharing__input"},[n("label",{attrs:{for:"settings-sharing-excluded-groups"}},[t._v(t._s(t.t("settings","Groups excluded from sharing")))]),t._v(" "),n("NcSettingsSelectGroup",{staticStyle:{width:"100%"},attrs:{id:"settings-sharing-excluded-groups","aria-describedby":"settings-sharing-excluded-groups-desc",label:t.t("settings","Groups excluded from sharing"),disabled:!t.settings.excludeGroups},model:{value:t.settings.excludeGroupsList,callback:function(n){t.$set(t.settings,"excludeGroupsList",n)},expression:"settings.excludeGroupsList"}}),t._v(" "),n("em",{attrs:{id:"settings-sharing-excluded-groups-desc"}},[t._v(t._s(t.t("settings","These groups will still be able to receive shares, but not to initiate them.")))])],1)]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-api-expiration",checked:t.settings.defaultInternalExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"defaultInternalExpireDate",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Set default expiration date for shares"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.defaultInternalExpireDate,expression:"settings.defaultInternalExpireDate"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-api-expiration"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enforceInternalExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"enforceInternalExpireDate",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Enforce expiration date"))+"\n\t\t\t")]),t._v(" "),n("NcTextField",{staticClass:"sharing__input",attrs:{type:"number",label:t.t("settings","Default expiration time of new shares in days"),placeholder:t.t("settings","Expire shares after x days"),value:t.settings.internalExpireAfterNDays},on:{"update:value":function(n){return t.$set(t.settings,"internalExpireAfterNDays",n)}}})],1),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-remote-api-expiration",checked:t.settings.defaultRemoteExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"defaultRemoteExpireDate",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Set default expiration date for shares to other servers"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.defaultRemoteExpireDate,expression:"settings.defaultRemoteExpireDate"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-remote-api-expiration"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enforceRemoteExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"enforceRemoteExpireDate",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Enforce expiration date for remote shares"))+"\n\t\t\t")]),t._v(" "),n("NcTextField",{staticClass:"sharing__input",attrs:{type:"number",label:t.t("settings","Default expiration time of remote shares in days"),placeholder:t.t("settings","Expire remote shares after x days"),value:t.settings.remoteExpireAfterNDays},on:{"update:value":function(n){return t.$set(t.settings,"remoteExpireAfterNDays",n)}}})],1),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-api-api-expiration",checked:t.settings.defaultExpireDate,disabled:!t.settings.allowLinks},on:{"update:checked":function(n){return t.$set(t.settings,"defaultExpireDate",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Set default expiration date for shares via link or mail"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.allowLinks&&t.settings.defaultExpireDate,expression:"settings.allowLinks && settings.defaultExpireDate"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-api-api-expiration"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enforceExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"enforceExpireDate",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Enforce expiration date for remote shares"))+"\n\t\t\t")]),t._v(" "),n("NcTextField",{staticClass:"sharing__input",attrs:{type:"number",label:t.t("settings","Default expiration time of shares in days"),placeholder:t.t("settings","Expire shares after x days"),value:t.settings.expireAfterNDays},on:{"update:value":function(n){return t.$set(t.settings,"expireAfterNDays",n)}}})],1)],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.enabled,expression:"settings.enabled"}],staticClass:"sharing__section",attrs:{id:"settings-sharing-privary-related"}},[n("h3",[t._v(t._s(t.t("settings","Privacy settings for sharing")))]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-privacy-user-enumeration",checked:t.settings.allowShareDialogUserEnumeration},on:{"update:checked":function(n){return t.$set(t.settings,"allowShareDialogUserEnumeration",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow username autocompletion in share dialog and allow access to the system address book"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.allowShareDialogUserEnumeration,expression:"settings.allowShareDialogUserEnumeration"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-privacy-user-enumeration"}},[n("em",[t._v("\n\t\t\t\t"+t._s(t.t("settings",'If autocompletion "same group" and "phone number integration" are enabled a match in either is enough to show the user.'))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.restrictUserEnumerationToGroup},on:{"update:checked":function(n){return t.$set(t.settings,"restrictUserEnumerationToGroup",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Allow username autocompletion to users within the same groups and limit system address books to users in the same groups"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.restrictUserEnumerationToPhone},on:{"update:checked":function(n){return t.$set(t.settings,"restrictUserEnumerationToPhone",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Allow username autocompletion to users based on phone number integration"))+"\n\t\t\t")])],1),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:t.settings.restrictUserEnumerationFullMatch},on:{"update:checked":function(n){return t.$set(t.settings,"restrictUserEnumerationFullMatch",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow autocompletion when entering the full name or email address (ignoring missing phonebook match and being in the same group)"))+"\n\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:t.publicShareDisclaimerEnabled},on:{"update:checked":function(n){t.publicShareDisclaimerEnabled=n}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Show disclaimer text on the public link upload page (only shown when the file list is hidden)"))+"\n\t\t")]),t._v(" "),"string"==typeof t.settings.publicShareDisclaimerText?n("div",{staticClass:"sharing__sub-section",attrs:{"aria-describedby":"settings-sharing-privary-related-disclaimer-hint"}},[n("NcTextArea",{staticClass:"sharing__input",attrs:{label:t.t("settings","Disclaimer text"),"aria-describedby":"settings-sharing-privary-related-disclaimer-hint",value:t.settings.publicShareDisclaimerText},on:{"update:value":t.onUpdateDisclaimer}}),t._v(" "),n("em",{staticClass:"sharing__input",attrs:{id:"settings-sharing-privary-related-disclaimer-hint"}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","This text will be shown on the public link upload page when the file list is hidden."))+"\n\t\t\t")])],1):t._e()],1),t._v(" "),n("div",{staticClass:"sharing__section",attrs:{id:"settings-sharing-default-permissions"}},[n("h3",[t._v(t._s(t.t("settings","Default share permissions")))]),t._v(" "),n("SelectSharingPermissions",{attrs:{value:t.settings.defaultPermissions},on:{"update:value":function(n){return t.$set(t.settings,"defaultPermissions",n)}}})],1)],1)}),[],!1,null,"fcd1058e",null).exports,D=(0,r.pM)({name:"AdminSettingsSharing",components:{AdminSettingsSharingForm:O,NcNoteCard:i.mQ,NcSettingsSection:i.rE},data:()=>({documentationLink:(0,u.C)("settings","sharingDocumentation",""),sharingAppEnabled:(0,u.C)("settings","sharingAppEnabled",!1)}),methods:{t:o.Tl}}),T=(0,A.A)(D,(function(){var t=this,n=t._self._c;return t._self._setupProxy,n("NcSettingsSection",{attrs:{"data-cy-settings-sharing-section":"","limit-width":!0,"doc-url":t.documentationLink,name:t.t("settings","Sharing"),description:t.t("settings","As admin you can fine-tune the sharing behavior. Please see the documentation for more information.")}},[t.sharingAppEnabled?n("AdminSettingsSharingForm"):n("NcNoteCard",{attrs:{type:"warning"}},[t._v("\n\t\t"+t._s(t.t("settings","You need to enable the File sharing App."))+"\n\t")])],1)}),[],!1,null,null,null).exports;new r.Ay({name:"AdminSettingsSharingSection",el:"#vue-admin-settings-sharing",render:t=>t(T)})},86095:(t,n,e)=>{"use strict";e.d(n,{A:()=>a});var r=e(71354),i=e.n(r),u=e(76314),o=e.n(u)()(i());o.push([t.id,".sharing[data-v-fcd1058e]{display:flex;flex-direction:column;gap:12px}.sharing__labeled-entry[data-v-fcd1058e]{display:flex;flex:1 0;flex-direction:column;gap:4px}.sharing__section[data-v-fcd1058e]{display:flex;flex-direction:column;gap:4px;margin-block-end:12px}.sharing__sub-section[data-v-fcd1058e]{display:flex;flex-direction:column;gap:4px;margin-inline-start:44px;margin-block-end:12px}.sharing__input[data-v-fcd1058e]{max-width:500px;margin-inline-start:14px}.sharing__input[data-v-fcd1058e] .v-select.select{width:100%}@media only screen and (max-width: 350px){.sharing__sub-section[data-v-fcd1058e]{margin-inline-start:14px}}","",{version:3,sources:["webpack://./apps/settings/src/components/AdminSettingsSharingForm.vue"],names:[],mappings:"AACA,0BACC,YAAA,CACA,qBAAA,CACA,QAAA,CAEA,yCACC,YAAA,CACA,QAAA,CACA,qBAAA,CACA,OAAA,CAGD,mCACC,YAAA,CACA,qBAAA,CACA,OAAA,CACA,qBAAA,CAGD,uCACC,YAAA,CACA,qBAAA,CACA,OAAA,CAEA,wBAAA,CACA,qBAAA,CAGD,iCACC,eAAA,CAEA,wBAAA,CAEA,kDACC,UAAA,CAKH,0CAGE,uCACC,wBAAA,CAAA",sourcesContent:["\n.sharing {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 12px;\n\n\t&__labeled-entry {\n\t\tdisplay: flex;\n\t\tflex: 1 0;\n\t\tflex-direction: column;\n\t\tgap: 4px;\n\t}\n\n\t&__section {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tgap: 4px;\n\t\tmargin-block-end: 12px\n\t}\n\n\t&__sub-section {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tgap: 4px;\n\n\t\tmargin-inline-start: 44px;\n\t\tmargin-block-end: 12px\n\t}\n\n\t&__input {\n\t\tmax-width: 500px;\n\t\t// align with checkboxes\n\t\tmargin-inline-start: 14px;\n\n\t\t:deep(.v-select.select) {\n\t\t\twidth: 100%;\n\t\t}\n\t}\n}\n\n@media only screen and (max-width: 350px) {\n\t// ensure no overflow happens on small devices (required for WCAG)\n\t.sharing {\n\t\t&__sub-section {\n\t\t\tmargin-inline-start: 14px;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=o},16222:(t,n,e)=>{"use strict";e.d(n,{A:()=>a});var r=e(71354),i=e.n(r),u=e(76314),o=e.n(u)()(i());o.push([t.id,"\n.permissions-select[data-v-54c0ce93] {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 4px;\n}\n","",{version:3,sources:["webpack://./apps/settings/src/components/SelectSharingPermissions.vue"],names:[],mappings:";AA8FA;CACA,aAAA;CACA,eAAA;CACA,QAAA;AACA",sourcesContent:["\x3c!--\n\t- @copyright 2023 Ferdinand Thiessen <opensource@fthiessen.de>\n\t-\n\t- @author Ferdinand Thiessen <opensource@fthiessen.de>\n\t-\n\t- @license AGPL-3.0-or-later\n\t-\n\t- This program is free software: you can redistribute it and/or modify\n\t- it under the terms of the GNU Affero General Public License as\n\t- published by the Free Software Foundation, either version 3 of the\n\t- License, or (at your option) any later version.\n\t-\n\t- This program is distributed in the hope that it will be useful,\n\t- but WITHOUT ANY WARRANTY; without even the implied warranty of\n\t- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\t- GNU Affero General Public License for more details.\n\t-\n\t- You should have received a copy of the GNU Affero General Public License\n\t- along with this program. If not, see <http://www.gnu.org/licenses/>.\n\t-\n--\x3e\n<template>\n\t<fieldset class=\"permissions-select\">\n\t\t<NcCheckboxRadioSwitch :checked=\"canCreate\" @update:checked=\"toggle(PERMISSION_CREATE)\">\n\t\t\t{{ t('settings', 'Create') }}\n\t\t</NcCheckboxRadioSwitch>\n\t\t<NcCheckboxRadioSwitch :checked=\"canUpdate\" @update:checked=\"toggle(PERMISSION_UPDATE)\">\n\t\t\t{{ t('settings', 'Change') }}\n\t\t</NcCheckboxRadioSwitch>\n\t\t<NcCheckboxRadioSwitch :checked=\"canDelete\" @update:checked=\"toggle(PERMISSION_DELETE)\">\n\t\t\t{{ t('settings', 'Delete') }}\n\t\t</NcCheckboxRadioSwitch>\n\t\t<NcCheckboxRadioSwitch :checked=\"canShare\" @update:checked=\"toggle(PERMISSION_SHARE)\">\n\t\t\t{{ t('settings', 'Reshare') }}\n\t\t</NcCheckboxRadioSwitch>\n\t</fieldset>\n</template>\n\n<script lang=\"ts\">\nimport { translate } from '@nextcloud/l10n'\nimport { NcCheckboxRadioSwitch } from '@nextcloud/vue'\nimport { defineComponent } from 'vue'\n\nexport default defineComponent({\n\tname: 'SelectSharingPermissions',\n\tcomponents: {\n\t\tNcCheckboxRadioSwitch,\n\t},\n\tprops: {\n\t\tvalue: {\n\t\t\ttype: Number,\n\t\t\trequired: true,\n\t\t},\n\t},\n\temits: {\n\t\t'update:value': (value: number) => typeof value === 'number',\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tPERMISSION_UPDATE: 2,\n\t\t\tPERMISSION_CREATE: 4,\n\t\t\tPERMISSION_DELETE: 8,\n\t\t\tPERMISSION_SHARE: 16,\n\t\t}\n\t},\n\tcomputed: {\n\t\tcanCreate() {\n\t\t\treturn (this.value & this.PERMISSION_CREATE) !== 0\n\t\t},\n\t\tcanUpdate() {\n\t\t\treturn (this.value & this.PERMISSION_UPDATE) !== 0\n\t\t},\n\t\tcanDelete() {\n\t\t\treturn (this.value & this.PERMISSION_DELETE) !== 0\n\t\t},\n\t\tcanShare() {\n\t\t\treturn (this.value & this.PERMISSION_SHARE) !== 0\n\t\t},\n\t},\n\tmethods: {\n\t\tt: translate,\n\t\t/**\n\t\t * Toggle a permission\n\t\t * @param permission The permission (bit) to toggle\n\t\t */\n\t\ttoggle(permission: number) {\n\t\t\t// xor to toggle the bit\n\t\t\tthis.$emit('update:value', this.value ^ permission)\n\t\t},\n\t},\n})\n<\/script>\n\n<style scoped>\n.permissions-select {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 4px;\n}\n</style>\n"],sourceRoot:""}]);const a=o},2543:function(t,n,e){var r;t=e.nmd(t),function(){var i,u="Expected a function",o="__lodash_hash_undefined__",a="__lodash_placeholder__",s=32,c=128,l=1/0,f=9007199254740991,h=NaN,p=4294967295,g=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",s],["partialRight",64],["rearg",256]],d="[object Arguments]",v="[object Array]",_="[object Boolean]",y="[object Date]",m="[object Error]",w="[object Function]",b="[object GeneratorFunction]",x="[object Map]",A="[object Number]",S="[object Object]",k="[object Promise]",E="[object RegExp]",C="[object Set]",N="[object String]",R="[object Symbol]",I="[object WeakMap]",O="[object ArrayBuffer]",D="[object DataView]",T="[object Float32Array]",j="[object Float64Array]",P="[object Int8Array]",L="[object Int16Array]",U="[object Int32Array]",M="[object Uint8Array]",$="[object Uint8ClampedArray]",z="[object Uint16Array]",G="[object Uint32Array]",B=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,F=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,H=/[&<>"']/g,Y=RegExp(q.source),K=RegExp(H.source),Z=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nt=/[\\^$.*+?()[\]{}|]/g,et=RegExp(nt.source),rt=/^\s+/,it=/\s/,ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ot=/\{\n\/\* \[wrapped with (.+)\] \*/,at=/,? & /,st=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,lt=/\\(\\)?/g,ft=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ht=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,gt=/^0b[01]+$/i,dt=/^\[object .+?Constructor\]$/,vt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mt=/($^)/,wt=/['\n\r\u2028\u2029\\]/g,bt="\\ud800-\\udfff",xt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",At="\\u2700-\\u27bf",St="a-z\\xdf-\\xf6\\xf8-\\xff",kt="A-Z\\xc0-\\xd6\\xd8-\\xde",Et="\\ufe0e\\ufe0f",Ct="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Nt="["+bt+"]",Rt="["+Ct+"]",It="["+xt+"]",Ot="\\d+",Dt="["+At+"]",Tt="["+St+"]",jt="[^"+bt+Ct+Ot+At+St+kt+"]",Pt="\\ud83c[\\udffb-\\udfff]",Lt="[^"+bt+"]",Ut="(?:\\ud83c[\\udde6-\\uddff]){2}",Mt="[\\ud800-\\udbff][\\udc00-\\udfff]",$t="["+kt+"]",zt="\\u200d",Gt="(?:"+Tt+"|"+jt+")",Bt="(?:"+$t+"|"+jt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ft="(?:['’](?:D|LL|M|RE|S|T|VE))?",qt="(?:"+It+"|"+Pt+")?",Ht="["+Et+"]?",Yt=Ht+qt+"(?:"+zt+"(?:"+[Lt,Ut,Mt].join("|")+")"+Ht+qt+")*",Kt="(?:"+[Dt,Ut,Mt].join("|")+")"+Yt,Zt="(?:"+[Lt+It+"?",It,Ut,Mt,Nt].join("|")+")",Qt=RegExp("['’]","g"),Vt=RegExp(It,"g"),Jt=RegExp(Pt+"(?="+Pt+")|"+Zt+Yt,"g"),Xt=RegExp([$t+"?"+Tt+"+"+Wt+"(?="+[Rt,$t,"$"].join("|")+")",Bt+"+"+Ft+"(?="+[Rt,$t+Gt,"$"].join("|")+")",$t+"?"+Gt+"+"+Wt,$t+"+"+Ft,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ot,Kt].join("|"),"g"),tn=RegExp("["+zt+bt+xt+Et+"]"),nn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,en=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rn=-1,un={};un[T]=un[j]=un[P]=un[L]=un[U]=un[M]=un[$]=un[z]=un[G]=!0,un[d]=un[v]=un[O]=un[_]=un[D]=un[y]=un[m]=un[w]=un[x]=un[A]=un[S]=un[E]=un[C]=un[N]=un[I]=!1;var on={};on[d]=on[v]=on[O]=on[D]=on[_]=on[y]=on[T]=on[j]=on[P]=on[L]=on[U]=on[x]=on[A]=on[S]=on[E]=on[C]=on[N]=on[R]=on[M]=on[$]=on[z]=on[G]=!0,on[m]=on[w]=on[I]=!1;var an={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},sn=parseFloat,cn=parseInt,ln="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g,fn="object"==typeof self&&self&&self.Object===Object&&self,hn=ln||fn||Function("return this")(),pn=n&&!n.nodeType&&n,gn=pn&&t&&!t.nodeType&&t,dn=gn&&gn.exports===pn,vn=dn&&ln.process,_n=function(){try{return gn&&gn.require&&gn.require("util").types||vn&&vn.binding&&vn.binding("util")}catch(t){}}(),yn=_n&&_n.isArrayBuffer,mn=_n&&_n.isDate,wn=_n&&_n.isMap,bn=_n&&_n.isRegExp,xn=_n&&_n.isSet,An=_n&&_n.isTypedArray;function Sn(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function kn(t,n,e,r){for(var i=-1,u=null==t?0:t.length;++i<u;){var o=t[i];n(r,o,e(o),t)}return r}function En(t,n){for(var e=-1,r=null==t?0:t.length;++e<r&&!1!==n(t[e],e,t););return t}function Cn(t,n){for(var e=null==t?0:t.length;e--&&!1!==n(t[e],e,t););return t}function Nn(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(!n(t[e],e,t))return!1;return!0}function Rn(t,n){for(var e=-1,r=null==t?0:t.length,i=0,u=[];++e<r;){var o=t[e];n(o,e,t)&&(u[i++]=o)}return u}function In(t,n){return!(null==t||!t.length)&&zn(t,n,0)>-1}function On(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}function Dn(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}function Tn(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}function jn(t,n,e,r){var i=-1,u=null==t?0:t.length;for(r&&u&&(e=t[++i]);++i<u;)e=n(e,t[i],i,t);return e}function Pn(t,n,e,r){var i=null==t?0:t.length;for(r&&i&&(e=t[--i]);i--;)e=n(e,t[i],i,t);return e}function Ln(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}var Un=Fn("length");function Mn(t,n,e){var r;return e(t,(function(t,e,i){if(n(t,e,i))return r=e,!1})),r}function $n(t,n,e,r){for(var i=t.length,u=e+(r?1:-1);r?u--:++u<i;)if(n(t[u],u,t))return u;return-1}function zn(t,n,e){return n==n?function(t,n,e){for(var r=e-1,i=t.length;++r<i;)if(t[r]===n)return r;return-1}(t,n,e):$n(t,Bn,e)}function Gn(t,n,e,r){for(var i=e-1,u=t.length;++i<u;)if(r(t[i],n))return i;return-1}function Bn(t){return t!=t}function Wn(t,n){var e=null==t?0:t.length;return e?Yn(t,n)/e:h}function Fn(t){return function(n){return null==n?i:n[t]}}function qn(t){return function(n){return null==t?i:t[n]}}function Hn(t,n,e,r,i){return i(t,(function(t,i,u){e=r?(r=!1,t):n(e,t,i,u)})),e}function Yn(t,n){for(var e,r=-1,u=t.length;++r<u;){var o=n(t[r]);o!==i&&(e=e===i?o:e+o)}return e}function Kn(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}function Zn(t){return t?t.slice(0,he(t)+1).replace(rt,""):t}function Qn(t){return function(n){return t(n)}}function Vn(t,n){return Dn(n,(function(n){return t[n]}))}function Jn(t,n){return t.has(n)}function Xn(t,n){for(var e=-1,r=t.length;++e<r&&zn(n,t[e],0)>-1;);return e}function te(t,n){for(var e=t.length;e--&&zn(n,t[e],0)>-1;);return e}var ne=qn({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),ee=qn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function re(t){return"\\"+an[t]}function ie(t){return tn.test(t)}function ue(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}function oe(t,n){return function(e){return t(n(e))}}function ae(t,n){for(var e=-1,r=t.length,i=0,u=[];++e<r;){var o=t[e];o!==n&&o!==a||(t[e]=a,u[i++]=e)}return u}function se(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=t})),e}function ce(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=[t,t]})),e}function le(t){return ie(t)?function(t){for(var n=Jt.lastIndex=0;Jt.test(t);)++n;return n}(t):Un(t)}function fe(t){return ie(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.split("")}(t)}function he(t){for(var n=t.length;n--&&it.test(t.charAt(n)););return n}var pe=qn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),ge=function t(n){var e,r=(n=null==n?hn:ge.defaults(hn.Object(),n,ge.pick(hn,en))).Array,it=n.Date,bt=n.Error,xt=n.Function,At=n.Math,St=n.Object,kt=n.RegExp,Et=n.String,Ct=n.TypeError,Nt=r.prototype,Rt=xt.prototype,It=St.prototype,Ot=n["__core-js_shared__"],Dt=Rt.toString,Tt=It.hasOwnProperty,jt=0,Pt=(e=/[^.]+$/.exec(Ot&&Ot.keys&&Ot.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"",Lt=It.toString,Ut=Dt.call(St),Mt=hn._,$t=kt("^"+Dt.call(Tt).replace(nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zt=dn?n.Buffer:i,Gt=n.Symbol,Bt=n.Uint8Array,Wt=zt?zt.allocUnsafe:i,Ft=oe(St.getPrototypeOf,St),qt=St.create,Ht=It.propertyIsEnumerable,Yt=Nt.splice,Kt=Gt?Gt.isConcatSpreadable:i,Zt=Gt?Gt.iterator:i,Jt=Gt?Gt.toStringTag:i,tn=function(){try{var t=su(St,"defineProperty");return t({},"",{}),t}catch(t){}}(),an=n.clearTimeout!==hn.clearTimeout&&n.clearTimeout,ln=it&&it.now!==hn.Date.now&&it.now,fn=n.setTimeout!==hn.setTimeout&&n.setTimeout,pn=At.ceil,gn=At.floor,vn=St.getOwnPropertySymbols,_n=zt?zt.isBuffer:i,Un=n.isFinite,qn=Nt.join,de=oe(St.keys,St),ve=At.max,_e=At.min,ye=it.now,me=n.parseInt,we=At.random,be=Nt.reverse,xe=su(n,"DataView"),Ae=su(n,"Map"),Se=su(n,"Promise"),ke=su(n,"Set"),Ee=su(n,"WeakMap"),Ce=su(St,"create"),Ne=Ee&&new Ee,Re={},Ie=Lu(xe),Oe=Lu(Ae),De=Lu(Se),Te=Lu(ke),je=Lu(Ee),Pe=Gt?Gt.prototype:i,Le=Pe?Pe.valueOf:i,Ue=Pe?Pe.toString:i;function Me(t){if(ta(t)&&!Wo(t)&&!(t instanceof Be)){if(t instanceof Ge)return t;if(Tt.call(t,"__wrapped__"))return Uu(t)}return new Ge(t)}var $e=function(){function t(){}return function(n){if(!Xo(n))return{};if(qt)return qt(n);t.prototype=n;var e=new t;return t.prototype=i,e}}();function ze(){}function Ge(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=i}function Be(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function We(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Fe(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function qe(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function He(t){var n=-1,e=null==t?0:t.length;for(this.__data__=new qe;++n<e;)this.add(t[n])}function Ye(t){var n=this.__data__=new Fe(t);this.size=n.size}function Ke(t,n){var e=Wo(t),r=!e&&Bo(t),i=!e&&!r&&Yo(t),u=!e&&!r&&!i&&sa(t),o=e||r||i||u,a=o?Kn(t.length,Et):[],s=a.length;for(var c in t)!n&&!Tt.call(t,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||u&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||du(c,s))||a.push(c);return a}function Ze(t){var n=t.length;return n?t[qr(0,n-1)]:i}function Qe(t,n){return Ou(Ei(t),ur(n,0,t.length))}function Ve(t){return Ou(Ei(t))}function Je(t,n,e){(e!==i&&!$o(t[n],e)||e===i&&!(n in t))&&rr(t,n,e)}function Xe(t,n,e){var r=t[n];Tt.call(t,n)&&$o(r,e)&&(e!==i||n in t)||rr(t,n,e)}function tr(t,n){for(var e=t.length;e--;)if($o(t[e][0],n))return e;return-1}function nr(t,n,e,r){return lr(t,(function(t,i,u){n(r,t,e(t),u)})),r}function er(t,n){return t&&Ci(n,Ia(n),t)}function rr(t,n,e){"__proto__"==n&&tn?tn(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}function ir(t,n){for(var e=-1,u=n.length,o=r(u),a=null==t;++e<u;)o[e]=a?i:ka(t,n[e]);return o}function ur(t,n,e){return t==t&&(e!==i&&(t=t<=e?t:e),n!==i&&(t=t>=n?t:n)),t}function or(t,n,e,r,u,o){var a,s=1&n,c=2&n,l=4&n;if(e&&(a=u?e(t,r,u,o):e(t)),a!==i)return a;if(!Xo(t))return t;var f=Wo(t);if(f){if(a=function(t){var n=t.length,e=new t.constructor(n);return n&&"string"==typeof t[0]&&Tt.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!s)return Ei(t,a)}else{var h=fu(t),p=h==w||h==b;if(Yo(t))return wi(t,s);if(h==S||h==d||p&&!u){if(a=c||p?{}:pu(t),!s)return c?function(t,n){return Ci(t,lu(t),n)}(t,function(t,n){return t&&Ci(n,Oa(n),t)}(a,t)):function(t,n){return Ci(t,cu(t),n)}(t,er(a,t))}else{if(!on[h])return u?t:{};a=function(t,n,e){var r,i=t.constructor;switch(n){case O:return bi(t);case _:case y:return new i(+t);case D:return function(t,n){var e=n?bi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case T:case j:case P:case L:case U:case M:case $:case z:case G:return xi(t,e);case x:return new i;case A:case N:return new i(t);case E:return function(t){var n=new t.constructor(t.source,ht.exec(t));return n.lastIndex=t.lastIndex,n}(t);case C:return new i;case R:return r=t,Le?St(Le.call(r)):{}}}(t,h,s)}}o||(o=new Ye);var g=o.get(t);if(g)return g;o.set(t,a),ua(t)?t.forEach((function(r){a.add(or(r,n,e,r,t,o))})):na(t)&&t.forEach((function(r,i){a.set(i,or(r,n,e,i,t,o))}));var v=f?i:(l?c?nu:tu:c?Oa:Ia)(t);return En(v||t,(function(r,i){v&&(r=t[i=r]),Xe(a,i,or(r,n,e,i,t,o))})),a}function ar(t,n,e){var r=e.length;if(null==t)return!r;for(t=St(t);r--;){var u=e[r],o=n[u],a=t[u];if(a===i&&!(u in t)||!o(a))return!1}return!0}function sr(t,n,e){if("function"!=typeof t)throw new Ct(u);return Cu((function(){t.apply(i,e)}),n)}function cr(t,n,e,r){var i=-1,u=In,o=!0,a=t.length,s=[],c=n.length;if(!a)return s;e&&(n=Dn(n,Qn(e))),r?(u=On,o=!1):n.length>=200&&(u=Jn,o=!1,n=new He(n));t:for(;++i<a;){var l=t[i],f=null==e?l:e(l);if(l=r||0!==l?l:0,o&&f==f){for(var h=c;h--;)if(n[h]===f)continue t;s.push(l)}else u(n,f,r)||s.push(l)}return s}Me.templateSettings={escape:Z,evaluate:Q,interpolate:V,variable:"",imports:{_:Me}},Me.prototype=ze.prototype,Me.prototype.constructor=Me,Ge.prototype=$e(ze.prototype),Ge.prototype.constructor=Ge,Be.prototype=$e(ze.prototype),Be.prototype.constructor=Be,We.prototype.clear=function(){this.__data__=Ce?Ce(null):{},this.size=0},We.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},We.prototype.get=function(t){var n=this.__data__;if(Ce){var e=n[t];return e===o?i:e}return Tt.call(n,t)?n[t]:i},We.prototype.has=function(t){var n=this.__data__;return Ce?n[t]!==i:Tt.call(n,t)},We.prototype.set=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Ce&&n===i?o:n,this},Fe.prototype.clear=function(){this.__data__=[],this.size=0},Fe.prototype.delete=function(t){var n=this.__data__,e=tr(n,t);return!(e<0||(e==n.length-1?n.pop():Yt.call(n,e,1),--this.size,0))},Fe.prototype.get=function(t){var n=this.__data__,e=tr(n,t);return e<0?i:n[e][1]},Fe.prototype.has=function(t){return tr(this.__data__,t)>-1},Fe.prototype.set=function(t,n){var e=this.__data__,r=tr(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this},qe.prototype.clear=function(){this.size=0,this.__data__={hash:new We,map:new(Ae||Fe),string:new We}},qe.prototype.delete=function(t){var n=ou(this,t).delete(t);return this.size-=n?1:0,n},qe.prototype.get=function(t){return ou(this,t).get(t)},qe.prototype.has=function(t){return ou(this,t).has(t)},qe.prototype.set=function(t,n){var e=ou(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this},He.prototype.add=He.prototype.push=function(t){return this.__data__.set(t,o),this},He.prototype.has=function(t){return this.__data__.has(t)},Ye.prototype.clear=function(){this.__data__=new Fe,this.size=0},Ye.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},Ye.prototype.get=function(t){return this.__data__.get(t)},Ye.prototype.has=function(t){return this.__data__.has(t)},Ye.prototype.set=function(t,n){var e=this.__data__;if(e instanceof Fe){var r=e.__data__;if(!Ae||r.length<199)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new qe(r)}return e.set(t,n),this.size=e.size,this};var lr=Ii(yr),fr=Ii(mr,!0);function hr(t,n){var e=!0;return lr(t,(function(t,r,i){return e=!!n(t,r,i)})),e}function pr(t,n,e){for(var r=-1,u=t.length;++r<u;){var o=t[r],a=n(o);if(null!=a&&(s===i?a==a&&!aa(a):e(a,s)))var s=a,c=o}return c}function gr(t,n){var e=[];return lr(t,(function(t,r,i){n(t,r,i)&&e.push(t)})),e}function dr(t,n,e,r,i){var u=-1,o=t.length;for(e||(e=gu),i||(i=[]);++u<o;){var a=t[u];n>0&&e(a)?n>1?dr(a,n-1,e,r,i):Tn(i,a):r||(i[i.length]=a)}return i}var vr=Oi(),_r=Oi(!0);function yr(t,n){return t&&vr(t,n,Ia)}function mr(t,n){return t&&_r(t,n,Ia)}function wr(t,n){return Rn(n,(function(n){return Qo(t[n])}))}function br(t,n){for(var e=0,r=(n=vi(n,t)).length;null!=t&&e<r;)t=t[Pu(n[e++])];return e&&e==r?t:i}function xr(t,n,e){var r=n(t);return Wo(t)?r:Tn(r,e(t))}function Ar(t){return null==t?t===i?"[object Undefined]":"[object Null]":Jt&&Jt in St(t)?function(t){var n=Tt.call(t,Jt),e=t[Jt];try{t[Jt]=i;var r=!0}catch(t){}var u=Lt.call(t);return r&&(n?t[Jt]=e:delete t[Jt]),u}(t):function(t){return Lt.call(t)}(t)}function Sr(t,n){return t>n}function kr(t,n){return null!=t&&Tt.call(t,n)}function Er(t,n){return null!=t&&n in St(t)}function Cr(t,n,e){for(var u=e?On:In,o=t[0].length,a=t.length,s=a,c=r(a),l=1/0,f=[];s--;){var h=t[s];s&&n&&(h=Dn(h,Qn(n))),l=_e(h.length,l),c[s]=!e&&(n||o>=120&&h.length>=120)?new He(s&&h):i}h=t[0];var p=-1,g=c[0];t:for(;++p<o&&f.length<l;){var d=h[p],v=n?n(d):d;if(d=e||0!==d?d:0,!(g?Jn(g,v):u(f,v,e))){for(s=a;--s;){var _=c[s];if(!(_?Jn(_,v):u(t[s],v,e)))continue t}g&&g.push(v),f.push(d)}}return f}function Nr(t,n,e){var r=null==(t=Su(t,n=vi(n,t)))?t:t[Pu(Ku(n))];return null==r?i:Sn(r,t,e)}function Rr(t){return ta(t)&&Ar(t)==d}function Ir(t,n,e,r,u){return t===n||(null==t||null==n||!ta(t)&&!ta(n)?t!=t&&n!=n:function(t,n,e,r,u,o){var a=Wo(t),s=Wo(n),c=a?v:fu(t),l=s?v:fu(n),f=(c=c==d?S:c)==S,h=(l=l==d?S:l)==S,p=c==l;if(p&&Yo(t)){if(!Yo(n))return!1;a=!0,f=!1}if(p&&!f)return o||(o=new Ye),a||sa(t)?Ji(t,n,e,r,u,o):function(t,n,e,r,i,u,o){switch(e){case D:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case O:return!(t.byteLength!=n.byteLength||!u(new Bt(t),new Bt(n)));case _:case y:case A:return $o(+t,+n);case m:return t.name==n.name&&t.message==n.message;case E:case N:return t==n+"";case x:var a=ue;case C:var s=1&r;if(a||(a=se),t.size!=n.size&&!s)return!1;var c=o.get(t);if(c)return c==n;r|=2,o.set(t,n);var l=Ji(a(t),a(n),r,i,u,o);return o.delete(t),l;case R:if(Le)return Le.call(t)==Le.call(n)}return!1}(t,n,c,e,r,u,o);if(!(1&e)){var g=f&&Tt.call(t,"__wrapped__"),w=h&&Tt.call(n,"__wrapped__");if(g||w){var b=g?t.value():t,k=w?n.value():n;return o||(o=new Ye),u(b,k,e,r,o)}}return!!p&&(o||(o=new Ye),function(t,n,e,r,u,o){var a=1&e,s=tu(t),c=s.length;if(c!=tu(n).length&&!a)return!1;for(var l=c;l--;){var f=s[l];if(!(a?f in n:Tt.call(n,f)))return!1}var h=o.get(t),p=o.get(n);if(h&&p)return h==n&&p==t;var g=!0;o.set(t,n),o.set(n,t);for(var d=a;++l<c;){var v=t[f=s[l]],_=n[f];if(r)var y=a?r(_,v,f,n,t,o):r(v,_,f,t,n,o);if(!(y===i?v===_||u(v,_,e,r,o):y)){g=!1;break}d||(d="constructor"==f)}if(g&&!d){var m=t.constructor,w=n.constructor;m==w||!("constructor"in t)||!("constructor"in n)||"function"==typeof m&&m instanceof m&&"function"==typeof w&&w instanceof w||(g=!1)}return o.delete(t),o.delete(n),g}(t,n,e,r,u,o))}(t,n,e,r,Ir,u))}function Or(t,n,e,r){var u=e.length,o=u,a=!r;if(null==t)return!o;for(t=St(t);u--;){var s=e[u];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++u<o;){var c=(s=e[u])[0],l=t[c],f=s[1];if(a&&s[2]){if(l===i&&!(c in t))return!1}else{var h=new Ye;if(r)var p=r(l,f,c,t,n,h);if(!(p===i?Ir(f,l,3,r,h):p))return!1}}return!0}function Dr(t){return!(!Xo(t)||(n=t,Pt&&Pt in n))&&(Qo(t)?$t:dt).test(Lu(t));var n}function Tr(t){return"function"==typeof t?t:null==t?es:"object"==typeof t?Wo(t)?Mr(t[0],t[1]):Ur(t):fs(t)}function jr(t){if(!wu(t))return de(t);var n=[];for(var e in St(t))Tt.call(t,e)&&"constructor"!=e&&n.push(e);return n}function Pr(t,n){return t<n}function Lr(t,n){var e=-1,i=qo(t)?r(t.length):[];return lr(t,(function(t,r,u){i[++e]=n(t,r,u)})),i}function Ur(t){var n=au(t);return 1==n.length&&n[0][2]?xu(n[0][0],n[0][1]):function(e){return e===t||Or(e,t,n)}}function Mr(t,n){return _u(t)&&bu(n)?xu(Pu(t),n):function(e){var r=ka(e,t);return r===i&&r===n?Ea(e,t):Ir(n,r,3)}}function $r(t,n,e,r,u){t!==n&&vr(n,(function(o,a){if(u||(u=new Ye),Xo(o))!function(t,n,e,r,u,o,a){var s=ku(t,e),c=ku(n,e),l=a.get(c);if(l)Je(t,e,l);else{var f=o?o(s,c,e+"",t,n,a):i,h=f===i;if(h){var p=Wo(c),g=!p&&Yo(c),d=!p&&!g&&sa(c);f=c,p||g||d?Wo(s)?f=s:Ho(s)?f=Ei(s):g?(h=!1,f=wi(c,!0)):d?(h=!1,f=xi(c,!0)):f=[]:ra(c)||Bo(c)?(f=s,Bo(s)?f=va(s):Xo(s)&&!Qo(s)||(f=pu(c))):h=!1}h&&(a.set(c,f),u(f,c,r,o,a),a.delete(c)),Je(t,e,f)}}(t,n,a,e,$r,r,u);else{var s=r?r(ku(t,a),o,a+"",t,n,u):i;s===i&&(s=o),Je(t,a,s)}}),Oa)}function zr(t,n){var e=t.length;if(e)return du(n+=n<0?e:0,e)?t[n]:i}function Gr(t,n,e){n=n.length?Dn(n,(function(t){return Wo(t)?function(n){return br(n,1===t.length?t[0]:t)}:t})):[es];var r=-1;n=Dn(n,Qn(uu()));var i=Lr(t,(function(t,e,i){var u=Dn(n,(function(n){return n(t)}));return{criteria:u,index:++r,value:t}}));return function(t,n){var r=t.length;for(t.sort((function(t,n){return function(t,n,e){for(var r=-1,i=t.criteria,u=n.criteria,o=i.length,a=e.length;++r<o;){var s=Ai(i[r],u[r]);if(s)return r>=a?s:s*("desc"==e[r]?-1:1)}return t.index-n.index}(t,n,e)}));r--;)t[r]=t[r].value;return t}(i)}function Br(t,n,e){for(var r=-1,i=n.length,u={};++r<i;){var o=n[r],a=br(t,o);e(a,o)&&Qr(u,vi(o,t),a)}return u}function Wr(t,n,e,r){var i=r?Gn:zn,u=-1,o=n.length,a=t;for(t===n&&(n=Ei(n)),e&&(a=Dn(t,Qn(e)));++u<o;)for(var s=0,c=n[u],l=e?e(c):c;(s=i(a,l,s,r))>-1;)a!==t&&Yt.call(a,s,1),Yt.call(t,s,1);return t}function Fr(t,n){for(var e=t?n.length:0,r=e-1;e--;){var i=n[e];if(e==r||i!==u){var u=i;du(i)?Yt.call(t,i,1):si(t,i)}}return t}function qr(t,n){return t+gn(we()*(n-t+1))}function Hr(t,n){var e="";if(!t||n<1||n>f)return e;do{n%2&&(e+=t),(n=gn(n/2))&&(t+=t)}while(n);return e}function Yr(t,n){return Nu(Au(t,n,es),t+"")}function Kr(t){return Ze($a(t))}function Zr(t,n){var e=$a(t);return Ou(e,ur(n,0,e.length))}function Qr(t,n,e,r){if(!Xo(t))return t;for(var u=-1,o=(n=vi(n,t)).length,a=o-1,s=t;null!=s&&++u<o;){var c=Pu(n[u]),l=e;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(u!=a){var f=s[c];(l=r?r(f,c,s):i)===i&&(l=Xo(f)?f:du(n[u+1])?[]:{})}Xe(s,c,l),s=s[c]}return t}var Vr=Ne?function(t,n){return Ne.set(t,n),t}:es,Jr=tn?function(t,n){return tn(t,"toString",{configurable:!0,enumerable:!1,value:Xa(n),writable:!0})}:es;function Xr(t){return Ou($a(t))}function ti(t,n,e){var i=-1,u=t.length;n<0&&(n=-n>u?0:u+n),(e=e>u?u:e)<0&&(e+=u),u=n>e?0:e-n>>>0,n>>>=0;for(var o=r(u);++i<u;)o[i]=t[i+n];return o}function ni(t,n){var e;return lr(t,(function(t,r,i){return!(e=n(t,r,i))})),!!e}function ei(t,n,e){var r=0,i=null==t?r:t.length;if("number"==typeof n&&n==n&&i<=2147483647){for(;r<i;){var u=r+i>>>1,o=t[u];null!==o&&!aa(o)&&(e?o<=n:o<n)?r=u+1:i=u}return i}return ri(t,n,es,e)}function ri(t,n,e,r){var u=0,o=null==t?0:t.length;if(0===o)return 0;for(var a=(n=e(n))!=n,s=null===n,c=aa(n),l=n===i;u<o;){var f=gn((u+o)/2),h=e(t[f]),p=h!==i,g=null===h,d=h==h,v=aa(h);if(a)var _=r||d;else _=l?d&&(r||p):s?d&&p&&(r||!g):c?d&&p&&!g&&(r||!v):!g&&!v&&(r?h<=n:h<n);_?u=f+1:o=f}return _e(o,4294967294)}function ii(t,n){for(var e=-1,r=t.length,i=0,u=[];++e<r;){var o=t[e],a=n?n(o):o;if(!e||!$o(a,s)){var s=a;u[i++]=0===o?0:o}}return u}function ui(t){return"number"==typeof t?t:aa(t)?h:+t}function oi(t){if("string"==typeof t)return t;if(Wo(t))return Dn(t,oi)+"";if(aa(t))return Ue?Ue.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function ai(t,n,e){var r=-1,i=In,u=t.length,o=!0,a=[],s=a;if(e)o=!1,i=On;else if(u>=200){var c=n?null:Hi(t);if(c)return se(c);o=!1,i=Jn,s=new He}else s=n?[]:a;t:for(;++r<u;){var l=t[r],f=n?n(l):l;if(l=e||0!==l?l:0,o&&f==f){for(var h=s.length;h--;)if(s[h]===f)continue t;n&&s.push(f),a.push(l)}else i(s,f,e)||(s!==a&&s.push(f),a.push(l))}return a}function si(t,n){return null==(t=Su(t,n=vi(n,t)))||delete t[Pu(Ku(n))]}function ci(t,n,e,r){return Qr(t,n,e(br(t,n)),r)}function li(t,n,e,r){for(var i=t.length,u=r?i:-1;(r?u--:++u<i)&&n(t[u],u,t););return e?ti(t,r?0:u,r?u+1:i):ti(t,r?u+1:0,r?i:u)}function fi(t,n){var e=t;return e instanceof Be&&(e=e.value()),jn(n,(function(t,n){return n.func.apply(n.thisArg,Tn([t],n.args))}),e)}function hi(t,n,e){var i=t.length;if(i<2)return i?ai(t[0]):[];for(var u=-1,o=r(i);++u<i;)for(var a=t[u],s=-1;++s<i;)s!=u&&(o[u]=cr(o[u]||a,t[s],n,e));return ai(dr(o,1),n,e)}function pi(t,n,e){for(var r=-1,u=t.length,o=n.length,a={};++r<u;){var s=r<o?n[r]:i;e(a,t[r],s)}return a}function gi(t){return Ho(t)?t:[]}function di(t){return"function"==typeof t?t:es}function vi(t,n){return Wo(t)?t:_u(t,n)?[t]:ju(_a(t))}var _i=Yr;function yi(t,n,e){var r=t.length;return e=e===i?r:e,!n&&e>=r?t:ti(t,n,e)}var mi=an||function(t){return hn.clearTimeout(t)};function wi(t,n){if(n)return t.slice();var e=t.length,r=Wt?Wt(e):new t.constructor(e);return t.copy(r),r}function bi(t){var n=new t.constructor(t.byteLength);return new Bt(n).set(new Bt(t)),n}function xi(t,n){var e=n?bi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function Ai(t,n){if(t!==n){var e=t!==i,r=null===t,u=t==t,o=aa(t),a=n!==i,s=null===n,c=n==n,l=aa(n);if(!s&&!l&&!o&&t>n||o&&a&&c&&!s&&!l||r&&a&&c||!e&&c||!u)return 1;if(!r&&!o&&!l&&t<n||l&&e&&u&&!r&&!o||s&&e&&u||!a&&u||!c)return-1}return 0}function Si(t,n,e,i){for(var u=-1,o=t.length,a=e.length,s=-1,c=n.length,l=ve(o-a,0),f=r(c+l),h=!i;++s<c;)f[s]=n[s];for(;++u<a;)(h||u<o)&&(f[e[u]]=t[u]);for(;l--;)f[s++]=t[u++];return f}function ki(t,n,e,i){for(var u=-1,o=t.length,a=-1,s=e.length,c=-1,l=n.length,f=ve(o-s,0),h=r(f+l),p=!i;++u<f;)h[u]=t[u];for(var g=u;++c<l;)h[g+c]=n[c];for(;++a<s;)(p||u<o)&&(h[g+e[a]]=t[u++]);return h}function Ei(t,n){var e=-1,i=t.length;for(n||(n=r(i));++e<i;)n[e]=t[e];return n}function Ci(t,n,e,r){var u=!e;e||(e={});for(var o=-1,a=n.length;++o<a;){var s=n[o],c=r?r(e[s],t[s],s,e,t):i;c===i&&(c=t[s]),u?rr(e,s,c):Xe(e,s,c)}return e}function Ni(t,n){return function(e,r){var i=Wo(e)?kn:nr,u=n?n():{};return i(e,t,uu(r,2),u)}}function Ri(t){return Yr((function(n,e){var r=-1,u=e.length,o=u>1?e[u-1]:i,a=u>2?e[2]:i;for(o=t.length>3&&"function"==typeof o?(u--,o):i,a&&vu(e[0],e[1],a)&&(o=u<3?i:o,u=1),n=St(n);++r<u;){var s=e[r];s&&t(n,s,r,o)}return n}))}function Ii(t,n){return function(e,r){if(null==e)return e;if(!qo(e))return t(e,r);for(var i=e.length,u=n?i:-1,o=St(e);(n?u--:++u<i)&&!1!==r(o[u],u,o););return e}}function Oi(t){return function(n,e,r){for(var i=-1,u=St(n),o=r(n),a=o.length;a--;){var s=o[t?a:++i];if(!1===e(u[s],s,u))break}return n}}function Di(t){return function(n){var e=ie(n=_a(n))?fe(n):i,r=e?e[0]:n.charAt(0),u=e?yi(e,1).join(""):n.slice(1);return r[t]()+u}}function Ti(t){return function(n){return jn(Qa(Ba(n).replace(Qt,"")),t,"")}}function ji(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var e=$e(t.prototype),r=t.apply(e,n);return Xo(r)?r:e}}function Pi(t){return function(n,e,r){var u=St(n);if(!qo(n)){var o=uu(e,3);n=Ia(n),e=function(t){return o(u[t],t,u)}}var a=t(n,e,r);return a>-1?u[o?n[a]:a]:i}}function Li(t){return Xi((function(n){var e=n.length,r=e,o=Ge.prototype.thru;for(t&&n.reverse();r--;){var a=n[r];if("function"!=typeof a)throw new Ct(u);if(o&&!s&&"wrapper"==ru(a))var s=new Ge([],!0)}for(r=s?r:e;++r<e;){var c=ru(a=n[r]),l="wrapper"==c?eu(a):i;s=l&&yu(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?s[ru(l[0])].apply(s,l[3]):1==a.length&&yu(a)?s[c]():s.thru(a)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&Wo(r))return s.plant(r).value();for(var i=0,u=e?n[i].apply(this,t):r;++i<e;)u=n[i].call(this,u);return u}}))}function Ui(t,n,e,u,o,a,s,l,f,h){var p=n&c,g=1&n,d=2&n,v=24&n,_=512&n,y=d?i:ji(t);return function c(){for(var m=arguments.length,w=r(m),b=m;b--;)w[b]=arguments[b];if(v)var x=iu(c),A=function(t,n){for(var e=t.length,r=0;e--;)t[e]===n&&++r;return r}(w,x);if(u&&(w=Si(w,u,o,v)),a&&(w=ki(w,a,s,v)),m-=A,v&&m<h){var S=ae(w,x);return Fi(t,n,Ui,c.placeholder,e,w,S,l,f,h-m)}var k=g?e:this,E=d?k[t]:t;return m=w.length,l?w=function(t,n){for(var e=t.length,r=_e(n.length,e),u=Ei(t);r--;){var o=n[r];t[r]=du(o,e)?u[o]:i}return t}(w,l):_&&m>1&&w.reverse(),p&&f<m&&(w.length=f),this&&this!==hn&&this instanceof c&&(E=y||ji(E)),E.apply(k,w)}}function Mi(t,n){return function(e,r){return function(t,n,e,r){return yr(t,(function(t,i,u){n(r,e(t),i,u)})),r}(e,t,n(r),{})}}function $i(t,n){return function(e,r){var u;if(e===i&&r===i)return n;if(e!==i&&(u=e),r!==i){if(u===i)return r;"string"==typeof e||"string"==typeof r?(e=oi(e),r=oi(r)):(e=ui(e),r=ui(r)),u=t(e,r)}return u}}function zi(t){return Xi((function(n){return n=Dn(n,Qn(uu())),Yr((function(e){var r=this;return t(n,(function(t){return Sn(t,r,e)}))}))}))}function Gi(t,n){var e=(n=n===i?" ":oi(n)).length;if(e<2)return e?Hr(n,t):n;var r=Hr(n,pn(t/le(n)));return ie(n)?yi(fe(r),0,t).join(""):r.slice(0,t)}function Bi(t){return function(n,e,u){return u&&"number"!=typeof u&&vu(n,e,u)&&(e=u=i),n=ha(n),e===i?(e=n,n=0):e=ha(e),function(t,n,e,i){for(var u=-1,o=ve(pn((n-t)/(e||1)),0),a=r(o);o--;)a[i?o:++u]=t,t+=e;return a}(n,e,u=u===i?n<e?1:-1:ha(u),t)}}function Wi(t){return function(n,e){return"string"==typeof n&&"string"==typeof e||(n=da(n),e=da(e)),t(n,e)}}function Fi(t,n,e,r,u,o,a,c,l,f){var h=8&n;n|=h?s:64,4&(n&=~(h?64:s))||(n&=-4);var p=[t,n,u,h?o:i,h?a:i,h?i:o,h?i:a,c,l,f],g=e.apply(i,p);return yu(t)&&Eu(g,p),g.placeholder=r,Ru(g,t,n)}function qi(t){var n=At[t];return function(t,e){if(t=da(t),(e=null==e?0:_e(pa(e),292))&&Un(t)){var r=(_a(t)+"e").split("e");return+((r=(_a(n(r[0]+"e"+(+r[1]+e)))+"e").split("e"))[0]+"e"+(+r[1]-e))}return n(t)}}var Hi=ke&&1/se(new ke([,-0]))[1]==l?function(t){return new ke(t)}:as;function Yi(t){return function(n){var e=fu(n);return e==x?ue(n):e==C?ce(n):function(t,n){return Dn(n,(function(n){return[n,t[n]]}))}(n,t(n))}}function Ki(t,n,e,o,l,f,h,p){var g=2&n;if(!g&&"function"!=typeof t)throw new Ct(u);var d=o?o.length:0;if(d||(n&=-97,o=l=i),h=h===i?h:ve(pa(h),0),p=p===i?p:pa(p),d-=l?l.length:0,64&n){var v=o,_=l;o=l=i}var y=g?i:eu(t),m=[t,n,e,o,l,v,_,f,h,p];if(y&&function(t,n){var e=t[1],r=n[1],i=e|r,u=i<131,o=r==c&&8==e||r==c&&256==e&&t[7].length<=n[8]||384==r&&n[7].length<=n[8]&&8==e;if(!u&&!o)return t;1&r&&(t[2]=n[2],i|=1&e?0:4);var s=n[3];if(s){var l=t[3];t[3]=l?Si(l,s,n[4]):s,t[4]=l?ae(t[3],a):n[4]}(s=n[5])&&(l=t[5],t[5]=l?ki(l,s,n[6]):s,t[6]=l?ae(t[5],a):n[6]),(s=n[7])&&(t[7]=s),r&c&&(t[8]=null==t[8]?n[8]:_e(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i}(m,y),t=m[0],n=m[1],e=m[2],o=m[3],l=m[4],!(p=m[9]=m[9]===i?g?0:t.length:ve(m[9]-d,0))&&24&n&&(n&=-25),n&&1!=n)w=8==n||16==n?function(t,n,e){var u=ji(t);return function o(){for(var a=arguments.length,s=r(a),c=a,l=iu(o);c--;)s[c]=arguments[c];var f=a<3&&s[0]!==l&&s[a-1]!==l?[]:ae(s,l);return(a-=f.length)<e?Fi(t,n,Ui,o.placeholder,i,s,f,i,i,e-a):Sn(this&&this!==hn&&this instanceof o?u:t,this,s)}}(t,n,p):n!=s&&33!=n||l.length?Ui.apply(i,m):function(t,n,e,i){var u=1&n,o=ji(t);return function n(){for(var a=-1,s=arguments.length,c=-1,l=i.length,f=r(l+s),h=this&&this!==hn&&this instanceof n?o:t;++c<l;)f[c]=i[c];for(;s--;)f[c++]=arguments[++a];return Sn(h,u?e:this,f)}}(t,n,e,o);else var w=function(t,n,e){var r=1&n,i=ji(t);return function n(){return(this&&this!==hn&&this instanceof n?i:t).apply(r?e:this,arguments)}}(t,n,e);return Ru((y?Vr:Eu)(w,m),t,n)}function Zi(t,n,e,r){return t===i||$o(t,It[e])&&!Tt.call(r,e)?n:t}function Qi(t,n,e,r,u,o){return Xo(t)&&Xo(n)&&(o.set(n,t),$r(t,n,i,Qi,o),o.delete(n)),t}function Vi(t){return ra(t)?i:t}function Ji(t,n,e,r,u,o){var a=1&e,s=t.length,c=n.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(t),f=o.get(n);if(l&&f)return l==n&&f==t;var h=-1,p=!0,g=2&e?new He:i;for(o.set(t,n),o.set(n,t);++h<s;){var d=t[h],v=n[h];if(r)var _=a?r(v,d,h,n,t,o):r(d,v,h,t,n,o);if(_!==i){if(_)continue;p=!1;break}if(g){if(!Ln(n,(function(t,n){if(!Jn(g,n)&&(d===t||u(d,t,e,r,o)))return g.push(n)}))){p=!1;break}}else if(d!==v&&!u(d,v,e,r,o)){p=!1;break}}return o.delete(t),o.delete(n),p}function Xi(t){return Nu(Au(t,i,Wu),t+"")}function tu(t){return xr(t,Ia,cu)}function nu(t){return xr(t,Oa,lu)}var eu=Ne?function(t){return Ne.get(t)}:as;function ru(t){for(var n=t.name+"",e=Re[n],r=Tt.call(Re,n)?e.length:0;r--;){var i=e[r],u=i.func;if(null==u||u==t)return i.name}return n}function iu(t){return(Tt.call(Me,"placeholder")?Me:t).placeholder}function uu(){var t=Me.iteratee||rs;return t=t===rs?Tr:t,arguments.length?t(arguments[0],arguments[1]):t}function ou(t,n){var e,r,i=t.__data__;return("string"==(r=typeof(e=n))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?i["string"==typeof n?"string":"hash"]:i.map}function au(t){for(var n=Ia(t),e=n.length;e--;){var r=n[e],i=t[r];n[e]=[r,i,bu(i)]}return n}function su(t,n){var e=function(t,n){return null==t?i:t[n]}(t,n);return Dr(e)?e:i}var cu=vn?function(t){return null==t?[]:(t=St(t),Rn(vn(t),(function(n){return Ht.call(t,n)})))}:gs,lu=vn?function(t){for(var n=[];t;)Tn(n,cu(t)),t=Ft(t);return n}:gs,fu=Ar;function hu(t,n,e){for(var r=-1,i=(n=vi(n,t)).length,u=!1;++r<i;){var o=Pu(n[r]);if(!(u=null!=t&&e(t,o)))break;t=t[o]}return u||++r!=i?u:!!(i=null==t?0:t.length)&&Jo(i)&&du(o,i)&&(Wo(t)||Bo(t))}function pu(t){return"function"!=typeof t.constructor||wu(t)?{}:$e(Ft(t))}function gu(t){return Wo(t)||Bo(t)||!!(Kt&&t&&t[Kt])}function du(t,n){var e=typeof t;return!!(n=null==n?f:n)&&("number"==e||"symbol"!=e&&_t.test(t))&&t>-1&&t%1==0&&t<n}function vu(t,n,e){if(!Xo(e))return!1;var r=typeof n;return!!("number"==r?qo(e)&&du(n,e.length):"string"==r&&n in e)&&$o(e[n],t)}function _u(t,n){if(Wo(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!aa(t))||X.test(t)||!J.test(t)||null!=n&&t in St(n)}function yu(t){var n=ru(t),e=Me[n];if("function"!=typeof e||!(n in Be.prototype))return!1;if(t===e)return!0;var r=eu(e);return!!r&&t===r[0]}(xe&&fu(new xe(new ArrayBuffer(1)))!=D||Ae&&fu(new Ae)!=x||Se&&fu(Se.resolve())!=k||ke&&fu(new ke)!=C||Ee&&fu(new Ee)!=I)&&(fu=function(t){var n=Ar(t),e=n==S?t.constructor:i,r=e?Lu(e):"";if(r)switch(r){case Ie:return D;case Oe:return x;case De:return k;case Te:return C;case je:return I}return n});var mu=Ot?Qo:ds;function wu(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||It)}function bu(t){return t==t&&!Xo(t)}function xu(t,n){return function(e){return null!=e&&e[t]===n&&(n!==i||t in St(e))}}function Au(t,n,e){return n=ve(n===i?t.length-1:n,0),function(){for(var i=arguments,u=-1,o=ve(i.length-n,0),a=r(o);++u<o;)a[u]=i[n+u];u=-1;for(var s=r(n+1);++u<n;)s[u]=i[u];return s[n]=e(a),Sn(t,this,s)}}function Su(t,n){return n.length<2?t:br(t,ti(n,0,-1))}function ku(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}var Eu=Iu(Vr),Cu=fn||function(t,n){return hn.setTimeout(t,n)},Nu=Iu(Jr);function Ru(t,n,e){var r=n+"";return Nu(t,function(t,n){var e=n.length;if(!e)return t;var r=e-1;return n[r]=(e>1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(ut,"{\n/* [wrapped with "+n+"] */\n")}(r,function(t,n){return En(g,(function(e){var r="_."+e[0];n&e[1]&&!In(t,r)&&t.push(r)})),t.sort()}(function(t){var n=t.match(ot);return n?n[1].split(at):[]}(r),e)))}function Iu(t){var n=0,e=0;return function(){var r=ye(),u=16-(r-e);if(e=r,u>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(i,arguments)}}function Ou(t,n){var e=-1,r=t.length,u=r-1;for(n=n===i?r:n;++e<n;){var o=qr(e,u),a=t[o];t[o]=t[e],t[e]=a}return t.length=n,t}var Du,Tu,ju=(Du=To((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(tt,(function(t,e,r,i){n.push(r?i.replace(lt,"$1"):e||t)})),n}),(function(t){return 500===Tu.size&&Tu.clear(),t})),Tu=Du.cache,Du);function Pu(t){if("string"==typeof t||aa(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function Lu(t){if(null!=t){try{return Dt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Uu(t){if(t instanceof Be)return t.clone();var n=new Ge(t.__wrapped__,t.__chain__);return n.__actions__=Ei(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}var Mu=Yr((function(t,n){return Ho(t)?cr(t,dr(n,1,Ho,!0)):[]})),$u=Yr((function(t,n){var e=Ku(n);return Ho(e)&&(e=i),Ho(t)?cr(t,dr(n,1,Ho,!0),uu(e,2)):[]})),zu=Yr((function(t,n){var e=Ku(n);return Ho(e)&&(e=i),Ho(t)?cr(t,dr(n,1,Ho,!0),i,e):[]}));function Gu(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:pa(e);return i<0&&(i=ve(r+i,0)),$n(t,uu(n,3),i)}function Bu(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var u=r-1;return e!==i&&(u=pa(e),u=e<0?ve(r+u,0):_e(u,r-1)),$n(t,uu(n,3),u,!0)}function Wu(t){return null!=t&&t.length?dr(t,1):[]}function Fu(t){return t&&t.length?t[0]:i}var qu=Yr((function(t){var n=Dn(t,gi);return n.length&&n[0]===t[0]?Cr(n):[]})),Hu=Yr((function(t){var n=Ku(t),e=Dn(t,gi);return n===Ku(e)?n=i:e.pop(),e.length&&e[0]===t[0]?Cr(e,uu(n,2)):[]})),Yu=Yr((function(t){var n=Ku(t),e=Dn(t,gi);return(n="function"==typeof n?n:i)&&e.pop(),e.length&&e[0]===t[0]?Cr(e,i,n):[]}));function Ku(t){var n=null==t?0:t.length;return n?t[n-1]:i}var Zu=Yr(Qu);function Qu(t,n){return t&&t.length&&n&&n.length?Wr(t,n):t}var Vu=Xi((function(t,n){var e=null==t?0:t.length,r=ir(t,n);return Fr(t,Dn(n,(function(t){return du(t,e)?+t:t})).sort(Ai)),r}));function Ju(t){return null==t?t:be.call(t)}var Xu=Yr((function(t){return ai(dr(t,1,Ho,!0))})),to=Yr((function(t){var n=Ku(t);return Ho(n)&&(n=i),ai(dr(t,1,Ho,!0),uu(n,2))})),no=Yr((function(t){var n=Ku(t);return n="function"==typeof n?n:i,ai(dr(t,1,Ho,!0),i,n)}));function eo(t){if(!t||!t.length)return[];var n=0;return t=Rn(t,(function(t){if(Ho(t))return n=ve(t.length,n),!0})),Kn(n,(function(n){return Dn(t,Fn(n))}))}function ro(t,n){if(!t||!t.length)return[];var e=eo(t);return null==n?e:Dn(e,(function(t){return Sn(n,i,t)}))}var io=Yr((function(t,n){return Ho(t)?cr(t,n):[]})),uo=Yr((function(t){return hi(Rn(t,Ho))})),oo=Yr((function(t){var n=Ku(t);return Ho(n)&&(n=i),hi(Rn(t,Ho),uu(n,2))})),ao=Yr((function(t){var n=Ku(t);return n="function"==typeof n?n:i,hi(Rn(t,Ho),i,n)})),so=Yr(eo),co=Yr((function(t){var n=t.length,e=n>1?t[n-1]:i;return e="function"==typeof e?(t.pop(),e):i,ro(t,e)}));function lo(t){var n=Me(t);return n.__chain__=!0,n}function fo(t,n){return n(t)}var ho=Xi((function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,u=function(n){return ir(n,t)};return!(n>1||this.__actions__.length)&&r instanceof Be&&du(e)?((r=r.slice(e,+e+(n?1:0))).__actions__.push({func:fo,args:[u],thisArg:i}),new Ge(r,this.__chain__).thru((function(t){return n&&!t.length&&t.push(i),t}))):this.thru(u)})),po=Ni((function(t,n,e){Tt.call(t,e)?++t[e]:rr(t,e,1)})),go=Pi(Gu),vo=Pi(Bu);function _o(t,n){return(Wo(t)?En:lr)(t,uu(n,3))}function yo(t,n){return(Wo(t)?Cn:fr)(t,uu(n,3))}var mo=Ni((function(t,n,e){Tt.call(t,e)?t[e].push(n):rr(t,e,[n])})),wo=Yr((function(t,n,e){var i=-1,u="function"==typeof n,o=qo(t)?r(t.length):[];return lr(t,(function(t){o[++i]=u?Sn(n,t,e):Nr(t,n,e)})),o})),bo=Ni((function(t,n,e){rr(t,e,n)}));function xo(t,n){return(Wo(t)?Dn:Lr)(t,uu(n,3))}var Ao=Ni((function(t,n,e){t[e?0:1].push(n)}),(function(){return[[],[]]})),So=Yr((function(t,n){if(null==t)return[];var e=n.length;return e>1&&vu(t,n[0],n[1])?n=[]:e>2&&vu(n[0],n[1],n[2])&&(n=[n[0]]),Gr(t,dr(n,1),[])})),ko=ln||function(){return hn.Date.now()};function Eo(t,n,e){return n=e?i:n,n=t&&null==n?t.length:n,Ki(t,c,i,i,i,i,n)}function Co(t,n){var e;if("function"!=typeof n)throw new Ct(u);return t=pa(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=i),e}}var No=Yr((function(t,n,e){var r=1;if(e.length){var i=ae(e,iu(No));r|=s}return Ki(t,r,n,e,i)})),Ro=Yr((function(t,n,e){var r=3;if(e.length){var i=ae(e,iu(Ro));r|=s}return Ki(n,r,t,e,i)}));function Io(t,n,e){var r,o,a,s,c,l,f=0,h=!1,p=!1,g=!0;if("function"!=typeof t)throw new Ct(u);function d(n){var e=r,u=o;return r=o=i,f=n,s=t.apply(u,e)}function v(t){var e=t-l;return l===i||e>=n||e<0||p&&t-f>=a}function _(){var t=ko();if(v(t))return y(t);c=Cu(_,function(t){var e=n-(t-l);return p?_e(e,a-(t-f)):e}(t))}function y(t){return c=i,g&&r?d(t):(r=o=i,s)}function m(){var t=ko(),e=v(t);if(r=arguments,o=this,l=t,e){if(c===i)return function(t){return f=t,c=Cu(_,n),h?d(t):s}(l);if(p)return mi(c),c=Cu(_,n),d(l)}return c===i&&(c=Cu(_,n)),s}return n=da(n)||0,Xo(e)&&(h=!!e.leading,a=(p="maxWait"in e)?ve(da(e.maxWait)||0,n):a,g="trailing"in e?!!e.trailing:g),m.cancel=function(){c!==i&&mi(c),f=0,r=l=o=c=i},m.flush=function(){return c===i?s:y(ko())},m}var Oo=Yr((function(t,n){return sr(t,1,n)})),Do=Yr((function(t,n,e){return sr(t,da(n)||0,e)}));function To(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new Ct(u);var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],u=e.cache;if(u.has(i))return u.get(i);var o=t.apply(this,r);return e.cache=u.set(i,o)||u,o};return e.cache=new(To.Cache||qe),e}function jo(t){if("function"!=typeof t)throw new Ct(u);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}To.Cache=qe;var Po=_i((function(t,n){var e=(n=1==n.length&&Wo(n[0])?Dn(n[0],Qn(uu())):Dn(dr(n,1),Qn(uu()))).length;return Yr((function(r){for(var i=-1,u=_e(r.length,e);++i<u;)r[i]=n[i].call(this,r[i]);return Sn(t,this,r)}))})),Lo=Yr((function(t,n){var e=ae(n,iu(Lo));return Ki(t,s,i,n,e)})),Uo=Yr((function(t,n){var e=ae(n,iu(Uo));return Ki(t,64,i,n,e)})),Mo=Xi((function(t,n){return Ki(t,256,i,i,i,n)}));function $o(t,n){return t===n||t!=t&&n!=n}var zo=Wi(Sr),Go=Wi((function(t,n){return t>=n})),Bo=Rr(function(){return arguments}())?Rr:function(t){return ta(t)&&Tt.call(t,"callee")&&!Ht.call(t,"callee")},Wo=r.isArray,Fo=yn?Qn(yn):function(t){return ta(t)&&Ar(t)==O};function qo(t){return null!=t&&Jo(t.length)&&!Qo(t)}function Ho(t){return ta(t)&&qo(t)}var Yo=_n||ds,Ko=mn?Qn(mn):function(t){return ta(t)&&Ar(t)==y};function Zo(t){if(!ta(t))return!1;var n=Ar(t);return n==m||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!ra(t)}function Qo(t){if(!Xo(t))return!1;var n=Ar(t);return n==w||n==b||"[object AsyncFunction]"==n||"[object Proxy]"==n}function Vo(t){return"number"==typeof t&&t==pa(t)}function Jo(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=f}function Xo(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function ta(t){return null!=t&&"object"==typeof t}var na=wn?Qn(wn):function(t){return ta(t)&&fu(t)==x};function ea(t){return"number"==typeof t||ta(t)&&Ar(t)==A}function ra(t){if(!ta(t)||Ar(t)!=S)return!1;var n=Ft(t);if(null===n)return!0;var e=Tt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&Dt.call(e)==Ut}var ia=bn?Qn(bn):function(t){return ta(t)&&Ar(t)==E},ua=xn?Qn(xn):function(t){return ta(t)&&fu(t)==C};function oa(t){return"string"==typeof t||!Wo(t)&&ta(t)&&Ar(t)==N}function aa(t){return"symbol"==typeof t||ta(t)&&Ar(t)==R}var sa=An?Qn(An):function(t){return ta(t)&&Jo(t.length)&&!!un[Ar(t)]},ca=Wi(Pr),la=Wi((function(t,n){return t<=n}));function fa(t){if(!t)return[];if(qo(t))return oa(t)?fe(t):Ei(t);if(Zt&&t[Zt])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[Zt]());var n=fu(t);return(n==x?ue:n==C?se:$a)(t)}function ha(t){return t?(t=da(t))===l||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pa(t){var n=ha(t),e=n%1;return n==n?e?n-e:n:0}function ga(t){return t?ur(pa(t),0,p):0}function da(t){if("number"==typeof t)return t;if(aa(t))return h;if(Xo(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=Xo(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=Zn(t);var e=gt.test(t);return e||vt.test(t)?cn(t.slice(2),e?2:8):pt.test(t)?h:+t}function va(t){return Ci(t,Oa(t))}function _a(t){return null==t?"":oi(t)}var ya=Ri((function(t,n){if(wu(n)||qo(n))Ci(n,Ia(n),t);else for(var e in n)Tt.call(n,e)&&Xe(t,e,n[e])})),ma=Ri((function(t,n){Ci(n,Oa(n),t)})),wa=Ri((function(t,n,e,r){Ci(n,Oa(n),t,r)})),ba=Ri((function(t,n,e,r){Ci(n,Ia(n),t,r)})),xa=Xi(ir),Aa=Yr((function(t,n){t=St(t);var e=-1,r=n.length,u=r>2?n[2]:i;for(u&&vu(n[0],n[1],u)&&(r=1);++e<r;)for(var o=n[e],a=Oa(o),s=-1,c=a.length;++s<c;){var l=a[s],f=t[l];(f===i||$o(f,It[l])&&!Tt.call(t,l))&&(t[l]=o[l])}return t})),Sa=Yr((function(t){return t.push(i,Qi),Sn(Ta,i,t)}));function ka(t,n,e){var r=null==t?i:br(t,n);return r===i?e:r}function Ea(t,n){return null!=t&&hu(t,n,Er)}var Ca=Mi((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=Lt.call(n)),t[n]=e}),Xa(es)),Na=Mi((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=Lt.call(n)),Tt.call(t,n)?t[n].push(e):t[n]=[e]}),uu),Ra=Yr(Nr);function Ia(t){return qo(t)?Ke(t):jr(t)}function Oa(t){return qo(t)?Ke(t,!0):function(t){if(!Xo(t))return function(t){var n=[];if(null!=t)for(var e in St(t))n.push(e);return n}(t);var n=wu(t),e=[];for(var r in t)("constructor"!=r||!n&&Tt.call(t,r))&&e.push(r);return e}(t)}var Da=Ri((function(t,n,e){$r(t,n,e)})),Ta=Ri((function(t,n,e,r){$r(t,n,e,r)})),ja=Xi((function(t,n){var e={};if(null==t)return e;var r=!1;n=Dn(n,(function(n){return n=vi(n,t),r||(r=n.length>1),n})),Ci(t,nu(t),e),r&&(e=or(e,7,Vi));for(var i=n.length;i--;)si(e,n[i]);return e})),Pa=Xi((function(t,n){return null==t?{}:function(t,n){return Br(t,n,(function(n,e){return Ea(t,e)}))}(t,n)}));function La(t,n){if(null==t)return{};var e=Dn(nu(t),(function(t){return[t]}));return n=uu(n),Br(t,e,(function(t,e){return n(t,e[0])}))}var Ua=Yi(Ia),Ma=Yi(Oa);function $a(t){return null==t?[]:Vn(t,Ia(t))}var za=Ti((function(t,n,e){return n=n.toLowerCase(),t+(e?Ga(n):n)}));function Ga(t){return Za(_a(t).toLowerCase())}function Ba(t){return(t=_a(t))&&t.replace(yt,ne).replace(Vt,"")}var Wa=Ti((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()})),Fa=Ti((function(t,n,e){return t+(e?" ":"")+n.toLowerCase()})),qa=Di("toLowerCase"),Ha=Ti((function(t,n,e){return t+(e?"_":"")+n.toLowerCase()})),Ya=Ti((function(t,n,e){return t+(e?" ":"")+Za(n)})),Ka=Ti((function(t,n,e){return t+(e?" ":"")+n.toUpperCase()})),Za=Di("toUpperCase");function Qa(t,n,e){return t=_a(t),(n=e?i:n)===i?function(t){return nn.test(t)}(t)?function(t){return t.match(Xt)||[]}(t):function(t){return t.match(st)||[]}(t):t.match(n)||[]}var Va=Yr((function(t,n){try{return Sn(t,i,n)}catch(t){return Zo(t)?t:new bt(t)}})),Ja=Xi((function(t,n){return En(n,(function(n){n=Pu(n),rr(t,n,No(t[n],t))})),t}));function Xa(t){return function(){return t}}var ts=Li(),ns=Li(!0);function es(t){return t}function rs(t){return Tr("function"==typeof t?t:or(t,1))}var is=Yr((function(t,n){return function(e){return Nr(e,t,n)}})),us=Yr((function(t,n){return function(e){return Nr(t,e,n)}}));function os(t,n,e){var r=Ia(n),i=wr(n,r);null!=e||Xo(n)&&(i.length||!r.length)||(e=n,n=t,t=this,i=wr(n,Ia(n)));var u=!(Xo(e)&&"chain"in e&&!e.chain),o=Qo(t);return En(i,(function(e){var r=n[e];t[e]=r,o&&(t.prototype[e]=function(){var n=this.__chain__;if(u||n){var e=t(this.__wrapped__);return(e.__actions__=Ei(this.__actions__)).push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,Tn([this.value()],arguments))})})),t}function as(){}var ss=zi(Dn),cs=zi(Nn),ls=zi(Ln);function fs(t){return _u(t)?Fn(Pu(t)):function(t){return function(n){return br(n,t)}}(t)}var hs=Bi(),ps=Bi(!0);function gs(){return[]}function ds(){return!1}var vs,_s=$i((function(t,n){return t+n}),0),ys=qi("ceil"),ms=$i((function(t,n){return t/n}),1),ws=qi("floor"),bs=$i((function(t,n){return t*n}),1),xs=qi("round"),As=$i((function(t,n){return t-n}),0);return Me.after=function(t,n){if("function"!=typeof n)throw new Ct(u);return t=pa(t),function(){if(--t<1)return n.apply(this,arguments)}},Me.ary=Eo,Me.assign=ya,Me.assignIn=ma,Me.assignInWith=wa,Me.assignWith=ba,Me.at=xa,Me.before=Co,Me.bind=No,Me.bindAll=Ja,Me.bindKey=Ro,Me.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Wo(t)?t:[t]},Me.chain=lo,Me.chunk=function(t,n,e){n=(e?vu(t,n,e):n===i)?1:ve(pa(n),0);var u=null==t?0:t.length;if(!u||n<1)return[];for(var o=0,a=0,s=r(pn(u/n));o<u;)s[a++]=ti(t,o,o+=n);return s},Me.compact=function(t){for(var n=-1,e=null==t?0:t.length,r=0,i=[];++n<e;){var u=t[n];u&&(i[r++]=u)}return i},Me.concat=function(){var t=arguments.length;if(!t)return[];for(var n=r(t-1),e=arguments[0],i=t;i--;)n[i-1]=arguments[i];return Tn(Wo(e)?Ei(e):[e],dr(n,1))},Me.cond=function(t){var n=null==t?0:t.length,e=uu();return t=n?Dn(t,(function(t){if("function"!=typeof t[1])throw new Ct(u);return[e(t[0]),t[1]]})):[],Yr((function(e){for(var r=-1;++r<n;){var i=t[r];if(Sn(i[0],this,e))return Sn(i[1],this,e)}}))},Me.conforms=function(t){return function(t){var n=Ia(t);return function(e){return ar(e,t,n)}}(or(t,1))},Me.constant=Xa,Me.countBy=po,Me.create=function(t,n){var e=$e(t);return null==n?e:er(e,n)},Me.curry=function t(n,e,r){var u=Ki(n,8,i,i,i,i,i,e=r?i:e);return u.placeholder=t.placeholder,u},Me.curryRight=function t(n,e,r){var u=Ki(n,16,i,i,i,i,i,e=r?i:e);return u.placeholder=t.placeholder,u},Me.debounce=Io,Me.defaults=Aa,Me.defaultsDeep=Sa,Me.defer=Oo,Me.delay=Do,Me.difference=Mu,Me.differenceBy=$u,Me.differenceWith=zu,Me.drop=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,(n=e||n===i?1:pa(n))<0?0:n,r):[]},Me.dropRight=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,0,(n=r-(n=e||n===i?1:pa(n)))<0?0:n):[]},Me.dropRightWhile=function(t,n){return t&&t.length?li(t,uu(n,3),!0,!0):[]},Me.dropWhile=function(t,n){return t&&t.length?li(t,uu(n,3),!0):[]},Me.fill=function(t,n,e,r){var u=null==t?0:t.length;return u?(e&&"number"!=typeof e&&vu(t,n,e)&&(e=0,r=u),function(t,n,e,r){var u=t.length;for((e=pa(e))<0&&(e=-e>u?0:u+e),(r=r===i||r>u?u:pa(r))<0&&(r+=u),r=e>r?0:ga(r);e<r;)t[e++]=n;return t}(t,n,e,r)):[]},Me.filter=function(t,n){return(Wo(t)?Rn:gr)(t,uu(n,3))},Me.flatMap=function(t,n){return dr(xo(t,n),1)},Me.flatMapDeep=function(t,n){return dr(xo(t,n),l)},Me.flatMapDepth=function(t,n,e){return e=e===i?1:pa(e),dr(xo(t,n),e)},Me.flatten=Wu,Me.flattenDeep=function(t){return null!=t&&t.length?dr(t,l):[]},Me.flattenDepth=function(t,n){return null!=t&&t.length?dr(t,n=n===i?1:pa(n)):[]},Me.flip=function(t){return Ki(t,512)},Me.flow=ts,Me.flowRight=ns,Me.fromPairs=function(t){for(var n=-1,e=null==t?0:t.length,r={};++n<e;){var i=t[n];r[i[0]]=i[1]}return r},Me.functions=function(t){return null==t?[]:wr(t,Ia(t))},Me.functionsIn=function(t){return null==t?[]:wr(t,Oa(t))},Me.groupBy=mo,Me.initial=function(t){return null!=t&&t.length?ti(t,0,-1):[]},Me.intersection=qu,Me.intersectionBy=Hu,Me.intersectionWith=Yu,Me.invert=Ca,Me.invertBy=Na,Me.invokeMap=wo,Me.iteratee=rs,Me.keyBy=bo,Me.keys=Ia,Me.keysIn=Oa,Me.map=xo,Me.mapKeys=function(t,n){var e={};return n=uu(n,3),yr(t,(function(t,r,i){rr(e,n(t,r,i),t)})),e},Me.mapValues=function(t,n){var e={};return n=uu(n,3),yr(t,(function(t,r,i){rr(e,r,n(t,r,i))})),e},Me.matches=function(t){return Ur(or(t,1))},Me.matchesProperty=function(t,n){return Mr(t,or(n,1))},Me.memoize=To,Me.merge=Da,Me.mergeWith=Ta,Me.method=is,Me.methodOf=us,Me.mixin=os,Me.negate=jo,Me.nthArg=function(t){return t=pa(t),Yr((function(n){return zr(n,t)}))},Me.omit=ja,Me.omitBy=function(t,n){return La(t,jo(uu(n)))},Me.once=function(t){return Co(2,t)},Me.orderBy=function(t,n,e,r){return null==t?[]:(Wo(n)||(n=null==n?[]:[n]),Wo(e=r?i:e)||(e=null==e?[]:[e]),Gr(t,n,e))},Me.over=ss,Me.overArgs=Po,Me.overEvery=cs,Me.overSome=ls,Me.partial=Lo,Me.partialRight=Uo,Me.partition=Ao,Me.pick=Pa,Me.pickBy=La,Me.property=fs,Me.propertyOf=function(t){return function(n){return null==t?i:br(t,n)}},Me.pull=Zu,Me.pullAll=Qu,Me.pullAllBy=function(t,n,e){return t&&t.length&&n&&n.length?Wr(t,n,uu(e,2)):t},Me.pullAllWith=function(t,n,e){return t&&t.length&&n&&n.length?Wr(t,n,i,e):t},Me.pullAt=Vu,Me.range=hs,Me.rangeRight=ps,Me.rearg=Mo,Me.reject=function(t,n){return(Wo(t)?Rn:gr)(t,jo(uu(n,3)))},Me.remove=function(t,n){var e=[];if(!t||!t.length)return e;var r=-1,i=[],u=t.length;for(n=uu(n,3);++r<u;){var o=t[r];n(o,r,t)&&(e.push(o),i.push(r))}return Fr(t,i),e},Me.rest=function(t,n){if("function"!=typeof t)throw new Ct(u);return Yr(t,n=n===i?n:pa(n))},Me.reverse=Ju,Me.sampleSize=function(t,n,e){return n=(e?vu(t,n,e):n===i)?1:pa(n),(Wo(t)?Qe:Zr)(t,n)},Me.set=function(t,n,e){return null==t?t:Qr(t,n,e)},Me.setWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:Qr(t,n,e,r)},Me.shuffle=function(t){return(Wo(t)?Ve:Xr)(t)},Me.slice=function(t,n,e){var r=null==t?0:t.length;return r?(e&&"number"!=typeof e&&vu(t,n,e)?(n=0,e=r):(n=null==n?0:pa(n),e=e===i?r:pa(e)),ti(t,n,e)):[]},Me.sortBy=So,Me.sortedUniq=function(t){return t&&t.length?ii(t):[]},Me.sortedUniqBy=function(t,n){return t&&t.length?ii(t,uu(n,2)):[]},Me.split=function(t,n,e){return e&&"number"!=typeof e&&vu(t,n,e)&&(n=e=i),(e=e===i?p:e>>>0)?(t=_a(t))&&("string"==typeof n||null!=n&&!ia(n))&&!(n=oi(n))&&ie(t)?yi(fe(t),0,e):t.split(n,e):[]},Me.spread=function(t,n){if("function"!=typeof t)throw new Ct(u);return n=null==n?0:ve(pa(n),0),Yr((function(e){var r=e[n],i=yi(e,0,n);return r&&Tn(i,r),Sn(t,this,i)}))},Me.tail=function(t){var n=null==t?0:t.length;return n?ti(t,1,n):[]},Me.take=function(t,n,e){return t&&t.length?ti(t,0,(n=e||n===i?1:pa(n))<0?0:n):[]},Me.takeRight=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,(n=r-(n=e||n===i?1:pa(n)))<0?0:n,r):[]},Me.takeRightWhile=function(t,n){return t&&t.length?li(t,uu(n,3),!1,!0):[]},Me.takeWhile=function(t,n){return t&&t.length?li(t,uu(n,3)):[]},Me.tap=function(t,n){return n(t),t},Me.throttle=function(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new Ct(u);return Xo(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Io(t,n,{leading:r,maxWait:n,trailing:i})},Me.thru=fo,Me.toArray=fa,Me.toPairs=Ua,Me.toPairsIn=Ma,Me.toPath=function(t){return Wo(t)?Dn(t,Pu):aa(t)?[t]:Ei(ju(_a(t)))},Me.toPlainObject=va,Me.transform=function(t,n,e){var r=Wo(t),i=r||Yo(t)||sa(t);if(n=uu(n,4),null==e){var u=t&&t.constructor;e=i?r?new u:[]:Xo(t)&&Qo(u)?$e(Ft(t)):{}}return(i?En:yr)(t,(function(t,r,i){return n(e,t,r,i)})),e},Me.unary=function(t){return Eo(t,1)},Me.union=Xu,Me.unionBy=to,Me.unionWith=no,Me.uniq=function(t){return t&&t.length?ai(t):[]},Me.uniqBy=function(t,n){return t&&t.length?ai(t,uu(n,2)):[]},Me.uniqWith=function(t,n){return n="function"==typeof n?n:i,t&&t.length?ai(t,i,n):[]},Me.unset=function(t,n){return null==t||si(t,n)},Me.unzip=eo,Me.unzipWith=ro,Me.update=function(t,n,e){return null==t?t:ci(t,n,di(e))},Me.updateWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:ci(t,n,di(e),r)},Me.values=$a,Me.valuesIn=function(t){return null==t?[]:Vn(t,Oa(t))},Me.without=io,Me.words=Qa,Me.wrap=function(t,n){return Lo(di(n),t)},Me.xor=uo,Me.xorBy=oo,Me.xorWith=ao,Me.zip=so,Me.zipObject=function(t,n){return pi(t||[],n||[],Xe)},Me.zipObjectDeep=function(t,n){return pi(t||[],n||[],Qr)},Me.zipWith=co,Me.entries=Ua,Me.entriesIn=Ma,Me.extend=ma,Me.extendWith=wa,os(Me,Me),Me.add=_s,Me.attempt=Va,Me.camelCase=za,Me.capitalize=Ga,Me.ceil=ys,Me.clamp=function(t,n,e){return e===i&&(e=n,n=i),e!==i&&(e=(e=da(e))==e?e:0),n!==i&&(n=(n=da(n))==n?n:0),ur(da(t),n,e)},Me.clone=function(t){return or(t,4)},Me.cloneDeep=function(t){return or(t,5)},Me.cloneDeepWith=function(t,n){return or(t,5,n="function"==typeof n?n:i)},Me.cloneWith=function(t,n){return or(t,4,n="function"==typeof n?n:i)},Me.conformsTo=function(t,n){return null==n||ar(t,n,Ia(n))},Me.deburr=Ba,Me.defaultTo=function(t,n){return null==t||t!=t?n:t},Me.divide=ms,Me.endsWith=function(t,n,e){t=_a(t),n=oi(n);var r=t.length,u=e=e===i?r:ur(pa(e),0,r);return(e-=n.length)>=0&&t.slice(e,u)==n},Me.eq=$o,Me.escape=function(t){return(t=_a(t))&&K.test(t)?t.replace(H,ee):t},Me.escapeRegExp=function(t){return(t=_a(t))&&et.test(t)?t.replace(nt,"\\$&"):t},Me.every=function(t,n,e){var r=Wo(t)?Nn:hr;return e&&vu(t,n,e)&&(n=i),r(t,uu(n,3))},Me.find=go,Me.findIndex=Gu,Me.findKey=function(t,n){return Mn(t,uu(n,3),yr)},Me.findLast=vo,Me.findLastIndex=Bu,Me.findLastKey=function(t,n){return Mn(t,uu(n,3),mr)},Me.floor=ws,Me.forEach=_o,Me.forEachRight=yo,Me.forIn=function(t,n){return null==t?t:vr(t,uu(n,3),Oa)},Me.forInRight=function(t,n){return null==t?t:_r(t,uu(n,3),Oa)},Me.forOwn=function(t,n){return t&&yr(t,uu(n,3))},Me.forOwnRight=function(t,n){return t&&mr(t,uu(n,3))},Me.get=ka,Me.gt=zo,Me.gte=Go,Me.has=function(t,n){return null!=t&&hu(t,n,kr)},Me.hasIn=Ea,Me.head=Fu,Me.identity=es,Me.includes=function(t,n,e,r){t=qo(t)?t:$a(t),e=e&&!r?pa(e):0;var i=t.length;return e<0&&(e=ve(i+e,0)),oa(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&zn(t,n,e)>-1},Me.indexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:pa(e);return i<0&&(i=ve(r+i,0)),zn(t,n,i)},Me.inRange=function(t,n,e){return n=ha(n),e===i?(e=n,n=0):e=ha(e),function(t,n,e){return t>=_e(n,e)&&t<ve(n,e)}(t=da(t),n,e)},Me.invoke=Ra,Me.isArguments=Bo,Me.isArray=Wo,Me.isArrayBuffer=Fo,Me.isArrayLike=qo,Me.isArrayLikeObject=Ho,Me.isBoolean=function(t){return!0===t||!1===t||ta(t)&&Ar(t)==_},Me.isBuffer=Yo,Me.isDate=Ko,Me.isElement=function(t){return ta(t)&&1===t.nodeType&&!ra(t)},Me.isEmpty=function(t){if(null==t)return!0;if(qo(t)&&(Wo(t)||"string"==typeof t||"function"==typeof t.splice||Yo(t)||sa(t)||Bo(t)))return!t.length;var n=fu(t);if(n==x||n==C)return!t.size;if(wu(t))return!jr(t).length;for(var e in t)if(Tt.call(t,e))return!1;return!0},Me.isEqual=function(t,n){return Ir(t,n)},Me.isEqualWith=function(t,n,e){var r=(e="function"==typeof e?e:i)?e(t,n):i;return r===i?Ir(t,n,i,e):!!r},Me.isError=Zo,Me.isFinite=function(t){return"number"==typeof t&&Un(t)},Me.isFunction=Qo,Me.isInteger=Vo,Me.isLength=Jo,Me.isMap=na,Me.isMatch=function(t,n){return t===n||Or(t,n,au(n))},Me.isMatchWith=function(t,n,e){return e="function"==typeof e?e:i,Or(t,n,au(n),e)},Me.isNaN=function(t){return ea(t)&&t!=+t},Me.isNative=function(t){if(mu(t))throw new bt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Dr(t)},Me.isNil=function(t){return null==t},Me.isNull=function(t){return null===t},Me.isNumber=ea,Me.isObject=Xo,Me.isObjectLike=ta,Me.isPlainObject=ra,Me.isRegExp=ia,Me.isSafeInteger=function(t){return Vo(t)&&t>=-9007199254740991&&t<=f},Me.isSet=ua,Me.isString=oa,Me.isSymbol=aa,Me.isTypedArray=sa,Me.isUndefined=function(t){return t===i},Me.isWeakMap=function(t){return ta(t)&&fu(t)==I},Me.isWeakSet=function(t){return ta(t)&&"[object WeakSet]"==Ar(t)},Me.join=function(t,n){return null==t?"":qn.call(t,n)},Me.kebabCase=Wa,Me.last=Ku,Me.lastIndexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var u=r;return e!==i&&(u=(u=pa(e))<0?ve(r+u,0):_e(u,r-1)),n==n?function(t,n,e){for(var r=e+1;r--;)if(t[r]===n)return r;return r}(t,n,u):$n(t,Bn,u,!0)},Me.lowerCase=Fa,Me.lowerFirst=qa,Me.lt=ca,Me.lte=la,Me.max=function(t){return t&&t.length?pr(t,es,Sr):i},Me.maxBy=function(t,n){return t&&t.length?pr(t,uu(n,2),Sr):i},Me.mean=function(t){return Wn(t,es)},Me.meanBy=function(t,n){return Wn(t,uu(n,2))},Me.min=function(t){return t&&t.length?pr(t,es,Pr):i},Me.minBy=function(t,n){return t&&t.length?pr(t,uu(n,2),Pr):i},Me.stubArray=gs,Me.stubFalse=ds,Me.stubObject=function(){return{}},Me.stubString=function(){return""},Me.stubTrue=function(){return!0},Me.multiply=bs,Me.nth=function(t,n){return t&&t.length?zr(t,pa(n)):i},Me.noConflict=function(){return hn._===this&&(hn._=Mt),this},Me.noop=as,Me.now=ko,Me.pad=function(t,n,e){t=_a(t);var r=(n=pa(n))?le(t):0;if(!n||r>=n)return t;var i=(n-r)/2;return Gi(gn(i),e)+t+Gi(pn(i),e)},Me.padEnd=function(t,n,e){t=_a(t);var r=(n=pa(n))?le(t):0;return n&&r<n?t+Gi(n-r,e):t},Me.padStart=function(t,n,e){t=_a(t);var r=(n=pa(n))?le(t):0;return n&&r<n?Gi(n-r,e)+t:t},Me.parseInt=function(t,n,e){return e||null==n?n=0:n&&(n=+n),me(_a(t).replace(rt,""),n||0)},Me.random=function(t,n,e){if(e&&"boolean"!=typeof e&&vu(t,n,e)&&(n=e=i),e===i&&("boolean"==typeof n?(e=n,n=i):"boolean"==typeof t&&(e=t,t=i)),t===i&&n===i?(t=0,n=1):(t=ha(t),n===i?(n=t,t=0):n=ha(n)),t>n){var r=t;t=n,n=r}if(e||t%1||n%1){var u=we();return _e(t+u*(n-t+sn("1e-"+((u+"").length-1))),n)}return qr(t,n)},Me.reduce=function(t,n,e){var r=Wo(t)?jn:Hn,i=arguments.length<3;return r(t,uu(n,4),e,i,lr)},Me.reduceRight=function(t,n,e){var r=Wo(t)?Pn:Hn,i=arguments.length<3;return r(t,uu(n,4),e,i,fr)},Me.repeat=function(t,n,e){return n=(e?vu(t,n,e):n===i)?1:pa(n),Hr(_a(t),n)},Me.replace=function(){var t=arguments,n=_a(t[0]);return t.length<3?n:n.replace(t[1],t[2])},Me.result=function(t,n,e){var r=-1,u=(n=vi(n,t)).length;for(u||(u=1,t=i);++r<u;){var o=null==t?i:t[Pu(n[r])];o===i&&(r=u,o=e),t=Qo(o)?o.call(t):o}return t},Me.round=xs,Me.runInContext=t,Me.sample=function(t){return(Wo(t)?Ze:Kr)(t)},Me.size=function(t){if(null==t)return 0;if(qo(t))return oa(t)?le(t):t.length;var n=fu(t);return n==x||n==C?t.size:jr(t).length},Me.snakeCase=Ha,Me.some=function(t,n,e){var r=Wo(t)?Ln:ni;return e&&vu(t,n,e)&&(n=i),r(t,uu(n,3))},Me.sortedIndex=function(t,n){return ei(t,n)},Me.sortedIndexBy=function(t,n,e){return ri(t,n,uu(e,2))},Me.sortedIndexOf=function(t,n){var e=null==t?0:t.length;if(e){var r=ei(t,n);if(r<e&&$o(t[r],n))return r}return-1},Me.sortedLastIndex=function(t,n){return ei(t,n,!0)},Me.sortedLastIndexBy=function(t,n,e){return ri(t,n,uu(e,2),!0)},Me.sortedLastIndexOf=function(t,n){if(null!=t&&t.length){var e=ei(t,n,!0)-1;if($o(t[e],n))return e}return-1},Me.startCase=Ya,Me.startsWith=function(t,n,e){return t=_a(t),e=null==e?0:ur(pa(e),0,t.length),n=oi(n),t.slice(e,e+n.length)==n},Me.subtract=As,Me.sum=function(t){return t&&t.length?Yn(t,es):0},Me.sumBy=function(t,n){return t&&t.length?Yn(t,uu(n,2)):0},Me.template=function(t,n,e){var r=Me.templateSettings;e&&vu(t,n,e)&&(n=i),t=_a(t),n=wa({},n,r,Zi);var u,o,a=wa({},n.imports,r.imports,Zi),s=Ia(a),c=Vn(a,s),l=0,f=n.interpolate||mt,h="__p += '",p=kt((n.escape||mt).source+"|"+f.source+"|"+(f===V?ft:mt).source+"|"+(n.evaluate||mt).source+"|$","g"),g="//# sourceURL="+(Tt.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rn+"]")+"\n";t.replace(p,(function(n,e,r,i,a,s){return r||(r=i),h+=t.slice(l,s).replace(wt,re),e&&(u=!0,h+="' +\n__e("+e+") +\n'"),a&&(o=!0,h+="';\n"+a+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+n.length,n})),h+="';\n";var d=Tt.call(n,"variable")&&n.variable;if(d){if(ct.test(d))throw new bt("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(o?h.replace(B,""):h).replace(W,"$1").replace(F,"$1;"),h="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Va((function(){return xt(s,g+"return "+h).apply(i,c)}));if(v.source=h,Zo(v))throw v;return v},Me.times=function(t,n){if((t=pa(t))<1||t>f)return[];var e=p,r=_e(t,p);n=uu(n),t-=p;for(var i=Kn(r,n);++e<t;)n(e);return i},Me.toFinite=ha,Me.toInteger=pa,Me.toLength=ga,Me.toLower=function(t){return _a(t).toLowerCase()},Me.toNumber=da,Me.toSafeInteger=function(t){return t?ur(pa(t),-9007199254740991,f):0===t?t:0},Me.toString=_a,Me.toUpper=function(t){return _a(t).toUpperCase()},Me.trim=function(t,n,e){if((t=_a(t))&&(e||n===i))return Zn(t);if(!t||!(n=oi(n)))return t;var r=fe(t),u=fe(n);return yi(r,Xn(r,u),te(r,u)+1).join("")},Me.trimEnd=function(t,n,e){if((t=_a(t))&&(e||n===i))return t.slice(0,he(t)+1);if(!t||!(n=oi(n)))return t;var r=fe(t);return yi(r,0,te(r,fe(n))+1).join("")},Me.trimStart=function(t,n,e){if((t=_a(t))&&(e||n===i))return t.replace(rt,"");if(!t||!(n=oi(n)))return t;var r=fe(t);return yi(r,Xn(r,fe(n))).join("")},Me.truncate=function(t,n){var e=30,r="...";if(Xo(n)){var u="separator"in n?n.separator:u;e="length"in n?pa(n.length):e,r="omission"in n?oi(n.omission):r}var o=(t=_a(t)).length;if(ie(t)){var a=fe(t);o=a.length}if(e>=o)return t;var s=e-le(r);if(s<1)return r;var c=a?yi(a,0,s).join(""):t.slice(0,s);if(u===i)return c+r;if(a&&(s+=c.length-s),ia(u)){if(t.slice(s).search(u)){var l,f=c;for(u.global||(u=kt(u.source,_a(ht.exec(u))+"g")),u.lastIndex=0;l=u.exec(f);)var h=l.index;c=c.slice(0,h===i?s:h)}}else if(t.indexOf(oi(u),s)!=s){var p=c.lastIndexOf(u);p>-1&&(c=c.slice(0,p))}return c+r},Me.unescape=function(t){return(t=_a(t))&&Y.test(t)?t.replace(q,pe):t},Me.uniqueId=function(t){var n=++jt;return _a(t)+n},Me.upperCase=Ka,Me.upperFirst=Za,Me.each=_o,Me.eachRight=yo,Me.first=Fu,os(Me,(vs={},yr(Me,(function(t,n){Tt.call(Me.prototype,n)||(vs[n]=t)})),vs),{chain:!1}),Me.VERSION="4.17.21",En(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Me[t].placeholder=Me})),En(["drop","take"],(function(t,n){Be.prototype[t]=function(e){e=e===i?1:ve(pa(e),0);var r=this.__filtered__&&!n?new Be(this):this.clone();return r.__filtered__?r.__takeCount__=_e(e,r.__takeCount__):r.__views__.push({size:_e(e,p),type:t+(r.__dir__<0?"Right":"")}),r},Be.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),En(["filter","map","takeWhile"],(function(t,n){var e=n+1,r=1==e||3==e;Be.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:uu(t,3),type:e}),n.__filtered__=n.__filtered__||r,n}})),En(["head","last"],(function(t,n){var e="take"+(n?"Right":"");Be.prototype[t]=function(){return this[e](1).value()[0]}})),En(["initial","tail"],(function(t,n){var e="drop"+(n?"":"Right");Be.prototype[t]=function(){return this.__filtered__?new Be(this):this[e](1)}})),Be.prototype.compact=function(){return this.filter(es)},Be.prototype.find=function(t){return this.filter(t).head()},Be.prototype.findLast=function(t){return this.reverse().find(t)},Be.prototype.invokeMap=Yr((function(t,n){return"function"==typeof t?new Be(this):this.map((function(e){return Nr(e,t,n)}))})),Be.prototype.reject=function(t){return this.filter(jo(uu(t)))},Be.prototype.slice=function(t,n){t=pa(t);var e=this;return e.__filtered__&&(t>0||n<0)?new Be(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==i&&(e=(n=pa(n))<0?e.dropRight(-n):e.take(n-t)),e)},Be.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Be.prototype.toArray=function(){return this.take(p)},yr(Be.prototype,(function(t,n){var e=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),u=Me[r?"take"+("last"==n?"Right":""):n],o=r||/^find/.test(n);u&&(Me.prototype[n]=function(){var n=this.__wrapped__,a=r?[1]:arguments,s=n instanceof Be,c=a[0],l=s||Wo(n),f=function(t){var n=u.apply(Me,Tn([t],a));return r&&h?n[0]:n};l&&e&&"function"==typeof c&&1!=c.length&&(s=l=!1);var h=this.__chain__,p=!!this.__actions__.length,g=o&&!h,d=s&&!p;if(!o&&l){n=d?n:new Be(this);var v=t.apply(n,a);return v.__actions__.push({func:fo,args:[f],thisArg:i}),new Ge(v,h)}return g&&d?t.apply(this,a):(v=this.thru(f),g?r?v.value()[0]:v.value():v)})})),En(["pop","push","shift","sort","splice","unshift"],(function(t){var n=Nt[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Me.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return n.apply(Wo(i)?i:[],t)}return this[e]((function(e){return n.apply(Wo(e)?e:[],t)}))}})),yr(Be.prototype,(function(t,n){var e=Me[n];if(e){var r=e.name+"";Tt.call(Re,r)||(Re[r]=[]),Re[r].push({name:n,func:e})}})),Re[Ui(i,2).name]=[{name:"wrapper",func:i}],Be.prototype.clone=function(){var t=new Be(this.__wrapped__);return t.__actions__=Ei(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ei(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ei(this.__views__),t},Be.prototype.reverse=function(){if(this.__filtered__){var t=new Be(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Be.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,e=Wo(t),r=n<0,i=e?t.length:0,u=function(t,n,e){for(var r=-1,i=e.length;++r<i;){var u=e[r],o=u.size;switch(u.type){case"drop":t+=o;break;case"dropRight":n-=o;break;case"take":n=_e(n,t+o);break;case"takeRight":t=ve(t,n-o)}}return{start:t,end:n}}(0,i,this.__views__),o=u.start,a=u.end,s=a-o,c=r?a:o-1,l=this.__iteratees__,f=l.length,h=0,p=_e(s,this.__takeCount__);if(!e||!r&&i==s&&p==s)return fi(t,this.__actions__);var g=[];t:for(;s--&&h<p;){for(var d=-1,v=t[c+=n];++d<f;){var _=l[d],y=_.iteratee,m=_.type,w=y(v);if(2==m)v=w;else if(!w){if(1==m)continue t;break t}}g[h++]=v}return g},Me.prototype.at=ho,Me.prototype.chain=function(){return lo(this)},Me.prototype.commit=function(){return new Ge(this.value(),this.__chain__)},Me.prototype.next=function(){this.__values__===i&&(this.__values__=fa(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},Me.prototype.plant=function(t){for(var n,e=this;e instanceof ze;){var r=Uu(e);r.__index__=0,r.__values__=i,n?u.__wrapped__=r:n=r;var u=r;e=e.__wrapped__}return u.__wrapped__=t,n},Me.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Be){var n=t;return this.__actions__.length&&(n=new Be(this)),(n=n.reverse()).__actions__.push({func:fo,args:[Ju],thisArg:i}),new Ge(n,this.__chain__)}return this.thru(Ju)},Me.prototype.toJSON=Me.prototype.valueOf=Me.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},Me.prototype.first=Me.prototype.head,Zt&&(Me.prototype[Zt]=function(){return this}),Me}();hn._=ge,(r=function(){return ge}.call(n,e,n,t))===i||(t.exports=r)}.call(this)},26734:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2724%27%20height=%2724%27%20fill=%27%23222%27%3e%3cpath%20d=%27M15.4%2016.6L10.8%2012l4.6-4.6L14%206l-6%206%206%206%201.4-1.4z%27/%3e%3c/svg%3e"},51338:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2724%27%20height=%2724%27%20fill=%27%23222%27%3e%3cpath%20d=%27M18.4%207.4L17%206l-6%206%206%206%201.4-1.4-4.6-4.6%204.6-4.6m-6%200L11%206l-6%206%206%206%201.4-1.4L7.8%2012l4.6-4.6z%27/%3e%3c/svg%3e"},57818:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2724%27%20height=%2724%27%20fill=%27%23222%27%3e%3cpath%20d=%27M5.6%207.4L7%206l6%206-6%206-1.4-1.4%204.6-4.6-4.6-4.6m6%200L13%206l6%206-6%206-1.4-1.4%204.6-4.6-4.6-4.6z%27/%3e%3c/svg%3e"},31926:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2724%27%20height=%2724%27%20fill=%27%23222%27%3e%3cpath%20d=%27M8.6%2016.6l4.6-4.6-4.6-4.6L10%206l6%206-6%206-1.4-1.4z%27/%3e%3c/svg%3e"},76333:(t,n,e)=>{"use strict";e.d(n,{AO:()=>P.N,Az:()=>a.N,B6:()=>f.N,C7:()=>vt.N,EQ:()=>lt.N,K1:()=>V.N,Qz:()=>T.N,R1:()=>D.N,gb:()=>wt.A,i$:()=>F.N,lT:()=>G.N,mQ:()=>et.A,rE:()=>dt.N,v:()=>ft.N,x1:()=>j.A,yI:()=>Y.A}),e(72558);var r=e(63420),i=e(17086),u=e(50953),o=e(63127),a=e(38034),s=e(10700),c=e(51246),l=e(59594),f=e(79466),h=e(10501),p=e(63961),g=e(34375),d=e(46399),v=e(47611),_=e(10363),y=e(42577),m=e(77191),w=e(68776),b=e(3842),x=e(31927),A=e(46447),S=e(37425),k=e(36201),E=e(14645),C=e(15869),N=e(947),R=e(77650),I=e(18503),O=e(1953),D=e(5554),T=e(89743),j=e(9518),P=e(7655),L=e(48532),U=e(62773),M=e(70563),$=e(56440),z=e(67298),G=e(93148),B=e(24620),W=e(43899),F=e(96077),q=e(84003),H=e(86017),Y=e(10833),K=e(1620),Z=e(59103),Q=e(27720),V=e(6936),J=e(88936),X=e(46653),tt=e(46222),nt=e(53278),et=e(48934),rt=e(8059),it=e(28690),ut=e(15224),ot=e(81808),at=e(96982),st=e(7679),ct=e(81028),lt=(e(78460),e(72996),e(26287),e(43382)),ft=e(47375),ht=(e(61338),e(64981)),pt=e(71248),gt=e(13802),dt=e(49199),vt=e(72791),_t=e(66680),yt=e(12871),mt=e(8562),wt=e(47732),bt=(e(23020),e(53429),e(58995),e(66662),e(42892)),xt=e(65842),At=(e(57874),e(75105),e(92471),e(16406),e(2508));r.A,i.N,u.A,o.A,a.N,s.A,c.A,l.A,h.A,p.A,g.A,f.N,d.N,v.A,_.A,y.N,m.N,w.A,b.N,x.A,A.A,S.N,k.N,E.A,C.N,N.A,R.N,I.A,st.N,O.N,D.N,T.N,j.A,P.N,L.N,U.N,M.A,$.N,z.N,G.N,B.A,W.A,F.N,q.N,H.N,Y.A,K.A,Z.N,Q.N,V.N,J.N,X.N,tt.A,at.N,nt.A,et.A,rt.N,it.N,ut.N,ot.N,st.a,ct.N,ht.N,lt.N,pt.N,gt.N,dt.N,vt.N,wt.A,ft.N,_t.N,yt.N,mt.N,Symbol.toStringTag,bt.u,xt.u,At.yw,Symbol.toStringTag}},i={};function u(t){var n=i[t];if(void 0!==n)return n.exports;var e=i[t]={id:t,loaded:!1,exports:{}};return r[t].call(e.exports,e,e.exports,u),e.loaded=!0,e.exports}u.m=r,t=[],u.O=(n,e,r,i)=>{if(!e){var o=1/0;for(l=0;l<t.length;l++){e=t[l][0],r=t[l][1],i=t[l][2];for(var a=!0,s=0;s<e.length;s++)(!1&i||o>=i)&&Object.keys(u.O).every((t=>u.O[t](e[s])))?e.splice(s--,1):(a=!1,i<o&&(o=i));if(a){t.splice(l--,1);var c=r();void 0!==c&&(n=c)}}return n}i=i||0;for(var l=t.length;l>0&&t[l-1][2]>i;l--)t[l]=t[l-1];t[l]=[e,r,i]},u.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return u.d(n,{a:n}),n},u.d=(t,n)=>{for(var e in n)u.o(n,e)&&!u.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},u.f={},u.e=t=>Promise.all(Object.keys(u.f).reduce(((n,e)=>(u.f[e](t,n),n)),[])),u.u=t=>t+"-"+t+".js?v="+{1359:"805186f653e82dd9eb95",8618:"1e8f15db3b14455fef8f"}[t],u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),u.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),n={},e="nextcloud:",u.l=(t,r,i,o)=>{if(n[t])n[t].push(r);else{var a,s;if(void 0!==i)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==e+i){a=f;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,u.nc&&a.setAttribute("nonce",u.nc),a.setAttribute("data-webpack",e+i),a.src=t),n[t]=[r];var h=(e,r)=>{a.onerror=a.onload=null,clearTimeout(p);var i=n[t];if(delete n[t],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((t=>t(r))),e)return e(r)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),s&&document.head.appendChild(a)}},u.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),u.j=3674,(()=>{var t;u.g.importScripts&&(t=u.g.location+"");var n=u.g.document;if(!t&&n&&(n.currentScript&&(t=n.currentScript.src),!t)){var e=n.getElementsByTagName("script");if(e.length)for(var r=e.length-1;r>-1&&(!t||!/^http(s?):/.test(t));)t=e[r--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),u.p=t})(),(()=>{u.b=document.baseURI||self.location.href;var t={3674:0};u.f.j=(n,e)=>{var r=u.o(t,n)?t[n]:void 0;if(0!==r)if(r)e.push(r[2]);else{var i=new Promise(((e,i)=>r=t[n]=[e,i]));e.push(r[2]=i);var o=u.p+u.u(n),a=new Error;u.l(o,(e=>{if(u.o(t,n)&&(0!==(r=t[n])&&(t[n]=void 0),r)){var i=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;a.message="Loading chunk "+n+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,r[1](a)}}),"chunk-"+n,n)}},u.O.j=n=>0===t[n];var n=(n,e)=>{var r,i,o=e[0],a=e[1],s=e[2],c=0;if(o.some((n=>0!==t[n]))){for(r in a)u.o(a,r)&&(u.m[r]=a[r]);if(s)var l=s(u)}for(n&&n(e);c<o.length;c++)i=o[c],u.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return u.O(l)},e=self.webpackChunknextcloud=self.webpackChunknextcloud||[];e.forEach(n.bind(null,0)),e.push=n.bind(null,e.push.bind(e))})(),u.nc=void 0;var o=u.O(void 0,[4208],(()=>u(54860)));o=u.O(o)})();
  3. //# sourceMappingURL=settings-vue-settings-admin-sharing.js.map?v=a5a09b6366741f1d01b8