forked from bombastictranz/Slack-api-platform
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrollup-core_web.a310a752c64efb1ab5b4.min.js.download
19 lines (19 loc) · 36.4 KB
/
rollup-core_web.a310a752c64efb1ab5b4.min.js.download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(()=>{var L=Object.defineProperty;var T=(e,a)=>L(e,"name",{value:a,configurable:!0});(globalThis.webpackChunkwebapp=globalThis.webpackChunkwebapp||[]).push([["rollup-core_web"],{974699:()=>{/*!
* Generated using the Bootstrap Customizer (https://getbootstrap.com/docs/3.4/customize/)
*//*!
* Bootstrap v3.4.1 (https://getbootstrap.com/)
* Copyright 2011-2023 Twitter, Inc.
* Licensed under the MIT license
*/if(typeof jQuery>"u")throw new Error("Bootstrap's JavaScript requires jQuery");+function(e){"use strict";var a=e.fn.jquery.split(" ")[0].split(".");if(a[0]<2&&a[1]<9||a[0]==1&&a[1]==9&&a[2]<1||a[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(e){"use strict";var a=T(function(o,t){this.options=t,this.$body=e(document.body),this.$element=e(o),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded")},this))},"Modal");a.VERSION="3.4.1",a.TRANSITION_DURATION=300,a.BACKDROP_TRANSITION_DURATION=150,a.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},a.prototype.toggle=function(o){return this.isShown?this.hide():this.show(o)},a.prototype.show=function(o){var t=this,h=e.Event("show",{relatedTarget:o});this.$element.trigger(h),!(this.isShown||h.isDefaultPrevented())&&(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss",function(){t.$element.one("mouseup.dismiss",function(l){e(l.target).is(t.$element)&&(t.ignoreBackdropClick=!0)})}),this.backdrop(function(){var l=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(t.$body),t.$element.show().scrollTop(0),t.adjustDialog(),l&&t.$element[0].offsetWidth,t.$element.addClass("in"),t.enforceFocus();var i=e.Event("shown",{relatedTarget:o});l?t.$element.one("bsTransitionEnd",function(){t.$element.trigger("focus").trigger(i)}).emulateTransitionEnd(a.TRANSITION_DURATION):t.$element.trigger("focus").trigger(i)}))},a.prototype.hide=function(o){o&&o.preventDefault(),o=e.Event("hide"),this.$element.trigger(o),!(!this.isShown||o.isDefaultPrevented())&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin"),this.$element.removeClass("in").off("click.dismiss").off("mouseup.dismiss"),this.$dialog.off("mousedown.dismiss"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(a.TRANSITION_DURATION):this.hideModal())},a.prototype.enforceFocus=function(){e(document).off("focusin").on("focusin",e.proxy(function(o){document!==o.target&&this.$element[0]!==o.target&&!this.$element.has(o.target).length&&this.$element.trigger("focus")},this))},a.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss",e.proxy(function(o){o.which==27&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss")},a.prototype.resize=function(){this.isShown?e(window).on("resize",e.proxy(this.handleUpdate,this)):e(window).off("resize")},a.prototype.hideModal=function(){var o=this;this.$element.hide(),this.backdrop(function(){o.$body.removeClass("modal-open"),o.resetAdjustments(),o.resetScrollbar(),o.$element.trigger("hidden")})},a.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},a.prototype.backdrop=function(o){var t=this,h=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var l=e.support.transition&&h;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+h).appendTo(this.$body),this.$element.on("click.dismiss",e.proxy(function(r){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}r.target===r.currentTarget&&(this.options.backdrop=="static"?this.$element[0].focus():this.hide())},this)),l&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!o)return;l?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(a.BACKDROP_TRANSITION_DURATION):o()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var i=T(function(){t.removeBackdrop(),o&&o()},"callbackRemove");e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(a.BACKDROP_TRANSITION_DURATION):i()}else o&&o()},a.prototype.handleUpdate=function(){this.adjustDialog()},a.prototype.adjustDialog=function(){var o=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&o?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!o?this.scrollbarWidth:""})},a.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},a.prototype.checkScrollbar=function(){var o=window.innerWidth;if(!o){var t=document.documentElement.getBoundingClientRect();o=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<o,this.scrollbarWidth=this.measureScrollbar()},a.prototype.setScrollbar=function(){var o=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var t=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",o+t),e(this.fixedContent).each(function(h,l){var i=l.style.paddingRight,r=e(l).css("padding-right");e(l).data("padding-right",i).css("padding-right",parseFloat(r)+t+"px")}))},a.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),e(this.fixedContent).each(function(o,t){var h=e(t).data("padding-right");e(t).removeData("padding-right"),t.style.paddingRight=h||""})},a.prototype.measureScrollbar=function(){var o=document.createElement("div");o.className="modal-scrollbar-measure",this.$body.append(o);var t=o.offsetWidth-o.clientWidth;return this.$body[0].removeChild(o),t};function d(o,t){return this.each(function(){var h=e(this),l=h.data("bs.modal"),i=e.extend({},a.DEFAULTS,h.data(),typeof o=="object"&&o);l||h.data("bs.modal",l=new a(this,i)),typeof o=="string"?l[o](t):i.show&&l.show(t)})}T(d,"Plugin");var p=e.fn.modal;e.fn.modal=d,e.fn.modal.Constructor=a,e.fn.modal.noConflict=function(){return e.fn.modal=p,this},e(document).on("click.data-api",'[data-toggle="modal"]',function(o){var t=e(this),h=t.attr("href"),l=t.attr("data-target")||h&&h.replace(/.*(?=#[^\s]+$)/,""),i=e(document).find(l),r=i.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(h)&&h},i.data(),t.data());t.is("a")&&o.preventDefault(),i.one("show",function(u){u.isDefaultPrevented()||i.one("hidden",function(){t.is(":visible")&&t.trigger("focus")})}),d.call(i,r,this)})}(jQuery),+function(e){"use strict";var a=["sanitize","allowList","sanitizeFn"],d=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],p=/^aria-[\w-]*$/i,o={"*":["class","dir","id","lang","role",p],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},t=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,h=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function l(n,s){var c=n.nodeName.toLowerCase();if(e.inArray(c,s)!==-1)return e.inArray(c,d)!==-1?Boolean(n.nodeValue.match(t)||n.nodeValue.match(h)):!0;for(var f=e(s).filter(function(m,b){return b instanceof RegExp}),y=0,v=f.length;y<v;y++)if(c.match(f[y]))return!0;return!1}T(l,"allowedAttribute");function i(n,s,c){if(n.length===0)return n;if(c&&typeof c=="function")return c(n);if(!document.implementation||!document.implementation.createHTMLDocument)return n;var f=document.implementation.createHTMLDocument("sanitization");f.body.innerHTML=n;for(var y=e.map(s,function(I,A){return A}),v=e(f.body).find("*"),m=0,b=v.length;m<b;m++){var w=v[m],S=w.nodeName.toLowerCase();if(e.inArray(S,y)===-1){w.parentNode.removeChild(w);continue}for(var E=e.map(w.attributes,function(I){return I}),O=[].concat(s["*"]||[],s[S]||[]),C=0,k=E.length;C<k;C++)l(E[C],O)||w.removeAttribute(E[C].nodeName)}return f.body.innerHTML}T(i,"sanitizeHtml");var r=T(function(n,s){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",n,s)},"Tooltip");r.VERSION="3.4.1",r.TRANSITION_DURATION=150,r.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,allowList:o},r.prototype.init=function(n,s,c){if(this.enabled=!0,this.type=n,this.$element=e(s),this.options=this.getOptions(c),this.$viewport=this.options.viewport&&e(document).find(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var f=this.options.trigger.split(" "),y=f.length;y--;){var v=f[y];if(v=="click")this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if(v!="manual"){var m=v=="hover"?"mouseenter":"focusin",b=v=="hover"?"mouseleave":"focusout";this.$element.on(m+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(b+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},r.prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.getOptions=function(n){var s=this.$element.data();for(var c in s)s.hasOwnProperty(c)&&e.inArray(c,a)!==-1&&delete s[c];return n=e.extend({},this.getDefaults(),s,n),n.delay&&typeof n.delay=="number"&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=i(n.template,n.allowList,n.sanitizeFn)),n},r.prototype.getDelegateOptions=function(){var n={},s=this.getDefaults();return this._options&&e.each(this._options,function(c,f){s[c]!=f&&(n[c]=f)}),n},r.prototype.enter=function(n){var s=n instanceof this.constructor?n:e(n.currentTarget).data("bs."+this.type);if(s||(s=new this.constructor(n.currentTarget,this.getDelegateOptions()),e(n.currentTarget).data("bs."+this.type,s)),n instanceof e.Event&&(s.inState[n.type=="focusin"?"focus":"hover"]=!0),s.tip().hasClass("in")||s.hoverState=="in"){s.hoverState="in";return}if(clearTimeout(s.timeout),s.hoverState="in",!s.options.delay||!s.options.delay.show)return s.show();s.timeout=setTimeout(function(){s.hoverState=="in"&&s.show()},s.options.delay.show)},r.prototype.isInStateTrue=function(){for(var n in this.inState)if(this.inState[n])return!0;return!1},r.prototype.leave=function(n){var s=n instanceof this.constructor?n:e(n.currentTarget).data("bs."+this.type);if(s||(s=new this.constructor(n.currentTarget,this.getDelegateOptions()),e(n.currentTarget).data("bs."+this.type,s)),n instanceof e.Event&&(s.inState[n.type=="focusout"?"focus":"hover"]=!1),!s.isInStateTrue()){if(clearTimeout(s.timeout),s.hoverState="out",!s.options.delay||!s.options.delay.hide)return s.hide();s.timeout=setTimeout(function(){s.hoverState=="out"&&s.hide()},s.options.delay.hide)}},r.prototype.show=function(){var n=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var s=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!s)return;var c=this,f=this.tip(),y=this.getUID(this.type);this.setContent(),f.attr("id",y),this.$element.attr("aria-describedby",y),this.options.animation&&f.addClass("fade");var v=typeof this.options.placement=="function"?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,m=/\s?auto?\s?/i,b=m.test(v);b&&(v=v.replace(m,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(v).data("bs."+this.type,this),this.options.container?f.appendTo(e(document).find(this.options.container)):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var w=this.getPosition(),S=f[0].offsetWidth,E=f[0].offsetHeight;if(b){var O=v,C=this.getPosition(this.$viewport);v=v=="bottom"&&w.bottom+E>C.bottom?"top":v=="top"&&w.top-E<C.top?"bottom":v=="right"&&w.right+S>C.width?"left":v=="left"&&w.left-S<C.left?"right":v,f.removeClass(O).addClass(v)}var k=this.getCalculatedOffset(v,w,S,E);this.applyPlacement(k,v);var I=T(function(){var A=c.hoverState;c.$element.trigger("shown.bs."+c.type),c.hoverState=null,A=="out"&&c.leave(c)},"complete");e.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",I).emulateTransitionEnd(r.TRANSITION_DURATION):I()}},r.prototype.applyPlacement=function(n,s){var c=this.tip(),f=c[0].offsetWidth,y=c[0].offsetHeight,v=parseInt(c.css("margin-top"),10),m=parseInt(c.css("margin-left"),10);isNaN(v)&&(v=0),isNaN(m)&&(m=0),n.top+=v,n.left+=m,e.offset.setOffset(c[0],e.extend({using:function(k){c.css({top:Math.round(k.top),left:Math.round(k.left)})}},n),0),c.addClass("in");var b=c[0].offsetWidth,w=c[0].offsetHeight;s=="top"&&w!=y&&(n.top=n.top+y-w);var S=this.getViewportAdjustedDelta(s,n,b,w);S.left?n.left+=S.left:n.top+=S.top;var E=/top|bottom/.test(s),O=E?S.left*2-f+b:S.top*2-y+w,C=E?"offsetWidth":"offsetHeight";c.offset(n),this.replaceArrow(O,c[0][C],E)},r.prototype.replaceArrow=function(n,s,c){this.arrow().css(c?"left":"top",50*(1-n/s)+"%").css(c?"top":"left","")},r.prototype.setContent=function(){var n=this.tip(),s=this.getTitle();this.options.html?(this.options.sanitize&&(s=i(s,this.options.allowList,this.options.sanitizeFn)),n.find(".tooltip-inner").html(s)):n.find(".tooltip-inner").text(s),n.removeClass("fade in top bottom left right")},r.prototype.hide=function(n){var s=this,c=e(this.$tip),f=e.Event("hide.bs."+this.type);function y(){s.hoverState!="in"&&c.detach(),s.$element&&s.$element.removeAttr("aria-describedby").trigger("hidden.bs."+s.type),n&&n()}if(T(y,"complete"),this.$element.trigger(f),!f.isDefaultPrevented())return c.removeClass("in"),e.support.transition&&c.hasClass("fade")?c.one("bsTransitionEnd",y).emulateTransitionEnd(r.TRANSITION_DURATION):y(),this.hoverState=null,this},r.prototype.fixTitle=function(){var n=this.$element;(n.attr("title")||typeof n.attr("data-original-title")!="string")&&n.attr("data-original-title",n.attr("title")||"").attr("title","")},r.prototype.hasContent=function(){return this.getTitle()},r.prototype.getPosition=function(n){n=n||this.$element;var s=n[0],c=s.tagName=="BODY",f=s.getBoundingClientRect();f.width==null&&(f=e.extend({},f,{width:f.right-f.left,height:f.bottom-f.top}));var y=window.SVGElement&&s instanceof window.SVGElement,v=c?{top:0,left:0}:y?null:n.offset(),m={scroll:c?document.documentElement.scrollTop||document.body.scrollTop:n.scrollTop()},b=c?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},f,m,b,v)},r.prototype.getCalculatedOffset=function(n,s,c,f){return n=="bottom"?{top:s.top+s.height,left:s.left+s.width/2-c/2}:n=="top"?{top:s.top-f,left:s.left+s.width/2-c/2}:n=="left"?{top:s.top+s.height/2-f/2,left:s.left-c}:{top:s.top+s.height/2-f/2,left:s.left+s.width}},r.prototype.getViewportAdjustedDelta=function(n,s,c,f){var y={top:0,left:0};if(!this.$viewport)return y;var v=this.options.viewport&&this.options.viewport.padding||0,m=this.getPosition(this.$viewport);if(/right|left/.test(n)){var b=s.top-v-m.scroll,w=s.top+v-m.scroll+f;b<m.top?y.top=m.top-b:w>m.top+m.height&&(y.top=m.top+m.height-w)}else{var S=s.left-v,E=s.left+v+c;S<m.left?y.left=m.left-S:E>m.right&&(y.left=m.left+m.width-E)}return y},r.prototype.getTitle=function(){var n,s=this.$element,c=this.options;return n=s.attr("data-original-title")||(typeof c.title=="function"?c.title.call(s[0]):c.title),n},r.prototype.getUID=function(n){do n+=~~(Math.random()*1e6);while(document.getElementById(n));return n},r.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},r.prototype.enable=function(){this.enabled=!0},r.prototype.disable=function(){this.enabled=!1},r.prototype.toggleEnabled=function(){this.enabled=!this.enabled},r.prototype.toggle=function(n){var s=this;n&&(s=e(n.currentTarget).data("bs."+this.type),s||(s=new this.constructor(n.currentTarget,this.getDelegateOptions()),e(n.currentTarget).data("bs."+this.type,s))),n?(s.inState.click=!s.inState.click,s.isInStateTrue()?s.enter(s):s.leave(s)):s.tip().hasClass("in")?s.leave(s):s.enter(s)},r.prototype.destroy=function(){var n=this;clearTimeout(this.timeout),this.hide(function(){n.$element.off("."+n.type).removeData("bs."+n.type),n.$tip&&n.$tip.detach(),n.$tip=null,n.$arrow=null,n.$viewport=null,n.$element=null})},r.prototype.sanitizeHtml=function(n){return i(n,this.options.allowList,this.options.sanitizeFn)};function u(n){return this.each(function(){var s=e(this),c=s.data("bs.tooltip"),f=typeof n=="object"&&n;!c&&/destroy|hide/.test(n)||(c||s.data("bs.tooltip",c=new r(this,f)),typeof n=="string"&&c[n]())})}T(u,"Plugin");var g=e.fn.tooltip;e.fn.tooltip=u,e.fn.tooltip.Constructor=r,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=g,this}}(jQuery),+function(e){"use strict";function a(){var d=document.createElement("bootstrap"),p={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var o in p)if(d.style[o]!==void 0)return{end:p[o]};return!1}T(a,"transitionEnd"),e.fn.emulateTransitionEnd=function(d){var p=!1,o=this;e(this).one("bsTransitionEnd",function(){p=!0});var t=T(function(){p||e(o).trigger(e.support.transition.end)},"callback");return setTimeout(t,d),this},e(function(){e.support.transition=a(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(d){if(e(d.target).is(this))return d.handleObj.handler.apply(this,arguments)}})})}(jQuery)},147672:(e,a,d)=>{var p;/**
* @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
*
* @version 0.6.11
* @codingstandard ftlabs-jsv2
* @copyright The Financial Times Limited [All Rights Reserved]
* @license MIT License (see LICENSE.txt)
*/function o(t){"use strict";var h,l=this;if(this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=10,this.layer=t,!t||!t.nodeType)throw new TypeError("Layer must be a document node");this.onClick=function(){return o.prototype.onClick.apply(l,arguments)},this.onMouse=function(){return o.prototype.onMouse.apply(l,arguments)},this.onTouchStart=function(){return o.prototype.onTouchStart.apply(l,arguments)},this.onTouchMove=function(){return o.prototype.onTouchMove.apply(l,arguments)},this.onTouchEnd=function(){return o.prototype.onTouchEnd.apply(l,arguments)},this.onTouchCancel=function(){return o.prototype.onTouchCancel.apply(l,arguments)},!o.notNeeded(t)&&(this.deviceIsAndroid&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0)),t.addEventListener("click",this.onClick,!0),t.addEventListener("touchstart",this.onTouchStart,!1),t.addEventListener("touchmove",this.onTouchMove,!1),t.addEventListener("touchend",this.onTouchEnd,!1),t.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(i,r,u){var g=Node.prototype.removeEventListener;i==="click"?g.call(t,i,r.hijacked||r,u):g.call(t,i,r,u)},t.addEventListener=function(i,r,u){var g=Node.prototype.addEventListener;i==="click"?g.call(t,i,r.hijacked||(r.hijacked=function(n){n.propagationStopped||r(n)}),u):g.call(t,i,r,u)}),typeof t.onclick=="function"&&(h=t.onclick,t.addEventListener("click",function(i){h(i)},!1),t.onclick=null))}T(o,"FastClick"),o.prototype.deviceIsAndroid=navigator.userAgent.indexOf("Android")>0,o.prototype.deviceIsIOS=/iP(ad|hone|od)/.test(navigator.userAgent),o.prototype.deviceIsIOS4=o.prototype.deviceIsIOS&&/OS 4_\d(_\d)?/.test(navigator.userAgent),o.prototype.deviceIsIOSWithBadTarget=o.prototype.deviceIsIOS&&/OS ([6-9]|\d{2})_\d/.test(navigator.userAgent),o.prototype.needsClick=function(t){"use strict";switch(t.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(t.disabled)return!0;break;case"input":if(this.deviceIsIOS&&t.type==="file"||t.disabled)return!0;break;case"label":case"video":return!0}return/\bneedsclick\b/.test(t.className)},o.prototype.needsFocus=function(t){"use strict";switch(t.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!this.deviceIsAndroid;case"input":switch(t.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!t.disabled&&!t.readOnly;default:return/\bneedsfocus\b/.test(t.className)}},o.prototype.sendClick=function(t,h){"use strict";var l,i;document.activeElement&&document.activeElement!==t&&document.activeElement.blur(),i=h.changedTouches[0],l=document.createEvent("MouseEvents"),l.initMouseEvent(this.determineEventType(t),!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),l.forwardedTouchEvent=!0,t.dispatchEvent(l)},o.prototype.determineEventType=function(t){"use strict";return this.deviceIsAndroid&&t.tagName.toLowerCase()==="select"?"mousedown":"click"},o.prototype.focus=function(t){"use strict";var h;this.deviceIsIOS&&t.setSelectionRange&&t.type.indexOf("date")!==0&&t.type!=="time"?(h=t.value.length,t.setSelectionRange(h,h)):t.focus()},o.prototype.updateScrollParent=function(t){"use strict";var h,l;if(h=t.fastClickScrollParent,!h||!h.contains(t)){l=t;do{if(l.scrollHeight>l.offsetHeight){h=l,t.fastClickScrollParent=l;break}l=l.parentElement}while(l)}h&&(h.fastClickLastScrollTop=h.scrollTop)},o.prototype.getTargetElementFromEventTarget=function(t){"use strict";return t.nodeType===Node.TEXT_NODE?t.parentNode:t},o.prototype.onTouchStart=function(t){"use strict";var h,l,i;if(t.targetTouches.length>1)return!0;if(h=this.getTargetElementFromEventTarget(t.target),l=t.targetTouches[0],this.deviceIsIOS){if(i=window.getSelection(),i.rangeCount&&!i.isCollapsed)return!0;if(!this.deviceIsIOS4){if(l.identifier===this.lastTouchIdentifier)return t.preventDefault(),!1;this.lastTouchIdentifier=l.identifier,this.updateScrollParent(h)}}return this.trackingClick=!0,this.trackingClickStart=t.timeStamp,this.targetElement=h,this.touchStartX=l.pageX,this.touchStartY=l.pageY,t.timeStamp-this.lastClickTime<200&&t.preventDefault(),!0},o.prototype.touchHasMoved=function(t){"use strict";var h=t.changedTouches[0],l=this.touchBoundary;return Math.abs(h.pageX-this.touchStartX)>l||Math.abs(h.pageY-this.touchStartY)>l},o.prototype.onTouchMove=function(t){"use strict";return this.trackingClick&&(this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!0},o.prototype.findControl=function(t){"use strict";return t.control!==void 0?t.control:t.htmlFor?document.getElementById(t.htmlFor):t.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},o.prototype.onTouchEnd=function(t){"use strict";var h,l,i,r,u,g=this.targetElement;if(!this.trackingClick)return!0;if(t.timeStamp-this.lastClickTime<200)return this.cancelNextClick=!0,!0;if(this.cancelNextClick=!1,this.lastClickTime=t.timeStamp,l=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,this.deviceIsIOSWithBadTarget&&(u=t.changedTouches[0],g=document.elementFromPoint(u.pageX-window.pageXOffset,u.pageY-window.pageYOffset)||g,g.fastClickScrollParent=this.targetElement.fastClickScrollParent),i=g.tagName.toLowerCase(),i==="label"){if(h=this.findControl(g),h){if(this.focus(g),this.deviceIsAndroid)return!1;g=h}}else if(this.needsFocus(g))return t.timeStamp-l>100||this.deviceIsIOS&&window.top!==window&&i==="input"?(this.targetElement=null,!1):(this.focus(g),(!this.deviceIsIOS4||i!=="select")&&(this.targetElement=null,t.preventDefault()),!1);return this.deviceIsIOS&&!this.deviceIsIOS4&&(r=g.fastClickScrollParent,r&&r.fastClickLastScrollTop!==r.scrollTop)?!0:(this.needsClick(g)||(t.preventDefault(),this.sendClick(g,t)),!1)},o.prototype.onTouchCancel=function(){"use strict";this.trackingClick=!1,this.targetElement=null},o.prototype.onMouse=function(t){"use strict";return!this.targetElement||t.forwardedTouchEvent||!t.cancelable?!0:!this.needsClick(this.targetElement)||this.cancelNextClick?(t.stopImmediatePropagation?t.stopImmediatePropagation():t.propagationStopped=!0,t.stopPropagation(),t.preventDefault(),!1):!0},o.prototype.onClick=function(t){"use strict";var h;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):t.target.type==="submit"&&t.detail===0?!0:(h=this.onMouse(t),h||(this.targetElement=null),h)},o.prototype.destroy=function(){"use strict";var t=this.layer;this.deviceIsAndroid&&(t.removeEventListener("mouseover",this.onMouse,!0),t.removeEventListener("mousedown",this.onMouse,!0),t.removeEventListener("mouseup",this.onMouse,!0)),t.removeEventListener("click",this.onClick,!0),t.removeEventListener("touchstart",this.onTouchStart,!1),t.removeEventListener("touchmove",this.onTouchMove,!1),t.removeEventListener("touchend",this.onTouchEnd,!1),t.removeEventListener("touchcancel",this.onTouchCancel,!1)},o.notNeeded=function(t){"use strict";var h,l;if(typeof window.ontouchstart>"u")return!0;if(l=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],l)if(o.prototype.deviceIsAndroid){if(h=document.querySelector("meta[name=viewport]"),h&&(h.content.indexOf("user-scalable=no")!==-1||l>31&&window.innerWidth<=window.screen.width))return!0}else return!0;return t.style.msTouchAction==="none"},o.attach=function(t){"use strict";return new o(t)},p=function(){"use strict";return o}.call(a,d,a,e),p!==void 0&&(e.exports=p)},210101:()=>{/*!
* headroom.js v0.7.0 - Give your page some headroom. Hide your header until you need it
* Copyright (c) 2014 Nick Williams - http://wicky.nillia.ms/headroom.js
* License: MIT
*/(function(e,a){"use strict";var d={bind:!!function(){}.bind,classList:"classList"in a.documentElement,rAF:!!(e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame)};e.requestAnimationFrame=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame;function p(i){this.callback=i,this.ticking=!1}T(p,"Debouncer"),p.prototype={constructor:p,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}};function o(i){return i&&typeof e<"u"&&(i===e||i.nodeType)}T(o,"isDOMElement");function t(i){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var r=i||{},u,g;for(g=1;g<arguments.length;g++){var n=arguments[g]||{};for(u in n)typeof r[u]=="object"&&!o(r[u])?r[u]=t(r[u],n[u]):r[u]=r[u]||n[u]}return r}T(t,"extend");function h(i){return i===Object(i)?i:{down:i,up:i}}T(h,"normalizeTolerance");function l(i,r){var u=_.extend({},l.options,r);this.lastKnownScrollY=0,this.elem=i,this.debouncer=new p(this.update.bind(this)),this.tolerance=h(u.tolerance),this.classes=u.classes,this.offset=u.offset,this.searchOffset=u.searchOffset,this.scroller=u.scroller,this.initialised=!1,this.onPin=u.onPin,this.onUnpin=u.onUnpin,this.onTop=u.onTop,this.onNotTop=u.onNotTop,this.search=u.search,this.classes.initial_search=this.search?"hideSearch":"showSearch",this.nav=u.nav}T(l,"Headroom"),l.prototype={constructor:l,init:function(){if(l.cutsTheMustard)return this.elem.classList.contains(this.classes.hideSearch)&&this.elem.classList.remove(this.classes.hideSearch),this.elem.classList.add(this.classes.initial_headroom,this.classes.initial_search),setTimeout(this.attachEvent.bind(this),100),this},destroy:function(){var i=this.classes;this.initialised=!1,this.elem.classList.remove(i.unpinned,i.pinned,i.top,i.initial_headroom,i.initial_search),this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var i=this.elem.classList,r=this.classes;(i.contains(r.pinned)||!i.contains(r.unpinned))&&(i.add(r.unpinned),i.remove(r.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var i=this.elem.classList,r=this.classes;i.contains(r.unpinned)&&(i.remove(r.unpinned),i.add(r.pinned),this.onPin&&this.onPin.call(this))},showSearch:function(){var i=this.elem.classList,r=this.classes;i.contains(r.hideSearch)&&(i.remove(r.hideSearch),i.add(r.showSearch))},hideSearch:function(){var i=this.elem.classList,r=this.classes;i.contains(r.showSearch)&&(i.remove(r.showSearch),i.add(r.hideSearch))},top:function(){var i=this.elem.classList,r=this.classes;i.contains(r.top)||(i.add(r.top),i.remove(r.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var i=this.elem.classList,r=this.classes;i.contains(r.notTop)||(i.add(r.notTop),i.remove(r.top),this.onNotTop&&this.onNotTop.call(this))},getScrollY:function(){return this.scroller.pageYOffset!==void 0?this.scroller.pageYOffset:this.scroller.scrollTop!==void 0?this.scroller.scrollTop:(a.documentElement||a.body.parentNode||a.body).scrollTop},getViewportHeight:function(){return e.innerHeight||a.documentElement.clientHeight||a.body.clientHeight},getDocumentHeight:function(){var i=a.body,r=a.documentElement;return Math.max(i.scrollHeight,r.scrollHeight,i.offsetHeight,r.offsetHeight,i.clientHeight,r.clientHeight)},getElementHeight:function(i){return Math.max(i.scrollHeight,i.offsetHeight,i.clientHeight)},getScrollerHeight:function(){return this.scroller===e||this.scroller===a.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(i){var r=i<0,u=i+this.getViewportHeight()>this.getScrollerHeight();return r||u},toleranceExceeded:function(i,r){return Math.abs(i-this.lastKnownScrollY)>=this.tolerance[r]},shouldUnpin:function(i,r){var u=i>this.lastKnownScrollY,g=i>=this.offset;return u&&g&&r},shouldPin:function(i,r){var u=i<this.lastKnownScrollY,g=i<=this.offset;return u&&r||g},shouldHideSearch:function(i){return i<this.searchOffset},shouldShowSearch:function(i){return i>=this.searchOffset},update:function(){var i=this.getScrollY(),r=i>this.lastKnownScrollY?"down":"up",u=this.toleranceExceeded(i,r);this.isOutOfBounds(i)||(i<=this.offset?(this.nav&&this.top(),this.search&&this.hideSearch()):this.notTop(),this.nav&&this.shouldUnpin(i,u)?this.unpin():this.nav&&this.shouldPin(i,u)?this.pin():this.search&&this.shouldShowSearch(i)?this.showSearch():this.search&&this.shouldHideSearch(i)&&this.hideSearch(),this.lastKnownScrollY=i)}},l.options={tolerance:{up:0,down:0},offset:0,searchOffset:450,scroller:e,nav:!0,search:!1,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",initial_headroom:"headroom",initial_search:"hideSearch",hideSearch:"hideSearch",showSearch:"showSearch"}},l.cutsTheMustard=typeof d<"u"&&d.rAF&&d.bind&&d.classList,e.Headroom=l})(window,document)},525507:()=>{(function(){"use strict";var e={header_pin_sig:new signals.Signal,header_unpin_sig:new signals.Signal,tab_open_sig:new signals.Signal,widescreen_threshold:1441,stored_scrolltop:0,plans_nav_index:0,init:function(){var a="ontouchstart"in document.documentElement;a?($("html").addClass("touch"),FastClick.attach(document.body)):$("html").addClass("no_touch"),e.initTabs(),e.initAlerts(),$("#api_nav").length?e.initAPINav():window.TS&&(TS.boot_data&&!TS.boot_data.no_login||$("#menu_toggle").length)&&e.initNav(),$("nav").hasClass("splash")?e.initHeader({search:!0,nav:!1}):!$("nav").hasClass("clear_nav")&&!$("nav").hasClass("persistent")&&e.initHeader({nav:!0}),e.initWidescreen();var d=$("nav#site_nav");setTimeout(function(){d.removeClass("no_transition"),$("#menu_toggle").removeClass("no_transition")},0),window.plastic=e},initNav:function(){var a=$("body");$("#menu_toggle").on("click.toggle_nav",function(){!a.hasClass("nav_open")&&a.hasClass("widescreen")||e.toggleLeftNavigationOpenState()}),$("#overlay").on("click touchend",function(){e.toggleLeftNavigationOpenState()}),$('[data-qa="billing"]').click(function(){TS.interop.clog.track("GROWTH_PRICING",{contexts:{ui_context:{step:"home",action:"click",ui_element:"billing_link"}}})});var d=$("#api_nav").outerHeight()+$("#footer").outerHeight();$("head").append(`<style type="text/css"> @media only screen and (max-height: ${d}px) { nav#api_nav #footer, nav#site_nav #footer { position: relative; bottom: auto; } }
@media only screen and (min-width: ${e.widescreen_threshold}px) { body:not(.nav_open) nav#site_nav #footer { position: relative; bottom: auto; } }</style>`)},initAPINav:function(){var a=$("body"),d=T(function(){a.toggleClass("nav_open"),$("html").toggleClass("no_scroll"),a.hasClass("nav_open")?(e.stored_scrolltop=$(window).scrollTop(),$(window).scrollTop(0)):$(window).scrollTop(e.stored_scrolltop)},"toggleMenu");$("#menu_toggle").on("click.toggle_nav",function(){!a.hasClass("nav_open")&&a.hasClass("widescreen")||d()}),$("#overlay").on("click touchstart",d)},initHeader:function(a){var d=a?a.search:!1,p=a?a.nav:!0;$("header").length&&$("header").headroom({offset:80,tolerance:0,onPin:function(){e.header_pin_sig.dispatch()},onUnpin:function(){e.header_unpin_sig.dispatch()},search:d,nav:p})},initTabs:function(){$(".tab_set").on("click",function(){$(this).toggleClass("open")}).find("a").on("click",function(l){var i=$(this);if(i.hasClass("selected")&&i.attr("href")&&!i.hasClass("is_linked")){l.preventDefault();return}if(!i.attr("href")){i.addClass("selected").siblings(".selected").removeClass("selected");var r=i.data("tab");$(".tab_pane.selected").removeClass("selected"),$(`.tab_pane[data-tab="${r}"]`).addClass("selected"),e.tab_open_sig.dispatch(r),window.location.hash=r}});var a=window.location.hash;if(a){a=String(a).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""),a.charAt(0)==="#"&&(a=a.substring(1));var d=/(!|"|#|\$|%|&|'|\(|\)|\*|\+|,|\.|\/|:|;|<|=|>|\?|@|\[|\]|\^|`|{|}|\||~)/g;a=a.replace(d,function(l){return`\\${l}`});var p=$(`a[name="${a}"], #${a}`),o,t,h;p.length>0?(t=p.closest(".tab_pane"),t.length>0&&!t.hasClass("selected")&&(h=t.data("tab"),o=$(`a[data-tab="${h}"]`),o.click(),window.location.hash=a)):(o=$(`a[data-tab="${a}"]`),o.length>0&&o.click()),$(".tab_set").removeClass("open")}},initAlerts:function(){$(".alert_page").each(function(){$(this).hasClass("is_ephemeral")&&$(this).addClass("fade")}),$(".alert_page .alert_page__dismiss").on("click",function(){$(this).closest(".alert_page").addClass("hidden");var a=$(this).attr("data-js-dismiss-class");a&&$(`.${a}`).removeClass(a)})},initWidescreen:function(){var a=$(window),d=$("body"),p=$("nav#site_nav");d.hasClass("full_bleed")||!p.length&&!$("#api_nav").length||a.resize(function(){var o=a.width(),t=a.height();o>=e.widescreen_threshold&&!d.hasClass("widescreen")?d.addClass("widescreen"):o<e.widescreen_threshold&&d.hasClass("widescreen")&&(p.addClass("no_transition"),d.removeClass("widescreen"),setTimeout(function(){p.removeClass("no_transition")},350)),$("#page").css("min-height",t)}).resize()},toggleLeftNavigationOpenState:function(){const a=$("body");a.toggleClass("nav_open"),TS.interop.clog.track("GROWTH_PRICING",{contexts:{ui_context:{step:a.hasClass("nav_open")?TS.interop.clogTypes.UiStep.TEAM_SITE_LEFT_MENU_TOGGLE_OPEN:TS.interop.clogTypes.UiStep.TEAM_SITE_LEFT_MENU_TOGGLE_CLOSE,action:TS.interop.clogTypes.UiAction.CLICK,ui_properties:{element_type:TS.interop.clogTypes.ElementType.BUTTON,element_name:"team_site_left_nav_menu_toggle"}}}})}};$(function(){e.init()})})()},664938:(e,a,d)=>{"use strict";var p=d(974699),o=d.n(p),t=d(330242),h=d.n(t),l=d(210101),i=d.n(l),r=d(525507),u=d.n(r)},330242:(e,a,d)=>{var p=d(147672),o=d(934160),t=o;t.FastClick=p,e.exports=p},934160:(e,a,d)=>{"use strict";e.exports=function(){if(typeof globalThis=="object")return globalThis;var p;try{p=this||new Function("return this")()}catch{if(typeof window=="object")return window;if(typeof self=="object")return self;if(typeof d.g<"u")return d.g}return p}()}},e=>{var a=T(p=>e(e.s=p),"__webpack_exec__"),d=a(664938)}]);})();