(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},44239:function(e,t,n){var r=n(62705),o=n(89607),a=n(2333),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?o(e):a(e)}},27561:function(e,t,n){var r=n(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},89607:function(e,t,n){var r=n(62705),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[c]=n:delete e[c]),o}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),o=n(7771),a=n(14841),s=Math.max,c=Math.min;e.exports=function(e,t,n){var l,d,f,p,m,h,g=0,v=!1,y=!1,b=!0;if("function"!=typeof e)throw TypeError("Expected a function");function invokeFunc(t){var n=l,r=d;return l=d=void 0,g=t,p=e.apply(r,n)}function shouldInvoke(e){var n=e-h,r=e-g;return void 0===h||n>=t||n<0||y&&r>=f}function timerExpired(){var e,n,r,a=o();if(shouldInvoke(a))return trailingEdge(a);m=setTimeout(timerExpired,(e=a-h,n=a-g,r=t-e,y?c(r,f-n):r))}function trailingEdge(e){return(m=void 0,b&&l)?invokeFunc(e):(l=d=void 0,p)}function debounced(){var e,n=o(),r=shouldInvoke(n);if(l=arguments,d=this,h=n,r){if(void 0===m)return g=e=h,m=setTimeout(timerExpired,t),v?invokeFunc(e):p;if(y)return clearTimeout(m),m=setTimeout(timerExpired,t),invokeFunc(h)}return void 0===m&&(m=setTimeout(timerExpired,t)),p}return t=a(t)||0,r(n)&&(v=!!n.leading,f=(y="maxWait"in n)?s(a(n.maxWait)||0,t):f,b="trailing"in n?!!n.trailing:b),debounced.cancel=function(){void 0!==m&&clearTimeout(m),g=0,l=h=d=m=void 0},debounced.flush=function(){return void 0===m?p:trailingEdge(o())},debounced}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},14841:function(e,t,n){var r=n(27561),o=n(13218),a=n(33448),s=0/0,c=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,d=/^0o[0-7]+$/i,f=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return s;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||d.test(e)?f(e.slice(2),n?2:8):c.test(e)?s:+e}},91118:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(61793)}])},96589:function(e,t,n){"use strict";n.d(t,{Ht:function(){return a},WR:function(){return f},et:function(){return s},lB:function(){return l},oZ:function(){return d}});var r,o=n(248),percent=function(e,t){return Math.round(e*t/100)},darken=function(e,t){return Object.assign(Object.assign({},e),{l:e.l-percent(e.l,t)})},alpha=function(e,t){return Object.assign(Object.assign({},e),{a:t})},a={red:{h:11,s:80,l:45,a:1},blurpleLight:{h:240,s:83.3,l:95.3,a:1},blurpleMedium:{h:242,s:81,l:87.6,a:1},blurple:{h:242,s:88.4,l:66.3,a:1},blurpleDark:{h:242,s:87.6,l:62,a:1},offWhite:{h:45,s:36.4,l:95.7,a:1},blueLight:{h:206,s:58.3,l:85.9,a:1},blue:{h:206,s:100,l:73.3,a:1},blueDark:{h:206,s:29.5,l:33.9,a:1},orangeLight:{h:6,s:100,l:89.6,a:1},orange:{h:11,s:100,l:62.2,a:1},orangeDark:{h:11,s:79.9,l:64.9,a:1},tealLight:{h:180,s:20,l:67.6,a:1},teal:{h:180,s:51.4,l:51.6,a:1},tealDark:{h:180,s:16.2,l:22.9,a:1},yellowLight:{h:39,s:100,l:87.8,a:1},yellow:{h:50,s:100,l:57.3,a:1},yellowDark:{h:39,s:100,l:68,a:1}},s={grey8:{h:0,s:0,l:13,a:1},grey7:{h:246,s:16,l:26,a:1},grey6:{h:252,s:13,l:46,a:1},grey5:{h:240,s:7,l:62,a:1},grey4:{h:259,s:12,l:75,a:1},grey3:{h:260,s:11,l:85,a:1},grey2:{h:260,s:11,l:95,a:1},grey1:{h:240,s:7,l:97,a:1},white:{h:0,s:0,l:100,a:1}},c={focusRing:alpha(a.blurple,.5),record:a.orange,recordHover:darken(a.orange,15.8),recordActive:darken(a.orange,31.6),info:a.blue,success:a.teal,warning:a.yellowDark,danger:a.red,dangerHover:darken(a.red,15.8),dangerActive:darken(a.red,31.6),backdrop:alpha(s.grey8,.5),backdropDark:alpha(s.grey8,.9),backdropTwilight:alpha({h:245,s:44.8,l:46.9,a:1},.8),disabledContent:s.grey5,highlight:{h:a.blurpleLight.h,s:a.blurpleLight.s,l:66.3,a:.15}},l={light:Object.assign(Object.assign({primary:a.blurple,primaryHover:darken(a.blurple,15.8),primaryActive:darken(a.blurple,31.6),body:s.grey8,bodyDimmed:s.grey6,background:s.white,backgroundHover:alpha(s.grey7,.1),backgroundActive:alpha(s.grey7,.3),backgroundSecondary:alpha(s.grey7,.04),backgroundSecondary2:{h:45,s:34,l:78,a:.2},overlay:s.white,border:alpha(s.grey6,.2)},c),{disabledBackground:s.grey2,formFieldBorder:s.grey3,formFieldBackground:s.white,buttonBorder:alpha(s.grey6,.25),upgrade:{h:206,s:100,l:93,a:1},upgradeHover:darken({h:206,s:100,l:93,a:1},9),upgradeActive:darken({h:206,s:100,l:93,a:1},17),tabBackground:alpha(s.grey6,.15),discoveryBackground:{h:206,s:100,l:93,a:1},discoveryLightBackground:{h:206,s:100,l:97,a:1},discoveryTitle:s.grey8,discoveryHighlight:{h:206,s:100,l:77,a:.3}}),dark:Object.assign(Object.assign({primary:{h:242,s:87,l:73,a:1},primaryHover:darken(a.blurple,15.8),primaryActive:darken(a.blurple,31.6),body:s.grey1,bodyDimmed:s.grey5,background:s.grey8,backgroundHover:alpha(s.white,.1),backgroundActive:alpha(s.white,.2),backgroundSecondary:alpha(s.white,.04),backgroundSecondary2:{h:45,s:13,l:44,a:.2},overlay:Object.assign(Object.assign({},r=s.grey8),{l:r.l+percent(r.l,50)}),border:alpha(s.grey4,.2)},c),{disabledBackground:darken(s.grey6,50),formFieldBorder:s.grey6,formFieldBackground:s.grey8,buttonBorder:alpha(s.white,.25),upgrade:{h:206,s:92,l:81,a:1},upgradeHover:darken({h:206,s:92,l:81,a:1},9),upgradeActive:darken({h:206,s:92,l:81,a:1},17),tabBackground:alpha(s.white,.15),discoveryBackground:{h:206,s:92,l:81,a:1},discoveryLightBackground:s.grey8,discoveryTitle:a.blue,discoveryHighlight:{h:206,s:100,l:77,a:.3}})},d=Object.assign(Object.assign({},a),s),f=(0,o._)(Object.keys(d)).concat((0,o._)(Object.keys(l.light)))},27710:function(e,t,n){"use strict";n.d(t,{b0:function(){return getColorsCssVarsObject},f1:function(){return getVariablesCssVarsObject},tc:function(){return getThemeStyles}});var r,o,a,s,c=n(24043),l=n(248),d=n(72662),f=n(96589),p=n(93733),getCssVarsFromObject=function(e,t){var n={};return Object.entries(t).forEach(function(t){var r=(0,c._)(t,2),o=r[0],a=r[1];n["--lns-".concat((e?"".concat(e,"-"):"")+o)]=a}),n},m=getCssVarsFromObject(void 0,{unit:"".concat(d.bf/16,"rem")}),h=getCssVarsFromObject("fontWeight",d.vC),g=getCssVarsFromObject(void 0,(r={},Object.entries(d.iH).forEach(function(e){var t=(0,c._)(e,2),n=t[0],o=t[1],a={};a["fontSize-".concat(n)]=(0,p.u)(o.fontSize),a["lineHeight-".concat(n)]=o.lineHeight,Object.assign(r,a,{})}),r)),v=getCssVarsFromObject("radius",d.pD),y=getCssVarsFromObject("shadow",d.q),b=getCssVarsFromObject(void 0,(o={},Object.entries(d.RZ).forEach(function(e){var t=(0,c._)(e,2),n=t[0],r=t[1];o["space-".concat(n)]=(0,p.u)(r)}),o)),S=getCssVarsFromObject(void 0,{formFieldBorderWidth:"1px",formFieldBorderWidthFocus:"2px",formFieldHeight:(0,p.u)(4.5),formFieldRadius:(0,p.u)(2.25),formFieldHorizontalPadding:(0,p.u)(2),formFieldBorderShadow:"\n inset 0 0 0 var(--lns-formFieldBorderWidth) var(--lns-color-formFieldBorder)\n ",formFieldBorderShadowFocus:"\n inset 0 0 0 var(--lns-formFieldBorderWidthFocus) var(--lns-color-blurple),\n 0 0 0 var(--lns-formFieldBorderWidthFocus) var(--lns-color-focusRing)\n "}),k=getCssVarsFromObject("color",(a={},Object.keys(Object.assign(Object.assign({},f.Ht),f.et)).forEach(function(e){a[e]="hsla(".concat(f.oZ[e].h,",").concat(f.oZ[e].s,"%,").concat(f.oZ[e].l,"%,").concat(f.oZ[e].a,")")}),a)),w=getCssVarsFromObject(void 0,Object.assign(Object.assign({},(s=function(e,t){return Object.keys(e).reduce(function(n,r){var o=e[r];return n["".concat(t,"-color-").concat(r)]="hsla(".concat(o.h,",").concat(o.s,"%,").concat(o.l,"%,").concat(o.a,")"),n},{})})(f.lB.light,"themeLight")),s(f.lB.dark,"themeDark"))),x=[m,g,v,y,b,S],getVariablesCssVarsObject=function(){var e;return(e=Object).assign.apply(e,[{},h].concat((0,l._)(x)))},getColorsCssVarsObject=function(){return Object.assign(Object.assign({},k),w)},getThemeStylesString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":root";return"\n ".concat(e||":root",',\n .theme-light,\n [data-lens-theme="light"] {\n ').concat(Object.keys(f.lB.light).map(function(e){return"--lns-color-".concat(e,": var(--lns-themeLight-color-").concat(e,");")}).join(""),'\n }\n\n .theme-dark,\n [data-lens-theme="dark"] {\n ').concat(Object.keys(f.lB.dark).map(function(e){return"--lns-color-".concat(e,": var(--lns-themeDark-color-").concat(e,");")}).join(""),"\n }\n ")},getThemeStyles=function(){var e=document.createElement("style");e.innerHTML=getThemeStylesString(),document.head.appendChild(e)}},72976:function(e,t,n){"use strict";n(23279),n(67294)},93733:function(e,t,n){"use strict";n.d(t,{nl:function(){return o.nl},hb:function(){return o.hb},Rv:function(){return getColorValue},yb:function(){return getFocusRing},On:function(){return getFontWeight},x_:function(){return getPlacement},H5:function(){return getRadius},$C:function(){return o.$C},av:function(){return o.av},W1:function(){return o.W1},Xj:function(){return getShadow},ap:function(){return a.a},TX:function(){return a.T},y3:function(){return getTextSize},w3:function(){return pascalCaseToKebabCase},u:function(){return a.u}});var r=n(96589),getColorValue=function(e){if(e)return e in r.oZ||e in r.lB.light?"var(--lns-color-".concat(e,")"):e},o=n(88171),a=n(412),getTextSize=function(e){return e&&"\n font-size: var(--lns-fontSize-".concat(e,");\n line-height: var(--lns-lineHeight-").concat(e,");\n")},getRadius=function(e){return e&&"border-radius: var(--lns-radius-".concat(e,");")},getFontWeight=function(e){return e&&"font-weight: var(--lns-fontWeight-".concat(e,");")},getShadow=function(e){return e&&"box-shadow: var(--lns-shadow-".concat(e,");")},getFocusRing=function(e,t){var n=e||getColorValue("focusRing");return"box-shadow:".concat(t||""," 0 0 0 2px ").concat(n,";")},getPlacement=function(e,t){return({center:{bottom:0,top:"calc((100vh - ".concat(e,") / 2)"),position:"relative"},bottom:{bottom:0,top:"unset",position:"absolute"},undefined:{bottom:void 0,top:"15vh",position:"relative"}})[t]},pascalCaseToKebabCase=function(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}},88171:function(e,t,n){"use strict";n.d(t,{$C:function(){return getResponsiveBoolean},$n:function(){return objectToBreakpoints},Uw:function(){return getResponsiveGridSections},W1:function(){return getResponsiveOneOf},av:function(){return getResponsiveNumber},hb:function(){return getAlignmentStyles},nl:function(){return arrayToBreakpoints}});var r=n(24043),o=n(72662),a=n(412);n(72976);var getMediaCss=function(e,t,n){return"@media(".concat(e,": ").concat(t,"){").concat(n,"}")},arrayToBreakpoints=function(e){return getMediaCss("max-width",Object.values(o.AV)[0],e[0])+e.reduce(function(e,t,n){return e+getMediaCss("min-width","".concat(Object.values(o.AV)[n]),t)},"")},objectToBreakpoints=function(e,t){var n=[];return t.default&&n.push("".concat(e,": ").concat(t.default,";")),delete t.default,Object.entries(t).forEach(function(t){var a=(0,r._)(t,2),s=a[0],c=a[1],l=s in o.AV?o.AV[s]:s;n.push("@media(min-width: ".concat(l,"){ ").concat(e,": ").concat(c," }"))}),n.join(" ")},getResponsiveOneOf=function(e,t){return Array.isArray(t)?arrayToBreakpoints(t.map(function(t){return"".concat(e,": ").concat(t,";")})):"object"==typeof t?objectToBreakpoints(e,t):"".concat(e,": ").concat(t,";")},getAlignmentStyles=function(e,t){if(e){if(Array.isArray(e)){var n=[];return e.map(function(e){n.push(t[e])}),getResponsiveOneOf("align-items",n)}return"align-items ".concat(t[e],";")}},getResponsiveBoolean=function(e,t,n){return Array.isArray(n)?arrayToBreakpoints(n.map(function(n){var r=!0===n?t[0]:t[1];return"".concat(e,": ").concat(r,";")})):"".concat(e,": ").concat(t[0],";")},getResponsiveNumber=function(e,t){if(t||0===t)return Array.isArray(t)?arrayToBreakpoints(t.map(function(t){return"".concat(e,": ").concat(t)})):"object"!=typeof t||Array.isArray(t)?"".concat(e,": ").concat(t,";"):objectToBreakpoints(e,t)},transformColumns=function(e){return Array.isArray(e)?e.map(function(e){return(0,a.T)(e)}).join(" "):e},getResponsiveGridSections=function(e,t){if(e){if("object"==typeof e&&!Array.isArray(e)){var n={};return Object.entries(e).forEach(function(e){var t=(0,r._)(e,2),o=t[0],a=t[1];return n[o]=transformColumns(a)}),objectToBreakpoints("grid-template-".concat(t),n)}return"grid-template-".concat(t,": ").concat(transformColumns(e),";")}}},412:function(e,t,n){"use strict";n.d(t,{T:function(){return getSizeValue},a:function(){return getSize},u:function(){return u}});var r=n(24043),o=n(93733),a=n(72662),s=n(88171),u=function(e){return e&&"calc(".concat(e," * var(--lns-unit, ").concat(a.bf,"px))")},getSizeValue=function(e){return e in a.RZ?"var(--lns-space-".concat(e,")"):e&&isNaN(e)?"".concat(e):0===e?"0":e?"".concat(u(e)):void 0},getSize=function(e,t){if(t||0===t){if(Array.isArray(t)){var n=t.map(function(t){return"".concat(e,": ").concat(getSizeValue(t))});return(0,o.nl)(n)}if("object"==typeof t){var a={};return Object.entries(t).forEach(function(e){var t=(0,r._)(e,2),n=t[0],o=t[1];return a[n]=getSizeValue(o)}),(0,s.$n)(e,a)}return"".concat(e,": ").concat(getSizeValue(t),";")}}},72662:function(e,t,n){"use strict";n.d(t,{AV:function(){return f},RZ:function(){return d},bf:function(){return o},iH:function(){return a},pD:function(){return c},q:function(){return l},vC:function(){return s}});var r=n(93733),o=8,a={small:{fontSize:1.5,lineHeight:1.5},"body-sm":{fontSize:1.5,lineHeight:1.5},medium:{fontSize:1.75,lineHeight:1.6},"body-md":{fontSize:1.75,lineHeight:1.6},large:{fontSize:2.25,lineHeight:1.45},"body-lg":{fontSize:2.25,lineHeight:1.45},xlarge:{fontSize:3,lineHeight:1.35},"heading-sm":{fontSize:3,lineHeight:1.35},xxlarge:{fontSize:4,lineHeight:1.2},"heading-md":{fontSize:4,lineHeight:1.2},xxxlarge:{fontSize:6,lineHeight:1.15},"heading-lg":{fontSize:6,lineHeight:1.15}},s={book:400,bold:700},c={medium:(0,r.u)(1),large:(0,r.u)(2),xlarge:(0,r.u)(3),full:(0,r.u)(999)},l={small:"0 ".concat((0,r.u)(.5)," ").concat((0,r.u)(1.25)," hsla(0, 0%, 0%, 0.05)"),medium:"0 ".concat((0,r.u)(.5)," ").concat((0,r.u)(1.25)," hsla(0, 0%, 0%, 0.1)"),large:"0 ".concat((0,r.u)(.75)," ").concat((0,r.u)(3)," hsla(0, 0%, 0%, 0.1)")},d={xsmall:.5,small:1,medium:2,large:3,xlarge:5,xxlarge:8},f={xsmall:"31em",small:"48em",medium:"64em",large:"75em"}},86274:function(e,t,n){"use strict";n.d(t,{B3:function(){return d},M$:function(){return o},Ss:function(){return c},Uc:function(){return s},cZ:function(){return a},td:function(){return l}});var r,o="production";r=window.location.hostname;var a="production"===o,s="stage.loom.com"===r,c="preview"===o,l="development"===o,d=window.location.toString().includes("stage.loom.com")?"https://stage.loom.com/graphql":"https://mulligan.indiedemos.com/graphql"},63554:function(e,t,n){"use strict";n.d(t,{Sl:function(){return o},dn:function(){return s},gF:function(){return d},mX:function(){return l}});var r=n(86274),o='function loadExternalJS(url, location, callback) {\n var scriptTag = document.createElement("script");\n scriptTag.src = url;\n scriptTag.type = "text/javascript";\n scriptTag.onreadystatechange = callback;\n scriptTag.onload = callback;\n window.atlGlobalLoadStart = new Date();\n location.appendChild(scriptTag);\n}',a=r.cZ?"https://atl-global.atlassian.com/js/atl-global.min.js":"https://atl-global.stg.atlassian.com/js/atl-global.min.js",s='\n loadExternalJS("'.concat(a,'", document.body, initializeATLAnalytics);\n function initializeATLAnalytics() {\n window.ace.analytics.Initializer.initGAS({\n gasv3Product: \'loom\',\n });\n setTimeout(function() {\n window.ace.analytics.GASv3.sendTrackEvent("view", "page", "", {\n eventSource: document.title,\n pathname: window.location.pathname,\n eventContainer: "loom-content",\n });\n }, 1500);\n }'),c="mllYsZ0rym6Ar4fuuJjAMsrZpK5LwmUR";'\n!function(){var i="segmentAnalytics",analytics=window[i]=window[i]||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","screen","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware","register"];analytics.factory=function(e){return function(){if(window[i].initialized)return window[i][e].apply(window[i],arguments);var n=Array.prototype.slice.call(arguments);if(["track","screen","alias","group","page","identify"].indexOf(e)>-1){var c=document.querySelector("link[rel=\'canonical\']");n.push({__t:"bpc",c:c&&c.getAttribute("href")||void 0,p:location.pathname,u:location.href,s:location.search,t:document.title,r:document.referrer})}n.unshift(e);analytics.push(n);return analytics}};for(var n=0;nn.e(4922).then(n.bind(n,34922)));function i(e){return(0,o.jsx)(a.Suspense,{fallback:null,children:(0,o.jsx)(s,{...e})})}var c=n(27710);/*! * css-vars-ponyfill * v2.4.8 * https://jhildenbiddle.github.io/css-vars-ponyfill/ * (c) 2018-2022 John Hildenbiddle * MIT license */function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t * MIT license */function getUrls(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={mimeType:t.mimeType||null,onBeforeSend:t.onBeforeSend||Function.prototype,onSuccess:t.onSuccess||Function.prototype,onError:t.onError||Function.prototype,onComplete:t.onComplete||Function.prototype},r=Array.isArray(e)?e:[e],o=Array.apply(null,Array(r.length)).map(function(e){return null});function isValidCss(e){var t="string"==typeof e,n=t&&"<"===e.trim().charAt(0);return t&&!n}function onError(e,t){n.onError(e,r[t],t)}function onSuccess(e,t){var a=n.onSuccess(e,r[t],t);e=!1===a?"":a||e,o[t]=e,-1===o.indexOf(null)&&n.onComplete(o)}var a=document.createElement("a");r.forEach(function(e,t){if(a.setAttribute("href",e),a.href=String(a.href),document.all&&!window.atob&&a.host.split(":")[0]!==location.host.split(":")[0]){if(a.protocol===location.protocol){var r=new XDomainRequest;r.open("GET",e),r.timeout=0,r.onprogress=Function.prototype,r.ontimeout=Function.prototype,r.onload=function(){var e=r.responseText;isValidCss(e)?onSuccess(e,t):onError(r,t)},r.onerror=function(e){onError(r,t)},setTimeout(function(){r.send()},0)}else console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(e,")")),onError(null,t)}else{var o=new XMLHttpRequest;o.open("GET",e),n.mimeType&&o.overrideMimeType&&o.overrideMimeType(n.mimeType),n.onBeforeSend(o,e,t),o.onreadystatechange=function(){if(4===o.readyState){var e=o.responseText;o.status<400&&isValidCss(e)?onSuccess(e,t):0===o.status&&isValidCss(e)?onSuccess(e,t):onError(o,t)}},o.send()}})}/** * Gets CSS data from