aboutsummaryrefslogtreecommitdiffstats
path: root/dist/settings-vue-settings-admin-sharing.js
blob: 623bf857b3bb73076fbb6111fc09721a5db51d13 (plain)
1
2
(()=>{var t,n,e,r={16096:(t,n,e)=>{"use strict";var r=e(85471),i=e(76333),u=e(32981),o=e(53334),a=e(85168),s=e(2543),c=e(17334),l=e.n(c);const f=(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!!(this.value&this.PERMISSION_CREATE)},canUpdate(){return!!(this.value&this.PERMISSION_UPDATE)},canDelete(){return!!(this.value&this.PERMISSION_DELETE)},canShare(){return!!(this.value&this.PERMISSION_SHARE)}},methods:{t:o.Tl,toggle(t){this.$emit("update:value",this.value^t)}}});var h=e(85072),p=e.n(h),g=e(97825),d=e.n(g),v=e(77659),_=e.n(v),y=e(55056),m=e.n(y),w=e(10540),b=e.n(w),x=e(41113),A=e.n(x),S=e(10844),k={};k.styleTagTransform=A(),k.setAttributes=m(),k.insert=_().bind(null,"head"),k.domAPI=d(),k.insertStyleElement=b(),p()(S.A,k),S.A&&S.A.locals&&S.A.locals;var C=e(14486);const E=(0,C.A)(f,(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,"fa9fc04c",null).exports,N=(0,r.pM)({name:"AdminSettingsSharingForm",components:{NcCheckboxRadioSwitch:i.AO,NcSettingsSelectGroup:i.C7,NcTextArea:i.gb,NcTextField:i.v,SelectSharingPermissions:E},data(){const t=(0,u.C)("settings","sharingSettings");return{settingsData:t,publicShareDisclaimerEnabled:""!==t.publicShareDisclaimerText}},computed:{settings(){return console.warn("new proxy"),new Proxy(this.settingsData,{get:(t,n)=>t[n],set(t,n,e){const r=`shareapi_${(0,s.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}})}},watch:{publicShareDisclaimerEnabled(){!1===this.publicShareDisclaimerEnabled&&this.onUpdateDisclaimer("")}},methods:{t:o.Tl,onUpdateDisclaimer:l()((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.deleteKey("core","shareapi_public_link_disclaimertext",n):window.OCP.AppConfig.setValue("core","shareapi_public_link_disclaimertext",t,n),this.settingsData.publicShareDisclaimerText=t}),500),onUpdateExcludeGroups:l()((function(t){window.OCP.AppConfig.setValue("core","excludeGroups",t),this.settings.excludeGroups=t}),500)}}),R=N;var I=e(95506),D={};D.styleTagTransform=A(),D.setAttributes=m(),D.insert=_().bind(null,"head"),D.domAPI=d(),D.insertStyleElement=b(),p()(I.A,D),I.A&&I.A.locals&&I.A.locals;const O=(0,C.A)(R,(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.enforceLinksPasswordExcludedGroupsEnabled?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.enforceLinksPasswordExcludedGroups,callback:function(n){t.$set(t.settings,"enforceLinksPasswordExcludedGroups",n)},expression:"settings.enforceLinksPasswordExcludedGroups"}})],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("label",[t._v(t._s(t.t("settings","Limit sharing based on groups")))]),t._v(" "),n("div",{staticClass:"sharing__sub-section"},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.excludeGroups,name:"excludeGroups",value:"no",type:"radio"},on:{"update:checked":[function(n){return t.$set(t.settings,"excludeGroups",n)},t.onUpdateExcludeGroups]}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Allow sharing for everyone (default)"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.excludeGroups,name:"excludeGroups",value:"yes",type:"radio"},on:{"update:checked":[function(n){return t.$set(t.settings,"excludeGroups",n)},t.onUpdateExcludeGroups]}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Exclude some groups from sharing"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.excludeGroups,name:"excludeGroups",value:"allow",type:"radio"},on:{"update:checked":[function(n){return t.$set(t.settings,"excludeGroups",n)},t.onUpdateExcludeGroups]}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Limit sharing to some groups"))+"\n\t\t\t")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:"no"!==t.settings.excludeGroups,expression:"settings.excludeGroups !== 'no'"}],staticClass:"sharing__labeled-entry sharing__input"},[n("NcSettingsSelectGroup",{staticStyle:{width:"100%"},attrs:{id:"settings-sharing-excluded-groups","aria-describedby":"settings-sharing-excluded-groups-desc",label:"allow"===t.settings.excludeGroups?t.t("settings","Groups allowed to share"):t.t("settings","Groups excluded from sharing"),disabled:"no"===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","Not allowed groups will still be able to receive shares, but not to initiate them.")))])],1)],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 internal 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 account name 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","Restrict account name autocompletion and system address book access to users within 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","Restrict account name 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(" "),t.publicShareDisclaimerEnabled?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,"72869ad4",null).exports,P=(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}}),j=(0,C.A)(P,(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(j)})},95506:(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-72869ad4]{display:flex;flex-direction:column;gap:12px}.sharing__labeled-entry[data-v-72869ad4]{display:flex;flex:1 0;flex-direction:column;gap:4px}.sharing__section[data-v-72869ad4]{display:flex;flex-direction:column;gap:4px;margin-block-end:12px}.sharing__sub-section[data-v-72869ad4]{display:flex;flex-direction:column;gap:4px;margin-inline-start:44px;margin-block-end:12px}.sharing__input[data-v-72869ad4]{max-width:500px;margin-inline-start:14px}.sharing__input[data-v-72869ad4] .v-select.select{width:100%}@media only screen and (max-width: 350px){.sharing__sub-section[data-v-72869ad4]{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",sourceRoot:""}]);const a=o},10844:(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-fa9fc04c] {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 4px;\n}\n","",{version:3,sources:["webpack://./apps/settings/src/components/SelectSharingPermissions.vue"],names:[],mappings:";AA6EA;CACA,aAAA;CACA,eAAA;CACA,QAAA;AACA",sourcesContent:["\x3c!--\n  - SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n  - SPDX-License-Identifier: AGPL-3.0-or-later\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]",C="[object RegExp]",E="[object Set]",N="[object String]",R="[object Symbol]",I="[object WeakMap]",D="[object ArrayBuffer]",O="[object DataView]",P="[object Float32Array]",j="[object Float64Array]",T="[object Int8Array]",L="[object Int16Array]",G="[object Int32Array]",U="[object Uint8Array]",M="[object Uint8ClampedArray]",$="[object Uint16Array]",z="[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,K=RegExp(q.source),X=RegExp(H.source),Z=/<%-([\s\S]+?)%>/g,V=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,Y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\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",Ct="\\ufe0e\\ufe0f",Et="\\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="["+Et+"]",It="["+xt+"]",Dt="\\d+",Ot="["+At+"]",Pt="["+St+"]",jt="[^"+bt+Et+Dt+At+St+kt+"]",Tt="\\ud83c[\\udffb-\\udfff]",Lt="[^"+bt+"]",Gt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ut="[\\ud800-\\udbff][\\udc00-\\udfff]",Mt="["+kt+"]",$t="\\u200d",zt="(?:"+Pt+"|"+jt+")",Bt="(?:"+Mt+"|"+jt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ft="(?:['’](?:D|LL|M|RE|S|T|VE))?",qt="(?:"+It+"|"+Tt+")?",Ht="["+Ct+"]?",Kt=Ht+qt+"(?:"+$t+"(?:"+[Lt,Gt,Ut].join("|")+")"+Ht+qt+")*",Xt="(?:"+[Ot,Gt,Ut].join("|")+")"+Kt,Zt="(?:"+[Lt+It+"?",It,Gt,Ut,Nt].join("|")+")",Vt=RegExp("['’]","g"),Qt=RegExp(It,"g"),Yt=RegExp(Tt+"(?="+Tt+")|"+Zt+Kt,"g"),Jt=RegExp([Mt+"?"+Pt+"+"+Wt+"(?="+[Rt,Mt,"$"].join("|")+")",Bt+"+"+Ft+"(?="+[Rt,Mt+zt,"$"].join("|")+")",Mt+"?"+zt+"+"+Wt,Mt+"+"+Ft,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dt,Xt].join("|"),"g"),tn=RegExp("["+$t+bt+xt+Ct+"]"),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[P]=un[j]=un[T]=un[L]=un[G]=un[U]=un[M]=un[$]=un[z]=!0,un[d]=un[v]=un[D]=un[_]=un[O]=un[y]=un[m]=un[w]=un[x]=un[A]=un[S]=un[C]=un[E]=un[N]=un[I]=!1;var on={};on[d]=on[v]=on[D]=on[O]=on[_]=on[y]=on[P]=on[j]=on[T]=on[L]=on[G]=on[x]=on[A]=on[S]=on[C]=on[E]=on[N]=on[R]=on[U]=on[M]=on[$]=on[z]=!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 Cn(t,n){for(var e=-1,r=null==t?0:t.length;++e<r&&!1!==n(t[e],e,t););return t}function En(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)&&$n(t,n,0)>-1}function Dn(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 On(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 Pn(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 Tn(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 Gn=Fn("length");function Un(t,n,e){var r;return e(t,(function(t,e,i){if(n(t,e,i))return r=e,!1})),r}function Mn(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 $n(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):Mn(t,Bn,e)}function zn(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?Kn(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 Kn(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 Xn(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 Vn(t){return function(n){return t(n)}}function Qn(t,n){return On(n,(function(n){return t[n]}))}function Yn(t,n){return t.has(n)}function Jn(t,n){for(var e=-1,r=t.length;++e<r&&$n(n,t[e],0)>-1;);return e}function te(t,n){for(var e=t.length;e--&&$n(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=Yt.lastIndex=0;Yt.test(t);)++n;return n}(t):Gn(t)}function fe(t){return ie(t)?function(t){return t.match(Yt)||[]}(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,Ct=n.String,Et=n.TypeError,Nt=r.prototype,Rt=xt.prototype,It=St.prototype,Dt=n["__core-js_shared__"],Ot=Rt.toString,Pt=It.hasOwnProperty,jt=0,Tt=(e=/[^.]+$/.exec(Dt&&Dt.keys&&Dt.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"",Lt=It.toString,Gt=Ot.call(St),Ut=hn._,Mt=kt("^"+Ot.call(Pt).replace(nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$t=dn?n.Buffer:i,zt=n.Symbol,Bt=n.Uint8Array,Wt=$t?$t.allocUnsafe:i,Ft=oe(St.getPrototypeOf,St),qt=St.create,Ht=It.propertyIsEnumerable,Kt=Nt.splice,Xt=zt?zt.isConcatSpreadable:i,Zt=zt?zt.iterator:i,Yt=zt?zt.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=$t?$t.isBuffer:i,Gn=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"),Ce=su(n,"WeakMap"),Ee=su(St,"create"),Ne=Ce&&new Ce,Re={},Ie=Lu(xe),De=Lu(Ae),Oe=Lu(Se),Pe=Lu(ke),je=Lu(Ce),Te=zt?zt.prototype:i,Le=Te?Te.valueOf:i,Ge=Te?Te.toString:i;function Ue(t){if(ta(t)&&!Wo(t)&&!(t instanceof Be)){if(t instanceof ze)return t;if(Pt.call(t,"__wrapped__"))return Gu(t)}return new ze(t)}var Me=function(){function t(){}return function(n){if(!Jo(n))return{};if(qt)return qt(n);t.prototype=n;var e=new t;return t.prototype=i,e}}();function $e(){}function ze(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 Ke(t){var n=this.__data__=new Fe(t);this.size=n.size}function Xe(t,n){var e=Wo(t),r=!e&&Bo(t),i=!e&&!r&&Ko(t),u=!e&&!r&&!i&&sa(t),o=e||r||i||u,a=o?Xn(t.length,Ct):[],s=a.length;for(var c in t)!n&&!Pt.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 Ve(t,n){return Du(Ci(t),ur(n,0,t.length))}function Qe(t){return Du(Ci(t))}function Ye(t,n,e){(e!==i&&!Mo(t[n],e)||e===i&&!(n in t))&&rr(t,n,e)}function Je(t,n,e){var r=t[n];Pt.call(t,n)&&Mo(r,e)&&(e!==i||n in t)||rr(t,n,e)}function tr(t,n){for(var e=t.length;e--;)if(Mo(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&&Ei(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(!Jo(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]&&Pt.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!s)return Ci(t,a)}else{var h=fu(t),p=h==w||h==b;if(Ko(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 Ei(t,lu(t),n)}(t,function(t,n){return t&&Ei(n,Da(n),t)}(a,t)):function(t,n){return Ei(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 D:return bi(t);case _:case y:return new i(+t);case O:return function(t,n){var e=n?bi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case P:case j:case T:case L:case G:case U:case M:case $:case z:return xi(t,e);case x:return new i;case A:case N:return new i(t);case C:return function(t){var n=new t.constructor(t.source,ht.exec(t));return n.lastIndex=t.lastIndex,n}(t);case E:return new i;case R:return r=t,Le?St(Le.call(r)):{}}}(t,h,s)}}o||(o=new Ke);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?Da:Ia)(t);return Cn(v||t,(function(r,i){v&&(r=t[i=r]),Je(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 Et(u);return Eu((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=On(n,Vn(e))),r?(u=Dn,o=!1):n.length>=200&&(u=Yn,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}Ue.templateSettings={escape:Z,evaluate:V,interpolate:Q,variable:"",imports:{_:Ue}},Ue.prototype=$e.prototype,Ue.prototype.constructor=Ue,ze.prototype=Me($e.prototype),ze.prototype.constructor=ze,Be.prototype=Me($e.prototype),Be.prototype.constructor=Be,We.prototype.clear=function(){this.__data__=Ee?Ee(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(Ee){var e=n[t];return e===o?i:e}return Pt.call(n,t)?n[t]:i},We.prototype.has=function(t){var n=this.__data__;return Ee?n[t]!==i:Pt.call(n,t)},We.prototype.set=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Ee&&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():Kt.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)},Ke.prototype.clear=function(){this.__data__=new Fe,this.size=0},Ke.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},Ke.prototype.get=function(t){return this.__data__.get(t)},Ke.prototype.has=function(t){return this.__data__.has(t)},Ke.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):Pn(i,a):r||(i[i.length]=a)}return i}var vr=Di(),_r=Di(!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 Vo(t[n])}))}function br(t,n){for(var e=0,r=(n=vi(n,t)).length;null!=t&&e<r;)t=t[Tu(n[e++])];return e&&e==r?t:i}function xr(t,n,e){var r=n(t);return Wo(t)?r:Pn(r,e(t))}function Ar(t){return null==t?t===i?"[object Undefined]":"[object Null]":Yt&&Yt in St(t)?function(t){var n=Pt.call(t,Yt),e=t[Yt];try{t[Yt]=i;var r=!0}catch(t){}var u=Lt.call(t);return r&&(n?t[Yt]=e:delete t[Yt]),u}(t):function(t){return Lt.call(t)}(t)}function Sr(t,n){return t>n}function kr(t,n){return null!=t&&Pt.call(t,n)}function Cr(t,n){return null!=t&&n in St(t)}function Er(t,n,e){for(var u=e?Dn: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=On(h,Vn(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?Yn(g,v):u(f,v,e))){for(s=a;--s;){var _=c[s];if(!(_?Yn(_,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[Tu(Xu(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&&Ko(t)){if(!Ko(n))return!1;a=!0,f=!1}if(p&&!f)return o||(o=new Ke),a||sa(t)?Yi(t,n,e,r,u,o):function(t,n,e,r,i,u,o){switch(e){case O:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case D:return!(t.byteLength!=n.byteLength||!u(new Bt(t),new Bt(n)));case _:case y:case A:return Mo(+t,+n);case m:return t.name==n.name&&t.message==n.message;case C:case N:return t==n+"";case x:var a=ue;case E: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=Yi(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&&Pt.call(t,"__wrapped__"),w=h&&Pt.call(n,"__wrapped__");if(g||w){var b=g?t.value():t,k=w?n.value():n;return o||(o=new Ke),u(b,k,e,r,o)}}return!!p&&(o||(o=new Ke),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:Pt.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 Dr(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 Ke;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 Or(t){return!(!Jo(t)||(n=t,Tt&&Tt in n))&&(Vo(t)?Mt:dt).test(Lu(t));var n}function Pr(t){return"function"==typeof t?t:null==t?es:"object"==typeof t?Wo(t)?Ur(t[0],t[1]):Gr(t):fs(t)}function jr(t){if(!wu(t))return de(t);var n=[];for(var e in St(t))Pt.call(t,e)&&"constructor"!=e&&n.push(e);return n}function Tr(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 Gr(t){var n=au(t);return 1==n.length&&n[0][2]?xu(n[0][0],n[0][1]):function(e){return e===t||Dr(e,t,n)}}function Ur(t,n){return _u(t)&&bu(n)?xu(Tu(t),n):function(e){var r=ka(e,t);return r===i&&r===n?Ca(e,t):Ir(n,r,3)}}function Mr(t,n,e,r,u){t!==n&&vr(n,(function(o,a){if(u||(u=new Ke),Jo(o))!function(t,n,e,r,u,o,a){var s=ku(t,e),c=ku(n,e),l=a.get(c);if(l)Ye(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&&Ko(c),d=!p&&!g&&sa(c);f=c,p||g||d?Wo(s)?f=s:Ho(s)?f=Ci(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):Jo(s)&&!Vo(s)||(f=pu(c))):h=!1}h&&(a.set(c,f),u(f,c,r,o,a),a.delete(c)),Ye(t,e,f)}}(t,n,a,e,Mr,r,u);else{var s=r?r(ku(t,a),o,a+"",t,n,u):i;s===i&&(s=o),Ye(t,a,s)}}),Da)}function $r(t,n){var e=t.length;if(e)return du(n+=n<0?e:0,e)?t[n]:i}function zr(t,n,e){n=n.length?On(n,(function(t){return Wo(t)?function(n){return br(n,1===t.length?t[0]:t)}:t})):[es];var r=-1;n=On(n,Vn(uu()));var i=Lr(t,(function(t,e,i){var u=On(n,(function(n){return n(t)}));return{criteria:u,index:++r,value:t}}));return function(t){var n=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)}));n--;)t[n]=t[n].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)&&Vr(u,vi(o,t),a)}return u}function Wr(t,n,e,r){var i=r?zn:$n,u=-1,o=n.length,a=t;for(t===n&&(n=Ci(n)),e&&(a=On(t,Vn(e)));++u<o;)for(var s=0,c=n[u],l=e?e(c):c;(s=i(a,l,s,r))>-1;)a!==t&&Kt.call(a,s,1),Kt.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)?Kt.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 Kr(t,n){return Nu(Au(t,n,es),t+"")}function Xr(t){return Ze(Ma(t))}function Zr(t,n){var e=Ma(t);return Du(e,ur(n,0,e.length))}function Vr(t,n,e,r){if(!Jo(t))return t;for(var u=-1,o=(n=vi(n,t)).length,a=o-1,s=t;null!=s&&++u<o;){var c=Tu(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=Jo(f)?f:du(n[u+1])?[]:{})}Je(s,c,l),s=s[c]}return t}var Qr=Ne?function(t,n){return Ne.set(t,n),t}:es,Yr=tn?function(t,n){return tn(t,"toString",{configurable:!0,enumerable:!1,value:Ja(n),writable:!0})}:es;function Jr(t){return Du(Ma(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||!Mo(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 On(t,oi)+"";if(aa(t))return Ge?Ge.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=Dn;else if(u>=200){var c=n?null:Hi(t);if(c)return se(c);o=!1,i=Yn,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[Tu(Xu(n))]}function ci(t,n,e,r){return Vr(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,Pn([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=Kr;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 Ci(t,n){var e=-1,i=t.length;for(n||(n=r(i));++e<i;)n[e]=t[e];return n}function Ei(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):Je(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 Kr((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 Di(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 Oi(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 Pi(t){return function(n){return jn(Va(Ba(n).replace(Vt,"")),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=Me(t.prototype),r=t.apply(e,n);return Jo(r)?r:e}}function Ti(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 Ji((function(n){var e=n.length,r=e,o=ze.prototype.thru;for(t&&n.reverse();r--;){var a=n[r];if("function"!=typeof a)throw new Et(u);if(o&&!s&&"wrapper"==ru(a))var s=new ze([],!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 Gi(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,Gi,c.placeholder,e,w,S,l,f,h-m)}var k=g?e:this,C=d?k[t]:t;return m=w.length,l?w=function(t,n){for(var e=t.length,r=_e(n.length,e),u=Ci(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&&(C=y||ji(C)),C.apply(k,w)}}function Ui(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 Mi(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 $i(t){return Ji((function(n){return n=On(n,Vn(uu())),Kr((function(e){var r=this;return t(n,(function(t){return Sn(t,r,e)}))}))}))}function zi(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)&&Cu(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))&&Gn(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 Ki(t){return function(n){var e=fu(n);return e==x?ue(n):e==E?ce(n):function(t,n){return On(n,(function(n){return[n,t[n]]}))}(n,t(n))}}function Xi(t,n,e,o,l,f,h,p){var g=2&n;if(!g&&"function"!=typeof t)throw new Et(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,Gi,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?Gi.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?Qr:Cu)(w,m),t,n)}function Zi(t,n,e,r){return t===i||Mo(t,It[e])&&!Pt.call(r,e)?n:t}function Vi(t,n,e,r,u,o){return Jo(t)&&Jo(n)&&(o.set(n,t),Mr(t,n,i,Vi,o),o.delete(n)),t}function Qi(t){return ra(t)?i:t}function Yi(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(!Yn(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 Ji(t){return Nu(Au(t,i,Wu),t+"")}function tu(t){return xr(t,Ia,cu)}function nu(t){return xr(t,Da,lu)}var eu=Ne?function(t){return Ne.get(t)}:as;function ru(t){for(var n=t.name+"",e=Re[n],r=Pt.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(Pt.call(Ue,"placeholder")?Ue:t).placeholder}function uu(){var t=Ue.iteratee||rs;return t=t===rs?Pr: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 Or(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;)Pn(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=Tu(n[r]);if(!(u=null!=t&&e(t,o)))break;t=t[o]}return u||++r!=i?u:!!(i=null==t?0:t.length)&&Yo(i)&&du(o,i)&&(Wo(t)||Bo(t))}function pu(t){return"function"!=typeof t.constructor||wu(t)?{}:Me(Ft(t))}function gu(t){return Wo(t)||Bo(t)||!!(Xt&&t&&t[Xt])}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(!Jo(e))return!1;var r=typeof n;return!!("number"==r?qo(e)&&du(n,e.length):"string"==r&&n in e)&&Mo(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))||J.test(t)||!Y.test(t)||null!=n&&t in St(n)}function yu(t){var n=ru(t),e=Ue[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)))!=O||Ae&&fu(new Ae)!=x||Se&&fu(Se.resolve())!=k||ke&&fu(new ke)!=E||Ce&&fu(new Ce)!=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 O;case De:return x;case Oe:return k;case Pe:return E;case je:return I}return n});var mu=Dt?Vo:ds;function wu(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||It)}function bu(t){return t==t&&!Jo(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 Cu=Iu(Qr),Eu=fn||function(t,n){return hn.setTimeout(t,n)},Nu=Iu(Yr);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 Cn(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 Du(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 Ou,Pu,ju=(Ou=Po((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===Pu.size&&Pu.clear(),t})),Pu=Ou.cache,Ou);function Tu(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 Ot.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Gu(t){if(t instanceof Be)return t.clone();var n=new ze(t.__wrapped__,t.__chain__);return n.__actions__=Ci(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}var Uu=Kr((function(t,n){return Ho(t)?cr(t,dr(n,1,Ho,!0)):[]})),Mu=Kr((function(t,n){var e=Xu(n);return Ho(e)&&(e=i),Ho(t)?cr(t,dr(n,1,Ho,!0),uu(e,2)):[]})),$u=Kr((function(t,n){var e=Xu(n);return Ho(e)&&(e=i),Ho(t)?cr(t,dr(n,1,Ho,!0),i,e):[]}));function zu(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)),Mn(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)),Mn(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=Kr((function(t){var n=On(t,gi);return n.length&&n[0]===t[0]?Er(n):[]})),Hu=Kr((function(t){var n=Xu(t),e=On(t,gi);return n===Xu(e)?n=i:e.pop(),e.length&&e[0]===t[0]?Er(e,uu(n,2)):[]})),Ku=Kr((function(t){var n=Xu(t),e=On(t,gi);return(n="function"==typeof n?n:i)&&e.pop(),e.length&&e[0]===t[0]?Er(e,i,n):[]}));function Xu(t){var n=null==t?0:t.length;return n?t[n-1]:i}var Zu=Kr(Vu);function Vu(t,n){return t&&t.length&&n&&n.length?Wr(t,n):t}var Qu=Ji((function(t,n){var e=null==t?0:t.length,r=ir(t,n);return Fr(t,On(n,(function(t){return du(t,e)?+t:t})).sort(Ai)),r}));function Yu(t){return null==t?t:be.call(t)}var Ju=Kr((function(t){return ai(dr(t,1,Ho,!0))})),to=Kr((function(t){var n=Xu(t);return Ho(n)&&(n=i),ai(dr(t,1,Ho,!0),uu(n,2))})),no=Kr((function(t){var n=Xu(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})),Xn(n,(function(n){return On(t,Fn(n))}))}function ro(t,n){if(!t||!t.length)return[];var e=eo(t);return null==n?e:On(e,(function(t){return Sn(n,i,t)}))}var io=Kr((function(t,n){return Ho(t)?cr(t,n):[]})),uo=Kr((function(t){return hi(Rn(t,Ho))})),oo=Kr((function(t){var n=Xu(t);return Ho(n)&&(n=i),hi(Rn(t,Ho),uu(n,2))})),ao=Kr((function(t){var n=Xu(t);return n="function"==typeof n?n:i,hi(Rn(t,Ho),i,n)})),so=Kr(eo),co=Kr((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=Ue(t);return n.__chain__=!0,n}function fo(t,n){return n(t)}var ho=Ji((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 ze(r,this.__chain__).thru((function(t){return n&&!t.length&&t.push(i),t}))):this.thru(u)})),po=Ni((function(t,n,e){Pt.call(t,e)?++t[e]:rr(t,e,1)})),go=Ti(zu),vo=Ti(Bu);function _o(t,n){return(Wo(t)?Cn:lr)(t,uu(n,3))}function yo(t,n){return(Wo(t)?En:fr)(t,uu(n,3))}var mo=Ni((function(t,n,e){Pt.call(t,e)?t[e].push(n):rr(t,e,[n])})),wo=Kr((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)?On:Lr)(t,uu(n,3))}var Ao=Ni((function(t,n,e){t[e?0:1].push(n)}),(function(){return[[],[]]})),So=Kr((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]]),zr(t,dr(n,1),[])})),ko=ln||function(){return hn.Date.now()};function Co(t,n,e){return n=e?i:n,n=t&&null==n?t.length:n,Xi(t,c,i,i,i,i,n)}function Eo(t,n){var e;if("function"!=typeof n)throw new Et(u);return t=pa(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=i),e}}var No=Kr((function(t,n,e){var r=1;if(e.length){var i=ae(e,iu(No));r|=s}return Xi(t,r,n,e,i)})),Ro=Kr((function(t,n,e){var r=3;if(e.length){var i=ae(e,iu(Ro));r|=s}return Xi(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 Et(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=Eu(_,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=Eu(_,n),h?d(t):s}(l);if(p)return mi(c),c=Eu(_,n),d(l)}return c===i&&(c=Eu(_,n)),s}return n=da(n)||0,Jo(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 Do=Kr((function(t,n){return sr(t,1,n)})),Oo=Kr((function(t,n,e){return sr(t,da(n)||0,e)}));function Po(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new Et(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(Po.Cache||qe),e}function jo(t){if("function"!=typeof t)throw new Et(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)}}Po.Cache=qe;var To=_i((function(t,n){var e=(n=1==n.length&&Wo(n[0])?On(n[0],Vn(uu())):On(dr(n,1),Vn(uu()))).length;return Kr((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=Kr((function(t,n){var e=ae(n,iu(Lo));return Xi(t,s,i,n,e)})),Go=Kr((function(t,n){var e=ae(n,iu(Go));return Xi(t,64,i,n,e)})),Uo=Ji((function(t,n){return Xi(t,256,i,i,i,n)}));function Mo(t,n){return t===n||t!=t&&n!=n}var $o=Wi(Sr),zo=Wi((function(t,n){return t>=n})),Bo=Rr(function(){return arguments}())?Rr:function(t){return ta(t)&&Pt.call(t,"callee")&&!Ht.call(t,"callee")},Wo=r.isArray,Fo=yn?Vn(yn):function(t){return ta(t)&&Ar(t)==D};function qo(t){return null!=t&&Yo(t.length)&&!Vo(t)}function Ho(t){return ta(t)&&qo(t)}var Ko=_n||ds,Xo=mn?Vn(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 Vo(t){if(!Jo(t))return!1;var n=Ar(t);return n==w||n==b||"[object AsyncFunction]"==n||"[object Proxy]"==n}function Qo(t){return"number"==typeof t&&t==pa(t)}function Yo(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=f}function Jo(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function ta(t){return null!=t&&"object"==typeof t}var na=wn?Vn(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=Pt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&Ot.call(e)==Gt}var ia=bn?Vn(bn):function(t){return ta(t)&&Ar(t)==C},ua=xn?Vn(xn):function(t){return ta(t)&&fu(t)==E};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?Vn(An):function(t){return ta(t)&&Yo(t.length)&&!!un[Ar(t)]},ca=Wi(Tr),la=Wi((function(t,n){return t<=n}));function fa(t){if(!t)return[];if(qo(t))return oa(t)?fe(t):Ci(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==E?se:Ma)(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(Jo(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=Jo(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 Ei(t,Da(t))}function _a(t){return null==t?"":oi(t)}var ya=Ri((function(t,n){if(wu(n)||qo(n))Ei(n,Ia(n),t);else for(var e in n)Pt.call(n,e)&&Je(t,e,n[e])})),ma=Ri((function(t,n){Ei(n,Da(n),t)})),wa=Ri((function(t,n,e,r){Ei(n,Da(n),t,r)})),ba=Ri((function(t,n,e,r){Ei(n,Ia(n),t,r)})),xa=Ji(ir),Aa=Kr((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=Da(o),s=-1,c=a.length;++s<c;){var l=a[s],f=t[l];(f===i||Mo(f,It[l])&&!Pt.call(t,l))&&(t[l]=o[l])}return t})),Sa=Kr((function(t){return t.push(i,Vi),Sn(Pa,i,t)}));function ka(t,n,e){var r=null==t?i:br(t,n);return r===i?e:r}function Ca(t,n){return null!=t&&hu(t,n,Cr)}var Ea=Ui((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=Lt.call(n)),t[n]=e}),Ja(es)),Na=Ui((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=Lt.call(n)),Pt.call(t,n)?t[n].push(e):t[n]=[e]}),uu),Ra=Kr(Nr);function Ia(t){return qo(t)?Xe(t):jr(t)}function Da(t){return qo(t)?Xe(t,!0):function(t){if(!Jo(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&&Pt.call(t,r))&&e.push(r);return e}(t)}var Oa=Ri((function(t,n,e){Mr(t,n,e)})),Pa=Ri((function(t,n,e,r){Mr(t,n,e,r)})),ja=Ji((function(t,n){var e={};if(null==t)return e;var r=!1;n=On(n,(function(n){return n=vi(n,t),r||(r=n.length>1),n})),Ei(t,nu(t),e),r&&(e=or(e,7,Qi));for(var i=n.length;i--;)si(e,n[i]);return e})),Ta=Ji((function(t,n){return null==t?{}:function(t,n){return Br(t,n,(function(n,e){return Ca(t,e)}))}(t,n)}));function La(t,n){if(null==t)return{};var e=On(nu(t),(function(t){return[t]}));return n=uu(n),Br(t,e,(function(t,e){return n(t,e[0])}))}var Ga=Ki(Ia),Ua=Ki(Da);function Ma(t){return null==t?[]:Qn(t,Ia(t))}var $a=Pi((function(t,n,e){return n=n.toLowerCase(),t+(e?za(n):n)}));function za(t){return Za(_a(t).toLowerCase())}function Ba(t){return(t=_a(t))&&t.replace(yt,ne).replace(Qt,"")}var Wa=Pi((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()})),Fa=Pi((function(t,n,e){return t+(e?" ":"")+n.toLowerCase()})),qa=Oi("toLowerCase"),Ha=Pi((function(t,n,e){return t+(e?"_":"")+n.toLowerCase()})),Ka=Pi((function(t,n,e){return t+(e?" ":"")+Za(n)})),Xa=Pi((function(t,n,e){return t+(e?" ":"")+n.toUpperCase()})),Za=Oi("toUpperCase");function Va(t,n,e){return t=_a(t),(n=e?i:n)===i?function(t){return nn.test(t)}(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.match(st)||[]}(t):t.match(n)||[]}var Qa=Kr((function(t,n){try{return Sn(t,i,n)}catch(t){return Zo(t)?t:new bt(t)}})),Ya=Ji((function(t,n){return Cn(n,(function(n){n=Tu(n),rr(t,n,No(t[n],t))})),t}));function Ja(t){return function(){return t}}var ts=Li(),ns=Li(!0);function es(t){return t}function rs(t){return Pr("function"==typeof t?t:or(t,1))}var is=Kr((function(t,n){return function(e){return Nr(e,t,n)}})),us=Kr((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||Jo(n)&&(i.length||!r.length)||(e=n,n=t,t=this,i=wr(n,Ia(n)));var u=!(Jo(e)&&"chain"in e&&!e.chain),o=Vo(t);return Cn(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__=Ci(this.__actions__)).push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,Pn([this.value()],arguments))})})),t}function as(){}var ss=$i(On),cs=$i(Nn),ls=$i(Ln);function fs(t){return _u(t)?Fn(Tu(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=Mi((function(t,n){return t+n}),0),ys=qi("ceil"),ms=Mi((function(t,n){return t/n}),1),ws=qi("floor"),bs=Mi((function(t,n){return t*n}),1),xs=qi("round"),As=Mi((function(t,n){return t-n}),0);return Ue.after=function(t,n){if("function"!=typeof n)throw new Et(u);return t=pa(t),function(){if(--t<1)return n.apply(this,arguments)}},Ue.ary=Co,Ue.assign=ya,Ue.assignIn=ma,Ue.assignInWith=wa,Ue.assignWith=ba,Ue.at=xa,Ue.before=Eo,Ue.bind=No,Ue.bindAll=Ya,Ue.bindKey=Ro,Ue.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Wo(t)?t:[t]},Ue.chain=lo,Ue.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},Ue.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},Ue.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 Pn(Wo(e)?Ci(e):[e],dr(n,1))},Ue.cond=function(t){var n=null==t?0:t.length,e=uu();return t=n?On(t,(function(t){if("function"!=typeof t[1])throw new Et(u);return[e(t[0]),t[1]]})):[],Kr((function(e){for(var r=-1;++r<n;){var i=t[r];if(Sn(i[0],this,e))return Sn(i[1],this,e)}}))},Ue.conforms=function(t){return function(t){var n=Ia(t);return function(e){return ar(e,t,n)}}(or(t,1))},Ue.constant=Ja,Ue.countBy=po,Ue.create=function(t,n){var e=Me(t);return null==n?e:er(e,n)},Ue.curry=function t(n,e,r){var u=Xi(n,8,i,i,i,i,i,e=r?i:e);return u.placeholder=t.placeholder,u},Ue.curryRight=function t(n,e,r){var u=Xi(n,16,i,i,i,i,i,e=r?i:e);return u.placeholder=t.placeholder,u},Ue.debounce=Io,Ue.defaults=Aa,Ue.defaultsDeep=Sa,Ue.defer=Do,Ue.delay=Oo,Ue.difference=Uu,Ue.differenceBy=Mu,Ue.differenceWith=$u,Ue.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):[]},Ue.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):[]},Ue.dropRightWhile=function(t,n){return t&&t.length?li(t,uu(n,3),!0,!0):[]},Ue.dropWhile=function(t,n){return t&&t.length?li(t,uu(n,3),!0):[]},Ue.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)):[]},Ue.filter=function(t,n){return(Wo(t)?Rn:gr)(t,uu(n,3))},Ue.flatMap=function(t,n){return dr(xo(t,n),1)},Ue.flatMapDeep=function(t,n){return dr(xo(t,n),l)},Ue.flatMapDepth=function(t,n,e){return e=e===i?1:pa(e),dr(xo(t,n),e)},Ue.flatten=Wu,Ue.flattenDeep=function(t){return null!=t&&t.length?dr(t,l):[]},Ue.flattenDepth=function(t,n){return null!=t&&t.length?dr(t,n=n===i?1:pa(n)):[]},Ue.flip=function(t){return Xi(t,512)},Ue.flow=ts,Ue.flowRight=ns,Ue.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},Ue.functions=function(t){return null==t?[]:wr(t,Ia(t))},Ue.functionsIn=function(t){return null==t?[]:wr(t,Da(t))},Ue.groupBy=mo,Ue.initial=function(t){return null!=t&&t.length?ti(t,0,-1):[]},Ue.intersection=qu,Ue.intersectionBy=Hu,Ue.intersectionWith=Ku,Ue.invert=Ea,Ue.invertBy=Na,Ue.invokeMap=wo,Ue.iteratee=rs,Ue.keyBy=bo,Ue.keys=Ia,Ue.keysIn=Da,Ue.map=xo,Ue.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},Ue.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},Ue.matches=function(t){return Gr(or(t,1))},Ue.matchesProperty=function(t,n){return Ur(t,or(n,1))},Ue.memoize=Po,Ue.merge=Oa,Ue.mergeWith=Pa,Ue.method=is,Ue.methodOf=us,Ue.mixin=os,Ue.negate=jo,Ue.nthArg=function(t){return t=pa(t),Kr((function(n){return $r(n,t)}))},Ue.omit=ja,Ue.omitBy=function(t,n){return La(t,jo(uu(n)))},Ue.once=function(t){return Eo(2,t)},Ue.orderBy=function(t,n,e,r){return null==t?[]:(Wo(n)||(n=null==n?[]:[n]),Wo(e=r?i:e)||(e=null==e?[]:[e]),zr(t,n,e))},Ue.over=ss,Ue.overArgs=To,Ue.overEvery=cs,Ue.overSome=ls,Ue.partial=Lo,Ue.partialRight=Go,Ue.partition=Ao,Ue.pick=Ta,Ue.pickBy=La,Ue.property=fs,Ue.propertyOf=function(t){return function(n){return null==t?i:br(t,n)}},Ue.pull=Zu,Ue.pullAll=Vu,Ue.pullAllBy=function(t,n,e){return t&&t.length&&n&&n.length?Wr(t,n,uu(e,2)):t},Ue.pullAllWith=function(t,n,e){return t&&t.length&&n&&n.length?Wr(t,n,i,e):t},Ue.pullAt=Qu,Ue.range=hs,Ue.rangeRight=ps,Ue.rearg=Uo,Ue.reject=function(t,n){return(Wo(t)?Rn:gr)(t,jo(uu(n,3)))},Ue.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},Ue.rest=function(t,n){if("function"!=typeof t)throw new Et(u);return Kr(t,n=n===i?n:pa(n))},Ue.reverse=Yu,Ue.sampleSize=function(t,n,e){return n=(e?vu(t,n,e):n===i)?1:pa(n),(Wo(t)?Ve:Zr)(t,n)},Ue.set=function(t,n,e){return null==t?t:Vr(t,n,e)},Ue.setWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:Vr(t,n,e,r)},Ue.shuffle=function(t){return(Wo(t)?Qe:Jr)(t)},Ue.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)):[]},Ue.sortBy=So,Ue.sortedUniq=function(t){return t&&t.length?ii(t):[]},Ue.sortedUniqBy=function(t,n){return t&&t.length?ii(t,uu(n,2)):[]},Ue.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):[]},Ue.spread=function(t,n){if("function"!=typeof t)throw new Et(u);return n=null==n?0:ve(pa(n),0),Kr((function(e){var r=e[n],i=yi(e,0,n);return r&&Pn(i,r),Sn(t,this,i)}))},Ue.tail=function(t){var n=null==t?0:t.length;return n?ti(t,1,n):[]},Ue.take=function(t,n,e){return t&&t.length?ti(t,0,(n=e||n===i?1:pa(n))<0?0:n):[]},Ue.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):[]},Ue.takeRightWhile=function(t,n){return t&&t.length?li(t,uu(n,3),!1,!0):[]},Ue.takeWhile=function(t,n){return t&&t.length?li(t,uu(n,3)):[]},Ue.tap=function(t,n){return n(t),t},Ue.throttle=function(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new Et(u);return Jo(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Io(t,n,{leading:r,maxWait:n,trailing:i})},Ue.thru=fo,Ue.toArray=fa,Ue.toPairs=Ga,Ue.toPairsIn=Ua,Ue.toPath=function(t){return Wo(t)?On(t,Tu):aa(t)?[t]:Ci(ju(_a(t)))},Ue.toPlainObject=va,Ue.transform=function(t,n,e){var r=Wo(t),i=r||Ko(t)||sa(t);if(n=uu(n,4),null==e){var u=t&&t.constructor;e=i?r?new u:[]:Jo(t)&&Vo(u)?Me(Ft(t)):{}}return(i?Cn:yr)(t,(function(t,r,i){return n(e,t,r,i)})),e},Ue.unary=function(t){return Co(t,1)},Ue.union=Ju,Ue.unionBy=to,Ue.unionWith=no,Ue.uniq=function(t){return t&&t.length?ai(t):[]},Ue.uniqBy=function(t,n){return t&&t.length?ai(t,uu(n,2)):[]},Ue.uniqWith=function(t,n){return n="function"==typeof n?n:i,t&&t.length?ai(t,i,n):[]},Ue.unset=function(t,n){return null==t||si(t,n)},Ue.unzip=eo,Ue.unzipWith=ro,Ue.update=function(t,n,e){return null==t?t:ci(t,n,di(e))},Ue.updateWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:ci(t,n,di(e),r)},Ue.values=Ma,Ue.valuesIn=function(t){return null==t?[]:Qn(t,Da(t))},Ue.without=io,Ue.words=Va,Ue.wrap=function(t,n){return Lo(di(n),t)},Ue.xor=uo,Ue.xorBy=oo,Ue.xorWith=ao,Ue.zip=so,Ue.zipObject=function(t,n){return pi(t||[],n||[],Je)},Ue.zipObjectDeep=function(t,n){return pi(t||[],n||[],Vr)},Ue.zipWith=co,Ue.entries=Ga,Ue.entriesIn=Ua,Ue.extend=ma,Ue.extendWith=wa,os(Ue,Ue),Ue.add=_s,Ue.attempt=Qa,Ue.camelCase=$a,Ue.capitalize=za,Ue.ceil=ys,Ue.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)},Ue.clone=function(t){return or(t,4)},Ue.cloneDeep=function(t){return or(t,5)},Ue.cloneDeepWith=function(t,n){return or(t,5,n="function"==typeof n?n:i)},Ue.cloneWith=function(t,n){return or(t,4,n="function"==typeof n?n:i)},Ue.conformsTo=function(t,n){return null==n||ar(t,n,Ia(n))},Ue.deburr=Ba,Ue.defaultTo=function(t,n){return null==t||t!=t?n:t},Ue.divide=ms,Ue.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},Ue.eq=Mo,Ue.escape=function(t){return(t=_a(t))&&X.test(t)?t.replace(H,ee):t},Ue.escapeRegExp=function(t){return(t=_a(t))&&et.test(t)?t.replace(nt,"\\$&"):t},Ue.every=function(t,n,e){var r=Wo(t)?Nn:hr;return e&&vu(t,n,e)&&(n=i),r(t,uu(n,3))},Ue.find=go,Ue.findIndex=zu,Ue.findKey=function(t,n){return Un(t,uu(n,3),yr)},Ue.findLast=vo,Ue.findLastIndex=Bu,Ue.findLastKey=function(t,n){return Un(t,uu(n,3),mr)},Ue.floor=ws,Ue.forEach=_o,Ue.forEachRight=yo,Ue.forIn=function(t,n){return null==t?t:vr(t,uu(n,3),Da)},Ue.forInRight=function(t,n){return null==t?t:_r(t,uu(n,3),Da)},Ue.forOwn=function(t,n){return t&&yr(t,uu(n,3))},Ue.forOwnRight=function(t,n){return t&&mr(t,uu(n,3))},Ue.get=ka,Ue.gt=$o,Ue.gte=zo,Ue.has=function(t,n){return null!=t&&hu(t,n,kr)},Ue.hasIn=Ca,Ue.head=Fu,Ue.identity=es,Ue.includes=function(t,n,e,r){t=qo(t)?t:Ma(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&&$n(t,n,e)>-1},Ue.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)),$n(t,n,i)},Ue.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)},Ue.invoke=Ra,Ue.isArguments=Bo,Ue.isArray=Wo,Ue.isArrayBuffer=Fo,Ue.isArrayLike=qo,Ue.isArrayLikeObject=Ho,Ue.isBoolean=function(t){return!0===t||!1===t||ta(t)&&Ar(t)==_},Ue.isBuffer=Ko,Ue.isDate=Xo,Ue.isElement=function(t){return ta(t)&&1===t.nodeType&&!ra(t)},Ue.isEmpty=function(t){if(null==t)return!0;if(qo(t)&&(Wo(t)||"string"==typeof t||"function"==typeof t.splice||Ko(t)||sa(t)||Bo(t)))return!t.length;var n=fu(t);if(n==x||n==E)return!t.size;if(wu(t))return!jr(t).length;for(var e in t)if(Pt.call(t,e))return!1;return!0},Ue.isEqual=function(t,n){return Ir(t,n)},Ue.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},Ue.isError=Zo,Ue.isFinite=function(t){return"number"==typeof t&&Gn(t)},Ue.isFunction=Vo,Ue.isInteger=Qo,Ue.isLength=Yo,Ue.isMap=na,Ue.isMatch=function(t,n){return t===n||Dr(t,n,au(n))},Ue.isMatchWith=function(t,n,e){return e="function"==typeof e?e:i,Dr(t,n,au(n),e)},Ue.isNaN=function(t){return ea(t)&&t!=+t},Ue.isNative=function(t){if(mu(t))throw new bt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Or(t)},Ue.isNil=function(t){return null==t},Ue.isNull=function(t){return null===t},Ue.isNumber=ea,Ue.isObject=Jo,Ue.isObjectLike=ta,Ue.isPlainObject=ra,Ue.isRegExp=ia,Ue.isSafeInteger=function(t){return Qo(t)&&t>=-9007199254740991&&t<=f},Ue.isSet=ua,Ue.isString=oa,Ue.isSymbol=aa,Ue.isTypedArray=sa,Ue.isUndefined=function(t){return t===i},Ue.isWeakMap=function(t){return ta(t)&&fu(t)==I},Ue.isWeakSet=function(t){return ta(t)&&"[object WeakSet]"==Ar(t)},Ue.join=function(t,n){return null==t?"":qn.call(t,n)},Ue.kebabCase=Wa,Ue.last=Xu,Ue.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):Mn(t,Bn,u,!0)},Ue.lowerCase=Fa,Ue.lowerFirst=qa,Ue.lt=ca,Ue.lte=la,Ue.max=function(t){return t&&t.length?pr(t,es,Sr):i},Ue.maxBy=function(t,n){return t&&t.length?pr(t,uu(n,2),Sr):i},Ue.mean=function(t){return Wn(t,es)},Ue.meanBy=function(t,n){return Wn(t,uu(n,2))},Ue.min=function(t){return t&&t.length?pr(t,es,Tr):i},Ue.minBy=function(t,n){return t&&t.length?pr(t,uu(n,2),Tr):i},Ue.stubArray=gs,Ue.stubFalse=ds,Ue.stubObject=function(){return{}},Ue.stubString=function(){return""},Ue.stubTrue=function(){return!0},Ue.multiply=bs,Ue.nth=function(t,n){return t&&t.length?$r(t,pa(n)):i},Ue.noConflict=function(){return hn._===this&&(hn._=Ut),this},Ue.noop=as,Ue.now=ko,Ue.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 zi(gn(i),e)+t+zi(pn(i),e)},Ue.padEnd=function(t,n,e){t=_a(t);var r=(n=pa(n))?le(t):0;return n&&r<n?t+zi(n-r,e):t},Ue.padStart=function(t,n,e){t=_a(t);var r=(n=pa(n))?le(t):0;return n&&r<n?zi(n-r,e)+t:t},Ue.parseInt=function(t,n,e){return e||null==n?n=0:n&&(n=+n),me(_a(t).replace(rt,""),n||0)},Ue.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)},Ue.reduce=function(t,n,e){var r=Wo(t)?jn:Hn,i=arguments.length<3;return r(t,uu(n,4),e,i,lr)},Ue.reduceRight=function(t,n,e){var r=Wo(t)?Tn:Hn,i=arguments.length<3;return r(t,uu(n,4),e,i,fr)},Ue.repeat=function(t,n,e){return n=(e?vu(t,n,e):n===i)?1:pa(n),Hr(_a(t),n)},Ue.replace=function(){var t=arguments,n=_a(t[0]);return t.length<3?n:n.replace(t[1],t[2])},Ue.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[Tu(n[r])];o===i&&(r=u,o=e),t=Vo(o)?o.call(t):o}return t},Ue.round=xs,Ue.runInContext=t,Ue.sample=function(t){return(Wo(t)?Ze:Xr)(t)},Ue.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==E?t.size:jr(t).length},Ue.snakeCase=Ha,Ue.some=function(t,n,e){var r=Wo(t)?Ln:ni;return e&&vu(t,n,e)&&(n=i),r(t,uu(n,3))},Ue.sortedIndex=function(t,n){return ei(t,n)},Ue.sortedIndexBy=function(t,n,e){return ri(t,n,uu(e,2))},Ue.sortedIndexOf=function(t,n){var e=null==t?0:t.length;if(e){var r=ei(t,n);if(r<e&&Mo(t[r],n))return r}return-1},Ue.sortedLastIndex=function(t,n){return ei(t,n,!0)},Ue.sortedLastIndexBy=function(t,n,e){return ri(t,n,uu(e,2),!0)},Ue.sortedLastIndexOf=function(t,n){if(null!=t&&t.length){var e=ei(t,n,!0)-1;if(Mo(t[e],n))return e}return-1},Ue.startCase=Ka,Ue.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},Ue.subtract=As,Ue.sum=function(t){return t&&t.length?Kn(t,es):0},Ue.sumBy=function(t,n){return t&&t.length?Kn(t,uu(n,2)):0},Ue.template=function(t,n,e){var r=Ue.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=Qn(a,s),l=0,f=n.interpolate||mt,h="__p += '",p=kt((n.escape||mt).source+"|"+f.source+"|"+(f===Q?ft:mt).source+"|"+(n.evaluate||mt).source+"|$","g"),g="//# sourceURL="+(Pt.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=Pt.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=Qa((function(){return xt(s,g+"return "+h).apply(i,c)}));if(v.source=h,Zo(v))throw v;return v},Ue.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=Xn(r,n);++e<t;)n(e);return i},Ue.toFinite=ha,Ue.toInteger=pa,Ue.toLength=ga,Ue.toLower=function(t){return _a(t).toLowerCase()},Ue.toNumber=da,Ue.toSafeInteger=function(t){return t?ur(pa(t),-9007199254740991,f):0===t?t:0},Ue.toString=_a,Ue.toUpper=function(t){return _a(t).toUpperCase()},Ue.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,Jn(r,u),te(r,u)+1).join("")},Ue.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("")},Ue.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,Jn(r,fe(n))).join("")},Ue.truncate=function(t,n){var e=30,r="...";if(Jo(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},Ue.unescape=function(t){return(t=_a(t))&&K.test(t)?t.replace(q,pe):t},Ue.uniqueId=function(t){var n=++jt;return _a(t)+n},Ue.upperCase=Xa,Ue.upperFirst=Za,Ue.each=_o,Ue.eachRight=yo,Ue.first=Fu,os(Ue,(vs={},yr(Ue,(function(t,n){Pt.call(Ue.prototype,n)||(vs[n]=t)})),vs),{chain:!1}),Ue.VERSION="4.17.21",Cn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Ue[t].placeholder=Ue})),Cn(["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()}})),Cn(["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}})),Cn(["head","last"],(function(t,n){var e="take"+(n?"Right":"");Be.prototype[t]=function(){return this[e](1).value()[0]}})),Cn(["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=Kr((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=Ue[r?"take"+("last"==n?"Right":""):n],o=r||/^find/.test(n);u&&(Ue.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(Ue,Pn([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 ze(v,h)}return g&&d?t.apply(this,a):(v=this.thru(f),g?r?v.value()[0]:v.value():v)})})),Cn(["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);Ue.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=Ue[n];if(e){var r=e.name+"";Pt.call(Re,r)||(Re[r]=[]),Re[r].push({name:n,func:e})}})),Re[Gi(i,2).name]=[{name:"wrapper",func:i}],Be.prototype.clone=function(){var t=new Be(this.__wrapped__);return t.__actions__=Ci(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ci(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ci(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},Ue.prototype.at=ho,Ue.prototype.chain=function(){return lo(this)},Ue.prototype.commit=function(){return new ze(this.value(),this.__chain__)},Ue.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__++]}},Ue.prototype.plant=function(t){for(var n,e=this;e instanceof $e;){var r=Gu(e);r.__index__=0,r.__values__=i,n?u.__wrapped__=r:n=r;var u=r;e=e.__wrapped__}return u.__wrapped__=t,n},Ue.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:[Yu],thisArg:i}),new ze(n,this.__chain__)}return this.thru(Yu)},Ue.prototype.toJSON=Ue.prototype.valueOf=Ue.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},Ue.prototype.first=Ue.prototype.head,Zt&&(Ue.prototype[Zt]=function(){return this}),Ue}();hn._=ge,(r=function(){return ge}.call(n,e,n,t))===i||(t.exports=r)}.call(this)},27518:t=>{"use strict";t.exports="data:image/svg+xml,%3c%21--%20-%20SPDX-FileCopyrightText:%202020%20Google%20Inc.%20-%20SPDX-License-Identifier:%20Apache-2.0%20--%3e%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"},27514:t=>{"use strict";t.exports="data:image/svg+xml,%3c%21--%20-%20SPDX-FileCopyrightText:%202020%20Google%20Inc.%20-%20SPDX-License-Identifier:%20Apache-2.0%20--%3e%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"},79722:t=>{"use strict";t.exports="data:image/svg+xml,%3c%21--%20-%20SPDX-FileCopyrightText:%202020%20Google%20Inc.%20-%20SPDX-License-Identifier:%20Apache-2.0%20--%3e%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"},86886:t=>{"use strict";t.exports="data:image/svg+xml,%3c%21--%20-%20SPDX-FileCopyrightText:%202020%20Google%20Inc.%20-%20SPDX-License-Identifier:%20Apache-2.0%20--%3e%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:()=>L.N,Az:()=>a.N,B6:()=>f.N,C7:()=>bt.N,EQ:()=>dt.N,K1:()=>nt.N,Qz:()=>j.N,R1:()=>P.N,gb:()=>xt.N,i$:()=>H.N,lT:()=>W.N,mQ:()=>at.A,rE:()=>wt.N,v:()=>vt.N,x1:()=>T.A,yI:()=>V.A}),e(12535);var r=e(18503),i=e(94847),u=e(75625),o=e(14681),a=e(10435),s=e(69321),c=e(30339),l=e(573),f=e(32619),h=e(15502),p=e(73010),g=e(276),d=e(97839),v=e(47611),_=e(10363),y=e(3167),m=e(89332),w=e(25535),b=e(48637),x=e(27345),A=e(41907),S=e(2216),k=e(42115),C=e(90650),E=e(542),N=e(44346),R=e(14727),I=e(54859),D=e(18608),O=e(26359),P=e(65714),j=e(93191),T=e(70995),L=e(34065),G=e(72350),U=e(86297),M=e(41264),$=e(29302),z=e(75929),B=e(75334),W=e(95291),F=e(8216),q=e(15828),H=e(78349),K=e(24801),X=e(25521),Z=e(59045),V=e(28326),Q=e(94427),Y=e(85087),J=e(65027),tt=e(26517),nt=e(14490),et=e(87146),rt=e(6880),it=e(13100),ut=e(59892),ot=e(46015),at=e(40083),st=e(3942),ct=e(8385),lt=e(74484),ft=e(39822),ht=e(23982),pt=e(27207),gt=e(41946),dt=(e(73933),e(43562),e(65043),e(21777),e(71144)),vt=e(22297),_t=(e(61338),e(94632)),yt=e(67422),mt=e(79587),wt=e(39899),bt=e(64202),xt=e(20863),At=e(27157),St=e(51437),kt=e(39853),Ct=e(23610),Et=(e(23020),e(53429),e(94205),e(95462),e(16343),e(29928),e(99646),e(42892)),Nt=e(65842),Rt=(e(94849),e(75105),e(92471),e(16406),e(2508));r.A,i.N,u.A,o.N,a.N,s.A,c.N,l.A,h.A,p.A,g.N,f.N,d.N,v.A,_.A,y.N,m.N,w.A,b.N,x.A,A.A,S.N,k.N,C.N,E.A,N.N,R.A,I.N,D.A,pt.N,O.N,P.N,j.N,T.A,L.N,G.N,U.N,M.N,$.N,z.N,B.N,W.N,F.A,q.A,H.N,K.N,X.A,Z.N,V.A,Q.A,Y.A,J.N,tt.N,nt.N,et.N,rt.N,it.N,ut.A,ht.N,ot.A,at.A,st.N,ct.N,lt.N,ft.N,pt.a,gt.N,_t.N,dt.N,yt.N,mt.N,wt.N,bt.N,xt.N,vt.N,At.N,St.N,kt.N,Ct.A,Symbol.toStringTag,Et.u,Nt.u,Rt.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="+{5706:"3153330af47fc26a725a",6127:"da37b69cd9ee64a1836b"}[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&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(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(16096)));o=u.O(o)})();
//# sourceMappingURL=settings-vue-settings-admin-sharing.js.map?v=ca4f8ba83b6dad9d67c9