{"version":3,"file":"site-js-entrypoint-DmU_eoBX.js","sources":["../../../app/javascript/src/team-tailor.js","../../../app/javascript/controllers/site/banner_controller.js","../../../app/javascript/controllers/site/overview_section_controller.js","../../../app/javascript/src/vue-site/AboutPage.vue","../../../app/javascript/src/vue-site/AwardCard.vue","../../../app/javascript/src/vue-site/BookAppointment.vue","../../../app/javascript/src/vue-site/BottomCta.vue","../../../app/javascript/src/vue-site/BottomCtaCampaign.vue","../../../app/javascript/src/vue-site/BudgetItem.vue","../../../app/javascript/src/vue-site/BudgetItemCount.vue","../../../app/javascript/src/vue-site/CampaignCard.vue","../../../app/javascript/src/vue-site/CampaignCardSmall.vue","../../../app/javascript/src/vue-site/CampaignMessage.vue","../../../app/javascript/src/vue-site/CampaignMessages.vue","../../../app/javascript/src/vue-site/CampaignMore.vue","../../../app/javascript/src/vue-site/CampaignNumbers.vue","../../../node_modules/lodash.throttle/index.js","../../../app/javascript/src/vue-site/CampaignPage.vue","../../../app/javascript/src/vue-site/CampaignStory.vue","../../../app/javascript/src/vue-site/CampaignSuccessBoxes.vue","../../../app/javascript/src/vue-site/CampaignsPage.vue","../../../app/javascript/src/vue-site/CampaignsSplitDonation.vue","../../../app/javascript/src/vue-site/Card.vue","../../../app/javascript/src/vue-site/CardCarousel.vue","../../../app/javascript/src/vue-site/mixins/TeamTailorMixin.js","../../../app/javascript/src/vue-site/CareerPositions.vue","../../../app/javascript/src/vue-site/CareersPage.vue","../../../app/javascript/src/vue-site/CareersTestimonial.vue","../../../app/javascript/src/vue-site/CaseworkerGreeting.vue","../../../app/javascript/src/vue-site/ChangemakersPage.vue","../../../app/javascript/src/vue-site/CheckBox.vue","../../../app/javascript/src/vue-site/CompanyImpactPage.vue","../../../app/javascript/src/vue-site/ContactPage.vue","../../../app/javascript/src/vue-site/ContactSection.vue","../../../app/javascript/src/vue-site/CookieConsent.vue","../../../node_modules/clipboard/dist/clipboard.js","../../../app/javascript/src/vue-site/CopyButton.vue","../../../app/javascript/src/vue-site/CopyText.vue","../../../app/javascript/src/vue-site/DatePicker.vue","../../../app/javascript/src/vue-site/DesktopNav.vue","../../../app/javascript/src/vue-site/EmailCaptureForm.vue","../../../app/javascript/src/vue-site/EmojiAvatarBlock.vue","../../../app/javascript/src/vue-site/EmojiBlock.vue","../../../app/javascript/src/vue-site/FacebookIcon.vue","../../../app/javascript/src/vue-site/FancyLink.vue","../../../app/javascript/src/vue-site/FaqQuestion.vue","../../../app/javascript/src/vue-site/FaqSection.vue","../../../app/javascript/src/vue-site/FlashAlert.vue","../../../app/javascript/src/vue-site/ForHomelessPeople.vue","../../../app/javascript/src/vue-site/ForPrisonLeavers.vue","../../../app/javascript/src/vue-site/ForRefugees.vue","../../../app/javascript/src/vue-site/ForUnemployed.vue","../../../app/javascript/src/vue-site/FundraiserCard.vue","../../../app/javascript/src/vue-site/FundraiserImpact.vue","../../../app/javascript/src/vue-site/FundraiserPage.vue","../../../app/javascript/src/vue-site/FundraisersIndex.vue","../../../app/javascript/src/vue-site/FundraisersPage.vue","../../../app/javascript/src/vue-site/GalleryContinuous.vue","../../../app/javascript/src/vue-site/GalleryThumb.vue","../../../app/javascript/src/vue-site/GiftRedemptionPage.vue","../../../app/javascript/src/vue-site/HowItWorksItem.vue","../../../app/javascript/src/vue-site/HowItWorksStep.vue","../../../app/javascript/src/vue-site/ImpactAvatar.vue","../../../app/javascript/src/vue-site/ImpactCampaigns.vue","../../../app/javascript/src/vue-site/ImpactPage.vue","../../../app/javascript/src/vue-site/InstagramIcon.vue","../../../app/javascript/src/vue-site/JoinHomesPage.vue","../../../app/javascript/src/vue-site/JoinPage.vue","../../../app/javascript/src/vue-site/LandingBottomSection.vue","../../../app/javascript/src/vue-site/LandingHeader.vue","../../../app/javascript/src/vue-site/LandingHowItWorks.vue","../../../app/javascript/src/vue-site/LandingLeftText.vue","../../../app/javascript/src/vue-site/LandingQuote.vue","../../../app/javascript/src/vue-site/LandingQuotesSection.vue","../../../app/javascript/src/vue-site/LandingTestimonials.vue","../../../app/javascript/src/vue-site/LinkedinIcon.vue","../../../app/javascript/src/vue-site/LogoBar.vue","../../../app/javascript/src/vue-site/MediaPage.vue","../../../app/javascript/src/vue-site/MemberFacingAction.vue","../../../node_modules/vue-confetti-explosion/dist/confetti-explosion.esm.js","../../../app/javascript/src/vue-site/MemberFacingActions.vue","../../../app/javascript/src/vue-site/MemberGrid.vue","../../../app/javascript/src/vue-site/MemberGroupsCouncils.vue","../../../app/javascript/src/vue-site/MemberHubNotifications.vue","../../../app/javascript/src/vue-site/MemberHubPage.vue","../../../app/javascript/src/vue-site/MemberJobApplicationRow.vue","../../../app/javascript/src/vue-site/MemberJobApplications.vue","../../../app/javascript/src/vue-site/MemberMeeting.vue","../../../app/javascript/src/vue-site/MemberNewsItem.vue","../../../app/javascript/src/vue-site/MemberTabs.vue","../../../app/javascript/src/vue-site/MobileMenu.vue","../../../app/javascript/src/vue-site/MobileMenuItem.vue","../../../app/javascript/src/vue-site/MobileNav.vue","../../../app/javascript/src/vue-site/NavBanner.vue","../../../app/javascript/src/vue-site/NavigationMenu.vue","../../../app/javascript/src/vue-site/NewsCard.vue","../../../app/javascript/src/vue-site/mixins/LocalStorageMixin.js","../../../app/javascript/src/vue-site/NewsNotice.vue","../../../app/javascript/src/vue-site/NewsPage.vue","../../../app/javascript/src/vue-site/PeopleWeSupportItem.vue","../../../app/javascript/src/vue-common/mixins/VideoMixin.js","../../../app/javascript/src/vue-site/PlayButton.vue","../../../app/javascript/src/vue-site/PlayLink.vue","../../../app/javascript/src/vue-site/PlayThumbnail.vue","../../../app/javascript/src/vue-site/PostUpdate.vue","../../../app/javascript/src/vue-site/PressQuotes.vue","../../../app/javascript/src/vue-site/ProgressBar.vue","../../../app/javascript/src/vue-site/QuoteIcon.vue","../../../app/javascript/src/vue-site/RatingQuote.vue","../../../app/javascript/src/vue-site/ReferPage.vue","../../../app/javascript/src/vue-site/mixins/FacebookMixin.js","../../../app/javascript/src/vue-site/SignInForm.vue","../../../app/javascript/src/vue-site/SlideBanner.vue","../../../app/javascript/src/vue-site/SmallSuccessBox.vue","../../../app/javascript/src/vue-site/SpinnerIcon.vue","../../../app/javascript/src/vue-site/StoriesCampaignThumb.vue","../../../app/javascript/src/vue-site/StoriesPage.vue","../../../app/javascript/src/vue-site/StripeCardElement.vue","../../../app/javascript/src/vue-site/StripePaymentRequest.vue","../../../app/javascript/src/vue-site/SuccessStory.vue","../../../app/javascript/src/vue-site/SupportIcon.vue","../../../app/javascript/src/vue-site/SupporterMessage.vue","../../../app/javascript/src/vue-site/TallyTable.vue","../../../app/javascript/src/vue-site/Testimonial.vue","../../../app/javascript/src/vue-site/ThankButton.vue","../../../app/javascript/src/vue-site/ThankYouPage.vue","../../../app/javascript/src/vue-site/TwitterIcon.vue","../../../app/javascript/src/vue-site/UpdateComment.vue","../../../app/javascript/src/vue-site/UpdateLikeShare.vue","../../../node_modules/dompurify/dist/purify.es.mjs","../../../app/javascript/src/vue-site/UpdateSingle.vue","../../../app/javascript/src/vue-site/UpdatesList.vue","../../../app/javascript/src/vue-site/VideoWithImage.vue","../../../app/javascript/src/vue-site/WhatsAppMe.vue","../../../app/javascript/src/vue-site/WhatsappIcon.vue","../../../app/javascript/src/vue-site/YoutubeIcon.vue","../../../app/javascript/src/vue-site/account/AccountDonationHistory.vue","../../../app/javascript/src/vue-site/account/AccountEmailSetting.vue","../../../app/javascript/src/vue-site/account/AccountGiftAid.vue","../../../app/javascript/src/vue-site/checkout/CheckoutAmountsMixin.js","../../../app/javascript/src/vue-site/account/AccountMonthlyDonation.vue","../../../app/javascript/src/vue-site/account/AccountPage.vue","../../../app/javascript/src/stripe.js","../../../app/javascript/src/vue-site/account/AccountPaymentDetails.vue","../../../app/javascript/src/vue-site/account/AccountProfile.vue","../../../app/javascript/src/vue-site/account/AccountSection.vue","../../../app/javascript/src/vue-site/member-forms/MemberFormShared.js","../../../app/javascript/src/vue-site/budget-calculator/MoneyComingInForm.vue","../../../app/javascript/src/vue-site/member-forms/NoConditions.js","../../../app/javascript/src/vue-site/budget-calculator/MoneyGoingOutForm.vue","../../../app/javascript/src/vue-site/budget-calculator/WarningPanel.vue","../../../app/javascript/src/vue-site/budget-calculator/YourNeedsForm.vue","../../../app/javascript/src/vue-site/checkout/CheckoutAmounts.vue","../../../app/javascript/src/vue-site/checkout/CheckoutButton.vue","../../../app/javascript/src/vue-site/checkout/ValidationsMixin.js","../../../app/javascript/src/vue-site/checkout/PaymentRequestMixin.js","../../../app/javascript/src/vue-site/checkout/CheckoutMixin.js","../../../app/javascript/src/vue-site/checkout/CheckoutForm.vue","../../../app/javascript/src/vue-site/checkout/CheckoutHelp.vue","../../../app/javascript/src/vue-site/checkout/CheckoutSavedCard.vue","../../../node_modules/ideal-postcodes-core/dist/ideal-postcodes-core.min.js","../../../app/javascript/src/vue-site/checkout/GiftAid.vue","../../../app/javascript/src/vue-site/checkout/GiftCheckoutForm.vue","../../../app/javascript/src/vue-site/checkout/TipAmountOption.vue","../../../app/javascript/src/vue-site/companies/CampaignCommentCard.vue","../../../app/javascript/src/vue-site/companies/CampaignSupportSliderPanel.vue","../../../app/javascript/src/vue-site/companies/CompaniesPageCarousel.vue","../../../app/javascript/src/vue-site/companies/CompanyBadgesAndChangemakers.vue","../../../app/javascript/src/vue-site/companies/CompanyCampaignFeed.vue","../../../app/javascript/src/vue-site/companies/CompanyCampaigns.vue","../../../app/javascript/src/vue-site/companies/CompanyChampion.vue","../../../app/javascript/src/vue-site/companies/CompanyEmployeeOnboarding.vue","../../../app/javascript/src/vue-site/companies/CompanyFormField.vue","../../../app/javascript/src/vue-site/companies/CompanyImpactNumberPanel.vue","../../../app/javascript/src/vue-site/companies/CompanyPage.vue","../../../app/javascript/src/vue-site/companies/CompanyPageImpact.vue","../../../app/javascript/src/vue-site/companies/CompanyPageLeaderboard.vue","../../../app/javascript/src/vue-site/companies/DragAndDropImageUpload.vue","../../../app/javascript/src/vue-site/companies/NewCompanyPage.vue","../../../app/javascript/src/vue-site/companies/OnboardingAvatar.vue","../../../app/javascript/src/vue-site/companies/OnboardingExplainer.vue","../../../app/javascript/src/vue-site/companies/OnboardingFirstMessage.vue","../../../app/javascript/src/vue-site/member-forms/AlreadySignedUpBanner.vue","../../../app/javascript/src/vue-site/member-forms/BrowserNotSupportedBanner.vue","../../../app/javascript/src/vue-site/member-forms/CaseNoteSectionIntro.vue","../../../app/javascript/src/vue-site/member-forms/InfoBanner.vue","../../../app/javascript/src/vue-site/member-forms/LabelledOutcomeImage.vue","../../../app/javascript/src/vue-site/member-forms/MemberEligibilityConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberEligibilityForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberEmploymentFutureConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberEmploymentFutureForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberFormBillField.vue","../../../app/javascript/src/vue-site/member-forms/MemberFormErrors.vue","../../../app/javascript/src/vue-site/member-forms/MemberFormField.vue","../../../app/javascript/src/vue-site/member-forms/MemberFormLabel.vue","../../../app/javascript/src/vue-site/member-forms/MemberFormSection.vue","../../../app/javascript/src/vue-site/member-forms/MemberFormStep.vue","../../../app/javascript/src/vue-site/member-forms/MemberHousingInfoConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberHousingInfoForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberJobApplicationFormConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberJobApplicationForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberLeaverConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberLeaverForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberLettingsFutureConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberLettingsFutureForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberPastPresentConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberPastPresentForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberReferenceConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberReferenceForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberReferralConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberReferralForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberSignOffConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberSignOffForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberSignUpFormConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberSignUpForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberSignUpFormStepAboutYouIntro.vue","../../../app/javascript/src/vue-site/member-forms/MemberSignUpFormStepDataConsent.vue","../../../app/javascript/src/vue-site/member-forms/MemberSignUpFormStepHello.vue","../../../app/javascript/src/vue-site/member-forms/MemberSignUpFormStepSelfReferral.vue","../../../app/javascript/src/vue-site/member-forms/MemberSignUpFormStepWorkingWithBeam.vue","../../../app/javascript/src/vue-site/member-forms/MemberSignUpFormStepYourJobNeedsIntro.vue","../../../app/javascript/src/vue-site/member-forms/MemberSignUpFormStepYourLivingSituationIntro.vue","../../../app/javascript/src/vue-site/member-forms/MemberStoryForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberSuperchargerFormConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberSuperchargerForm.vue","../../../app/javascript/src/vue-site/member-forms/MemberYourJourneyConditions.js","../../../app/javascript/src/vue-site/member-forms/MemberYourJourneyForm.vue","../../../app/javascript/src/vue-site/member-forms/MilestoneConditions.js","../../../app/javascript/src/vue-site/member-forms/MilestoneForm.vue","../../../app/javascript/src/vue-site/member-forms/PartnerContactFeedbackForm.vue","../../../app/javascript/src/vue-site/member-forms/RiskReportFormConditions.js","../../../app/javascript/src/vue-site/member-forms/RiskReportForm.vue","../../../app/javascript/src/vue-site/member-forms/SimpleForm.vue","../../../app/javascript/src/vue-site/member-forms/TenancyConditions.js","../../../app/javascript/src/vue-site/member-forms/TenancyForm.vue","../../../app/javascript/src/vue-site/member-forms/WeAreHereToHelp.vue","../../../app/javascript/src/vue-site/modals/AirtableModal.vue","../../../app/javascript/src/vue-site/modals/CampaignShareModal.vue","../../../app/javascript/src/vue-site/modals/CompanyChampionModal.vue","../../../app/javascript/src/vue-site/modals/FundraiserEditModal.vue","../../../app/javascript/src/vue-site/modals/FundraiserEditPhoto.vue","../../../app/javascript/src/vue-site/modals/FundraiserShareModal.vue","../../../app/javascript/src/vue-site/modals/GiftRedeemModal.vue","../../../app/javascript/src/vue-site/modals/JoinCompanyModal.vue","../../../app/javascript/src/vue-site/modals/MemberSupportModal.vue","../../../app/javascript/src/vue-site/modals/ModalCloseButton.vue","../../../app/javascript/src/vue-site/modals/SignInModal.vue","../../../app/javascript/src/vue-site/modals/TeamMemberModal.vue","../../../app/javascript/src/vue-site/modals/ThankYouMessageModal.vue","../../../app/javascript/src/vue-site/modals/ThankYouModal.vue","../../../app/javascript/src/vue-site/modals/UpdateShareModal.vue","../../../app/javascript/src/vue-site/modals/VideoFeedbackModal.vue","../../../app/javascript/src/vue-site/modals/VideoModal.vue","../../../app/javascript/src/vue-site/team/TeamPartner.vue","../../../node_modules/vue3-carousel/dist/carousel.es.js","../../../node_modules/vue3-lazy/dist/vue-lazy.es5.js","../../../app/javascript/controllers/site/vuejs_controller.js","../../../app/javascript/controllers/site/application.js","../../../app/javascript/controllers/site/index.js","../../../app/javascript/src/vue-site/ChartDefaults.js","../../../app/javascript/entrypoints/site-js-entrypoint.js"],"sourcesContent":["export const apiUrl =\n \"https://api.teamtailor.com/v1/jobs?page%5Bsize%5D=30&include=department\"\nexport const headers = {\n Authorization: \"Token token=Qh7maZcNKFBOFk0ALK9yjRUsayXn3DXvQx-YfFuP\",\n \"X-Api-version\": \"20161108\",\n Accept: \"*/*\",\n}\n","import { Controller } from \"@hotwired/stimulus\"\nimport axios from \"axios\"\nimport { apiUrl, headers } from \"../../src/team-tailor\"\n\nexport default class extends Controller {\n static targets = [\"numberOfRoles\"]\n\n connect() {\n axios.get(apiUrl, { headers: headers }).then((response) => {\n this.numberOfRolesTarget.innerHTML = Object.keys(\n response.data.data\n ).length\n })\n }\n}\n","import { Controller } from \"@hotwired/stimulus\"\n\nexport default class extends Controller {\n static targets = [\"breakdownPanel\", \"chevronDown\", \"chevronUp\"]\n\n showOrHide() {\n if (this.data.get(\"hasBreakdown\") === \"false\") {\n return\n }\n this.breakdownPanelTarget.classList.toggle(\"hidden\")\n this.chevronDownTarget.classList.toggle(\"hidden\")\n this.chevronUpTarget.classList.toggle(\"hidden\")\n }\n}\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = throttle;\n","\n\n\n","\n","\n\n\n","\n\n\n","\n","\n\n\n","\n\n\n","import { apiUrl, headers } from \"../../team-tailor\"\n\nexport default {\n computed: {\n teamTailorApiUrl() {\n return apiUrl\n },\n teamTailorHeaders() {\n return headers\n },\n },\n}\n","\n\n\n","\n\n","\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n","\n\n\n","\n\n\n","/*!\n * clipboard.js v2.0.11\n * https://clipboardjs.com/\n *\n * Licensed MIT © Zeno Rocha\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ClipboardJS\"] = factory();\n\telse\n\t\troot[\"ClipboardJS\"] = factory();\n})(this, function() {\nreturn /******/ (function() { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 686:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ clipboard; }\n});\n\n// EXTERNAL MODULE: ./node_modules/tiny-emitter/index.js\nvar tiny_emitter = __webpack_require__(279);\nvar tiny_emitter_default = /*#__PURE__*/__webpack_require__.n(tiny_emitter);\n// EXTERNAL MODULE: ./node_modules/good-listener/src/listen.js\nvar listen = __webpack_require__(370);\nvar listen_default = /*#__PURE__*/__webpack_require__.n(listen);\n// EXTERNAL MODULE: ./node_modules/select/src/select.js\nvar src_select = __webpack_require__(817);\nvar select_default = /*#__PURE__*/__webpack_require__.n(src_select);\n;// CONCATENATED MODULE: ./src/common/command.js\n/**\n * Executes a given operation type.\n * @param {String} type\n * @return {Boolean}\n */\nfunction command(type) {\n try {\n return document.execCommand(type);\n } catch (err) {\n return false;\n }\n}\n;// CONCATENATED MODULE: ./src/actions/cut.js\n\n\n/**\n * Cut action wrapper.\n * @param {String|HTMLElement} target\n * @return {String}\n */\n\nvar ClipboardActionCut = function ClipboardActionCut(target) {\n var selectedText = select_default()(target);\n command('cut');\n return selectedText;\n};\n\n/* harmony default export */ var actions_cut = (ClipboardActionCut);\n;// CONCATENATED MODULE: ./src/common/create-fake-element.js\n/**\n * Creates a fake textarea element with a value.\n * @param {String} value\n * @return {HTMLElement}\n */\nfunction createFakeElement(value) {\n var isRTL = document.documentElement.getAttribute('dir') === 'rtl';\n var fakeElement = document.createElement('textarea'); // Prevent zooming on iOS\n\n fakeElement.style.fontSize = '12pt'; // Reset box model\n\n fakeElement.style.border = '0';\n fakeElement.style.padding = '0';\n fakeElement.style.margin = '0'; // Move element out of screen horizontally\n\n fakeElement.style.position = 'absolute';\n fakeElement.style[isRTL ? 'right' : 'left'] = '-9999px'; // Move element to the same position vertically\n\n var yPosition = window.pageYOffset || document.documentElement.scrollTop;\n fakeElement.style.top = \"\".concat(yPosition, \"px\");\n fakeElement.setAttribute('readonly', '');\n fakeElement.value = value;\n return fakeElement;\n}\n;// CONCATENATED MODULE: ./src/actions/copy.js\n\n\n\n/**\n * Create fake copy action wrapper using a fake element.\n * @param {String} target\n * @param {Object} options\n * @return {String}\n */\n\nvar fakeCopyAction = function fakeCopyAction(value, options) {\n var fakeElement = createFakeElement(value);\n options.container.appendChild(fakeElement);\n var selectedText = select_default()(fakeElement);\n command('copy');\n fakeElement.remove();\n return selectedText;\n};\n/**\n * Copy action wrapper.\n * @param {String|HTMLElement} target\n * @param {Object} options\n * @return {String}\n */\n\n\nvar ClipboardActionCopy = function ClipboardActionCopy(target) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n container: document.body\n };\n var selectedText = '';\n\n if (typeof target === 'string') {\n selectedText = fakeCopyAction(target, options);\n } else if (target instanceof HTMLInputElement && !['text', 'search', 'url', 'tel', 'password'].includes(target === null || target === void 0 ? void 0 : target.type)) {\n // If input type doesn't support `setSelectionRange`. Simulate it. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange\n selectedText = fakeCopyAction(target.value, options);\n } else {\n selectedText = select_default()(target);\n command('copy');\n }\n\n return selectedText;\n};\n\n/* harmony default export */ var actions_copy = (ClipboardActionCopy);\n;// CONCATENATED MODULE: ./src/actions/default.js\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n\n\n/**\n * Inner function which performs selection from either `text` or `target`\n * properties and then executes copy or cut operations.\n * @param {Object} options\n */\n\nvar ClipboardActionDefault = function ClipboardActionDefault() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // Defines base properties passed from constructor.\n var _options$action = options.action,\n action = _options$action === void 0 ? 'copy' : _options$action,\n container = options.container,\n target = options.target,\n text = options.text; // Sets the `action` to be performed which can be either 'copy' or 'cut'.\n\n if (action !== 'copy' && action !== 'cut') {\n throw new Error('Invalid \"action\" value, use either \"copy\" or \"cut\"');\n } // Sets the `target` property using an element that will be have its content copied.\n\n\n if (target !== undefined) {\n if (target && _typeof(target) === 'object' && target.nodeType === 1) {\n if (action === 'copy' && target.hasAttribute('disabled')) {\n throw new Error('Invalid \"target\" attribute. Please use \"readonly\" instead of \"disabled\" attribute');\n }\n\n if (action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) {\n throw new Error('Invalid \"target\" attribute. You can\\'t cut text from elements with \"readonly\" or \"disabled\" attributes');\n }\n } else {\n throw new Error('Invalid \"target\" value, use a valid Element');\n }\n } // Define selection strategy based on `text` property.\n\n\n if (text) {\n return actions_copy(text, {\n container: container\n });\n } // Defines which selection strategy based on `target` property.\n\n\n if (target) {\n return action === 'cut' ? actions_cut(target) : actions_copy(target, {\n container: container\n });\n }\n};\n\n/* harmony default export */ var actions_default = (ClipboardActionDefault);\n;// CONCATENATED MODULE: ./src/clipboard.js\nfunction clipboard_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { clipboard_typeof = function _typeof(obj) { return typeof obj; }; } else { clipboard_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return clipboard_typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (clipboard_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\n/**\n * Helper function to retrieve attribute value.\n * @param {String} suffix\n * @param {Element} element\n */\n\nfunction getAttributeValue(suffix, element) {\n var attribute = \"data-clipboard-\".concat(suffix);\n\n if (!element.hasAttribute(attribute)) {\n return;\n }\n\n return element.getAttribute(attribute);\n}\n/**\n * Base class which takes one or more elements, adds event listeners to them,\n * and instantiates a new `ClipboardAction` on each click.\n */\n\n\nvar Clipboard = /*#__PURE__*/function (_Emitter) {\n _inherits(Clipboard, _Emitter);\n\n var _super = _createSuper(Clipboard);\n\n /**\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n * @param {Object} options\n */\n function Clipboard(trigger, options) {\n var _this;\n\n _classCallCheck(this, Clipboard);\n\n _this = _super.call(this);\n\n _this.resolveOptions(options);\n\n _this.listenClick(trigger);\n\n return _this;\n }\n /**\n * Defines if attributes would be resolved using internal setter functions\n * or custom functions that were passed in the constructor.\n * @param {Object} options\n */\n\n\n _createClass(Clipboard, [{\n key: \"resolveOptions\",\n value: function resolveOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n this.action = typeof options.action === 'function' ? options.action : this.defaultAction;\n this.target = typeof options.target === 'function' ? options.target : this.defaultTarget;\n this.text = typeof options.text === 'function' ? options.text : this.defaultText;\n this.container = clipboard_typeof(options.container) === 'object' ? options.container : document.body;\n }\n /**\n * Adds a click event listener to the passed trigger.\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n */\n\n }, {\n key: \"listenClick\",\n value: function listenClick(trigger) {\n var _this2 = this;\n\n this.listener = listen_default()(trigger, 'click', function (e) {\n return _this2.onClick(e);\n });\n }\n /**\n * Defines a new `ClipboardAction` on each click event.\n * @param {Event} e\n */\n\n }, {\n key: \"onClick\",\n value: function onClick(e) {\n var trigger = e.delegateTarget || e.currentTarget;\n var action = this.action(trigger) || 'copy';\n var text = actions_default({\n action: action,\n container: this.container,\n target: this.target(trigger),\n text: this.text(trigger)\n }); // Fires an event based on the copy operation result.\n\n this.emit(text ? 'success' : 'error', {\n action: action,\n text: text,\n trigger: trigger,\n clearSelection: function clearSelection() {\n if (trigger) {\n trigger.focus();\n }\n\n window.getSelection().removeAllRanges();\n }\n });\n }\n /**\n * Default `action` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: \"defaultAction\",\n value: function defaultAction(trigger) {\n return getAttributeValue('action', trigger);\n }\n /**\n * Default `target` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: \"defaultTarget\",\n value: function defaultTarget(trigger) {\n var selector = getAttributeValue('target', trigger);\n\n if (selector) {\n return document.querySelector(selector);\n }\n }\n /**\n * Allow fire programmatically a copy action\n * @param {String|HTMLElement} target\n * @param {Object} options\n * @returns Text copied.\n */\n\n }, {\n key: \"defaultText\",\n\n /**\n * Default `text` lookup function.\n * @param {Element} trigger\n */\n value: function defaultText(trigger) {\n return getAttributeValue('text', trigger);\n }\n /**\n * Destroy lifecycle.\n */\n\n }, {\n key: \"destroy\",\n value: function destroy() {\n this.listener.destroy();\n }\n }], [{\n key: \"copy\",\n value: function copy(target) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n container: document.body\n };\n return actions_copy(target, options);\n }\n /**\n * Allow fire programmatically a cut action\n * @param {String|HTMLElement} target\n * @returns Text cutted.\n */\n\n }, {\n key: \"cut\",\n value: function cut(target) {\n return actions_cut(target);\n }\n /**\n * Returns the support of the given action, or all actions if no action is\n * given.\n * @param {String} [action]\n */\n\n }, {\n key: \"isSupported\",\n value: function isSupported() {\n var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];\n var actions = typeof action === 'string' ? [action] : action;\n var support = !!document.queryCommandSupported;\n actions.forEach(function (action) {\n support = support && !!document.queryCommandSupported(action);\n });\n return support;\n }\n }]);\n\n return Clipboard;\n}((tiny_emitter_default()));\n\n/* harmony default export */ var clipboard = (Clipboard);\n\n/***/ }),\n\n/***/ 828:\n/***/ (function(module) {\n\nvar DOCUMENT_NODE_TYPE = 9;\n\n/**\n * A polyfill for Element.matches()\n */\nif (typeof Element !== 'undefined' && !Element.prototype.matches) {\n var proto = Element.prototype;\n\n proto.matches = proto.matchesSelector ||\n proto.mozMatchesSelector ||\n proto.msMatchesSelector ||\n proto.oMatchesSelector ||\n proto.webkitMatchesSelector;\n}\n\n/**\n * Finds the closest parent that matches a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @return {Function}\n */\nfunction closest (element, selector) {\n while (element && element.nodeType !== DOCUMENT_NODE_TYPE) {\n if (typeof element.matches === 'function' &&\n element.matches(selector)) {\n return element;\n }\n element = element.parentNode;\n }\n}\n\nmodule.exports = closest;\n\n\n/***/ }),\n\n/***/ 438:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nvar closest = __webpack_require__(828);\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction _delegate(element, selector, type, callback, useCapture) {\n var listenerFn = listener.apply(this, arguments);\n\n element.addEventListener(type, listenerFn, useCapture);\n\n return {\n destroy: function() {\n element.removeEventListener(type, listenerFn, useCapture);\n }\n }\n}\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element|String|Array} [elements]\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction delegate(elements, selector, type, callback, useCapture) {\n // Handle the regular Element usage\n if (typeof elements.addEventListener === 'function') {\n return _delegate.apply(null, arguments);\n }\n\n // Handle Element-less usage, it defaults to global delegation\n if (typeof type === 'function') {\n // Use `document` as the first parameter, then apply arguments\n // This is a short way to .unshift `arguments` without running into deoptimizations\n return _delegate.bind(null, document).apply(null, arguments);\n }\n\n // Handle Selector-based usage\n if (typeof elements === 'string') {\n elements = document.querySelectorAll(elements);\n }\n\n // Handle Array-like based usage\n return Array.prototype.map.call(elements, function (element) {\n return _delegate(element, selector, type, callback, useCapture);\n });\n}\n\n/**\n * Finds closest match and invokes callback.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Function}\n */\nfunction listener(element, selector, type, callback) {\n return function(e) {\n e.delegateTarget = closest(e.target, selector);\n\n if (e.delegateTarget) {\n callback.call(element, e);\n }\n }\n}\n\nmodule.exports = delegate;\n\n\n/***/ }),\n\n/***/ 879:\n/***/ (function(__unused_webpack_module, exports) {\n\n/**\n * Check if argument is a HTML element.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.node = function(value) {\n return value !== undefined\n && value instanceof HTMLElement\n && value.nodeType === 1;\n};\n\n/**\n * Check if argument is a list of HTML elements.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.nodeList = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return value !== undefined\n && (type === '[object NodeList]' || type === '[object HTMLCollection]')\n && ('length' in value)\n && (value.length === 0 || exports.node(value[0]));\n};\n\n/**\n * Check if argument is a string.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.string = function(value) {\n return typeof value === 'string'\n || value instanceof String;\n};\n\n/**\n * Check if argument is a function.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.fn = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return type === '[object Function]';\n};\n\n\n/***/ }),\n\n/***/ 370:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nvar is = __webpack_require__(879);\nvar delegate = __webpack_require__(438);\n\n/**\n * Validates all params and calls the right\n * listener function based on its target type.\n *\n * @param {String|HTMLElement|HTMLCollection|NodeList} target\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listen(target, type, callback) {\n if (!target && !type && !callback) {\n throw new Error('Missing required arguments');\n }\n\n if (!is.string(type)) {\n throw new TypeError('Second argument must be a String');\n }\n\n if (!is.fn(callback)) {\n throw new TypeError('Third argument must be a Function');\n }\n\n if (is.node(target)) {\n return listenNode(target, type, callback);\n }\n else if (is.nodeList(target)) {\n return listenNodeList(target, type, callback);\n }\n else if (is.string(target)) {\n return listenSelector(target, type, callback);\n }\n else {\n throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList');\n }\n}\n\n/**\n * Adds an event listener to a HTML element\n * and returns a remove listener function.\n *\n * @param {HTMLElement} node\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNode(node, type, callback) {\n node.addEventListener(type, callback);\n\n return {\n destroy: function() {\n node.removeEventListener(type, callback);\n }\n }\n}\n\n/**\n * Add an event listener to a list of HTML elements\n * and returns a remove listener function.\n *\n * @param {NodeList|HTMLCollection} nodeList\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNodeList(nodeList, type, callback) {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.addEventListener(type, callback);\n });\n\n return {\n destroy: function() {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.removeEventListener(type, callback);\n });\n }\n }\n}\n\n/**\n * Add an event listener to a selector\n * and returns a remove listener function.\n *\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenSelector(selector, type, callback) {\n return delegate(document.body, selector, type, callback);\n}\n\nmodule.exports = listen;\n\n\n/***/ }),\n\n/***/ 817:\n/***/ (function(module) {\n\nfunction select(element) {\n var selectedText;\n\n if (element.nodeName === 'SELECT') {\n element.focus();\n\n selectedText = element.value;\n }\n else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {\n var isReadOnly = element.hasAttribute('readonly');\n\n if (!isReadOnly) {\n element.setAttribute('readonly', '');\n }\n\n element.select();\n element.setSelectionRange(0, element.value.length);\n\n if (!isReadOnly) {\n element.removeAttribute('readonly');\n }\n\n selectedText = element.value;\n }\n else {\n if (element.hasAttribute('contenteditable')) {\n element.focus();\n }\n\n var selection = window.getSelection();\n var range = document.createRange();\n\n range.selectNodeContents(element);\n selection.removeAllRanges();\n selection.addRange(range);\n\n selectedText = selection.toString();\n }\n\n return selectedText;\n}\n\nmodule.exports = select;\n\n\n/***/ }),\n\n/***/ 279:\n/***/ (function(module) {\n\nfunction E () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n}\n\nE.prototype = {\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx\n });\n\n return this;\n },\n\n once: function (name, callback, ctx) {\n var self = this;\n function listener () {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n };\n\n listener._ = callback\n return this.on(name, listener, ctx);\n },\n\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n\n return this;\n },\n\n off: function (name, callback) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n\n if (evts && callback) {\n for (var i = 0, len = evts.length; i < len; i++) {\n if (evts[i].fn !== callback && evts[i].fn._ !== callback)\n liveEvents.push(evts[i]);\n }\n }\n\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n\n (liveEvents.length)\n ? e[name] = liveEvents\n : delete e[name];\n\n return this;\n }\n};\n\nmodule.exports = E;\nmodule.exports.TinyEmitter = E;\n\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(__webpack_module_cache__[moduleId]) {\n/******/ \t\t\treturn __webpack_module_cache__[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t!function() {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = function(module) {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\tfunction() { return module['default']; } :\n/******/ \t\t\t\tfunction() { return module; };\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t!function() {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = function(exports, definition) {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t!function() {\n/******/ \t\t__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }\n/******/ \t}();\n/******/ \t\n/************************************************************************/\n/******/ \t// module exports must be returned from runtime so entry inlining is disabled\n/******/ \t// startup\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(686);\n/******/ })()\n.default;\n});","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n","