mage-ai 0.8.12__py3-none-any.whl → 0.8.13__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mage-ai might be problematic. Click here for more details.
- mage_ai/api/policies/BackfillPolicy.py +4 -1
- mage_ai/io/export_utils.py +1 -0
- mage_ai/io/postgres.py +46 -4
- mage_ai/server/constants.py +1 -1
- mage_ai/server/frontend_dist/404.html +2 -2
- mage_ai/server/frontend_dist/404.html.html +2 -2
- mage_ai/server/frontend_dist/_next/static/UuQKenirO2LDcepWvj6S9/_buildManifest.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{1830-c3f709c7ca7f32ab.js → 1830-fbc03130dc8507d5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2626-74904ade5b462127.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3573-9b7b57411a327efa.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/434-b1cbc39e987f22cd.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/4846-688b5f0a015a543a.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/5477-4d9bab807c386355.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/7281-99f836e410857a68.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/7400-26ce25ec46728ef7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9767-30e239ed26aa848a.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{_app-77b4b367fdb247d6.js → _app-169f9cc923ae39a5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{manage-14c743a0e2549486.js → manage-91c4fd203b4ac0e2.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{pipeline-runs-21fe37061bdaaaea.js → pipeline-runs-10d54d54bfd9b39c.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-971ea5bb26d66155.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-393cec015b843dd8.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-2963c971fdefd159.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-d1490dc3ea4f2e61.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/{block-runs-8f23f7ca9efcb069.js → block-runs-f513df1d43ba48f0.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-393fa626a8873f74.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{monitors-8b08ec1aef4af4f2.js → monitors-d45f982e19978552.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-463347405cafa133.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-a33f6fd5d91cd123.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-d4df695d51e01232.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-d83cf90749c8cd56.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-f6ee40bebf427cfa.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{pipelines-1c0627627c21667f.js → pipelines-db2903bdeeeae791.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-19a5aa2de681b54a.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-e1b34b9a44fc4688.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/sync_data-4ae244876881cfe1.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{users-439adeb06fca8436.js → users-b8aeca222449e041.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{terminal-6feb9848233a6c6e.js → terminal-482bd79cb26b8f73.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-81b7327ed8e015a4.js +1 -0
- mage_ai/server/frontend_dist/index.html +2 -2
- mage_ai/server/frontend_dist/manage.html +4 -4
- mage_ai/server/frontend_dist/pipeline-runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline].html +2 -2
- mage_ai/server/frontend_dist/pipelines.html +5 -5
- mage_ai/server/frontend_dist/settings/account/profile.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/preferences.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/sync_data.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/users.html +5 -5
- mage_ai/server/frontend_dist/settings.html +2 -2
- mage_ai/server/frontend_dist/sign-in.html +4 -4
- mage_ai/server/frontend_dist/terminal.html +5 -5
- mage_ai/server/frontend_dist/test.html +3 -3
- mage_ai/server/frontend_dist/triggers.html +5 -5
- mage_ai/server/websocket_server.py +1 -1
- {mage_ai-0.8.12.dist-info → mage_ai-0.8.13.dist-info}/METADATA +1 -1
- {mage_ai-0.8.12.dist-info → mage_ai-0.8.13.dist-info}/RECORD +73 -75
- mage_ai/server/frontend_dist/_next/static/BJSgpMeWTfdkZw_YRDpOz/_buildManifest.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2249-70929b8c547bbc18.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2426-115f8871a2e28f8c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/434-69ddfacd3e93f2db.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/4846-b4ced91dc0e9fba9.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5477-d76f7f4b9d329116.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5944-757b7898608a65e1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6579-2b5d8d39472d85c0.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/7400-1430ec3874c1fdee.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8961-697fe5d4db44d909.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9767-e89f3e19764e4f24.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-678569cf24a2e10d.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-0ed0d70bc659c236.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-51fe31916670195c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-5ccc75887776efb0.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-f83ab9de4094e1b0.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-73ced07cc98a4968.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-67d23509a0c9a1b8.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-4084a44baf91f30e.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-ae970171cfe98c51.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-b0b91245d3299bdf.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-88bc8c5e21f7e493.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-4c05a269e02f2208.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/sync_data-f1f47e503c490758.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-e0172c422c95eda9.js +0 -1
- /mage_ai/server/frontend_dist/_next/static/{BJSgpMeWTfdkZw_YRDpOz → UuQKenirO2LDcepWvj6S9}/_middlewareManifest.js +0 -0
- /mage_ai/server/frontend_dist/_next/static/{BJSgpMeWTfdkZw_YRDpOz → UuQKenirO2LDcepWvj6S9}/_ssgManifest.js +0 -0
- {mage_ai-0.8.12.dist-info → mage_ai-0.8.13.dist-info}/LICENSE +0 -0
- {mage_ai-0.8.12.dist-info → mage_ai-0.8.13.dist-info}/WHEEL +0 -0
- {mage_ai-0.8.12.dist-info → mage_ai-0.8.13.dist-info}/entry_points.txt +0 -0
- {mage_ai-0.8.12.dist-info → mage_ai-0.8.13.dist-info}/top_level.txt +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6579],{82386:function(n,e,t){t.d(e,{E$:function(){return _},MK:function(){return m},MP:function(){return Z},Md:function(){return u},OM:function(){return g},Ru:function(){return O},VW:function(){return p},W7:function(){return w},Wi:function(){return b},YJ:function(){return j},Zj:function(){return P},Zt:function(){return l},aH:function(){return B},dN:function(){return s},ff:function(){return I},l8:function(){return h},rS:function(){return E},uX:function(){return v},v7:function(){return C},ve:function(){return f}});var r=t(9518),o=t(23831),i=t(73942),c=t(3055),a=t(49125),d=t(37391),l=64*a.iI,u=3*a.cd*a.iI,s=u,f=35*a.iI,p=.5*a.iI,h=13*a.iI,b=3*a.cd*a.iI,g=6*a.iI,v=2*a.cd*3*a.iI,m=(r.default.div.withConfig({displayName:"indexstyle__HeaderStyle",componentId:"sc-1lxpneo-0"})(["position:fixed;z-index:2;"," "," ",""],(function(n){return"\n border-bottom: 1px solid ".concat((n.theme.monotone||o.Z.monotone).grey200,";\n ")}),(function(n){return!n.beforeVisible&&"\n width: 100%;\n "}),(function(n){return n.beforeVisible&&"\n left: ".concat(f,"px;\n width: calc(100% - ").concat(f,"px);\n ")})),r.default.div.withConfig({displayName:"indexstyle__NewHeaderStyle",componentId:"sc-1lxpneo-1"})(["height:","px;position:fixed;top:0;width:100%;z-index:4;"],c.Mz)),x=(r.default.div.withConfig({displayName:"indexstyle__TabStyle",componentId:"sc-1lxpneo-2"})(["border-top-left-radius:","px;border-top-right-radius:","px;padding:","px ","px;position:relative;top:1px;"," "," ",""],i.n_,i.n_,1*a.iI,2*a.iI,(function(n){return"\n border-left: 1px solid ".concat((n.theme.monotone||o.Z.monotone).grey200,";\n border-right: 1px solid ").concat((n.theme.monotone||o.Z.monotone).grey200,";\n border-top: 1px solid ").concat((n.theme.monotone||o.Z.monotone).grey200,";\n ")}),(function(n){return!n.first&&"\n margin-left: ".concat(1*a.iI,"px;\n ")}),(function(n){return n.selected&&"\n border-bottom: 1px solid ".concat((n.theme.monotone||o.Z.monotone).white,";\n ")})),(0,r.css)(["position:fixed;z-index:2;",""],(function(n){return"\n background-color: ".concat((n.theme.background||o.Z.background).panel,";\n height: calc(100% - ").concat("undefined"===typeof n.heightOffset?v:n.heightOffset,"px);\n top: ").concat("undefined"===typeof n.heightOffset?v:n.heightOffset,"px;\n ")}))),y=(0,r.css)([""," height:100%;overflow:auto;position:relative;z-index:2;"],d.w5),k=(0,r.css)(["height:calc(100% + ","px);position:absolute;top:-","px;width:","px;z-index:6;&:hover{","}"," ",""],b,b,p,(function(n){return!n.disabled&&"\n border-color: ".concat((n.theme.text||o.Z.text).fileBrowser," !important;\n ")}),(function(n){return!n.disabled&&"\n cursor: col-resize;\n "}),(function(n){return n.active&&!n.disabled&&"\n border-color: ".concat((n.theme.text||o.Z.text).fileBrowser," !important;\n ")})),w=r.default.div.withConfig({displayName:"indexstyle__AsideHeaderStyle",componentId:"sc-1lxpneo-3"})(["border-bottom:1px solid transparent;height:","px;position:fixed;top:","px;z-index:4;"," "," ",""],b,b,(0,d.y$)(),(function(n){return"\n background-color: ".concat((n.theme.background||o.Z.background).panel,";\n ")}),(function(n){return!n.visible&&"\n border-left: 1px solid transparent;\n border-right: 1px solid transparent;\n border-color: ".concat((n.theme.borders||o.Z.borders).medium," !important;\n ")})),j=r.default.div.withConfig({displayName:"indexstyle__AsideSubheaderStyle",componentId:"sc-1lxpneo-4"})(["border-bottom:1px solid transparent;height:","px;overflow-x:auto;"," "," ",""],b,(0,d.y$)(),(function(n){return"\n background-color: ".concat((n.theme.background||o.Z.background).table,";\n ")}),(function(n){return!n.visible&&"\n border-color: ".concat((n.theme.borders||o.Z.borders).medium," !important;\n ")})),Z=r.default.aside.withConfig({displayName:"indexstyle__BeforeStyle",componentId:"sc-1lxpneo-5"})([""," left:0;"],x),O=r.default.div.withConfig({displayName:"indexstyle__BeforeInnerStyle",componentId:"sc-1lxpneo-6"})([""," overflow:hidden;&:hover{overflow:auto;}"],y),I=r.default.aside.withConfig({displayName:"indexstyle__AfterStyle",componentId:"sc-1lxpneo-7"})([""," right:0;"],x),_=r.default.div.withConfig({displayName:"indexstyle__AfterInnerStyle",componentId:"sc-1lxpneo-8"})(["",""],y),C=r.default.div.withConfig({displayName:"indexstyle__DraggableStyle",componentId:"sc-1lxpneo-9"})([""," "," ",""],k,(function(n){return"undefined"!==typeof n.left&&"\n border-left: 1px solid ".concat((n.theme.borders||o.Z.borders).medium,";\n left: ").concat(n.left,"px;\n ")}),(function(n){return"undefined"!==typeof n.right&&"\n border-right: 1px solid ".concat((n.theme.borders||o.Z.borders).medium,";\n right: ").concat(n.right,"px;\n ")})),E=r.default.div.withConfig({displayName:"indexstyle__MainWrapper",componentId:"sc-1lxpneo-10"})(["height:100%;position:fixed;z-index:1;",""],(function(n){return"\n background-color: ".concat((n.theme.background||o.Z.background).codeArea,";\n ")})),B=r.default.div.withConfig({displayName:"indexstyle__MainContentStyle",componentId:"sc-1lxpneo-11"})(["position:fixed;z-index:2;",""],(function(n){return"\n height: calc(100% - ".concat(n.headerOffset||0,"px);\n top: ").concat(n.headerOffset||0,"px;\n ")})),P=r.default.div.withConfig({displayName:"indexstyle__MainContentInnerStyle",componentId:"sc-1lxpneo-12"})([""," height:100%;overflow:auto;"],d.w5)},32063:function(n,e,t){var r=t(82684),o=t(1887),i=t.n(o),c=t(60328),a=t(57639),d=t(93461),l=t(67971),u=t(86673),s=t(46261),f=t(82386),p=t(10503),h=t(91427),b=t(49125),g=t(24141),v=t(28598);e.Z=function(n){var e=n.after,t=n.afterHeader,o=n.afterHeightOffset,m=n.afterHidden,x=n.afterMousedownActive,y=n.afterSubheader,k=n.afterWidth,w=void 0===k?0:k,j=n.before,Z=n.beforeHeader,O=n.beforeHeightOffset,I=n.beforeHidden,_=n.beforeMousedownActive,C=n.beforeWidth,E=void 0===C?0:C,B=n.children,P=n.header,S=n.headerOffset,R=void 0===S?0:S,W=n.hideAfterCompletely,H=n.leftOffset,M=void 0===H?0:H,z=n.mainContainerHeader,D=n.mainContainerRef,N=n.setAfterHidden,A=n.setAfterMousedownActive,L=n.setAfterWidth,T=n.setBeforeHidden,F=n.setBeforeMousedownActive,V=n.setBeforeWidth,U=(n.uuid,(0,g.i)().width),X=(0,r.useRef)(null),$=(0,r.useRef)(null),G=(0,r.useRef)(null),Y=(0,r.useRef)(null),q=(0,r.useCallback)((function(){var n=!m;null===N||void 0===N||N(n),(0,h.t8)(h.zg,n)}),[m,N]),J=(0,r.useCallback)((function(){var n=!I;T(n),(0,h.t8)(h.Uu,n)}),[I,T]);(0,r.useEffect)((function(){var n,e,t,r,o=function(n){var e,t;((null===G||void 0===G||null===(e=G.current)||void 0===e||null===(t=e.getBoundingClientRect)||void 0===t?void 0:t.call(e))||{}).x;if(U){var r=n.x;r+f.l8>U-w&&(r=U-w-f.l8),r-=2*M,V(Math.max(r,f.dN))}},i=function(n){var e,t;n.offsetX>=n.target.offsetWidth-f.VW&&n.offsetX<=n.target.offsetWidth+f.VW&&(null===F||void 0===F||F(!0),n.preventDefault(),null===(e=document)||void 0===e||null===(t=e.addEventListener)||void 0===t||t.call(e,"mousemove",o,!1))},c=function(){var n,e;null===F||void 0===F||F(!1),null===(n=document)||void 0===n||null===(e=n.removeEventListener)||void 0===e||e.call(n,"mousemove",o,!1)};return null===Y||void 0===Y||null===(n=Y.current)||void 0===n||null===(e=n.addEventListener)||void 0===e||e.call(n,"mousedown",i,!1),null===(t=document)||void 0===t||null===(r=t.addEventListener)||void 0===r||r.call(t,"mouseup",c,!1),function(){var n,e,t,r;null===Y||void 0===Y||null===(n=Y.current)||void 0===n||null===(e=n.removeEventListener)||void 0===e||e.call(n,"mousedown",i,!1),null===(t=document)||void 0===t||null===(r=t.removeEventListener)||void 0===r||r.call(t,"mouseup",c,!1),c()}}),[w,I,M,G,Y,F,V,U]),(0,r.useEffect)((function(){var n,e,t,r,o=function(n){var e,t;((null===X||void 0===X||null===(e=X.current)||void 0===e||null===(t=e.getBoundingClientRect)||void 0===t?void 0:t.call(e))||{}).x;if(U){var r=U-n.x;r+f.l8>U-E&&(r=U-E-f.l8),L(Math.max(r,f.Md))}},i=function(n){var e,t;n.offsetX>=-1*f.VW&&n.offsetX<=f.VW&&(null===A||void 0===A||A(!0),n.preventDefault(),null===(e=document)||void 0===e||null===(t=e.addEventListener)||void 0===t||t.call(e,"mousemove",o,!1))},c=function(){var n,e;null===A||void 0===A||A(!1),null===(n=document)||void 0===n||null===(e=n.removeEventListener)||void 0===e||e.call(n,"mousemove",o,!1)};return null===$||void 0===$||null===(n=$.current)||void 0===n||null===(e=n.addEventListener)||void 0===e||e.call(n,"mousedown",i,!1),null===(t=document)||void 0===t||null===(r=t.addEventListener)||void 0===r||r.call(t,"mouseup",c,!1),function(){var n,e,t,r;null===$||void 0===$||null===(n=$.current)||void 0===n||null===(e=n.removeEventListener)||void 0===e||e.call(n,"mousedown",i,!1),null===(t=document)||void 0===t||null===(r=t.removeEventListener)||void 0===r||r.call(t,"mouseup",c,!1),c()}}),[m,E,X,$,A,L,U]);var K=W&&m,Q=K?0:m?4*b.iI:w,nn=I?4*b.iI:E,en="calc(100% - ".concat(nn+Q+M,"px)");return(0,v.jsxs)(a.Z,{children:[(x&&!m||_&&!I)&&(0,v.jsx)(i(),{children:(0,v.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n body {\n cursor: col-resize;\n }\n "}})}),P&&(0,v.jsx)(f.MK,{children:P}),j&&(0,v.jsxs)(f.MP,{heightOffset:O,style:{left:M,width:nn},children:[(0,v.jsx)(f.v7,{active:_,disabled:I,ref:Y,right:0}),T&&(0,v.jsx)(f.W7,{style:{width:nn},visible:I,children:(0,v.jsxs)(l.Z,{alignItems:"center",fullHeight:!0,fullWidth:!0,justifyContent:"space-between",children:[(0,v.jsxs)(d.Z,{children:[(0,v.jsx)(u.Z,{pl:I?1:0}),!I&&Z]}),(0,v.jsxs)(d.Z,{children:[(0,v.jsx)(s.Z,{block:!0,label:I?"Show sidebar":"Hide sidebar",size:null,widthFitContent:!0,children:(0,v.jsxs)(c.Z,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return J()},children:[I&&(0,v.jsx)(p._Q,{neutral:!0,size:2*b.iI}),!I&&(0,v.jsx)(p.s$,{neutral:!0,size:2*b.iI})]})},I?"before-is-hidden":"before-is-visible"),(0,v.jsx)(u.Z,{pr:I?1:2})]})]})}),(0,v.jsx)(f.Ru,{noScrollbarTrackBackground:!0,ref:G,children:!I&&j})]}),(0,v.jsxs)(f.rS,{style:{left:nn+M,width:en},children:[z,(0,v.jsx)(f.aH,{headerOffset:(z?f.uX:f.Wi)+R,style:{width:en},children:(0,v.jsx)(f.Zj,{noScrollbarTrackBackground:!0,ref:D,children:B})})]}),e&&!K&&(0,v.jsxs)(f.ff,{heightOffset:o,style:{width:Q},children:[(0,v.jsx)(f.v7,{active:x,disabled:m,left:0,ref:$}),N&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(f.W7,{style:{width:Q},visible:m,children:(0,v.jsxs)(l.Z,{alignItems:"center",fullHeight:!0,fullWidth:!0,children:[(0,v.jsxs)(d.Z,{children:[(0,v.jsx)(u.Z,{pl:m?1:2}),(0,v.jsxs)(c.Z,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return q()},children:[m&&(0,v.jsx)(p.s$,{neutral:!0,size:2*b.iI}),!m&&(0,v.jsx)(p._Q,{neutral:!0,size:2*b.iI})]})]}),!m&&t]})}),!m&&y&&(0,v.jsx)(f.YJ,{style:{width:Q},visible:m,children:y})]}),(0,v.jsx)(f.E$,{noScrollbarTrackBackground:!0,ref:X,children:!m&&e})]})]})}},41788:function(n,e,t){t.d(e,{Z:function(){return _}});var r=t(77837),o=t(26304),i=t(62243),c=t(29385),a=t(80022),d=t(99177),l=t(93189),u=t(15544),s=t(82394),f=t(38860),p=t.n(f),h=t(82684),b=t(56663),g=t.n(b),v=t(35490),m=t(55361),x=t(30332),y=t(9736),k=t(59e3),w=t(28598),j=["auth"];function Z(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function O(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(t),!0).forEach((function(e){(0,s.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Z(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function I(n){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var t,r=(0,u.Z)(n);if(e){var o=(0,u.Z)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,l.Z)(this,t)}}function _(n){return function(e){(0,d.Z)(l,e);var t=I(l);function l(){var n;(0,i.Z)(this,l);for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return n=t.call.apply(t,[this].concat(r)),(0,s.Z)((0,a.Z)(n),"state",{auth:new v.Z(n.props.token)}),n}return(0,c.Z)(l,[{key:"componentDidMount",value:function(){this.setState({auth:new v.Z(this.props.token)})}},{key:"render",value:function(){var e=this.props,t=(e.auth,(0,o.Z)(e,j));return(0,w.jsx)(n,O({auth:this.state.auth},t))}}],[{key:"getInitialProps",value:function(){var e=(0,r.Z)(p().mark((function e(t){var r,o,i,c,a,d,l,u,s;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=g()(t),o=(0,y.ex)(t),i=o.id,c=r[m.Mv],a=r[x.qt],d=new v.Z(c),l=O(O({},t),{},{auth:d,currentGroupId:i,theme:a}),(0,y.YB)(t)&&d.isExpired&&(console.log("OAuth token has expired."),u=O(O({},t.query),{},{redirect_url:t.asPath}),(0,k.nL)("/sign-in?".concat((0,k.uM)(u)),t.res)),!n.getInitialProps){e.next=12;break}return e.next=10,n.getInitialProps(l);case 10:return s=e.sent,e.abrupt("return",O(O({},s),{},{auth:d,currentGroupId:i,theme:a}));case 12:return e.abrupt("return",l);case 13:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()}]),l}(h.Component)}},882:function(n,e,t){var r=t(82394),o=t(26304),i=t(9518),c=t(60328),a=t(23831),d=t(73942),l=t(99994),u=t(49125),s=t(28598),f=["backgroundGradient","backgroundPanel","borderWidth","children","compact","paddingUnits","paddingUnitsHorizontal","paddingUnitsVertical"];function p(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function h(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?p(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var b=i.default.div.withConfig({displayName:"GradientButton__ButtonContentStyle",componentId:"sc-1gzx4r1-0"})(["border-radius:","px;height:fit-content;"," ",""],d.n_,(function(n){return!n.backgroundPanel&&"\n background-color: ".concat((n.theme.background||a.Z.background).page,";\n ")}),(function(n){return n.backgroundPanel&&"\n background-color: ".concat((n.theme.background||a.Z.background).panel,";\n ")}));e.Z=function(n){var e=n.backgroundGradient,t=void 0===e?l.TD:e,r=n.backgroundPanel,i=n.borderWidth,a=void 0===i?1:i,d=n.children,p=n.compact,g=n.paddingUnits,v=n.paddingUnitsHorizontal,m=void 0===v?1.5:v,x=n.paddingUnitsVertical,y=void 0===x?1.25:x,k=(0,o.Z)(n,f),w=m,j=y;return g&&(w=g,j=g),p&&(w*=.75,j*=.75),(0,s.jsx)(c.Z,h(h({},k),{},{backgroundGradient:t,noPadding:!0,padding:"".concat(a,"px"),pointerEventsEnabled:!0,children:(0,s.jsx)(b,{backgroundPanel:r,children:(0,s.jsx)("div",{style:{paddingBottom:j*u.iI-a,paddingLeft:w*u.iI-a,paddingRight:w*u.iI-a,paddingTop:j*u.iI-a},children:d})})}))}},99994:function(n,e,t){t.d(e,{eW:function(){return l},TD:function(){return a},yr:function(){return d}});var r=t(73899),o="#FF144D",i="#DEBB92",c="#2A60FE",a=("linear-gradient(90deg, ".concat(i,", ").concat("#CBFE00",")"),"linear-gradient(90deg, ".concat(o,", #C86DD7)")),d=("linear-gradient(90deg, ".concat("#95ECE2",", ").concat(c,")"),"linear-gradient(90deg, ".concat("#9B6CA7",", ").concat(i,")"),"linear-gradient(90deg, ".concat("#C72400",", ").concat(i,")"),"linear-gradient(100.38deg, ".concat(o," 41.11%, #FF9559 86.99%)"),"linear-gradient(100.38deg, ".concat("#6B50D7"," 41.11%, #677FFF 86.99%)"),"linear-gradient(100.38deg, ".concat(c," 41.11%, #B880FF 86.99%)"),"linear-gradient(90deg, ".concat(r.t4," 20.13%, #2AB2FE)")),l="linear-gradient(90deg, ".concat(r.Ck," 0%, ").concat(r.t4," 53.13%, ").concat(r.X_," 100%)")},37391:function(n,e,t){t.d(e,{nn:function(){return d},w5:function(){return u},y$:function(){return l}});var r=t(9518),o=t(23831),i=t(73942),c=t(49125),a=t(90880),d=1.25*c.iI;function l(){return"\n // for Internet Explorer, Edge\n -ms-overflow-style: none;\n // for Firefox\n scrollbar-width: none;\n // for Chrome, Safari, and Opera\n ::-webkit-scrollbar {\n display: none;\n }\n "}var u=(0,r.css)([""," "," "," ",""],(function(n){return"\n ::-webkit-scrollbar {\n height: ".concat(d,"px;\n width: ").concat(d,"px;\n }\n\n ::-webkit-scrollbar-track {\n }\n\n ::-webkit-scrollbar-thumb {\n ").concat((0,a.eR)(),"\n\n background: ").concat((n.theme.background||o.Z.background).scrollbarThumb,";\n border-radius: ").concat(i.n_,"px;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background: ").concat((n.theme.background||o.Z.background).scrollbarThumbHover,";\n }\n ::-webkit-scrollbar-corner {\n background: ").concat((n.theme.background||o.Z.background).scrollbarTrack,";\n }\n ")}),(function(n){return!n.scrollbarBorderRadiusLarge&&"\n ::-webkit-scrollbar-track {\n background: ".concat((n.theme.background||o.Z.background).scrollbarTrack,";\n }\n ")}),(function(n){return n.noScrollbarTrackBackground&&"\n ::-webkit-scrollbar-corner {\n background: transparent;\n }\n ::-webkit-scrollbar-track {\n background: transparent;\n }\n "}),(function(n){return n.scrollbarBorderRadiusLarge&&"\n ::-webkit-scrollbar {\n border-radius: ".concat(i.TR,"px !important;\n }\n\n ::-webkit-scrollbar-track {\n border-radius: ").concat(i.TR,"px !important;\n }\n\n ::-webkit-scrollbar-thumb {\n border-radius: ").concat(i.TR,"px !important;\n }\n ")}))},66166:function(n,e,t){var r=t(82684);e.Z=function(n){var e=(0,r.useRef)();return(0,r.useEffect)((function(){e.current=n}),[n]),e.current}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7400],{98677:function(n,t,e){function r(n,t,e){n=+n,t=+t,e=(i=arguments.length)<2?(t=n,n=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((t-n)/e)),o=new Array(i);++r<i;)o[r]=n+r*e;return o}e.d(t,{Z:function(){return c}});var i=e(8208),o=e(8162);function u(){var n,t,e=(0,o.Z)().unknown(void 0),a=e.domain,c=e.range,l=0,f=1,d=!1,s=0,h=0,p=.5;function v(){var e=a().length,i=f<l,o=i?f:l,u=i?l:f;n=(u-o)/Math.max(1,e-s+2*h),d&&(n=Math.floor(n)),o+=(u-o-n*(e-s))*p,t=n*(1-s),d&&(o=Math.round(o),t=Math.round(t));var v=r(e).map((function(t){return o+n*t}));return c(i?v.reverse():v)}return delete e.unknown,e.domain=function(n){return arguments.length?(a(n),v()):a()},e.range=function(n){return arguments.length?([l,f]=n,l=+l,f=+f,v()):[l,f]},e.rangeRound=function(n){return[l,f]=n,l=+l,f=+f,d=!0,v()},e.bandwidth=function(){return t},e.step=function(){return n},e.round=function(n){return arguments.length?(d=!!n,v()):d},e.padding=function(n){return arguments.length?(s=Math.min(1,h=+n),v()):s},e.paddingInner=function(n){return arguments.length?(s=Math.min(1,n),v()):s},e.paddingOuter=function(n){return arguments.length?(h=+n,v()):h},e.align=function(n){return arguments.length?(p=Math.max(0,Math.min(1,n)),v()):p},e.copy=function(){return u(a(),[l,f]).round(d).paddingInner(s).paddingOuter(h).align(p)},i.o.apply(v(),arguments)}var a=(0,e(93342).Z)("domain","range","reverse","align","padding","round");function c(n){return a(u(),n)}},62072:function(n,t,e){function r(n){return null==n?void 0:n[0]}function i(n){return null==n?void 0:n[1]}e.d(t,{l8:function(){return r},xf:function(){return i}})},53989:function(n,t,e){function r(n){if("bandwidth"in n)return n.bandwidth();var t=n.range(),e=n.domain();return Math.abs(t[t.length-1]-t[0])/e.length}e.d(t,{Z:function(){return r}})},59309:function(n,t,e){e.d(t,{ZP:function(){return l}});var r=e(12759),i=e(27500),o=e(82610),u=e(34812),a=e(77944),c={expand:r.Z,diverging:i.Z,none:o.Z,silhouette:u.Z,wiggle:a.Z};Object.keys(c);function l(n){return n&&c[n]||c.none}},18246:function(n,t,e){e.d(t,{ZP:function(){return l}});var r=e(39586),i=e(25516),o=e(54164),u=e(8512),a=e(2010),c={ascending:r.Z,descending:i.Z,insideout:o.Z,none:u.Z,reverse:a.Z};Object.keys(c);function l(n){return n&&c[n]||c.none}},13946:function(n,t,e){e.d(t,{t:function(){return r}});var r=Array.prototype.slice},27500:function(n,t,e){function r(n,t){if((a=n.length)>0)for(var e,r,i,o,u,a,c=0,l=n[t[0]].length;c<l;++c)for(o=u=0,e=0;e<a;++e)(i=(r=n[t[e]][c])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):(r[0]=0,r[1]=i)}e.d(t,{Z:function(){return r}})},12759:function(n,t,e){e.d(t,{Z:function(){return i}});var r=e(82610);function i(n,t){if((i=n.length)>0){for(var e,i,o,u=0,a=n[0].length;u<a;++u){for(o=e=0;e<i;++e)o+=n[e][u][1]||0;if(o)for(e=0;e<i;++e)n[e][u][1]/=o}(0,r.Z)(n,t)}}},82610:function(n,t,e){function r(n,t){if((i=n.length)>1)for(var e,r,i,o=1,u=n[t[0]],a=u.length;o<i;++o)for(r=u,u=n[t[o]],e=0;e<a;++e)u[e][1]+=u[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]}e.d(t,{Z:function(){return r}})},34812:function(n,t,e){e.d(t,{Z:function(){return i}});var r=e(82610);function i(n,t){if((e=n.length)>0){for(var e,i=0,o=n[t[0]],u=o.length;i<u;++i){for(var a=0,c=0;a<e;++a)c+=n[a][i][1]||0;o[i][1]+=o[i][0]=-c/2}(0,r.Z)(n,t)}}},77944:function(n,t,e){e.d(t,{Z:function(){return i}});var r=e(82610);function i(n,t){if((o=n.length)>0&&(i=(e=n[t[0]]).length)>0){for(var e,i,o,u=0,a=1;a<i;++a){for(var c=0,l=0,f=0;c<o;++c){for(var d=n[t[c]],s=d[a][1]||0,h=(s-(d[a-1][1]||0))/2,p=0;p<c;++p){var v=n[t[p]];h+=(v[a][1]||0)-(v[a-1][1]||0)}l+=s,f+=h*s}e[a-1][1]+=e[a-1][0]=u,l&&(u-=f/l)}e[a-1][1]+=e[a-1][0]=u,(0,r.Z)(n,t)}}},34128:function(n,t,e){e.d(t,{Z:function(){return i}});var r=e(8512);function i(n){var t=n.map(o);return(0,r.Z)(n).sort((function(n,e){return t[n]-t[e]}))}function o(n){for(var t,e=-1,r=0,i=n.length,o=-1/0;++e<i;)(t=+n[e][1])>o&&(o=t,r=e);return r}},39586:function(n,t,e){e.d(t,{S:function(){return o},Z:function(){return i}});var r=e(8512);function i(n){var t=n.map(o);return(0,r.Z)(n).sort((function(n,e){return t[n]-t[e]}))}function o(n){for(var t,e=0,r=-1,i=n.length;++r<i;)(t=+n[r][1])&&(e+=t);return e}},25516:function(n,t,e){e.d(t,{Z:function(){return i}});var r=e(39586);function i(n){return(0,r.Z)(n).reverse()}},54164:function(n,t,e){e.d(t,{Z:function(){return o}});var r=e(34128),i=e(39586);function o(n){var t,e,o=n.length,u=n.map(i.S),a=(0,r.Z)(n),c=0,l=0,f=[],d=[];for(t=0;t<o;++t)e=a[t],c<l?(c+=u[e],f.push(e)):(l+=u[e],d.push(e));return d.reverse().concat(f)}},8512:function(n,t,e){function r(n){for(var t=n.length,e=new Array(t);--t>=0;)e[t]=t;return e}e.d(t,{Z:function(){return r}})},2010:function(n,t,e){e.d(t,{Z:function(){return i}});var r=e(8512);function i(n){return(0,r.Z)(n).reverse()}},75823:function(n,t,e){e.d(t,{Z:function(){return c}});var r=e(13946),i=e(90875),o=e(82610),u=e(8512);function a(n,t){return n[t]}function c(){var n=(0,i.Z)([]),t=u.Z,e=o.Z,c=a;function l(r){var i,o,u=n.apply(this,arguments),a=r.length,l=u.length,f=new Array(l);for(i=0;i<l;++i){for(var d,s=u[i],h=f[i]=new Array(a),p=0;p<a;++p)h[p]=d=[0,+c(r[p],s,p,r)],d.data=r[p];h.key=s}for(i=0,o=t(f);i<l;++i)f[o[i]].index=i;return e(f,o),f}return l.keys=function(t){return arguments.length?(n="function"===typeof t?t:(0,i.Z)(r.t.call(t)),l):n},l.value=function(n){return arguments.length?(c="function"===typeof n?n:(0,i.Z)(+n),l):c},l.order=function(n){return arguments.length?(t=null==n?u.Z:"function"===typeof n?n:(0,i.Z)(r.t.call(n)),l):t},l.offset=function(n){return arguments.length?(e=null==n?o.Z:n,l):e},l}},21679:function(n,t,e){e.d(t,{Z:function(){return B}});var r=e(26304),i=e(82394),o=e(21831),u=e(82684),a=e(84969),c=e(90948),l=e(63588),f=e.n(l),d=e(75823),s=e(29989),h=e(62072),p=e(53989),v=e(49894),g=e(18246),Z=e(59309),m=e(65743),y=["data","className","top","left","x","y0","y1","xScale","yScale","color","keys","value","order","offset","children"];function x(){return x=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},x.apply(this,arguments)}function b(n){var t=n.data,e=n.className,r=n.top,i=n.left,o=n.x,a=n.y0,c=void 0===a?h.l8:a,l=n.y1,b=void 0===l?h.xf:l,j=n.xScale,k=n.yScale,O=n.color,w=n.keys,P=n.value,E=n.order,M=n.offset,T=n.children,A=function(n,t){if(null==n)return{};var e,r,i={},o=Object.keys(n);for(r=0;r<o.length;r++)e=o[r],t.indexOf(e)>=0||(i[e]=n[e]);return i}(n,y),S=(0,d.Z)();w&&S.keys(w),P&&(0,v.Z)(S.value,P),E&&S.order((0,g.ZP)(E)),M&&S.offset((0,Z.ZP)(M));var _=S(t),I=(0,p.Z)(j),L=_.map((function(n,t){var e=n.key;return{index:t,key:e,bars:n.map((function(t,r){var i=(k(c(t))||0)-(k(b(t))||0),u=k(b(t)),a="bandwidth"in j?j(o(t.data)):Math.max((j(o(t.data))||0)-I/2);return{bar:t,key:e,index:r,height:i,width:I,x:a||0,y:u||0,color:O(n.key,r)}}))}}));return T?u.createElement(u.Fragment,null,T(L)):u.createElement(s.Z,{className:f()("visx-bar-stack",e),top:r,left:i},L.map((function(n){return n.bars.map((function(t){return u.createElement(m.Z,x({key:"bar-stack-"+n.index+"-"+t.index,x:t.x,y:t.y,height:t.height,width:t.width,fill:t.color},A))}))})))}var j=e(67778),k=e(17066),O=e(29179),w=e(65376),P=e(48072),E=e(98677),M=e(84181),T=e(24903),A=e(67971),S=e(26226),_=e(19711),I=e(52359),L=e(23831),N=e(73942),D=e(2005),C=e(49125),F=e(344),R=e(28598),V=["height","width","xAxisLabel","yAxisLabel"];function Y(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function U(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(e),!0).forEach((function(t){(0,i.Z)(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):Y(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function z(n){var t=n.colors,e=n.data,r=n.getXValue,i=(n.getYValue,n.height),u=n.keys,l=n.margin,f=n.numYTicks,d=n.showLegend,h=n.width,p=n.xLabelFormat,v=n.yLabelFormat,g=(0,O.Z)(),Z=g.hideTooltip,m=g.showTooltip,y=g.tooltipData,x=g.tooltipLeft,A=g.tooltipOpen,S=g.tooltipTop,I=h-(l.left+l.right),C=i-(l.bottom+l.top),V=e.reduce((function(n,t){var e=t,r=u.reduce((function(n,t){return Number(e[t])&&(n+=Number(e[t])),n}),0);return n.push(r),n}),[]),Y=(0,E.Z)({domain:e.map(r),padding:.4,range:[0,I],round:!1}),z=(0,M.Z)({domain:[0,Math.max.apply(Math,(0,o.Z)(V))],range:[C,0],round:!0}),B=(0,T.Z)({domain:u,range:t});return(0,R.jsxs)("div",{style:{position:"relative"},children:[(0,R.jsxs)("svg",{width:h,height:i,children:[(0,R.jsx)("rect",{x:0,y:0,width:h,height:i,fill:"#2E3036",rx:14}),(0,R.jsx)(j.Z,{top:l.top,left:l.left,scale:z,width:I,height:C,stroke:"black",strokeOpacity:.2}),(0,R.jsx)(s.Z,{top:l.top,children:(0,R.jsx)(b,{data:e,keys:u,value:function(n,t){return n[t]||0},x:r,xScale:Y,yScale:z,color:B,children:function(n){return n.map((function(n){return n.bars.map((function(t){return(0,R.jsx)("rect",{x:t.x,y:t.y,height:t.height,width:t.width,fill:t.color,onMouseLeave:Z,onMouseMove:function(n){var e=(0,P.Z)(n),r=t.x+t.width/2;m({tooltipData:t,tooltipTop:null===e||void 0===e?void 0:e.y,tooltipLeft:r})}},"bar-stack-".concat(n.index,"-").concat(t.index))}))}))}})}),(0,R.jsx)(a.Z,{hideTicks:!0,left:l.left,numTicks:f,scale:z,stroke:L.Z.content.muted,tickFormat:function(n){return v?v(n):(0,F.P5)(n)},tickLabelProps:function(){return{fill:L.Z.content.muted,fontFamily:D.ry,fontSize:11,textAnchor:"end",transform:"translate(0,2.5)"}},top:l.top}),(0,R.jsx)(c.Z,{hideTicks:!0,left:l.left,top:C+l.top,scale:Y,stroke:L.Z.content.muted,tickFormat:p,tickLabelProps:function(){return{fill:L.Z.content.muted,fontFamily:D.ry,fontSize:11,textAnchor:"middle"}}})]}),d&&(0,R.jsx)("div",{style:{position:"absolute",top:l.top/2-10,width:"100%",display:"flex",justifyContent:"center",fontSize:"14px"},children:(0,R.jsx)(k.Z,{scale:B,direction:"row",labelMargin:"0 15px 0 0"})}),A&&y&&(0,R.jsxs)(w.Z,{top:S,left:x,style:U(U({},w.j),{},{backgroundColor:L.Z.background.page,borderRadius:"".concat(N.TR,"px")}),children:[(0,R.jsx)(_.ZP,{bold:!0,color:B(y.key),children:y.key}),(0,R.jsx)(_.ZP,{children:y.bar.data[y.key]}),(0,R.jsx)(_.ZP,{children:r(y.bar.data)})]})]})}var B=function(n){var t=n.height,e=n.width,i=n.xAxisLabel,o=n.yAxisLabel,u=(0,r.Z)(n,V);return(0,R.jsx)(R.Fragment,{children:(0,R.jsxs)("div",{style:{height:t,marginBottom:C.iI,width:e},children:[o&&(0,R.jsx)(A.Z,{alignItems:"center",fullHeight:!0,justifyContent:"center",width:28,children:(0,R.jsx)(I.Z,{children:(0,R.jsx)(_.ZP,{center:!0,muted:!0,small:!0,children:o})})}),(0,R.jsx)("div",{style:{height:t,width:o?0===e?e:e-28:e},children:(0,R.jsx)(S.Z,{children:function(n){var t=n.height,e=n.width;return(0,R.jsx)(z,U(U({},u),{},{height:t,width:e}))}})}),i&&(0,R.jsx)("div",{style:{paddingLeft:o?36:0,paddingTop:4},children:(0,R.jsx)(_.ZP,{center:!0,muted:!0,small:!0,children:i})})]})})}},93348:function(n,t,e){e.d(t,{TR:function(){return d},U5:function(){return c},Xm:function(){return o},Z4:function(){return f},fq:function(){return a},kJ:function(){return l}});var r,i,o,u=e(82394);!function(n){n.API="api",n.EVENT="event",n.TIME="time"}(o||(o={}));var a,c,l,f=(r={},(0,u.Z)(r,o.API,(function(){return"API"})),(0,u.Z)(r,o.EVENT,(function(){return"event"})),(0,u.Z)(r,o.TIME,(function(){return"schedule"})),r);!function(n){n.ACTIVE="active",n.INACTIVE="inactive"}(a||(a={})),function(n){n.ONCE="@once",n.HOURLY="@hourly",n.DAILY="@daily",n.WEEKLY="@weekly",n.MONTHLY="@monthly"}(c||(c={})),function(n){n.CREATED_AT="created_at",n.NAME="name",n.PIPELINE="pipeline_uuid",n.STATUS="status",n.TYPE="schedule_type"}(l||(l={}));var d=(i={},(0,u.Z)(i,l.CREATED_AT,"Created at"),(0,u.Z)(i,l.NAME,"Name"),(0,u.Z)(i,l.PIPELINE,"Pipeline"),(0,u.Z)(i,l.STATUS,"Status"),(0,u.Z)(i,l.TYPE,"Type"),i)},67400:function(n,t,e){e.r(t),e.d(t,{BAR_STACK_COLORS:function(){return I},BAR_STACK_STATUSES:function(){return L}});var r=e(77837),i=e(75582),o=e(82394),u=e(38860),a=e.n(u),c=e(82684),l=e(12691),f=e.n(l),d=e(92083),s=e.n(d),h=e(9518),p=e(21679),v=e(67971),g=e(87372),Z=e(10919),m=e(87465),y=e(41788),x=e(86673),b=e(19711),j=e(82531),k=e(23831),O=e(10503),w=e(92953),P=e(93348),E=e(49125),M=e(90211),T=e(28598);function A(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function S(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?A(Object(e),!0).forEach((function(t){(0,o.Z)(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):A(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}var _=h.default.div.withConfig({displayName:"monitors__GradientTextStyle",componentId:"sc-1is2m2l-0"})(["background:linear-gradient(90deg,#7D55EC 28.12%,#2AB2FE 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-fill-color:transparent;"]),I=[k.Z.accent.warning,k.Z.background.success,k.Z.accent.negative,k.Z.content.active,k.Z.interactive.linkPrimary],L=["cancelled","completed","failed","initial","running"];function N(n){var t=n.pipeline.uuid,e=j.ZP.pipeline_schedules.pipelines.list(t).data,r=(0,c.useMemo)((function(){return null===e||void 0===e?void 0:e.pipeline_schedules}),[e]),u=(0,c.useMemo)((function(){return null===r||void 0===r?void 0:r.reduce((function(n,t){return S(S({},n),{},(0,o.Z)({},null===t||void 0===t?void 0:t.id,t))}),{})}),[r]),a=j.ZP.pipelines.detail(t,{includes_content:!1,includes_outputs:!1},{revalidateOnFocus:!1}).data,l=(0,c.useMemo)((function(){return S(S({},null===a||void 0===a?void 0:a.pipeline),{},{uuid:t})}),[a,t]),d=j.ZP.monitor_stats.detail("pipeline_run_count",{pipeline_uuid:null===l||void 0===l?void 0:l.uuid}).data,h=((null===d||void 0===d?void 0:d.monitor_stat)||{}).stats,y=(0,c.useMemo)((function(){for(var n=new Date,t=[],e=0;e<90;e++)t.unshift(n.toISOString().split("T")[0]),n.setDate(n.getDate()-1);return t}),[]),k=(0,c.useMemo)((function(){if(h){var n=Object.entries(h).reduce((function(n,t){var e=(0,i.Z)(t,2),r=(e[0],e[1].data),o={};return Object.entries(r).forEach((function(t){var e=(0,i.Z)(t,2),r=e[0],u=e[1],a={};r in n&&(a=n[r]);var c={};Object.entries(u).forEach((function(n){var t,e=(0,i.Z)(n,2),r=e[0],o=e[1],u=null!==(t=a)&&void 0!==t&&t[r]?a[r]:0;c[r]=u+o})),o[r]=S(S({},a),c)})),S(S({},n),o)}),{});return y.map((function(t){return S({date:t},n[t]||{})}))}return[]}),[y,h]),A=(0,c.useMemo)((function(){if(h)return Object.entries(h).reduce((function(n,t){var e=(0,i.Z)(t,2),r=e[0],u=e[1].data,a=y.map((function(n){return S({date:n},u[n]||{})}));return S(S({},n),{},(0,o.Z)({},r,a))}),{})}),[y,h]),N=(0,c.useMemo)((function(){var n=[];return n.push({bold:!0,label:function(){return"Monitors"}}),n}),[l]);return(0,T.jsx)(m.Z,{breadcrumbs:N,monitorType:w.a.PIPELINE_RUNS,pipeline:l,children:(0,T.jsxs)(x.Z,{mt:2,mx:2,children:[(0,T.jsx)(x.Z,{ml:1,children:(0,T.jsx)(_,{children:(0,T.jsx)(g.Z,{children:"All pipeline runs"})})}),(0,T.jsx)(x.Z,{mt:1,children:(0,T.jsx)(p.Z,{colors:I,data:k,getXValue:function(n){return n.date},height:200,keys:L,margin:{top:10,bottom:30,left:35,right:0},xLabelFormat:function(n){return s()(n).format("MMM DD")}})}),A&&Object.entries(A).map((function(n){var e,r=(0,i.Z)(n,2),o=r[0],a=r[1],c=null===u||void 0===u?void 0:u[o];return(0,T.jsxs)(x.Z,{mt:3,children:[(0,T.jsxs)(v.Z,{alignItems:"center",children:[(0,T.jsx)(x.Z,{mx:1,children:(0,T.jsx)(_,{children:(0,T.jsx)(b.ZP,{bold:!0,large:!0,children:(0,M.kC)(null===(e=P.Z4[null===c||void 0===c?void 0:c.schedule_type])||void 0===e?void 0:e.call(P.Z4))})})}),(0,T.jsx)(f(),{as:"/pipelines/".concat(t,"/triggers/").concat(null===c||void 0===c?void 0:c.id),href:"/pipelines/[pipeline]/triggers/[...slug]",passHref:!0,children:(0,T.jsx)(Z.Z,{children:(0,T.jsxs)(v.Z,{alignItems:"center",children:[(0,T.jsx)(g.Z,{level:5,children:(null===c||void 0===c?void 0:c.name)||o}),(0,T.jsx)(x.Z,{ml:1}),(0,T.jsx)(O._Q,{default:!0,size:2*E.iI})]})})})]}),(0,T.jsx)(x.Z,{mt:1,children:(0,T.jsx)(p.Z,{colors:I,data:a,getXValue:function(n){return n.date},height:200,keys:L,margin:{top:10,bottom:30,left:35,right:0},xLabelFormat:function(n){return s()(n).format("MMM DD")}})})]})}))]})})}N.getInitialProps=function(){var n=(0,r.Z)(a().mark((function n(t){var e;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=t.query.pipeline,n.abrupt("return",{pipeline:{uuid:e}});case 2:case"end":return n.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}(),t.default=(0,y.Z)(N)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8961],{2850:function(e,n,i){i.d(n,{M:function(){return c},W:function(){return l}});var t=i(9518),r=i(23831),o=i(3055),l=34*i(49125).iI,c=t.default.div.withConfig({displayName:"indexstyle__BeforeStyle",componentId:"sc-12ee2ib-0"})(["min-height:calc(100vh - ","px);",""],o.Mz,(function(e){return"\n border-left: 1px solid ".concat((e.theme.borders||r.Z.borders).medium,";\n ")}))},59920:function(e,n,i){var t;i.d(n,{M:function(){return t}}),function(e){e.BACKFILLS="backfills",e.BLOCK_RUNS="block_runs",e.EDIT="edit",e.MONITOR="monitor",e.PIPELINE_LOGS="pipeline_logs",e.PIPELINE_RUNS="pipeline_runs",e.RUNS="runs",e.SYNCS="syncs",e.TRIGGERS="triggers"}(t||(t={}))},2626:function(e,n,i){i.d(n,{Z:function(){return R}});var t=i(21831),r=i(75582),o=i(82684),l=i(83455),c=i(34376),s=i(28598);var a=function(e){var n=e.size;return(0,s.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("g",{clipPath:"url(#clip0_7525_68660)",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.67625 7.82429C8.48671 8.13404 8.61933 8.53116 8.9436 8.69464C9.26787 8.85812 9.6606 8.72561 9.85513 8.41896C10.5416 7.33682 11.5276 6.47056 12.6997 5.92987C14.0715 5.29701 15.6173 5.14749 17.085 5.50568C18.5526 5.86388 19.8557 6.70866 20.7818 7.90233C21.7079 9.096 22.2023 10.5682 22.1845 12.0788C22.1667 13.5895 21.6377 15.0496 20.6837 16.2211C19.7298 17.3926 18.4071 18.2064 16.9314 18.5299C15.4557 18.8534 13.9139 18.6675 12.5573 18.0024C11.3984 17.4343 10.433 16.545 9.77227 15.447C9.58502 15.1358 9.19553 14.9941 8.86749 15.1499C8.53946 15.3057 8.39751 15.6995 8.5797 16.0137C9.37152 17.379 10.5525 18.4842 11.9785 19.1832C13.6018 19.9791 15.4469 20.2016 17.213 19.8145C18.979 19.4273 20.5619 18.4534 21.7035 17.0514C22.8451 15.6495 23.4781 13.9022 23.4994 12.0943C23.5208 10.2865 22.9291 8.52472 21.8208 7.09623C20.7126 5.66774 19.1532 4.65677 17.3968 4.22811C15.6403 3.79945 13.7905 3.97839 12.1488 4.73574C10.7068 5.40099 9.50004 6.47805 8.67625 7.82429ZM0.219185 12.5303C-0.0737079 12.2375 -0.0737079 11.7626 0.219185 11.4697L4.71918 6.96968C5.01208 6.67679 5.48695 6.67679 5.77985 6.96968C6.07274 7.26258 6.07274 7.73745 5.77985 8.03034L2.56017 11.25L15.7495 11.25C16.1637 11.25 16.4995 11.5858 16.4995 12C16.4995 12.4142 16.1637 12.75 15.7495 12.75L2.56017 12.75L5.77985 15.9697C6.07274 16.2626 6.07274 16.7375 5.77985 17.0303C5.48695 17.3232 5.01208 17.3232 4.71918 17.0303L0.219185 12.5303Z",fill:"url(#paint0_linear_7525_68660)"})}),(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{id:"paint0_linear_7525_68660",x1:"11.7498",y1:"4",x2:"11.7498",y2:"20",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})},u=i(16953),d=i(61519);var p=function(e){var n=e.size;return(0,s.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.25 1C23.25 0.585786 22.9142 0.25 22.5 0.25C22.0858 0.25 21.75 0.585786 21.75 1V15.5C21.75 15.9142 22.0858 16.25 22.5 16.25C22.9142 16.25 23.25 15.9142 23.25 15.5V1ZM5 4.25C5.41421 4.25 5.75 4.58579 5.75 5V15.5C5.75 15.9142 5.41421 16.25 5 16.25C4.58579 16.25 4.25 15.9142 4.25 15.5V5C4.25 4.58579 4.58579 4.25 5 4.25ZM1.5 7.25C1.91421 7.25 2.25 7.58579 2.25 8V15.5C2.25 15.9142 1.91421 16.25 1.5 16.25C1.08579 16.25 0.75 15.9142 0.75 15.5V8C0.75 7.58579 1.08579 7.25 1.5 7.25ZM9.25 7C9.25 6.58579 8.91421 6.25 8.5 6.25C8.08579 6.25 7.75 6.58579 7.75 7V15.5C7.75 15.9142 8.08579 16.25 8.5 16.25C8.91421 16.25 9.25 15.9142 9.25 15.5V7ZM12 8.75C12.4142 8.75 12.75 9.08579 12.75 9.5V15.5C12.75 15.9142 12.4142 16.25 12 16.25C11.5858 16.25 11.25 15.9142 11.25 15.5V9.5C11.25 9.08579 11.5858 8.75 12 8.75ZM16.25 11.5C16.25 11.0858 15.9142 10.75 15.5 10.75C15.0858 10.75 14.75 11.0858 14.75 11.5V15.5C14.75 15.9142 15.0858 16.25 15.5 16.25C15.9142 16.25 16.25 15.9142 16.25 15.5V11.5ZM19 9.25C19.4142 9.25 19.75 9.58579 19.75 10V15.5C19.75 15.9142 19.4142 16.25 19 16.25C18.5858 16.25 18.25 15.9142 18.25 15.5V10C18.25 9.58579 18.5858 9.25 19 9.25Z",fill:"url(#paint0_linear_2919_69883)"}),(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{id:"paint0_linear_2919_69883",x1:"1.5",y1:"11.875",x2:"22.75",y2:"11.875",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{offset:".28125",stopColor:"#7D55EC"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})},f=i(70434),h=i(34744),g=i(67971),b=i(87372),C=i(98781),x=i(29664),m=i(86673);var v=function(e){var n=e.size;return(0,s.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 17c0 1.1046-.89543 2-2 2s-2-.8954-2-2 .89543-2 2-2 2 .8954 2 2zm1.5 0c0 1.933-1.567 3.5-3.5 3.5S1.5 18.933 1.5 17s1.567-3.5 3.5-3.5 3.5 1.567 3.5 3.5zm2.25-.5c0-.4142.3358-.75.75-.75H22c.4142 0 .75.3358.75.75s-.3358.75-.75.75H11.5c-.4142 0-.75-.3358-.75-.75zM8.68946 4.29563c.16317-.38072-.0132-.82163-.39392-.9848-.38072-.16316-.82163.0132-.9848.39392L5.06418 8.94674c-.07952.18554-.3348.2052-.44179.03402L3.1361 6.60269c-.21953-.35125-.68225-.45803-1.0335-.2385-.35125.21954-.45803.68225-.2385 1.0335l1.48629 2.37807c.74892 1.19824 2.53587 1.06064 3.0925-.23814l2.24657-5.24199zM11.5 6.75c-.4142 0-.75.33579-.75.75s.3358.75.75.75H22c.4142 0 .75-.33579.75-.75s-.3358-.75-.75-.75H11.5z",fill:"url(#paint0_linear_2919_69883)"}),(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{id:"paint0_linear_2919_69883",x1:"1.5",y1:"11.875",x2:"22.75",y2:"11.875",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{offset:".28125",stopColor:"#7D55EC"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})},j=i(82531),I=i(10503),S=i(9518),w=i(23831),y=i(73942),Z=i(49125),_=S.default.div.withConfig({displayName:"indexstyle__BannerStyle",componentId:"sc-1te3pmf-0"})(["border-radius:","px;padding:","px;"," "," ",""],y.n_,3*Z.iI,(function(e){return"\n box-shadow: ".concat((e.theme.shadow||w.Z.shadow).small,";\n ")}),(function(e){return e.background&&"\n background: ".concat(e.background,";\n ")}),(function(e){return e.backgroundImage&&'\n background-image: url("'.concat(e.backgroundImage,'");\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n ')})),P=i(3055),O=i(59920),k=i(96510),M=i(90211),E=i(24141);var R=function(e){var n=e.after,i=e.afterHidden,S=e.afterWidth,w=e.before,y=e.beforeWidth,R=e.breadcrumbs,D=e.buildSidekick,V=e.children,N=e.headline,H=e.pageName,L=e.pipeline,T=e.subheader,B=e.subheaderBackground,U=e.subheaderBackgroundImage,G=e.subheaderButton,z=e.subheaderText,A=e.title,F=e.uuid,W=(0,c.useRouter)(),Y=(0,E.i)().height,q=L.uuid,K=j.ZP.pipelines.detail(q,{includes_outputs:!1},{revalidateOnFocus:!1}).data,J=null===K||void 0===K?void 0:K.pipeline,Q=(0,l.Db)(j.ZP.pipelines.useCreate(),{onSuccess:function(e){return(0,k.wD)(e,{callback:function(e){var n=e.pipeline.uuid;W.push("/pipelines/[pipeline]/edit","/pipelines/".concat(n,"/edit"))}})}}),X=(0,r.Z)(Q,1)[0],$=(0,l.Db)((function(e){return j.ZP.pipelines.useDelete(e)()}),{onSuccess:function(e){return(0,k.wD)(e,{callback:function(){W.push("/pipelines")}})}}),ee=(0,r.Z)($,1)[0],ne=[{label:function(){return"New standard pipeline"},onClick:function(){return X({pipeline:{name:(0,M.Y6)()}})},uuid:"PipelineDetail/Header/new_standard_pipeline"},{label:function(){return"New streaming pipeline"},onClick:function(){return X({pipeline:{name:(0,M.Y6)(),type:C.q.STREAMING}})},uuid:"PipelineDetail/Header/new_streaming_pipeline"},{label:function(){return"Delete current pipeline"},onClick:function(){return ee(q)},openConfirmationDialogue:!0,uuid:"PipelineDetail/Header/delete_pipeline"}],ie=(0,o.useMemo)((function(){return n||(D?D({height:Y,heightOffset:P.Mz,pipeline:J}):null)}),[n,D,Y,J]),te=S||(ie?50*Z.iI:null),re=(0,o.useMemo)((function(){var e=[];return J&&(e.push.apply(e,[{label:function(){return"Pipelines"},linkProps:{href:"/pipelines"}}]),R?(e.push({label:function(){return J.uuid},linkProps:{as:"/pipelines/".concat(q,"/triggers"),href:"/pipelines/[pipeline]/triggers"}}),e.push.apply(e,(0,t.Z)(R)),e[e.length-1].bold=!0):e.push({bold:!0,label:function(){return J.name}})),e}),[R,J,q]),oe=[{Icon:I.Pf,IconSelected:x.Z,id:O.M.TRIGGERS,isSelected:function(){return O.M.TRIGGERS===H},label:function(){return"Triggers"},linkProps:{as:"/pipelines/".concat(q,"/triggers"),href:"/pipelines/[pipeline]/triggers"}},{Icon:I.pd,IconSelected:d.Z,id:O.M.RUNS,isSelected:function(){return O.M.RUNS===H},label:function(){return"Runs"},linkProps:{as:"/pipelines/".concat(q,"/runs"),href:"/pipelines/[pipeline]/runs"}},{Icon:I.yg,IconSelected:a,id:O.M.BACKFILLS,isSelected:function(){return O.M.BACKFILLS===H},label:function(){return"Backfills"},linkProps:{as:"/pipelines/".concat(q,"/backfills"),href:"/pipelines/[pipeline]/backfills"}},{Icon:I.B4,IconSelected:v,id:O.M.PIPELINE_LOGS,isSelected:function(){return O.M.PIPELINE_LOGS===H},label:function(){return"Logs"},linkProps:{as:"/pipelines/".concat(q,"/logs"),href:"/pipelines/[pipeline]/logs"}},{Icon:I.kL,IconSelected:p,id:O.M.MONITOR,isSelected:function(){return O.M.MONITOR===H},label:function(){return"Monitor"},linkProps:{as:"/pipelines/".concat(q,"/monitors"),href:"/pipelines/[pipeline]/monitors"}}];return C.q.INTEGRATION===(null===J||void 0===J?void 0:J.type)&&oe.unshift({Icon:I.Re,IconSelected:u.Z,id:O.M.SYNCS,isSelected:function(){return O.M.SYNCS===H},label:function(){return"Syncs"},linkProps:{as:"/pipelines/".concat(q,"/syncs"),href:"/pipelines/[pipeline]/syncs"}}),oe.unshift({Icon:null,IconSelected:null,id:O.M.EDIT,label:function(){return"Edit pipeline"},linkProps:{as:"/pipelines/".concat(q,"/edit"),href:"/pipelines/[pipeline]/edit"}}),(0,s.jsxs)(f.Z,{after:ie,afterHidden:i,afterWidth:te,before:w,beforeWidth:y,breadcrumbs:re,headerMenuItems:ne,navigationItems:oe,subheaderChildren:"undefined"!==typeof T&&T,title:J?A?A(J):J.name:null,uuid:F,children:[(G||z)&&(0,s.jsx)(m.Z,{mb:Z.Mq,mt:Z.cd,mx:Z.cd,children:(0,s.jsx)(_,{background:B,backgroundImage:U,children:(0,s.jsxs)(g.Z,{alignItems:"center",children:[G,z&&(0,s.jsx)(m.Z,{ml:3}),z]})})}),N&&(0,s.jsx)(m.Z,{p:Z.cd,children:(0,s.jsxs)(m.Z,{mt:Z.cd,px:Z.cd,children:[(0,s.jsx)(b.Z,{level:5,children:N}),(0,s.jsx)(h.Z,{light:!0,mt:Z.cd,short:!0})]})}),V]})}},18025:function(e,n,i){i.d(n,{J:function(){return s},U:function(){return c}});var t=i(9518),r=i(23831),o=i(73942),l=i(49125),c=t.default.div.withConfig({displayName:"indexstyle__CardStyle",componentId:"sc-m7tlau-0"})(["border-radius:","px;border-style:solid;border-width:2px;height:","px;margin-right:","px;padding:","px;width:","px;"," ",""],o.TR,14*l.iI,l.cd*l.iI,l.cd*l.iI,40*l.iI,(function(e){return!e.selected&&"\n border-color: ".concat((e.theme.borders||r.Z.borders).light,";\n ")}),(function(e){return e.selected&&"\n border-color: ".concat((e.theme.interactive||r.Z.interactive).linkPrimary,";\n ")})),s=t.default.div.withConfig({displayName:"indexstyle__DateSelectionContainer",componentId:"sc-m7tlau-1"})(["border-radius:","px;padding:","px;"," "," ",""],o.n_,l.tr,(function(e){return"\n background-color: ".concat((e.theme.interactive||r.Z.interactive).defaultBackground,";\n ")}),(function(e){return e.absolute&&"\n position: absolute;\n z-index: 2;\n right: 0;\n top: ".concat(2.5*l.iI,"px;\n ")}),(function(e){return e.topPosition&&"\n top: -".concat(42*l.iI,"px;\n ")}))},2713:function(e,n,i){var t=i(82394),r=i(44495),o=i(67971),l=i(55378),c=i(86673),s=i(19711),a=i(18025),u=i(49125),d=i(24224),p=i(28598);function f(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,t)}return i}function h(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?f(Object(i),!0).forEach((function(n){(0,t.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}n.Z=function(e){var n=e.selectedDate,i=e.selectedTime,t=e.setSelectedDate,f=e.setSelectedTime,g=e.topPosition;return(0,p.jsxs)(a.J,{absolute:!0,topPosition:g,children:[(0,p.jsx)(r.ZP,{onChange:t,value:n}),(0,p.jsx)(c.Z,{mb:2}),(0,p.jsxs)(o.Z,{alignItems:"center",children:[(0,p.jsx)(s.ZP,{default:!0,large:!0,children:"Time (UTC):"}),(0,p.jsx)(c.Z,{pr:2}),(0,p.jsx)(l.Z,{compact:!0,monospace:!0,onChange:function(e){e.preventDefault(),f((function(n){return h(h({},n),{},{hour:e.target.value})}))},paddingRight:5*u.iI,placeholder:"HH",value:null===i||void 0===i?void 0:i.hour,children:(0,d.m5)(24,0).map((function(e){return String(e).padStart(2,"0")})).map((function(e){return(0,p.jsx)("option",{value:e,children:e},"hour_".concat(e))}))}),(0,p.jsx)(c.Z,{px:1,children:(0,p.jsx)(s.ZP,{bold:!0,large:!0,children:":"})}),(0,p.jsx)(l.Z,{compact:!0,monospace:!0,onChange:function(e){e.preventDefault(),f((function(n){return h(h({},n),{},{minute:e.target.value})}))},paddingRight:5*u.iI,placeholder:"MM",value:null===i||void 0===i?void 0:i.minute,children:(0,d.m5)(60,0).map((function(e){return String(e).padStart(2,"0")})).map((function(e){return(0,p.jsx)("option",{value:e,children:e},"minute_".concat(e))}))})]})]})}},32316:function(e,n,i){i.d(n,{Z:function(){return g}});var t=i(82684),r=i(60328),o=i(67971),l=i(882),c=i(86673),s=i(99994),a=i(9518),u=i(49125),d=i(37391),p=a.default.div.withConfig({displayName:"indexstyle__TabsContainerStyle",componentId:"sc-segf7l-0"})(["padding-left:","px;padding-right:","px;"," "," ",""],u.cd*u.iI,u.cd*u.iI,(function(e){return e.noPadding&&"\n padding: 0;\n "}),(function(e){return e.allowScroll&&"\n overflow: auto;\n "}),d.w5),f=i(66653),h=i(28598);var g=function(e){var n=e.allowScroll,i=e.contained,a=e.noPadding,d=e.onClickTab,g=e.selectedTabUUID,b=e.small,C=e.tabs,x=(0,t.useMemo)((function(){var e=C.length,n=[];return C.forEach((function(i,t){var a=i.Icon,p=i.IconSelected,C=i.label,x=i.uuid,m=x===g,v=m&&p||a,j=C?C():x,I=(0,h.jsxs)(o.Z,{alignItems:"center",children:[v&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(v,{default:!m,size:2*u.iI}),(0,h.jsx)(c.Z,{mr:1})]}),j]});t>=1&&e>=2&&n.push((0,h.jsx)("div",{style:{marginLeft:1.5*u.iI}},"spacing-".concat(x))),m?n.push((0,h.jsx)(l.Z,{backgroundGradient:s.yr,backgroundPanel:!0,borderLess:!0,borderWidth:2,compact:b,onClick:function(e){(0,f.j)(e),d(i)},paddingUnitsHorizontal:2,paddingUnitsVertical:1.25,small:b,children:I},x)):n.push((0,h.jsx)("div",{style:{padding:4},children:(0,h.jsx)(r.Z,{borderLess:!0,compact:b,default:!0,onClick:function(e){(0,f.j)(e),d(i)},outline:!0,small:b,children:I},"button-tab-".concat(x))}))})),n}),[d,g,C]),m=(0,h.jsx)(o.Z,{alignItems:"center",children:x});return i?m:(0,h.jsx)(p,{allowScroll:n,noPadding:a,children:m})}},82944:function(e,n,i){var t=i(82394),r=i(91835),o=i(82684),l=i(9518),c=i(69898),s=i(28598);function a(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,t)}return i}function u(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?a(Object(i),!0).forEach((function(n){(0,t.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}var d=l.default.input.withConfig({displayName:"TextInput__TextInputStyle",componentId:"sc-1ii4qtc-0"})(["",""],c.p),p=function(e,n){var i=(0,r.Z)({},e);return(0,s.jsx)(c.Z,u(u({},i),{},{input:(0,s.jsx)(d,u({},i)),ref:n}))};n.Z=o.forwardRef(p)},16953:function(e,n,i){var t=i(28598);n.Z=function(e){var n=e.size;return(0,t.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5 8.5H15.5V3.5H20.5V8.5ZM14 9V3C14 2.44772 14.4477 2 15 2H21C21.5523 2 22 2.44772 22 3V9C22 9.55229 21.5523 10 21 10H15C14.4477 10 14 9.55229 14 9ZM2 5V12.5V14V21.5C2 22.0523 2.44772 22.5 3 22.5H10.5H12H19.5C20.0523 22.5 20.5 22.0523 20.5 21.5V13.5C20.5 12.9477 20.0523 12.5 19.5 12.5H12V5C12 4.44772 11.5523 4 11 4H3C2.44772 4 2 4.44772 2 5ZM10.5 14V21H3.5V14H10.5ZM19 14V21H12V14H19ZM10.5 5.5V12.5H3.5V5.5H10.5Z",fill:"url(#paint0_linear_2842_55048)"}),(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"paint0_linear_2842_55048",x1:"2",y1:"12.25",x2:"22",y2:"12.25",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9767],{64318:function(n,e,t){t.d(e,{u:function(){return c}});var r=t(9518),o=t(23831),i=t(49125),c=r.default.div.withConfig({displayName:"indexstyle__LinkStyle",componentId:"sc-y3uzxv-0"})(["padding:","px;&:hover{cursor:pointer;","}",""],i.iI,(function(n){return"\n background-color: ".concat((n.theme.interactive||o.Z.interactive).hoverBackground,";\n ")}),(function(n){return n.highlighted&&"\n background-color: ".concat((n.theme.interactive||o.Z.interactive).hoverBackground,";\n ")}))},86585:function(n,e,t){t.d(e,{Mz:function(){return l},T5:function(){return u},bf:function(){return d}});var r,o=t(82394),i=t(10503),c=t(88560),a=t(49125),l=7*a.iI,d=22,u=(a.iI,a.iI,r={},(0,o.Z)(r,c.RL.CATEGORY,i.WD),(0,o.Z)(r,c.RL.CATEGORY_HIGH_CARDINALITY,i.Rj),(0,o.Z)(r,c.RL.DATETIME,i.aw),(0,o.Z)(r,c.RL.EMAIL,i.GT),(0,o.Z)(r,c.RL.LIST,i.aV),(0,o.Z)(r,c.RL.NUMBER,i.qZ),(0,o.Z)(r,c.RL.NUMBER_WITH_DECIMALS,i.As),(0,o.Z)(r,c.RL.PHONE_NUMBER,i.LP),(0,o.Z)(r,c.RL.TEXT,i.KJ),(0,o.Z)(r,c.RL.TRUE_OR_FALSE,i.Kb),(0,o.Z)(r,c.RL.UUID,i.SS),(0,o.Z)(r,c.RL.ZIP_CODE,i.$t),r)},3055:function(n,e,t){t.d(e,{I5:function(){return l},Mz:function(){return a},y7:function(){return c}});var r=t(9518),o=t(23831),i=t(49125),c=2.5*i.iI,a=6*i.iI,l=r.default.div.withConfig({displayName:"indexstyle__HeaderStyle",componentId:"sc-1bk8irg-0"})(["height:","px;left:0;padding-left:","px;padding-right:","px;position:fixed;top:0;width:100%;z-index:10;",""],a,2*i.iI,2*i.iI,(function(n){return"\n background-color: ".concat((n.theme.background||o.Z.background).panel,";\n border-bottom: 1px solid ").concat((n.theme.borders||o.Z.borders).medium,";\n ")}))},19767:function(n,e,t){t.d(e,{Z:function(){return B}});var r=t(82394),o=t(12691),i=t.n(o),c=t(82684),a=t(34376),l=t(35490),d=t(60328),u=t(16634),s=t(47999),p=t(57639),f=t(93461),h=t(67971),g=t(62084),b=t(28598),v=18.53/14;var m=function(n){var e=n.height,t=n.width,r=e||(t?t*(1/v):14),o=t||(e?e*v:18.53);return(0,b.jsxs)("svg",{width:o,height:r,viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,b.jsx)("path",{opacity:"0.4",d:"M15.3266 0L19.2641 1.82961e-06L11.9687 14L8.03125 14L15.3266 0Z",fill:"url(#paint0_linear_1303_5)"}),(0,b.jsx)("path",{d:"M11.9692 1.82961e-06L8.03164 0L0.736328 14L4.67383 14L8.03164 7.55626V14H11.9691V8.38194e-05L11.9692 1.82961e-06Z",fill:"url(#paint1_linear_1303_5)"}),(0,b.jsx)("path",{d:"M15.3269 2.57679e-06H19.2644V14H15.3269V2.57679e-06Z",fill:"url(#paint2_linear_1303_5)"}),(0,b.jsxs)("defs",{children:[(0,b.jsxs)("linearGradient",{id:"paint0_linear_1303_5",x1:"8.03125",y1:"7",x2:"19.2641",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,b.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,b.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]}),(0,b.jsxs)("linearGradient",{id:"paint1_linear_1303_5",x1:"0.736328",y1:"7",x2:"19.2644",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,b.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,b.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]}),(0,b.jsxs)("linearGradient",{id:"paint2_linear_1303_5",x1:"0.736328",y1:"7",x2:"19.2644",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,b.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,b.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})]})]})},x=t(9518),y=x.default.span.withConfig({displayName:"GradientText__SpanStyle",componentId:"sc-1q4m7d7-0"})([""," "," ",""],(function(n){return n.backgroundGradient&&"\n -webkit-background-clip: text !important;\n -webkit-text-fill-color: transparent;\n background: ".concat(n.backgroundGradient,";\n background-clip: text;\n display: inline-block;\n ")}),(function(n){return"undefined"!==typeof n.startingOpacity&&"\n opacity: ".concat(n.startingOpacity,";\n ")}),(function(n){return n.color&&"\n color: ".concat(n.color," !important;\n ")}));var j=function(n){var e=n.backgroundGradient,t=n.children,r=n.color,o=n.startingOpacity;return(0,b.jsx)(y,{backgroundGradient:e,color:r,startingOpacity:o,children:t})},w=t(11135),O=t(10919),k=x.default.svg.withConfig({displayName:"Mage8Bit__SVGStyle",componentId:"sc-cj6ltf-0"})([""]),Z=function(n){var e=n.size,t=void 0===e?20:e,r=n.viewBox,o=void 0===r?"0 0 20 20":r;return(0,b.jsxs)(k,{height:t,viewBox:o,width:t,children:[(0,b.jsxs)("g",{clipPath:"url(#clip0_297_42814)",children:[(0,b.jsx)("path",{d:"M13.334 0h1.66667v1.66667H13.334zM11.666 1.6665h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M10 1.6665h1.66667v1.66667H10z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M8.33398 1.6665h1.66667v1.66667H8.33398z",fill:"#AF93FF"}),(0,b.jsx)("path",{d:"M8.33398 3.3335h1.66667v1.66667H8.33398z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M6.66602 3.3335h1.66667v1.66667H6.66602z",fill:"#AF93FF"}),(0,b.jsx)("path",{d:"M3.33398 5h1.66667v1.66667H3.33398z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M5 5h1.66667v1.66667H5z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M6.66602 5h1.66667v1.66667H6.66602z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M6.66602 5h1.66667v1.66667H6.66602z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M6.66602 8.3335h1.66667v1.66667H6.66602z",fill:"#000"}),(0,b.jsx)("path",{d:"M6.66602 6.6665h1.66667v1.66667H6.66602z",fill:"#AD8FFF"}),(0,b.jsx)("path",{d:"M6.66602 10h1.66667v1.66667H6.66602z",fill:"#C9B6FF"}),(0,b.jsx)("path",{d:"M8.33398 6.6665h1.66667v1.66667H8.33398z",fill:"#AD8FFF"}),(0,b.jsx)("path",{d:"M1.66602 13.3335h1.66667v1.66667H1.66602z",fill:"#C9B6FF"}),(0,b.jsx)("path",{d:"M1.66602 11.6665h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,b.jsx)("path",{d:"M1.66602 10h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,b.jsx)("path",{d:"M1.66602 8.3335h1.66667v1.66667H1.66602zM1.66602 6.6665h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,b.jsx)("path",{d:"M1.66602 6.6665h1.66667v1.66667H1.66602zM0 0h1.66667v1.66667H0zM3.33398 1.6665h1.66667v1.66667H3.33398zM0 3.3335h1.66667v1.66667H0z",fill:"#2ECDF7"}),(0,b.jsx)("path",{d:"M1.66602 16.6665h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,b.jsx)("path",{d:"M1.66602 16.6665h1.66667v1.66667H1.66602zM1.66602 18.3335h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,b.jsx)("path",{d:"M1.66602 15h1.66667v1.66667H1.66602zM3.33398 15h1.66667v1.66667H3.33398z",fill:"#C9B6FF"}),(0,b.jsx)("path",{d:"M3.33398 16.6665h1.66667v1.66667H3.33398z",fill:"#C9B6FF"}),(0,b.jsx)("path",{d:"M3.33398 13.3335h1.66667v1.66667H3.33398z",fill:"#AD8FFF"}),(0,b.jsx)("path",{d:"M8.33398 8.3335h1.66667v1.66667H8.33398z",fill:"#C9B6FF"}),(0,b.jsx)("path",{d:"M10 6.6665h1.66667v1.66667H10z",fill:"#AD8FFF"}),(0,b.jsx)("path",{d:"M10 10h1.66667v1.66667H10z",fill:"#C9B6FF"}),(0,b.jsx)("path",{d:"M11.666 6.6665h1.66667v1.66667H11.666z",fill:"#AD8FFF"}),(0,b.jsx)("path",{d:"M11.666 8.3335h1.66667v1.66667H11.666z",fill:"#C9B6FF"}),(0,b.jsx)("path",{d:"M8.33398 10h1.66667v1.66667H8.33398z",fill:"#FF8DA9"}),(0,b.jsx)("path",{d:"M8.33398 11.6665h1.66667v1.66667H8.33398z",fill:"#FF8DA9"}),(0,b.jsx)("path",{d:"M6.66602 11.6665h1.66667v1.66667H6.66602z",fill:"#D9D9D9"}),(0,b.jsx)("path",{d:"M6.66602 11.6665h1.66667v1.66667H6.66602z",fill:"#D9D9D9"}),(0,b.jsx)("path",{d:"M5 10h1.66667v1.66667H5z",fill:"#D9D9D9"}),(0,b.jsx)("path",{d:"M5 8.3335h1.66667v1.66667H5z",fill:"#232429"}),(0,b.jsx)("path",{d:"M8.33398 11.6665h1.66667v1.66667H8.33398zM8.33398 13.3335h1.66667v1.66667H8.33398z",fill:"#D9D9D9"}),(0,b.jsx)("path",{d:"M10 11.6665h1.66667v1.66667H10z",fill:"#D9D9D9"}),(0,b.jsx)("path",{d:"M11.666 10h1.66667v1.66667H11.666zM13.334 6.6665h1.66667v1.66667H13.334zM13.334 8.3335h1.66667v1.66667H13.334z",fill:"#D9D9D9"}),(0,b.jsx)("path",{d:"M15 8.3335h1.66667v1.66667H15z",fill:"#757575"}),(0,b.jsx)("path",{d:"M15 10h1.66667v1.66667H15z",fill:"#D9D9D9"}),(0,b.jsx)("path",{d:"M10 8.3335h1.66667v1.66667H10z",fill:"#000"}),(0,b.jsx)("path",{d:"M8.33398 5h1.66667v1.66667H8.33398zM11.666 5h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M13.334 10h1.66667v1.66667H13.334zM11.666 11.6665h1.66667v1.66667H11.666zM10 13.3335h1.66667v1.66667H10z",fill:"#501FD8"}),(0,b.jsx)("path",{d:"M8.33398 15h1.66667v1.66667H8.33398zM6.66602 13.3335h1.66667v1.66667H6.66602zM15 11.6665h1.66667v1.66667H15z",fill:"#501FD8"}),(0,b.jsx)("path",{d:"M16.666 11.6665h1.66667v1.66667H16.666zM16.666 13.3335h1.66667v1.66667H16.666z",fill:"#501FD8"}),(0,b.jsx)("path",{d:"M15 13.3335h1.66667v1.66667H15z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M13.334 13.3335h1.66667v1.66667H13.334zM13.334 11.6665h1.66667v1.66667H13.334zM11.666 13.3335h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M11.666 15h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M10 15h1.66667v1.66667H10z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M8.33398 16.6665h1.66667v1.66667H8.33398z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M6.66602 15h1.66667v1.66667H6.66602z",fill:"#AF93FF"}),(0,b.jsx)("path",{d:"M6.66602 16.6665h1.66667v1.66667H6.66602z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M5 16.6665h1.66667v1.66667H5z",fill:"#AF93FF"}),(0,b.jsx)("path",{d:"M5 18.3335h1.66667v1.66667H5z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M6.66602 18.3335h1.66667v1.66667H6.66602zM8.33398 18.3335h1.66667v1.66667H8.33398z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M10 18.3335h1.66667v1.66667H10z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M11.666 18.3335h1.66667v1.66667H11.666zM13.334 18.3335h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M15 18.3335h1.66667v1.66667H15z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M16.666 18.3335h1.66667v1.66667H16.666z",fill:"#652EFF"}),(0,b.jsx)("path",{d:"M3.33398 18.3335h1.66667v1.66667H3.33398zM10 16.6665h1.66667v1.66667H10z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M11.666 16.6665h1.66667v1.66667H11.666zM13.334 15h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M13.334 16.6665h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M15 16.6665h1.66667v1.66667H15z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M15 15h1.66667v1.66667H15z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M16.666 15h1.66667v1.66667H16.666zM18.334 16.6665h1.66667v1.66667H18.334zM18.334 18.3335h1.66667v1.66667H18.334z",fill:"#501FD8"}),(0,b.jsx)("path",{d:"M16.666 16.6665h1.66667v1.66667H16.666z",fill:"#652EFF"}),(0,b.jsx)("path",{d:"M13.334 5h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M15 5h1.66667v1.66667H15zM10 5h1.66667v1.66667H10z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M10 3.3335h1.66667v1.66667H10z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M11.666 3.3335h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,b.jsx)("path",{d:"M11.666 0h1.66667v1.66667H11.666z",fill:"#AF93FF"})]}),(0,b.jsx)("defs",{children:(0,b.jsx)("clipPath",{id:"clip0_297_42814",children:(0,b.jsx)("path",{d:"M0 0h20v20H0z",fill:"#fff"})})})]})},P=t(62609),C=t(86673),I=t(19711),H=t(46261),M=t(82531),F=t(73899),z=t(3055),_=t(64318),D=t(9736),E=t(49125),T=t(59e3);function S(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function R(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?S(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):S(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var B=function(n){var e=n.breadcrumbs,t=n.menuItems,r=n.project,o=n.version,v=(0,c.useState)(!1),x=v[0],y=v[1],k=(0,c.useState)(null),S=k[0],B=k[1],A=(0,c.useState)(!1),L=A[0],N=A[1],G=(0,c.useState)(null),U=G[0],W=G[1],Y=(0,c.useRef)(null),K=(0,c.useRef)(null),V=(0,a.useRouter)(),q=M.ZP.projects.list({},{revalidateOnFocus:!1},{pauseFetch:!!r}).data,X=(0,c.useMemo)((function(){var n;return r||(null===q||void 0===q||null===(n=q.projects)||void 0===n?void 0:n[0])}),[q,r]),Q=(0,c.useMemo)((function(){return o||(null===X||void 0===X?void 0:X.version)}),[X,o]),J=l.Z.isLoggedIn(),$=(0,c.useMemo)((function(){return e||[{bold:!0,label:function(){return null===X||void 0===X?void 0:X.name},linkProps:{href:"/",sameColorText:!0}}]}),[e,X]),nn=V.query.pipeline,en=(0,c.useMemo)((function(){var n=$.length,e=[];return $.forEach((function(t,r){var o=t.bold,a=t.gradientColor,l=t.label,d=t.linkProps,u=l();n>=2&&r>=1&&e.push((0,b.jsx)(I.ZP,{inline:!0,monospace:!0,muted:!0,children:"\xa0 / \xa0"},"divider-".concat(u)));var s=(0,b.jsx)(I.ZP,{bold:o,default:!o,monospace:!0,children:u}),p=(0,b.jsxs)(C.Z,{ml:0===r?2:0,children:[a&&(0,b.jsx)(j,{backgroundGradient:a,children:s}),!a&&s]},"breadcrumb-".concat(u));d&&(p=(0,c.createElement)(i(),R(R({},d),{},{key:"breadcrumb-link-".concat(u),passHref:!0}),(0,b.jsx)(O.Z,{block:!0,default:!o,noOutline:!0,sameColorAsText:o,children:p}))),e.push(p)})),e}),[$]),tn=(X||{}).latest_version,rn=(0,c.useMemo)((function(){return(0,b.jsx)(i(),{as:"/",href:"/",passHref:!0,children:(0,b.jsx)(O.Z,{block:!0,height:z.y7,noHoverUnderline:!0,noOutline:!0,children:(0,b.jsx)(m,{height:z.y7})})})}),[]),on=[{label:function(){return"Settings"},linkProps:{href:"/settings/workspace/preferences"},uuid:"user_settings"}];return(0,D.YB)()&&on.push({label:function(){return"Sign out"},onClick:function(){l.Z.logout((function(){M.ZP.sessions.updateAsync(null,1).then((function(){(0,T.nL)("/sign-in")})).catch((function(){(0,T.nL)("/")}))}))},uuid:"sign_out"}),(0,b.jsx)(z.I5,{children:(0,b.jsx)(p.Z,{children:(0,b.jsxs)(h.Z,{alignItems:"center",fullHeight:!0,justifyContent:"space-between",children:[(0,b.jsxs)(f.Z,{alignItems:"center",children:[Q&&(0,b.jsx)(H.Z,{height:z.y7,label:"Version ".concat(Q),size:null,visibleDelay:300,widthFitContent:!0,children:rn}),!Q&&rn,en]}),(0,b.jsxs)(f.Z,{alignItems:"center",children:[tn&&Q&&tn!==Q&&(0,b.jsx)(C.Z,{ml:2,children:(0,b.jsx)(d.Z,{borderLess:!0,linkProps:{href:"https://docs.mage.ai/about/releases"},noHoverUnderline:!0,primary:!0,target:"_blank",children:(0,b.jsxs)(I.ZP,{children:["\ud83d\ude80 Download new version ",(0,b.jsx)(I.ZP,{bold:!0,inline:!0,monospace:!0,children:tn})]})})}),Q&&"undefined"!==typeof Q&&(0,b.jsx)(C.Z,{ml:2,children:(0,b.jsx)(O.Z,{default:!0,href:"https://www.mage.ai/changelog",monospace:!0,openNewWindow:!0,children:"v".concat(Q)})}),(0,b.jsx)(C.Z,{ml:2,children:(0,b.jsx)(w.ZP,{blackBorder:!0,block:!0,compact:!0,noHoverUnderline:!0,openNewTab:!0,linkProps:{as:"https://www.mage.ai/chat",href:"https://www.mage.ai/chat"},sameColorAsText:!0,uuid:"Header/live_chat",children:"Live chat"})}),t&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(C.Z,{ml:2}),(0,b.jsx)(s.Z,{onClickOutside:function(){return B(null)},open:!0,style:{position:"relative"},children:(0,b.jsxs)(h.Z,{children:[(0,b.jsx)(_.u,{highlighted:0===S,onClick:function(){return B((function(n){return 0===n?null:0}))},onMouseEnter:function(){return B((function(n){return null!==n?0:null}))},ref:Y,children:(0,b.jsx)(I.ZP,{children:"Menu"})}),(0,b.jsx)(g.Z,{alternateBackground:!0,items:t,onClickCallback:function(){return B(null)},open:0===S,parentRef:Y,rightOffset:0,setConfirmationAction:W,setConfirmationDialogueOpen:N,uuid:"PipelineDetail/Header/menu"})]})}),(0,b.jsx)(s.Z,{onClickOutside:function(){return N(!1)},open:L,children:(0,b.jsx)(P.Z,{danger:!0,onCancel:function(){return N(!1)},onClick:U,right:16*E.iI,subtitle:"This is irreversible and will immediately delete everything associated with the pipeline, including its blocks, triggers, runs, logs, and history.",title:"Are you sure you want to delete the pipeline ".concat(nn,"?"),width:40*E.iI})})]}),(J||!(0,D.YB)())&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(C.Z,{ml:2}),(0,b.jsx)(s.Z,{onClickOutside:function(){return y(!1)},open:!0,style:{position:"relative"},children:(0,b.jsxs)(h.Z,{children:[(0,b.jsx)(_.u,{onClick:function(){return y(!0)},ref:K,children:(0,b.jsx)(u.Z,{color:F.Jm,size:4*E.iI,children:(0,b.jsx)(Z,{})})}),(0,b.jsx)(g.Z,{alternateBackground:!0,items:on,onClickCallback:function(){return y(!1)},open:x,parentRef:K,rightOffset:0,uuid:"shared/Header/user_menu"})]})})]})]})]})})})}},57639:function(n,e,t){var r=t(82684),o=t(28598);e.Z=function(n){var e=n.children,t=(0,r.useState)(!1),i=t[0],c=t[1];return(0,r.useEffect)((function(){c(!0)}),[]),i?e:(0,o.jsx)("div",{})}},88560:function(n,e,t){t.d(e,{P_:function(){return c},RL:function(){return o},Rp:function(){return a}});var r,o,i=t(82394);!function(n){n.CATEGORY="category",n.CATEGORY_HIGH_CARDINALITY="category_high_cardinality",n.DATETIME="datetime",n.EMAIL="email",n.LIST="list",n.NUMBER="number",n.NUMBER_WITH_DECIMALS="number_with_decimals",n.PHONE_NUMBER="phone_number",n.TEXT="text",n.TRUE_OR_FALSE="true_or_false",n.UUID="uuid",n.ZIP_CODE="zip_code"}(o||(o={}));o.NUMBER,o.NUMBER_WITH_DECIMALS,o.NUMBER,o.NUMBER_WITH_DECIMALS,o.DATETIME,o.NUMBER,o.NUMBER_WITH_DECIMALS,o.CATEGORY,o.CATEGORY_HIGH_CARDINALITY,o.DATETIME,o.EMAIL,o.PHONE_NUMBER,o.TEXT,o.TRUE_OR_FALSE,o.CATEGORY,o.CATEGORY_HIGH_CARDINALITY,o.DATETIME,o.EMAIL,o.PHONE_NUMBER,o.TEXT;var c=[o.CATEGORY,o.CATEGORY_HIGH_CARDINALITY],a=(r={},(0,i.Z)(r,o.NUMBER,"Number"),(0,i.Z)(r,o.NUMBER_WITH_DECIMALS,"Decimal number"),(0,i.Z)(r,o.CATEGORY,"Category"),(0,i.Z)(r,o.CATEGORY_HIGH_CARDINALITY,"Category (high cardinality)"),(0,i.Z)(r,o.DATETIME,"Date/Time"),(0,i.Z)(r,o.EMAIL,"Email"),(0,i.Z)(r,o.LIST,"List"),(0,i.Z)(r,o.PHONE_NUMBER,"Phone number"),(0,i.Z)(r,o.TEXT,"Text"),(0,i.Z)(r,o.TRUE_OR_FALSE,"Boolean"),(0,i.Z)(r,o.ZIP_CODE,"Zip code"),r)},93461:function(n,e,t){var r=t(9518),o=t(25883),i=r.default.div.withConfig({displayName:"Flex",componentId:"sc-sgfnl9-0"})(["display:flex;"," "," "," "," ",""],o.GQ,o.Dh,(function(n){return n.position&&"\n position: ".concat(n.position,";\n ")}),(function(n){return n.right&&"\n right: ".concat(n.right,"px;\n ")}),(function(n){return n.textOverflow&&"\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n "}));e.Z=i},67971:function(n,e,t){var r,o,i,c,a=t(82394),l=t(26304),d=t(26653),u=(t(82684),t(9518)),s=t(25883),p=t(33591),f=t(28598),h=["children","fullHeight","verticalHeightOffset"];function g(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function b(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?g(Object(t),!0).forEach((function(e){(0,a.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var v=(0,u.css)(["flex-direction:column;"]),m=(0,u.css)([""," "," "," ",""],p.media.xs(r||(r=(0,d.Z)(["\n ","\n "])),(function(n){return n.responsive&&"\n ".concat(v,"\n ")})),p.media.sm(o||(o=(0,d.Z)(["\n ","\n "])),(function(n){return n.responsive&&"\n ".concat(v,"\n ")})),p.media.md(i||(i=(0,d.Z)(["\n ","\n "])),(function(n){return n.responsive&&"\n ".concat(v,"\n ")})),p.media.lg(c||(c=(0,d.Z)(["\n ","\n "])),(function(n){return n.responsive&&"\n flex-direction: row;\n "}))),x=u.default.div.withConfig({displayName:"FlexContainer__FlexContainerStyle",componentId:"sc-fv2cul-0"})([""," "," "," "," "," "," "," "," "," "," "," "," ",""],s.GQ,m,(function(n){return n.verticalHeight&&"\n height: calc(".concat(n.verticalHeight,"vh - ").concat(n.verticalHeightOffset,"px);\n ")}),(function(n){return!n.verticalHeight&&Number(n.offsetHeight)>0&&"\n height: calc(100% - ".concat(n.offsetHeight||0,"px);\n ")}),(function(n){return n.fullHeight&&!n.verticalHeight&&"\n height: calc(100% - ".concat(n.offsetHeight||0,"px);\n ")}),(function(n){return n.fullWidth&&"\n width: 100%;\n "}),(function(n){return!n.inline&&"\n display: flex;\n "}),(function(n){return n.inline&&"\n display: inline-flex;\n "}),(function(n){return n.fullScreenHeight&&!n.offsetHeight&&"\n min-height: 100vh;\n "}),(function(n){return n.fullScreenHeight&&n.offsetHeight&&"\n min-height: calc(100vh - ".concat(n.offsetHeight,"px);\n ")}),(function(n){return n.width&&"\n width: ".concat(n.width,"px;\n ")}),(function(n){return n.relative&&"\n position: relative;\n "}),(function(n){return n.textOverflow&&"\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n "}));e.Z=function(n){var e=n.children,t=n.fullHeight,r=n.verticalHeightOffset,o=void 0===r?0:r,i=(0,l.Z)(n,h);return(0,f.jsx)(x,b(b({},i),{},{fullHeight:t,verticalHeightOffset:o,children:e}))}},62084:function(n,e,t){t.d(e,{Z:function(){return I}});var r=t(82394),o=t(82684),i=t(12691),c=t.n(i),a=t(67971),l=t(79749),d=t(86673),u=t(19711),s=t(46261),p=t(10503),f=t(9518),h=t(23831),g=t(73942),b=t(49125),v=f.default.div.withConfig({displayName:"indexstyle__FlyoutMenuContainerStyle",componentId:"sc-1o7k6f4-0"})(["position:absolute;max-height:","px;"," "," ",""],58*b.iI,(function(n){return n.width&&"\n min-width: 0px;\n width: ".concat(n.width,"px;\n ")}),(function(n){return"\n box-shadow: ".concat((n.theme.shadow||h.Z.shadow).popup,";\n\n &:hover {\n background-color: ").concat((n.theme.interactive||h.Z.interactive).hoverBackground,";\n }\n ")}),(function(n){return n.roundedStyle&&"\n border-radius: ".concat(g.n_,"px;\n\n div:first-child {\n border-top-left-radius: ").concat(g.n_,"px;\n border-top-right-radius: ").concat(g.n_,"px;\n }\n\n div:last-child {\n border-bottom-left-radius: ").concat(g.n_,"px;\n border-bottom-right-radius: ").concat(g.n_,"px;\n }\n ")})),m=f.default.div.withConfig({displayName:"indexstyle__TitleContainerStyle",componentId:"sc-1o7k6f4-1"})(["padding:","px;padding-bottom:0;",""],b.iI,(function(n){return"\n background-color: ".concat((n.theme.background||h.Z.background).popup,";\n ")})),x=(0,f.css)(["justify-content:space-between;padding:","px;"," "," "," "," "," "," ",""],b.iI,(function(n){return n.largePadding&&"\n padding: ".concat(2*b.iI,"px;\n padding-right: ").concat(6*b.iI,"px;\n ")}),(function(n){return!n.disabled&&"\n &:hover {\n background-color: ".concat((n.theme.interactive||h.Z.interactive).hoverBackground,";\n cursor: pointer;\n }\n ")}),(function(n){return"\n background-color: ".concat((n.theme.background||h.Z.background).popup,";\n ")}),(function(n){return n.alternateBackground&&"\n background-color: ".concat((n.theme.interactive||h.Z.interactive).defaultBackground,";\n ")}),(function(n){return n.disabled&&"\n color: ".concat((n.theme.content||h.Z.content).disabled,";\n cursor: not-allowed;\n\n &:hover {\n color: ").concat((n.theme.content||h.Z.content).disabled,";\n }\n ")}),(function(n){return n.indent&&"\n padding-left: ".concat(2*b.iI,"px;\n ")}),(function(n){return n.highlighted&&"\n background-color: ".concat((n.theme.interactive||h.Z.interactive).hoverBackground,";\n ")})),y=f.default.div.withConfig({displayName:"indexstyle__LinkStyle",componentId:"sc-1o7k6f4-2"})(["",""],x),j=f.default.a.withConfig({displayName:"indexstyle__LinkAnchorStyle",componentId:"sc-1o7k6f4-3"})([""," display:block;"],x),w=t(16115),O=t(66653),k=t(41150),Z=t(28598);function P(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function C(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?P(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):P(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var I=function(n){var e,t,i=n.alternateBackground,f=n.disableKeyboardShortcuts,h=n.items,g=n.left,b=n.onClickCallback,x=n.open,P=n.parentRef,I=n.rightOffset,H=n.roundedStyle,M=n.setConfirmationAction,F=n.setConfirmationDialogueOpen,z=n.topOffset,_=void 0===z?0:z,D=n.uuid,E=n.width,T=(0,o.useState)([]),S=T[0],R=T[1],B=(0,o.useState)({}),A=B[0],L=B[1],N=(0,o.useState)(0),G=N[0],U=N[1],W=(0,o.useState)(0),Y=W[0],K=W[1],V=((null===P||void 0===P||null===(e=P.current)||void 0===e||null===(t=e.getBoundingClientRect)||void 0===t?void 0:t.call(e))||{}).height,q=(0,o.useRef)({}),X=(0,o.useRef)(null),Q=(0,k.y)(),J=Q.registerOnKeyDown,$=Q.unregisterOnKeyDown;return(0,o.useEffect)((function(){return function(){$(D)}}),[$,D]),J(D,(function(n,e,t){if(x)if(f)(0,O.j)(n);else{var r=S[0];if(e[w.kD])(0,O.j)(n),"undefined"===typeof r||r===h.length-1?R([0]):R([r+1]);else if(e[w.Bu])(0,O.j)(n),R("undefined"===typeof r||0===r?[h.length-1]:[r-1]);else if(e[w.Uq]&&"undefined"!==typeof r){var o,i;null===(o=h[r])||void 0===o||null===(i=o.onClick)||void 0===i||i.call(o),null===b||void 0===b||b()}else null===h||void 0===h||h.forEach((function(n){var r=n.keyboardShortcutValidation;null===r||void 0===r||r({keyHistory:t,keyMapping:e})}))}}),[S,h,b,x,R]),(0,o.useEffect)((function(){x||R([])}),[x]),h?function n(e,t,f){var h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,x=arguments.length>4?arguments[4]:void 0;return h+=1,(0,Z.jsx)(v,{roundedStyle:H,style:{display:f||A[t]?null:"none",left:"undefined"===typeof I&&(1===h?g||0:"100%"),right:1===h?I:null,top:1===h?(V||0)+_:(2===h?G:Y)||0},width:E,children:null===e||void 0===e?void 0:e.map((function(e,t){var f=e.bold,g=e.disabled,v=e.items,w=e.indent,O=e.isGroupingTitle,k=e.keyTextGroups,P=e.label,I=e.linkProps,z=e.onClick,_=e.openConfirmationDialogue,D=e.tooltip,E=e.uuid;x.current[E]=(0,o.createRef)();var T=I?j:y,R=P();if(O)return(0,Z.jsxs)(m,{children:["string"===typeof R&&(0,Z.jsx)(u.ZP,{bold:!0,muted:!0,noWrapping:!0,children:R}),"string"!==typeof R&&R]},E);var B=(0,Z.jsxs)(T,{alternateBackground:i||H,disabled:g,highlighted:S[0]===t,indent:w,largePadding:H,onClick:function(n){I||n.preventDefault(),_?(F(!0),M((function(){return z})),null===b||void 0===b||b()):z&&!g&&(null===z||void 0===z||z(),null===b||void 0===b||b())},onMouseEnter:function(){var n,e;if(L((function(n){return C(C({},n),{},(0,r.Z)({},E,!0))})),1===h)U((null===(n=x.current[E])||void 0===n||null===(e=n.current)||void 0===e?void 0:e.offsetTop)||0);else if(2===h){var t,o;K((null===(t=x.current[E])||void 0===t||null===(o=t.current)||void 0===o?void 0:o.offsetTop)||0)}},onMouseLeave:function(){L((function(n){return C(C({},n),{},(0,r.Z)({},E,!1))}))},ref:x.current[E],children:[(0,Z.jsxs)(a.Z,{alignItems:"center",fullWidth:!0,justifyContent:"space-between",children:["string"===typeof R&&(0,Z.jsx)(u.ZP,{bold:f,disabled:g,noWrapping:!0,children:R}),"string"!==typeof R&&R,v&&(0,Z.jsx)(d.Z,{ml:2,children:(0,Z.jsx)(p.ol,{})}),k&&(0,Z.jsx)(d.Z,{ml:4,ref:X,children:(0,Z.jsx)(l.Z,{keyTextGroups:k})})]}),v&&n(v,E,!1,h,x)]},E);return D&&(B=(0,Z.jsx)(s.Z,{appearBefore:!0,block:!0,center:!0,description:D(),size:null,widthFitContent:!0,children:B})),I?(0,o.createElement)(c(),C(C({},I),{},{key:E,passHref:!0}),B):B}))})}(h,void 0,x,0,q):null}},62609:function(n,e,t){t.d(e,{Z:function(){return b}});var r=t(60328),o=t(67971),i=t(9518),c=t(23831),a=t(73942),l=t(86585),d=t(49125),u=t(28598),s=i.default.div.withConfig({displayName:"PopupMenuContainer__ContainerStyle",componentId:"sc-lq9od4-0"})(["border-radius:","px;padding:","px;position:absolute;z-index:",";cursor:default;"," "," "," "," "," "," "," ",""],a.TR,2*d.iI,l.bf+100,(function(n){return"\n background-color: ".concat((n.theme.interactive||c.Z.interactive).defaultBackground,";\n box-shadow: ").concat((n.theme.shadow||c.Z.shadow).window,";\n ")}),(function(n){return"undefined"!==typeof n.left&&"\n left: ".concat(n.left,"px;\n ")}),(function(n){return"undefined"!==typeof n.right&&"\n right: ".concat(n.right,"px;\n ")}),(function(n){return"undefined"!==typeof n.top&&"\n top: ".concat(n.top,"px;\n ")}),(function(n){return"undefined"!==typeof n.bottom&&"\n bottom: ".concat(n.bottom,"px;\n ")}),(function(n){return"undefined"===typeof n.top&&"undefined"===typeof n.bottom&&"\n top: ".concat(l.Mz-1*d.iI,"px;\n ")}),(function(n){return n.width&&"\n width: ".concat(n.width,"px;\n ")}),(function(n){return!n.width&&"\n min-width: ".concat(33*d.iI,"px;\n ")}));var p=function(n){var e=n.bottom,t=n.children,r=n.left,o=n.right,i=n.top,c=n.width;return(0,u.jsx)(s,{bottom:e,left:r,right:o,top:i,width:c,children:t})},f=t(86673),h=t(19711),g=32*d.iI;var b=function(n){var e=n.bottom,t=n.danger,i=n.left,c=n.isLoading,a=n.onCancel,l=n.onClick,d=n.right,s=n.subtitle,b=n.title,v=n.top,m=n.width;return(0,u.jsxs)(p,{bottom:e,left:i,right:d,top:v,width:m||g,children:[(0,u.jsxs)(o.Z,{alignItems:"center",flexDirection:"column",children:[(0,u.jsx)(f.Z,{pb:1,children:(0,u.jsx)(h.ZP,{bold:!0,large:!0,warning:!0,whiteSpaceNormal:!0,children:b})}),(0,u.jsx)(h.ZP,{small:!0,children:s})]}),(0,u.jsx)(f.Z,{mt:2,children:(0,u.jsxs)(o.Z,{alignItems:"center",justifyContent:"center",children:[(0,u.jsx)(r.Z,{onClick:a,children:"Cancel"}),(0,u.jsx)(f.Z,{mr:1}),(0,u.jsx)(r.Z,{loading:c,onClick:l,children:(0,u.jsx)(h.ZP,{bold:!0,danger:t,children:"Confirm"})})]})})]})}},54283:function(n,e,t){var r=t(82684),o=t(27601),i=t.n(o),c=t(23831),a=t(9518),l=t(49125),d=t(28598);e.Z=function(n){var e=n.color,t=n.fullScreen,o=n.inverted,u=n.large,s=n.left,p=void 0===s?0:s,f=n.relative,h=n.right,g=void 0===h?0:h,b=n.small,v=n.top,m=void 0===v?0:v,x=n.type,y=void 0===x?"spin":x,j=(0,r.useState)(void 0),w=j[0],O=j[1],k=(0,r.useState)(void 0),Z=k[0],P=k[1],C=(0,r.useContext)(a.ThemeContext),I=3*l.iI;u?I=5*l.iI:b&&(I=2*l.iI),(0,r.useEffect)((function(){O(window.document.body.offsetHeight),P(window.document.body.offsetWidth)}),[w,Z]);var H=(0,d.jsx)(i(),{color:e||(o?(C.loader||c.Z.loader).colorInverted:(C.loader||c.Z.loader).color),height:I,type:y,width:I});if(!t)return H;if(w&&Z){var M=w-l.tr;return(0,d.jsx)("div",{style:{left:f?null:p+(Z-I)/2-g,position:"fixed",top:m+M/2-I/2,zIndex:50},children:H})}return(0,d.jsx)("div",{})}},46261:function(n,e,t){t.d(e,{Z:function(){return M}});var r=t(82394),o=t(26304),i=t(82684),c=t(9518),a=t(67971),l=t(19711),d=t(23831),u=t(73942),s=t(49125),p=t(60328),f=t(90880),h=t(28598),g=(0,c.css)(["position:relative;"," "," ",""],(function(n){return n.height&&"\n height: ".concat(n.height,"px;\n ")}),(function(n){return n.size&&"\n height: ".concat(n.size,"px;\n ")}),(function(n){return n.fullSize&&"\n height: 100%;\n "})),b=c.default.div.withConfig({displayName:"TooltipWrapper__ContainerStyle",componentId:"sc-1dd57l8-0"})(["",""],g),v=c.default.span.withConfig({displayName:"TooltipWrapper__ContainerSpanStyle",componentId:"sc-1dd57l8-1"})(["",""],g),m=c.default.a.withConfig({displayName:"TooltipWrapper__HoverStyle",componentId:"sc-1dd57l8-2"})([""," "," "," border-radius:50%;"," "," &:active,&:focus{outline:none;}",""],(0,f.eR)(),(function(n){return n.size&&"\n height: ".concat(n.size,"px;\n width: ").concat(n.size,"px;\n ")}),(function(n){return n.fullSize&&"\n height: 100%;\n width: 100%;\n "}),(function(n){return!n.block&&"\n display: inline-block;\n "}),(function(n){return n.block&&"\n display: block;\n "}),(function(n){return!n.noHoverOutline&&"\n &:hover {\n cursor: pointer;\n\n box-shadow:\n 0 0 0 ".concat(u.PV,"px ").concat((0,p.W)(n),",\n 0 0 0 ").concat(u.PV+u.q2,"px ").concat((n.theme.interactive||d.Z.interactive).hoverOverlay,";\n }\n ")})),x=c.default.span.withConfig({displayName:"TooltipWrapper__BasicStyle",componentId:"sc-1dd57l8-3"})([""]),y=c.default.div.withConfig({displayName:"TooltipWrapper__ContentStyle",componentId:"sc-1dd57l8-4"})(["position:absolute;z-index:3;"," "," "," "," "," "," "," "," "," ",""],(function(n){return"\n box-shadow: ".concat((n.theme.shadow||d.Z.shadow).base,";\n ")}),(function(n){return n.lightBackground&&"\n box-shadow: ".concat((n.theme.shadow||d.Z.shadow).window,";\n ")}),(function(n){return n.appearAbove&&!n.size&&"\n bottom: 0;\n "}),(function(n){return n.appearAbove&&n.size&&"\n bottom: ".concat(n.size+u.PV+u.q2,"px;\n ")}),(function(n){return n.appearBefore&&"\n right: 0;\n "}),(function(n){return n.leftPosition&&"\n left: ".concat(n.leftPosition,"px;\n ")}),(function(n){return!n.leftPosition&&n.rightPosition&&"\n right: 0px;\n "}),(function(n){return n.minWidth&&"\n min-width: ".concat(n.minWidth,"px;\n ")}),(function(n){return n.widthFitContent&&"\n width: max-content;\n "}),(function(n){return n.topOffset&&"\n top: ".concat(n.topOffset,"px;\n ")}));var j=function(n){var e=n.alignLeft,t=n.appearAbove,r=n.appearBefore,o=n.autoWidth,c=n.basic,a=n.block,l=n.center,d=n.children,u=n.content,p=n.fullSize,f=n.height,g=n.inline,j=n.lightBackground,w=n.minWidth,O=n.noHoverOutline,k=n.size,Z=void 0===k?2*s.iI:k,P=n.topOffset,C=n.visibleDelay,I=void 0===C?1e3:C,H=n.widthFitContent,M=(0,i.useState)(!1),F=M[0],z=M[1],_=(0,i.useState)(!1),D=_[0],E=_[1],T=(w-Z)/-2,S=g?v:b,R=c?x:m,B=(0,h.jsx)(R,{block:a,fullSize:p,href:"#",noHoverOutline:O,onClick:function(n){return n.preventDefault()},onMouseEnter:function(){return z(!0)},size:Z,children:d});return(0,i.useEffect)((function(){var n=setInterval((function(){return E(!0)}),I);return F||clearInterval(n),function(){return clearInterval(n)}}),[E,F]),(0,h.jsxs)(S,{fullSize:p,height:f,onMouseLeave:function(){z(!1),E(!1)},size:Z,children:[B,D&&(0,h.jsx)(y,{appearAbove:t,appearBefore:r,leftPosition:l?T:null,lightBackground:j,minWidth:o?w:null,rightPosition:e,size:Z,topOffset:P,widthFitContent:H,children:u})]})},w=t(10503),O=["autoWidth","children","default","description","inverted","keyboardShortcuts","label","lightBackground","maxWidth","muted","primary","size","warning","widthFitContent"];function k(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function Z(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?k(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var P=42*s.iI,C=(0,c.css)(["border-radius:","px;"," "," "," ",""],u.BG,(function(n){return"\n box-shadow: ".concat((n.theme.shadow||d.Z.shadow).popup,";\n background-color: ").concat((n.theme.background||d.Z.background).popup,";\n ")}),(function(n){return n.lightBackground&&"\n background-color: ".concat((n.theme.interactive||d.Z.interactive).defaultBackground,";\n ")}),(function(n){return n.width&&!(n.widthFitContent||n.autoWidth)&&"\n width: ".concat(n.width,"px;\n ")}),(function(n){return!n.width&&!(n.widthFitContent||n.autoWidth)&&"\n width: ".concat(P,"px;\n ")})),I=c.default.div.withConfig({displayName:"Tooltip__LabelStyle",componentId:"sc-allmdq-0"})([""," padding:","px ","px;"],C,.75*s.iI,1*s.iI),H=c.default.div.withConfig({displayName:"Tooltip__DescriptionStyle",componentId:"sc-allmdq-1"})([""," padding:","px ","px;"],C,1.5*s.iI,2*s.iI);var M=function(n){var e=n.autoWidth,t=n.children,r=n.default,c=n.description,d=n.inverted,u=n.keyboardShortcuts,p=n.label,f=n.lightBackground,g=n.maxWidth,b=n.muted,v=n.primary,m=n.size,x=void 0===m?2*s.iI:m,y=n.warning,k=n.widthFitContent,C=(0,o.Z)(n,O),M=c||p||"",F=c?H:I,z=Math.min(g||P,M.length*s.Fo),_=[];null===u||void 0===u||u.forEach((function(n,e){e>=1&&_.push((0,h.jsx)(l.ZP,{default:!0,children:"+"})),_.push(n)}));var D=_.map((function(n,e){var t="keyboard-shortcut-".concat(e);return"string"===typeof n?(0,h.jsx)("span",{children:n},t):i.cloneElement(n,{key:t})}));return(0,h.jsx)(j,Z(Z({},C),{},{autoWidth:e,content:(0,h.jsx)(F,{autoWidth:e,lightBackground:f,width:g,widthFitContent:k,children:(0,h.jsxs)(a.Z,{alignItems:"center",children:[(0,h.jsx)(l.ZP,{whiteSpaceNormal:!0,children:M}),D.length>=1&&(0,h.jsx)(l.ZP,{muted:!0,children:"\xa0\xa0\xa0\u2022\xa0\xa0\xa0"}),D.length>=1&&D]})}),lightBackground:f,minWidth:z,noHoverOutline:!!t,size:x,widthFitContent:k,children:t||(0,h.jsx)(w.kI,{default:r,inverted:d,muted:b,primary:v,size:x,warning:y})}))}},11135:function(n,e,t){t.d(e,{ZP:function(){return tn}});var r=t(82394),o=t(26304),i=t(82684),c=t(12691),a=t.n(c),l=t(9518),d=t(93461),u=t(79749),s=t(34376),p=t(9736);function f(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function h(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?f(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function g(){var n,e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h(h({},t),{},{groupId:null===(n=(0,p.ex)())||void 0===n?void 0:n.id,id:null===(e=(0,p.PR)())||void 0===e?void 0:e.id})}var b=t(75582),v=t(39421),m=t(86954);function x(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function y(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?x(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):x(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function j(){return[[m.go,"initialAsPath"],[m.iT,"initialPathname"],[m.FT,"notificationTemplate"],[m.Ll,"notificationUUID"],[m.$m,"referringURL"]].reduce((function(n,e){var t=(0,b.Z)(e,2),o=t[0],i=t[1];return y(y({},n),{},(0,r.Z)({},i,v.Z.get(o,m.vZ)))}),{})}var w=t(36283);function O(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function k(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?O(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var Z="click",P="button";function C(n){var e,t,r=n.actionName,o=n.actionType,i=n.componentName,c=n.componentType,a=n.properties,l=n.screenName,d=(e=r||o,t=i||c,"".concat(l,".").concat(e,"_").concat(t)),u=function(){var n,e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=j(),o=(null!==t&&void 0!==t&&t.width,window.innerWidth);return k(k(k({},t),r),{},{groupId:null===(n=(0,p.ex)())||void 0===n?void 0:n.id,partner_id:"Mage",screenSize:(0,w.Z3)(o),userId:null===(e=(0,p.PR)())||void 0===e?void 0:e.id})}(k({actionType:o,componentType:c},a));return{eventProperties:u,eventType:d,userProperties:g()}}function I(n,e){null===n||void 0===n||n(e)}var H=function(n){var e=n.children;return n.eventProperties,n.userProperties,e((function(n){return!1}))},M=t(41150),F=t(28598);function z(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function _(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?z(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):z(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var D,E,T=function(n){var e,t=n.buildChildren,r=n.disabled,o=n.eventActionName,c=void 0===o?Z:o,a=n.eventComponentName,l=void 0===a?P:a,d=n.eventProperties,u=void 0===d?{}:d,p=n.eventScreenName,f=void 0===p?"generic":p,h=n.keyboardShortcutValidation,g=n.linkProps,b=n.onClick,v=n.openNewTab,m=n.requireKeyUp,x=n.uuid,y=(0,s.useRouter)(),j=(0,M.y)(),w=j.registerOnKeyDown,O=j.registerOnKeyUp,k=j.unregisterOnKeyDown,z=j.unregisterOnKeyUp;(0,i.useEffect)((function(){return function(){var n=m?z:k;null===n||void 0===n||n(x)}}),[m,k,z,x]),r||!b&&!g||(e=function(n){null===b||void 0===b||b(n),g&&(v?(window.open(g.as||g.href),n.preventDefault()):y.push(g.href,g.as))});var D=C({actionName:c,actionType:Z,componentName:l,componentType:P,properties:u,screenName:f}),E=D.eventType,T=D.eventProperties,S=D.userProperties;return(0,F.jsx)(H,{eventProperties:T,userProperties:S,children:function(n){var r=n.logEvent;h&&e&&(m?O:w)(x,(function(n,t,o){h({keyHistory:o,keyMapping:t})&&(I(r,E,{eventProperties:_(_({},T),{},{usedKeyboardShortcut:!0}),userProperties:S}),e(n))}),[T,E,r,e,S]);return t({eventProperties:T,eventType:E,logEvent:r,onClick:e,userProperties:S})}})},S={chatBubbleProps:null,graphicButtonProps:null,logoProps:null,mageImageUrl:null,mascotImageUrls:{base:null,castingSpell:null,chargingUp:null,thinking:null},sharedProps:null},R=i.createContext(S),B=R,A=t(86673),L=t(54283),N=t(23831),G=t(73899),U=t(73942),W=t(2005),Y=t(31012),K=t(10919),V=t(49125),q=t(90880),X=["Icon","afterElement","beforeElement","bold","borderless","centerText","children","compact","disabled","fitContentWidth","inverted","keyTextGroups","keyTextsPosition","linkProps","loading","mutedDisabled","noHover","onClick","type","useModelTheme"];function Q(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function J(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Q(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}!function(n){n.LEFT="left",n.RIGHT="right"}(D||(D={})),function(n){n.BUTTON="button",n.SUBMIT="submit"}(E||(E={}));var $=(0,l.css)([""," align-items:center;border:none;display:flex;flex-direction:row;position:relative;text-align:left;z-index:0;"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",""],(0,q.eR)(),(function(n){return!n.large1&&!n.large2&&"\n ".concat(Y.iD,"\n ")}),(function(n){return n.small&&"\n ".concat(Y.HC,"\n ")}),(function(n){return n.large1&&"\n ".concat(Y.ln,"\n ")}),(function(n){return n.large2&&"\n ".concat(Y.QU,"\n ")}),(function(n){return!n.inline&&"\n width: 100%;\n "}),(function(n){return n.shortWidth&&"\n min-width: ".concat(28*V.iI,"px;\n ")}),(function(n){return!n.wrapText&&"\n white-space: nowrap;\n "}),(function(n){return!n.secondary&&"\n font-family: ".concat(W.ry,";\n justify-content: space-between;\n ")}),(function(n){return n.primary&&!n.disabled&&"\n background-color: ".concat((n.theme.interactive||N.Z.interactive).linkPrimary,";\n border-color: ").concat((n.theme.interactive||N.Z.interactive).linkPrimary,";\n color: ").concat((n.theme.monotone||N.Z.monotone).white,";\n\n &:hover,\n &:focus,\n &:active {\n background-color: ").concat((n.theme.interactive||N.Z.interactive).linkPrimaryHover," !important;\n border-color: ").concat((n.theme.interactive||N.Z.interactive).linkPrimary," !important;\n }\n ")}),(function(n){return n.center&&"\n justify-content: center;\n "}),(function(n){return!n.noPadding&&!n.spacious&&!n.compact&&"\n padding: ".concat(1.25*V.iI,"px ").concat(1.5*V.iI,"px;\n ")}),(function(n){return n.compact&&"\n padding: ".concat(.5*V.iI,"px ").concat(.75*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&!n.spacious&&n.paddingTop&&"\n padding-top: ".concat(n.paddingTop,"px;\n ")}),(function(n){return!n.noPadding&&!n.spacious&&n.halfPaddingTop&&"\n padding-top: ".concat(.625*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&!n.spacious&&n.halfPaddingBottom&&"\n padding-bottom: ".concat(.625*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&!n.spacious&&n.paddingBottom&&"\n padding-bottom: ".concat(n.paddingBottom,"px;\n ")}),(function(n){return!n.noPadding&&!n.spacious&&n.halfPaddingRight&&"\n padding-right: ".concat(.75*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&!n.spacious&&n.halfPaddingLeft&&"\n padding-left: ".concat(.75*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&n.spacious&&!n.marketing&&"\n padding: ".concat(2.25*V.iI,"px ").concat(3*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&n.spacious&&n.marketing&&"\n padding: ".concat(2.25*V.iI-2,"px ").concat(3*V.iI-2,"px;\n ")}),(function(n){return!n.noPadding&&n.spacious&&n.halfPaddingTop&&"\n padding-top: ".concat(1.125*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&n.spacious&&n.halfPaddingBottom&&"\n padding-bottom: ".concat(1.125*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&n.spacious&&n.halfPaddingRight&&"\n padding-right: ".concat(1.5*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&n.spacious&&n.halfPaddingLeft&&"\n padding-left: ".concat(1.5*V.iI,"px;\n ")}),(function(n){return n.secondary&&"\n flex-basis: content;\n font-family: ".concat(W.nF,";\n padding: 0;\n ")}),(function(n){return n.noPadding&&"\n padding: 0;\n "}),(function(n){return n.bold&&"\n font-family: ".concat(W.nF,";\n ")}),(function(n){return!n.muted&&!n.inverted&&"\n color: ".concat((n.theme.content||N.Z.content).active,";\n ")}),(function(n){return!n.muted&&n.inverted&&"\n color: ".concat((n.theme.content||N.Z.content).inverted,";\n ")}),(function(n){return n.muted&&"\n color: ".concat((n.theme.monotone||N.Z.monotone).grey300,";\n ")}),(function(n){return n.warning&&"\n color: ".concat((n.theme.brand||N.Z.brand).energy400,";\n ")}),(function(n){return n.noHover&&"\n &:hover {\n cursor: default;\n }\n "}),(function(n){return n.blackBorder&&"\n border: ".concat(U.YF,"px ").concat(U.M8," ").concat((n.theme.monotone||N.Z.monotone).black,";\n ")}),(function(n){return!n.pill&&!n.borderless&&!n.compact&&"\n border-radius: ".concat(U.n_,"px;\n ")}),(function(n){return n.compact&&"\n border-radius: ".concat(U.BG,"px;\n ")}),(function(n){return!n.borderRadiusLeft&&!n.borderRadiusRight&&n.pill&&!n.spacious&&"\n border-radius: ".concat(5*V.iI,"px;\n ")}),(function(n){return n.borderRadiusLeft&&n.pill&&!n.spacious&&"\n border-bottom-left-radius: ".concat(5*V.iI,"px;\n border-top-left-radius: ").concat(5*V.iI,"px;\n ")}),(function(n){return n.borderRadiusRight&&n.pill&&!n.spacious&&"\n border-bottom-right-radius: ".concat(5*V.iI,"px;\n border-top-right-radius: ").concat(5*V.iI,"px;\n ")}),(function(n){return n.borderRadiusLeft&&n.pill&&n.spacious&&"\n border-bottom-left-radius: ".concat(8*V.iI,"px;\n border-top-left-radius: ").concat(8*V.iI,"px;\n ")}),(function(n){return n.borderRadiusRight&&n.pill&&n.spacious&&"\n border-bottom-right-radius: ".concat(8*V.iI,"px;\n border-top-right-radius: ").concat(8*V.iI,"px;\n ")}),(function(n){return n.inverted&&!n.noBackground&&!n.backgroundColor&&"\n background-color: ".concat((n.theme.monotone||N.Z.monotone).black,";\n ")}),(function(n){return!n.inverted&&!n.noBackground&&!n.primary&&"\n background-color: ".concat((n.theme.interactive||N.Z.interactive).defaultBackground,";\n\n &:hover {\n background-color: ").concat((n.theme.interactive||N.Z.interactive).hoverBackground,";\n }\n ")}),(function(n){return!n.noBackground&&n.backgroundColor&&"\n background-color: ".concat(n.backgroundColor,";\n ")}),(function(n){return n.noBackground&&"\n background-color: transparent !important;\n "}),(function(n){return n.disabled&&n.inverted&&"\n color: ".concat((n.theme.monotone||N.Z.monotone).grey400," !important;\n ")}),(function(n){return n.disabled&&!n.inverted&&"\n color: ".concat((n.theme.monotone||N.Z.monotone).grey300," !important;\n ")}),(function(n){return n.disabled&&"\n &:hover {\n cursor: not-allowed;\n }\n "}),(function(n){return n.selected&&"\n background-color: ".concat((n.theme.monotone||N.Z.monotone).black,";\n color: ").concat((n.theme.monotone||N.Z.monotone).white,";\n ")}),(function(n){return n.selected&&n.grey300&&"\n background-color: ".concat((n.theme.monotone||N.Z.monotone).grey300,";\n ")}),(function(n){return(n.selected||n.useModelTheme)&&n.fire&&"\n background-color: ".concat((n.theme.brand||N.Z.brand).fire400,";\n ")}),(function(n){return n.useModelTheme&&"\n color: ".concat((n.theme.monotone||N.Z.monotone).white,";\n ")}),(function(n){return(n.selected||n.useModelTheme)&&n.earth&&"\n background-color: ".concat((n.theme.brand||N.Z.brand).earth400,";\n ")}),(function(n){return n.primaryGradient&&"\n background: ".concat(G.uH," !important;\n ")}),(function(n){return n.background&&"\n background: ".concat(n.background," !important;\n ")}),(function(n){return(n.selected||n.useModelTheme)&&n.wind&&"\n background-color: ".concat((n.theme.brand||N.Z.brand).wind400,";\n\n &:hover,\n &:focus,\n &:active {\n background-color: ").concat((n.theme.brand||N.Z.brand).wind500,";\n }\n ")}),(function(n){return(n.selected||n.useModelTheme)&&n.water&&"\n background-color: ".concat((n.theme.brand||N.Z.brand).water400,";\n ")}),(function(n){return n.withIcon&&"\n padding: ".concat(1.25*V.iI-1,"px !important;\n ")}),(function(n){return n.shadow&&"\n box-shadow: ".concat((n.theme.shadow||N.Z.shadow).large,";\n ")})),nn=l.default.button.withConfig({displayName:"KeyboardShortcutButton__ButtonStyle",componentId:"sc-10tm4pj-0"})(["",""],$),en=l.default.a.withConfig({displayName:"KeyboardShortcutButton__AnchorStyle",componentId:"sc-10tm4pj-1"})([""," ",""],$,K.R);l.default.span.withConfig({displayName:"KeyboardShortcutButton__SpanStyle",componentId:"sc-10tm4pj-2"})(["margin-right:","px;"],1*V.iI);var tn=function(n){var e=n.Icon,t=n.afterElement,c=n.beforeElement,l=n.bold,s=n.borderless,p=n.centerText,f=n.children,h=n.compact,g=n.disabled,b=n.fitContentWidth,v=n.inverted,m=n.keyTextGroups,x=n.keyTextsPosition,y=void 0===x?D.RIGHT:x,j=n.linkProps,w=n.loading,O=n.mutedDisabled,k=n.noHover,Z=n.onClick,P=n.type,C=void 0===P?E.BUTTON:P,H=n.useModelTheme,M=(0,o.Z)(n,X),z=j||{},_=z.as,S=z.href,R=_||S?en:nn,N=(0,i.useMemo)((function(){if(!m)return null;var n=(0,r.Z)({},y===D.RIGHT?"ml":"mr",f?1:0);return(0,F.jsx)(A.Z,J(J({},n),{},{children:(0,F.jsx)(u.Z,{borderless:v,disabled:g,keyTextGroups:m,mutedDisabled:O})}))}),[f,g,v,m,y,O]),G=((0,i.useContext)(B)||{}).sharedProps;return(0,F.jsx)(T,J(J({},M),{},{buildChildren:function(n){var r=n.eventProperties,o=n.eventType,i=n.logEvent,u=n.onClick,m=n.userProperties,x=(0,F.jsxs)(R,J(J(J({},M),H?G:{}),{},{bold:H||l,borderless:H||s,center:p,compact:h,disabled:g||O,fitContentWidth:b,inverted:v,noHover:(!u||k)&&!(_||S)&&C===E.BUTTON,onClick:function(n){I(i,o,{eventProperties:r,userProperties:m}),null===u||void 0===u||u(n)},type:_||S?null:C,useModelTheme:H,withIcon:!!e,children:[c&&!w&&(0,F.jsxs)(F.Fragment,{children:[c,(0,F.jsx)(A.Z,{mr:1})]}),y===D.LEFT&&N,(0,F.jsxs)(d.Z,{alignItems:"center",children:[e&&(0,F.jsx)(e,{muted:g||O,size:2.5*V.iI}),e&&f&&(0,F.jsx)(A.Z,{mr:1}),w&&(0,F.jsx)(L.Z,{inverted:!v}),!w&&f]}),y===D.RIGHT&&N&&(0,F.jsx)(A.Z,{ml:1,children:N}),t&&!w&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(A.Z,{ml:t?1:0}),t]})]}));return!_&&!S||g||O?x:(0,F.jsx)(a(),J(J({},j),{},{passHref:!0,children:x}))},disabled:g||O,linkProps:j,onClick:Z}))}},60328:function(n,e,t){t.d(e,{W:function(){return Z}});var r=t(82394),o=t(26304),i=t(82684),c=t(12691),a=t.n(c),l=t(9518),d=t(93461),u=t(67971),s=t(86673),p=t(54283),f=t(23831),h=t(73899),g=t(73942),b=t(2005),v=t(31012),m=t(10919),x=t(49125),y=t(90880),j=t(28598),w=["afterIcon","beforeIcon","children","disabled","iconOnly","id","linkProps","loading","onClick"];function O(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function k(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?O(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function Z(n){return n.outlineBackgroundColorSelector?n.outlineBackgroundColorSelector(n.theme||f.Z):(n.theme.background||f.Z.background).panel}var P=(0,l.css)([""," border:none;display:block;font-family:",";padding:","px ","px;position:relative;z-index:0;"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",""],(0,y.eR)(),b.nF,1*x.iI,1.5*x.iI,(function(n){return!n.hasOnClick&&"\n &:hover {\n cursor: default;\n }\n "}),(function(n){return"\n border-color: ".concat((n.theme.interactive||f.Z.interactive).defaultBorder,";\n ")}),(function(n){return!n.default&&"\n color: ".concat((n.theme.content||f.Z.content).active,";\n ")}),(function(n){return n.default&&"\n color: ".concat((n.theme.content||f.Z.content).default,";\n ")}),(function(n){return!n.noBackground&&"\n background-color: ".concat((n.theme.background||f.Z.background).row,";\n ")}),(function(n){return n.pointerEventsEnabled&&"\n pointer-events: all;\n "}),(function(n){return n.backgroundGradient&&"\n background: ".concat(n.backgroundGradient,";\n ")}),(function(n){return n.noBackground&&"\n background-color: transparent;\n "}),(function(n){return n.padding&&"\n padding: ".concat(n.padding," !important;\n ")}),(function(n){return!n.noPadding&&n.compact&&"\n padding: ".concat(x.iI/2,"px ").concat(x.iI,"px;\n ")}),(function(n){return n.noPadding&&"\n padding: 0;\n "}),(function(n){return n.notClickable&&"\n &:hover,\n &:focus {\n cursor: default;\n }\n "}),(function(n){return!n.basic&&"\n border-style: ".concat(g.M8,";\n border-width: 1px;\n ")}),(function(n){return!n.borderRadiusLeft&&!n.borderRadiusRight&&!n.noBorder&&"\n border-radius: ".concat(g.n_,"px;\n ")}),(function(n){return n.pill&&"\n border-radius: ".concat(3*x.iI,"px;\n ")}),(function(n){return(n.noBorder||n.borderLess)&&"\n border: none;\n "}),(function(n){return n.borderRadius&&"\n border-radius: ".concat(n.borderRadius,"px;\n ")}),(function(n){return!n.borderRadiusLeft&&n.borderRadiusRight&&"\n border-radius: 0px ".concat(g.n_,"px ").concat(g.n_,"px 0px;\n ")}),(function(n){return n.borderRadiusLeft&&!n.borderRadiusRight&&"\n border-radius: ".concat(g.n_,"px 0px 0px ").concat(g.n_,"px;\n ")}),(function(n){return n.noBorderRight&&"\n border-right: none;\n "}),(function(n){return n.backgroundColor&&"\n background-color: ".concat(n.backgroundColor,";\n ")}),(function(n){return n.danger&&"\n background-color: ".concat((n.theme.accent||f.Z.accent).negative,";\n ")}),(function(n){return n.success&&"\n background-color: ".concat((n.theme.background||f.Z.background).success,";\n color: ").concat((n.theme.content||f.Z.content).inverted,";\n ")}),(function(n){return n.warning&&"\n background-color: ".concat((n.theme.accent||f.Z.accent).warning,";\n color: ").concat((n.theme.content||f.Z.content).inverted,";\n ")}),(function(n){return!n.iconOnly&&n.large&&"\n ".concat(v.ln,"\n ")}),(function(n){return!n.iconOnly&&!n.large&&!n.small&&"\n ".concat(v.iD,"\n ")}),(function(n){return!n.iconOnly&&n.small&&"\n ".concat(v.HC,"\n ")}),(function(n){return!n.noPadding&&n.iconOnly&&"\n padding: ".concat(x.iI,"px;\n ")}),(function(n){return n.transparent&&"\n background-color: transparent;\n "}),(function(n){return n.highlightOnHover&&"\n &:hover {\n background-color: ".concat((n.theme.interactive||f.Z.interactive).hoverBorder,";\n }\n ")}),(function(n){return n.outline&&!n.disabled&&!n.notClickable&&"\n &:hover {\n box-shadow:\n 0 0 0 ".concat(g.PV,"px ").concat(Z(n),",\n 0 0 0 ").concat(g.PV+g.q2,"px ").concat((n.theme.interactive||f.Z.interactive).hoverOverlay,";\n }\n\n &:focus {\n box-shadow:\n 0 0 0 ").concat(g.PV,"px ").concat(Z(n),",\n 0 0 0 ").concat(g.PV+g.q2,"px ").concat((n.theme.interactive||f.Z.interactive).focusBorder,";\n }\n\n &:active {\n box-shadow: none;\n }\n ")}),(function(n){return!n.disabled&&!n.notClickable&&!n.outline&&"\n &:hover,\n &:focus {\n border-color: ".concat((n.theme.interactive||f.Z.interactive).hoverBorder,";\n }\n &:active {\n border-color: ").concat((n.theme.content||f.Z.content).active,";\n }\n ")}),(function(n){return n.secondary&&!n.disabled&&"\n background-color: ".concat((n.theme.interactive||f.Z.interactive).defaultBackground,";\n border-color: ").concat((n.theme||f.Z).borders.dark,";\n ")}),(function(n){return n.primary&&!n.disabled&&"\n background-color: ".concat((n.theme.interactive||f.Z.interactive).linkPrimary,";\n border-color: ").concat((n.theme.interactive||f.Z.interactive).linkPrimary,";\n color: ").concat((n.theme.monotone||f.Z.monotone).white,";\n\n &:hover,\n &:focus,\n &:active {\n background-color: ").concat((n.theme.interactive||f.Z.interactive).linkPrimaryHover," !important;\n border-color: ").concat((n.theme.interactive||f.Z.interactive).linkPrimary," !important;\n }\n ")}),(function(n){return n.primaryAlternate&&"\n background-color: ".concat((n.theme.brand||f.Z.brand).wind400,";\n ")}),(function(n){return n.borderColor&&"\n border-color: ".concat(n.borderColor,";\n ")}),(function(n){return n.secondaryGradient&&"\n background: ".concat(h.XV,";\n ")}),(function(n){return n.primaryGradient&&"\n background: ".concat(h.uH,";\n ")}),(function(n){return n.disabled&&"\n color: ".concat((n.theme.interactive||f.Z.interactive).disabledBorder,";\n &:hover {\n cursor: not-allowed;\n }\n ")}),(function(n){return n.selected&&"\n border-color: ".concat((n.theme.content||f.Z.content).active,";\n ")}),(function(n){return n.selectedAlt&&"\n border: ".concat(g.q2,"px ").concat(g.M8," ").concat((n.theme.monotone||f.Z.monotone).white,";\n box-shadow: 0 0 0 0.5px ").concat((n.theme.interactive||f.Z.interactive).defaultBorder,";\n ")}),(function(n){return n.width&&"\n width: ".concat(n.width,"px;\n ")}),(function(n){return n.minWidth&&"\n min-width: ".concat(n.minWidth,"px;\n ")}),(function(n){return n.fullWidth&&"\n width: 100%;\n "})),C=l.default.button.withConfig({displayName:"Button__ButtonStyle",componentId:"sc-1idlfoi-0"})(["",""],P),I=l.default.a.withConfig({displayName:"Button__AnchorStyle",componentId:"sc-1idlfoi-1"})([""," "," ",""],P,m.R,(function(n){return n.disabled&&"\n pointer-events: none;\n "})),H=function(n,e){var t,r,c,l=n.afterIcon,f=n.beforeIcon,h=n.children,g=n.disabled,b=n.iconOnly,v=n.id,m=n.linkProps,y=n.loading,O=n.onClick,Z=(0,o.Z)(n,w),P={disabled:g,size:1.5*x.iI},H=m||{},M=H.as,F=H.href,z=M||F?I:C,_=(0,j.jsx)(z,k(k({},Z),{},{disabled:g,hasOnClick:!!O||M||F,iconOnly:b,id:v,onClick:O?function(n){null===n||void 0===n||n.preventDefault(),null===O||void 0===O||O(n)}:null,ref:e,children:(0,j.jsxs)(u.Z,{alignItems:"center",justifyContent:"center",children:[!y&&f&&(0,j.jsx)(s.Z,{mr:1,children:(0,j.jsx)(d.Z,{children:i.cloneElement(f,k(k({},P),{},{size:(null===(t=f.props)||void 0===t?void 0:t.size)||P.size}))})}),y&&(0,j.jsx)(p.Z,{}),!y&&(0,j.jsxs)(d.Z,{children:[!b&&h,b&&i.cloneElement(h,k(k({},P),{},{size:(null===(r=h.props)||void 0===r?void 0:r.size)||P.size}))]}),!y&&l&&(0,j.jsx)(s.Z,{ml:1,children:(0,j.jsx)(d.Z,{children:i.cloneElement(l,k(k({},P),{},{size:(null===(c=l.props)||void 0===c?void 0:c.size)||P.size}))})})]})}));return M||F?(0,j.jsx)(a(),k(k({},m),{},{passHref:!0,children:_})):_};e.Z=i.forwardRef(H)},16634:function(n,e,t){var r=t(82394),o=t(26304),i=t(9518),c=t(93461),a=t(67971),l=t(23831),d=t(73942),u=t(28598),s=["children"];function p(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function f(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?p(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var h=i.default.div.withConfig({displayName:"Circle__CircleStyle",componentId:"sc-1o70504-0"})([""," "," "," "," "," "," ",""],(function(n){return!n.square&&"\n border-radius: 50%;\n "}),(function(n){return n.square&&"\n border-radius: ".concat(d.BG,"px;\n ")}),(function(n){return!n.color&&!(n.borderSize||n.borderColor)&&"\n background-color: ".concat((n.theme.content||l.Z.content).muted,";\n ")}),(function(n){return(n.borderSize||n.borderColor)&&"\n border: ".concat(n.borderSize||1,"px solid ").concat(n.borderColor||(n.theme.content||l.Z.content).active,";\n ")}),(function(n){return n.color&&"\n background-color: ".concat(n.color,";\n ")}),(function(n){return n.size&&"\n height: ".concat(n.size,"px;\n width: ").concat(n.size,"px;\n ")}),(function(n){return n.danger&&"\n background-color: ".concat((n.theme.borders||l.Z.borders).danger,";\n ")}));e.Z=function(n){var e=n.children,t=(0,o.Z)(n,s);return(0,u.jsx)(h,f(f({},t),{},{children:(0,u.jsx)(a.Z,{alignItems:"center",fullHeight:!0,fullWidth:!0,justifyContent:"center",children:e&&(0,u.jsx)(c.Z,{children:e})})}))}},90686:function(n,e,t){var r=t(82684),o=t(9518),i=t(19711),c=t(23831),a=t(73942),l=t(28598),d=(0,o.css)(["min-width:18px;padding-left:2px;padding-right:2px;"," "," "," "," "," ",""],(function(n){return!n.disabled&&"\n background-color: ".concat((n.theme.content||c.Z.content).inverted,";\n ")}),(function(n){return n.disabled&&"\n // background-color: ".concat((n.theme.monotone||c.Z.monotone).grey400," !important;\n ")}),(function(n){return n.mutedDisabled&&"\n opacity: 0.3;\n "}),(function(n){return!n.borderless&&"\n box-shadow: ".concat((n.theme.shadow||c.Z.shadow).tiny,";\n padding-bottom: 3px;\n padding-top: 3px;\n ")}),(function(n){return n.borderless&&"\n border-radius: ".concat(a.BG,"px;\n padding-bottom: 4px;\n padding-top: 4px;\n ")}),(function(n){return n.spacingLeft&&"\n margin-left: ".concat(n.spacingLeft,"px;\n ")})),u=o.default.kbd.withConfig({displayName:"KeyboardText__KbdStyle",componentId:"sc-18540m4-0"})(["",""],d),s=o.default.div.withConfig({displayName:"KeyboardText__DivStyle",componentId:"sc-18540m4-1"})(["",""],d);e.Z=function(n){var e=n.borderless,t=n.disabled,d=n.inline,p=n.keyText,f=n.monospace,h=n.mutedDisabled,g=n.spacingLeft,b=d?s:u,v=(0,r.useContext)(o.ThemeContext),m={};if(!e){var x,y;if(t)m.borderColor=null===(x=(null===v||void 0===v?void 0:v.monotone)||c.Z.monotone)||void 0===x?void 0:x.grey400;else m.borderColor=null===(y=(null===v||void 0===v?void 0:v.content)||c.Z.content)||void 0===y?void 0:y.active;m.borderRadius=a.BG,m.borderStyle="solid",m.borderWidth=1,m.overflow="hidden"}return(0,l.jsx)(i.ZP,{center:!0,inline:!0,monospace:f,muted:t||h,style:m,xsmall:!0,children:(0,l.jsx)(b,{borderless:e,disabled:t,mutedDisabled:h,spacingLeft:g,children:p})})}},79749:function(n,e,t){var r=t(9518),o=t(67971),i=t(90686),c=t(19711),a=t(49125),l=t(28598),d=r.default.div.withConfig({displayName:"KeyboardTextGroup__SpacingStyle",componentId:"sc-1bx41p7-0"})([""," "," ",""],(function(n){return n.small&&"\n margin-left: ".concat(.25*a.iI,"px;\n ")}),(function(n){return!n.small&&"\n margin-left: ".concat(.25*a.iI,"px;\n ")}),(function(n){return n.marginRight&&"\n margin-right: ".concat(.25*a.iI,"px;\n ")}));e.Z=function(n){var e=n.borderless,t=n.disabled,r=n.keyTextGroups,a=n.inline,u=n.monospace,s=n.mutedDisabled,p=n.small,f=n.uuidForKey,h=[],g=[];return r.forEach((function(n,r){var o=[];n.forEach((function(n,r){g.push(n),r>=1&&o.push((0,l.jsx)(d,{small:p},"spacing-".concat(n))),o.push((0,l.jsx)(i.Z,{borderless:e,disabled:t,inline:!0,keyText:n,monospace:u,mutedDisabled:s},"key-".concat(g.join("-"),"-").concat(f)))})),r>=1&&h.push((0,l.jsx)(d,{marginRight:!0,children:(0,l.jsx)(c.ZP,{monospace:u,muted:!0,small:!p,xsmall:p,children:"then"})},"then-".concat(r))),h.push.apply(h,o)})),(0,l.jsx)(o.Z,{alignItems:"center",inline:a,children:h})}},86673:function(n,e,t){var r=t(82394),o=t(26304),i=t(82684),c=t(9518),a=t(25883),l=t(28598),d=["children","inline"];function u(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function s(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?u(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var p=c.default.div.withConfig({displayName:"Spacing__SpacingStyle",componentId:"sc-1mpmtgj-0"})([""," "," "," ",""],a.Dh,(function(n){return n.inline&&"\n display: inline-block;\n "}),(function(n){return n.fullHeight&&"\n height: 100%;\n "}),(function(n){return n.fullWidth&&"\n width: 100%;\n "}));function f(n,e){var t=n.children,r=n.inline,i=(0,o.Z)(n,d);return(0,l.jsx)(p,s(s({},i),{},{inline:r,ref:e,children:t}))}e.Z=i.forwardRef(f)},66653:function(n,e,t){function r(n){return n.stopPropagation&&n.stopPropagation(),n.preventDefault&&n.preventDefault(),n.cancelBubble=!0,n.returnValue=!1,!1}t.d(e,{j:function(){return r}})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6780],{28358:function(e,n,t){"use strict";t.d(n,{Z:function(){return m}});var i=t(82684),r=t(60328),l=t(10919),s=t(86673),a=t(19711),c=t(10503),u=t(9518),o=t(23831),d=t(73942),p=t(49125),f=t(37391),v=u.default.div.withConfig({displayName:"indexstyle__ErrorPopupStyle",componentId:"sc-aqfw6f-0"})(["top:50%;left:50%;transform:translate(-50%,-50%);max-height:95vh;max-width:95vw;overflow:auto;padding:","px;position:fixed;z-index:9999;border-radius:","px;"," ",""],p.iI*p.cd,d.n_,(function(e){return"\n background-color: ".concat((e.theme||o.Z).background.page,";\n border: 1px solid ").concat((e.theme||o.Z).accent.negative,";\n box-shadow: ").concat((e.theme||o.Z).shadow.window,";\n ")}),f.w5),h=u.default.div.withConfig({displayName:"indexstyle__CloseButtonContainerStyle",componentId:"sc-aqfw6f-1"})(["display:flex;justify-content:flex-end;position:sticky;top:0;"]),b=t(28598);var m=function(e){var n,t,u=e.displayMessage,o=e.errors,d=e.links,p=e.onClose,f=e.response,m=(0,i.useState)(!1),j=m[0],x=m[1],g=(0,i.useState)(!1),Z=g[0],y=g[1],k=(o||{}).messages,O=(null===f||void 0===f?void 0:f.error)||{},_=O.errors,P=O.exception,w=O.message,I=u,S=k;return w&&(S=w.split("\n")),P||I||null===(n=S)||void 0===n||!n[0]||(I=S[0],S=null),(0,b.jsxs)(v,{children:[(0,b.jsx)(h,{children:(0,b.jsx)(r.Z,{iconOnly:!0,noBackground:!0,noBorder:!0,noPadding:!0,onClick:p,title:"Close errors",children:(0,b.jsx)(c.x8,{})})}),(0,b.jsx)(a.ZP,{bold:!0,large:!0,children:"Error"}),I&&(0,b.jsx)(s.Z,{mt:1,children:(0,b.jsx)(a.ZP,{default:!0,children:I})}),P&&(0,b.jsx)(s.Z,{mt:1,children:(0,b.jsx)(a.ZP,{default:!0,disableWordBreak:!0,monospace:!0,children:P})}),(null===(t=S)||void 0===t?void 0:t.length)>0&&(0,b.jsxs)(s.Z,{mt:2,children:[(0,b.jsxs)(a.ZP,{bold:!0,large:!0,children:["Traceback (",(0,b.jsxs)(l.Z,{onClick:function(){return y((function(e){return!e}))},preventDefault:!0,warning:!0,children:[Z?"hide":"show"," traceback"]}),")"]}),Z&&(0,b.jsx)(s.Z,{mt:1,children:S.map((function(e){return(0,b.jsx)(a.ZP,{dangerouslySetInnerHTML:{__html:e.replaceAll(" "," ")},default:!0,disableWordBreak:!0,monospace:!0},e)}))})]}),_&&(0,b.jsxs)(s.Z,{mt:2,children:[(0,b.jsxs)(a.ZP,{bold:!0,large:!0,children:["Stack trace (",(0,b.jsxs)(l.Z,{onClick:function(){return x((function(e){return!e}))},preventDefault:!0,warning:!0,children:[j?"hide":"show"," stack trace"]}),")"]}),j&&(0,b.jsx)(s.Z,{mt:1,children:_.map((function(e){return(0,b.jsx)(a.ZP,{dangerouslySetInnerHTML:{__html:e.replaceAll(" "," ")},default:!0,disableWordBreak:!0,monospace:!0},e)}))})]}),null===d||void 0===d?void 0:d.map((function(e,n){var t=e.label,i=e.onClick;return(0,b.jsx)(s.Z,{mt:2,children:(0,b.jsx)(l.Z,{large:!0,onClick:i,underline:!0,warning:!0,children:t})},t)}))]})}},56681:function(e,n,t){"use strict";t.d(n,{G:function(){return g},Z:function(){return Z}});var i=t(75582),r=t(82394),l=t(26304),s=t(32316),a=t(22673),c=t(86532),u=t(86673),o=t(19711),d=t(87815),p=t(49125),f=t(19395),v=t(28598),h=["height","heightOffset","pipeline","selectedRun","selectedTab","setSelectedTab"];function b(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function m(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?b(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var j={uuid:"Run details"},x={uuid:"Dependency tree"},g=[x,j];function Z(e){var n=e.height,t=e.heightOffset,r=e.pipeline,b=e.selectedRun,Z=e.selectedTab,y=e.setSelectedTab,k=m({},(0,l.Z)(e,h));b?k.blockStatus=(0,f.IJ)(null===b||void 0===b?void 0:b.block_runs):k.noStatus=!0;var O=(null===b||void 0===b?void 0:b.variables)||{};null!==b&&void 0!==b&&b.event_variables&&(O.event=b.event_variables);var _=[];O&&JSON.stringify(O,null,2).split("\n").forEach((function(e){_.push(" ".concat(e))}));var P=b&&[["Run ID",null===b||void 0===b?void 0:b.id],["Variables",(0,v.jsx)(a.Z,{language:"json",small:!0,source:_.join("\n")})]],w=b&&(0,v.jsx)(u.Z,{pb:p.cd,px:p.cd,children:(0,v.jsx)(d.Z,{alignTop:!0,columnFlex:[null,1],columnMaxWidth:function(e){return 1===e?"100px":null},rows:P.map((function(e){var n=(0,i.Z)(e,2),t=n[0],r=n[1];return[(0,v.jsx)(o.ZP,{monospace:!0,muted:!0,children:t}),(0,v.jsx)(o.ZP,{monospace:!0,textOverflow:!0,children:r})]})),uuid:"LogDetail"})}),I=Z&&y;return(0,v.jsxs)(v.Fragment,{children:[I&&(0,v.jsx)(u.Z,{py:p.cd,children:(0,v.jsx)(s.Z,{onClickTab:y,selectedTabUUID:null===Z||void 0===Z?void 0:Z.uuid,tabs:g})}),(!I||x.uuid===(null===Z||void 0===Z?void 0:Z.uuid))&&(0,v.jsx)(c.Z,m(m({},k),{},{height:n,heightOffset:(t||0)+(I?76:0),pipeline:r})),j.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&w]})}},58122:function(e,n,t){"use strict";t.d(n,{CL:function(){return f},FS:function(){return v},JZ:function(){return b},e7:function(){return m},v0:function(){return p},wx:function(){return h}});var i=t(75582),r=t(82394),l=t(43313),s=t(93348),a=t(1286),c=t(90211),u=t(84779);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function d(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function p(e){var n=e.statistics,t=Object.keys(n),i=Array(l.Dy.length).fill(0);return 0===t.length?null:(t.forEach((function(e){if(l.Dy.includes(e)){var t=l.CC[e],r=n[e],s=r,a=!1,c=[2,3],o=l.Ub[e],d=l.oH[e],p=l.OD[e];if(l.y_.includes(e))a=!0,c=[2,1,2];else if(e in l.Sq){r=(0,u.Jw)(r,0);var f=l.Sq[e];s=n[f]}var v={columnFlexNumbers:c,name:t,progress:a,rate:s,successDirection:d,warning:p};l.y_.includes(e)||(v.value=r),i[o]=v}})),i)}function f(e){var n=e.columnTypes,t=void 0===n?{}:n,i=e.statistics,r=Object.keys(i);if(0===r.length)return null;var s=Object.values(t),u=s.length,o=[];o.push({name:"Column count",successDirection:l.oH.column_count,value:(0,c.x6)(u)}),r.forEach((function(e){if(l.Zu.includes(e)){var n=l.CC[e],t=i[e],r=l.OD[e];o.push({name:n,successDirection:l.oH[e],value:(0,c.x6)(t),warning:r})}}));var d=(0,a.QO)(s),p=d.countCategory,f=d.countDatetime,v=d.countNumerical;return o.push({name:"Categorical Features",rate:p/u,value:(0,c.x6)(p)},{name:"Numerical Features",rate:v/u,value:(0,c.x6)(v)},{name:"Datetime Features",rate:f/u,value:(0,c.x6)(f)}),o}function v(e){return"string"===typeof e?e:JSON.stringify(e)}function h(e,n){var t,i;return null===e||void 0===e||null===(t=e.find((function(e){var t=e.block;return n(t)})))||void 0===t||null===(i=t.variables)||void 0===i?void 0:i.map((function(e){var n=e.value;return d(d({},e),{},{value:v(n)})}))}function b(e,n){return n===s.Xm.TIME?e.push({uuid:"execution_date",value:"<run datetime>"}):n===s.Xm.EVENT&&e.push({uuid:"event",value:"<trigger event>"}),e}function m(e){return e?Object.entries(e).reduce((function(e,n){var t=(0,i.Z)(n,2),l=t[0],s=t[1],a=s;try{a=JSON.parse(s)}catch(c){}return d(d({},e),{},(0,r.Z)({},l,a))}),{}):e}},43526:function(e,n,t){"use strict";t.d(n,{I7:function(){return i},IB:function(){return c},VV:function(){return l},_7:function(){return s},rn:function(){return a}});var i,r=t(66050),l="datetime",s="code",a=r.V;!function(e){e.SECOND="second",e.MINUTE="minute",e.HOUR="hour",e.DAY="day",e.WEEK="week",e.MONTH="month",e.YEAR="year",e.CUSTOM="custom"}(i||(i={}));var c=[i.SECOND,i.MINUTE,i.HOUR,i.DAY,i.WEEK,i.MONTH,i.YEAR,i.CUSTOM]},22673:function(e,n,t){"use strict";var i=t(82684),r=t(73199),l=t.n(r),s=t(71593),a=t(9518),c=t(65292),u=t(23831),o=t(2005),d=t(49125),p=t(28598);n.Z=function(e){var n=e.language,t=e.maxWidth,r=e.showLineNumbers,f=e.small,v=e.source,h=e.wrapLines,b=(0,i.useContext)(a.ThemeContext);return(0,p.jsx)(l(),{source:v,renderers:{code:function(e){var i=e.value;return(0,p.jsx)(s.Z,{customStyle:{backgroundColor:(b.background||u.Z.background).popup,border:"none",borderRadius:"none",boxShadow:"none",fontFamily:o.Vp,fontSize:f?12:14,marginBottom:0,marginTop:0,paddingBottom:2*d.iI,paddingTop:2*d.iI,maxWidth:t},lineNumberStyle:{color:(b.content||u.Z.content).muted},language:n,showLineNumbers:r,style:c._4,useInlineStyles:!0,wrapLines:h,children:i})}}})}},12625:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return te}});var i=t(75582),r=t(77837),l=t(82394),s=t(38860),a=t.n(s),c=t(82684),u=t(83455),o=t(34376),d=t(43526),p=t(60328),f=t(34744),v=t(67971),h=t(87372),b=t(51099),m=t(2626),j=t(97496),x=t(47409),g=t(55378),Z=t(86673),y=t(87815),k=t(19711),O=t(82531),_=t(56681),P=t(10503),w=t(2850),I=t(49125),S=t(59920),D=t(90211),C=t(58122),E=t(33766),N=t(7715),T=t(96510),M=t(66653),L=t(59e3),A=t(28598);function F(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function B(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?F(Object(t),!0).forEach((function(n){(0,l.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var U=function(e){var n=e.backfill,t=e.fetchBackfill,r=e.pipeline,l=e.variables,s=(0,o.useRouter)(),a=n||{},F=a.block_uuid,U=a.end_datetime,R=a.id,H=a.interval_type,V=a.interval_units,z=a.name,Y=a.pipeline_run_dates,W=a.start_datetime,q=a.status,J=a.total_run_count,G=a.variables,K=void 0===G?{}:G,X=r.uuid,Q=(0,L.iV)(),$={_limit:40,_offset:40*(null!==Q&&void 0!==Q&&Q.page?Q.page:0)};null!==Q&&void 0!==Q&&Q.status&&($.status=Q.status);var ee=O.ZP.pipeline_runs.list(B(B({},$),{},{backfill_id:R,order_by:["id DESC"]}),{refreshInterval:3e3,revalidateOnFocus:!0},{pauseFetch:!R}),ne=ee.data,te=ee.mutate,ie=!(W&&U&&H&&V),re=!q,le=(0,c.useMemo)((function(){return(re?Y:null===ne||void 0===ne?void 0:ne.pipeline_runs)||[]}),[ne,Y,re]),se=(0,c.useMemo)((function(){var e;return(null===ne||void 0===ne||null===(e=ne.metadata)||void 0===e?void 0:e.count)||[]}),[ne]),ae=(0,c.useState)(null),ce=ae[0],ue=ae[1],oe=(0,c.useMemo)((function(){var e=null!==Q&&void 0!==Q&&Q.page?Q.page:0;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(j.Z,{disableRowSelect:re,emptyMessage:null!==Q&&void 0!==Q&&Q.status?"No runs available":'No runs available. Please complete backfill configuration by clicking "Edit backfill" above.',fetchPipelineRuns:te,onClickRow:function(e){return ue((function(n){var t=le[e];return(null===n||void 0===n?void 0:n.id)!==t.id?t:null}))},pipelineRuns:le,selectedRun:ce}),(0,A.jsx)(Z.Z,{p:2,children:(0,A.jsx)(b.Z,{page:Number(e),maxPages:9,onUpdate:function(e){var n=Number(e),t=B(B({},Q),{},{page:n>=0?n:0});s.push("/pipelines/[pipeline]/triggers/[...slug]","/pipelines/".concat(X,"/triggers/").concat(R,"?").concat((0,L.uM)(t)))},totalPages:Math.ceil(se/40)})})]})}),[te,r,le,ce]),de=(0,c.useState)(_.G[0]),pe=de[0],fe=de[1],ve=(0,u.Db)(O.ZP.backfills.useUpdate(R),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){t(),te()},onErrorCallback:function(e,n){return console.log(n,e)}})}}),he=(0,i.Z)(ve,2),be=he[0],me=he[1].isLoading,je=(0,c.useMemo)((function(){return!!q&&(d.rn.CANCELLED!==q&&d.rn.FAILED!==q)}),[q]),xe=(0,c.useMemo)((function(){return q&&d.rn.CANCELLED!==q&&d.rn.FAILED!==q&&d.rn.INITIAL!==q&&d.rn.RUNNING!==q}),[q]),ge=(0,c.useMemo)((function(){var e={default:!0,size:1.5*I.iI},n=[[(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(P.VW,B({},e)),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(k.ZP,{default:!0,children:"Backfill type"})]},"backfill_type_label"),(0,A.jsx)(k.ZP,{monospace:!0,children:F?d._7:d.VV},"backfill_type")],[(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(P.rs,B({},e)),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(k.ZP,{default:!0,children:"Status"})]},"backfill_status_label"),(0,A.jsx)(k.ZP,{danger:d.rn.CANCELLED===q||d.rn.FAILED==q,default:d.rn.INITIAL===q,monospace:!0,muted:!q,success:d.rn.RUNNING===q||d.rn.COMPLETED===q,children:q||"inactive"},"backfill_status")]];return F||n.push.apply(n,[[(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(P.aw,B({},e)),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(k.ZP,{default:!0,children:"Start date and time"})]},"backfill_start_date_label"),(0,A.jsx)(k.ZP,{monospace:!0,children:W},"backfill_start_date")],[(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(P.aw,B({},e)),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(k.ZP,{default:!0,children:"End date and time"})]},"backfill_end_date_label"),(0,A.jsx)(k.ZP,{monospace:!0,children:U},"backfill_end_date")],[(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(P.Pf,B({},e)),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(k.ZP,{default:!0,children:"Interval type"})]},"interval_type_label"),(0,A.jsx)(k.ZP,{monospace:!0,children:H&&(0,D.kC)(H)},"interval_type")],[(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(P.Pf,B({},e)),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(k.ZP,{default:!0,children:"Interval units"})]},"interval_units_label"),(0,A.jsx)(k.ZP,{monospace:!0,children:V},"interval_units")],[(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(P.qZ,B({},e)),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(k.ZP,{default:!0,children:"Total runs"})]},"total_runs_label"),(0,A.jsx)(k.ZP,{monospace:!0,children:J},"total_runs")]]),(0,A.jsx)(y.Z,{columnFlex:[null,1],rows:n})}),[F,U,H,V,je,W,q]),Ze=(0,c.useMemo)((function(){return K||{}}),[K]),ye=(0,c.useMemo)((function(){var e,n=[];return(0,N.Qr)(Ze)?n=(0,C.wx)(l,(function(e){return"global"===e.uuid})):Object.entries(Ze).forEach((function(e){var t=(0,i.Z)(e,2),r=t[0],l=t[1];n.push({uuid:r,value:(0,C.FS)(l)})})),"undefined"!==typeof n&&null!==(e=n)&&void 0!==e&&e.length?(0,A.jsx)(y.Z,{columnFlex:[null,1],rows:n.map((function(e){var n=e.uuid,t=e.value;return[(0,A.jsx)(k.ZP,{default:!0,monospace:!0,small:!0,children:n},"settings_variable_label_".concat(n)),(0,A.jsx)(k.ZP,{monospace:!0,small:!0,children:t},"settings_variable_".concat(n))]}))}):null}),[Ze,l]);return(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)(m.Z,{afterHidden:!ce,before:(0,A.jsxs)(w.M,{children:[(0,A.jsxs)(Z.Z,{mb:I.HN,pt:I.cd,px:I.cd,children:[(0,A.jsx)(Z.Z,{mb:I.cd,children:(0,A.jsx)(P.yg,{size:5*I.iI})}),(0,A.jsx)(h.Z,{children:z})]}),(0,A.jsx)(Z.Z,{px:I.cd,children:(0,A.jsx)(h.Z,{level:5,children:"Settings"})}),(0,A.jsx)(f.Z,{light:!0,mt:1,short:!0}),ge,ye&&(0,A.jsxs)(Z.Z,{my:I.HN,children:[(0,A.jsx)(Z.Z,{px:I.cd,children:(0,A.jsx)(h.Z,{level:5,children:"Runtime variables"})}),(0,A.jsx)(f.Z,{light:!0,mt:1,short:!0}),ye]})]}),beforeWidth:34*I.iI,breadcrumbs:[{label:function(){return"Backfills"},linkProps:{as:"/pipelines/".concat(X,"/backfills"),href:"/pipelines/[pipeline]/backfills"}},{label:function(){return z},linkProps:{as:"/pipelines/".concat(X,"/backfills/").concat(R),href:"/pipelines/[pipeline]/backfills/[...slug]"}}],buildSidekick:function(e){return(0,_.Z)(B(B({},e),{},{selectedRun:ce,selectedTab:pe,setSelectedTab:fe}))},pageName:S.M.BACKFILLS,pipeline:r,subheader:(0,A.jsxs)(v.Z,{alignItems:"center",children:[!xe&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(p.Z,{beforeIcon:je?(0,A.jsx)(P.dz,{size:2*I.iI}):(0,A.jsx)(P.Py,{inverted:!(d.rn.CANCELLED===q||d.rn.FAILED===q),size:2*I.iI}),danger:je,disabled:ie,loading:me,onClick:function(e){(0,M.j)(e),be({backfill:{status:je?d.rn.CANCELLED:d.rn.INITIAL}})},outline:!0,success:!je&&!(d.rn.CANCELLED===q||d.rn.FAILED===q)&&!ie,children:je?"Cancel backfill":d.rn.CANCELLED===q||d.rn.FAILED===q?"Retry backfill":"Start backfill"}),(0,A.jsx)(Z.Z,{mr:I.cd})]}),q===x.V.COMPLETED?(0,A.jsx)(k.ZP,{bold:!0,default:!0,large:!0,children:"Filter runs by status:"}):(0,A.jsx)(p.Z,{linkProps:{as:"/pipelines/".concat(X,"/backfills/").concat(R,"/edit"),href:"/pipelines/[pipeline]/backfills/[...slug]"},noHoverUnderline:!0,outline:!0,sameColorAsText:!0,children:"Edit backfill"}),(0,A.jsx)(Z.Z,{mr:I.cd}),!re&&(0,A.jsxs)(g.Z,{compact:!0,defaultColor:!0,onChange:function(e){e.preventDefault(),"all"===e.target.value?s.push("/pipelines/[pipeline]/backfills/[...slug]","/pipelines/".concat(X,"/backfills/").concat(R)):(0,E.u)({page:0,status:e.target.value})},paddingRight:4*I.iI,placeholder:"Select run status",value:(null===Q||void 0===Q?void 0:Q.status)||"all",children:[(0,A.jsx)("option",{value:"all",children:"All statuses"},"all_statuses"),Object.values(x.V).map((function(e){return(0,A.jsx)("option",{value:e,children:x.D[e]},e)}))]})]}),title:function(){return z},uuid:"backfill/detail",children:[(0,A.jsx)(Z.Z,{mt:I.cd,px:I.cd,children:(0,A.jsx)(h.Z,{level:5,children:"Runs for this backfill"})}),(0,A.jsx)(f.Z,{light:!0,mt:I.cd,short:!0}),oe]})})},R=t(2713),H=t(47999),V=t(28358),z=t(93461),Y=t(82944),W=[{label:function(){return"Date and time window"},description:function(){return"Backfill between a date and time range."},uuid:d.VV}],q=t(18025),J=t(19395);function G(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function K(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?G(Object(t),!0).forEach((function(n){(0,l.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):G(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var X=function(e){var n=e.backfill,t=e.fetchBackfill,r=e.pipeline,l=(e.variables,(0,o.useRouter)()),s=(0,c.useState)(),a=s[0],b=s[1],j=a||{},x=j.block_uuid,_=j.id,w=j.interval_type,E=j.interval_units,M=(j.end_datetime,j.start_datetime,j.name),L=r.uuid,F=(0,c.useState)(null),B=F[0],U=F[1],G=(0,c.useState)({}),X=G[0],Q=(G[1],(0,c.useState)(x?d._7:d.VV)),$=Q[0],ee=Q[1],ne=(0,c.useState)(!1),te=ne[0],ie=ne[1],re=(0,c.useState)(!1),le=re[0],se=re[1],ae=(0,c.useState)(null),ce=ae[0],ue=ae[1],oe=(0,c.useState)(null),de=oe[0],pe=oe[1],fe=(0,c.useState)({hour:"00",minute:"00"}),ve=fe[0],he=fe[1],be=(0,c.useState)({hour:"00",minute:"00"}),me=be[0],je=be[1];(0,c.useEffect)((function(){if(n){b(n);var e=n.start_datetime;if(e){var t=e.split(" ")[1];pe((0,J.eI)(e)),je({hour:t.substring(0,2),minute:t.substring(3,5)})}var i=n.end_datetime;if(i){var r=i.split(" ")[1];ue((0,J.eI)(i)),he({hour:r.substring(0,2),minute:r.substring(3,5)})}}}),[n]);var xe=(0,c.useMemo)((function(){var e=[[(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(P.KJ,{default:!0,size:1.5*I.iI}),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(k.ZP,{default:!0,children:"Backfill name"})]},"model_name_detail"),(0,A.jsx)(Y.Z,{monospace:!0,onChange:function(e){e.preventDefault(),b((function(n){return K(K({},n),{},{name:e.target.value})}))},placeholder:"Name this backfill",value:M},"model_name_input_detail")]];return d.VV===$&&e.push.apply(e,[[(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(P.aw,{default:!0,size:1.5*I.iI}),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(k.ZP,{default:!0,children:"Start date and time"})]},"start_time"),(0,A.jsxs)("div",{style:{minHeight:"".concat(5.75*I.iI,"px")},children:[!te&&(0,A.jsx)(Y.Z,{monospace:!0,onClick:function(){return ie((function(e){return!e}))},onFocus:function(){return ie(!0)},placeholder:"YYYY-MM-DD HH:MM",value:de?"".concat(de.toISOString().split("T")[0]," ").concat(null===me||void 0===me?void 0:me.hour,":").concat(null===me||void 0===me?void 0:me.minute):""}),(0,A.jsx)("div",{style:{width:"400px"},children:(0,A.jsx)(H.Z,{disableEscape:!0,onClickOutside:function(){return ie(!1)},open:te,style:{position:"relative"},children:(0,A.jsx)(R.Z,{selectedDate:de,selectedTime:me,setSelectedDate:pe,setSelectedTime:je,topPosition:!0})})})]},"start_time_input")],[(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(P.aw,{default:!0,size:1.5*I.iI}),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(k.ZP,{default:!0,children:"End date and time"})]},"end_time"),(0,A.jsxs)("div",{style:{minHeight:"".concat(5.75*I.iI,"px")},children:[!le&&(0,A.jsx)(Y.Z,{monospace:!0,onClick:function(){return se((function(e){return!e}))},onFocus:function(){return se(!0)},placeholder:"YYYY-MM-DD HH:MM",value:ce?"".concat(ce.toISOString().split("T")[0]," ").concat(null===ve||void 0===ve?void 0:ve.hour,":").concat(null===ve||void 0===ve?void 0:ve.minute):""}),(0,A.jsx)("div",{style:{width:"400px"},children:(0,A.jsx)(H.Z,{disableEscape:!0,onClickOutside:function(){return se(!1)},open:le,style:{position:"relative"},children:(0,A.jsx)(R.Z,{selectedDate:ce,selectedTime:ve,setSelectedDate:ue,setSelectedTime:he,topPosition:!0})})})]},"end_time_input")],[(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(P.Pf,{default:!0,size:1.5*I.iI}),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(k.ZP,{default:!0,children:"Interval type"})]},"interval_type"),(0,A.jsxs)(g.Z,{monospace:!0,onChange:function(e){e.preventDefault(),b((function(n){return K(K({},n),{},{interval_type:e.target.value})}))},placeholder:"Time spacing between each backfill",value:w,children:[!w&&(0,A.jsx)("option",{value:""}),d.IB.map((function(e){return(0,A.jsx)("option",{value:e,children:(0,D.kC)(e)},e)}))]},"interval_type_input")],[(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(P.Pf,{default:!0,size:1.5*I.iI}),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(k.ZP,{default:!0,children:"Interval units"})]},"interval_units"),(0,A.jsx)(Y.Z,{disabled:!w,monospace:!0,onChange:function(e){e.preventDefault(),b((function(n){return K(K({},n),{},{interval_units:e.target.value})}))},placeholder:w?"Number of ".concat(w).concat(w!==d.I7.CUSTOM?"s":""," between each backfill"):"Interval type is required",type:"number",value:E},"interval_unit_input")]]),(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(Z.Z,{mb:2,px:I.cd,children:(0,A.jsx)(h.Z,{children:"Settings"})}),(0,A.jsx)(f.Z,{light:!0,short:!0}),(0,A.jsx)(y.Z,{columnFlex:[null,1],rows:e})]})}),[ce,de,w,E,M,$,te,le,ve,me]),ge=(0,u.Db)(O.ZP.backfills.useUpdate(_),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){t(),l.push("/pipelines/[pipeline]/backfills/[...slug]","/pipelines/".concat(L,"/backfills/").concat(_))},onErrorCallback:function(e,n){return U({errors:n,response:e})}})}}),Ze=(0,i.Z)(ge,2),ye=Ze[0],ke=Ze[1].isLoading,Oe=(0,c.useCallback)((function(){var e=K(K({},(0,N.GL)(a,["name"])),{},{end_datetime:null,interval_type:null,interval_units:null,start_datetime:null,variables:(0,C.e7)(X)});return d._7===$||(e.interval_type=w,e.interval_units=E,e.end_datetime=ce&&null!==ve&&void 0!==ve&&ve.hour&&null!==ve&&void 0!==ve&&ve.minute?"".concat(ce.toISOString().split("T")[0]," ").concat(null===ve||void 0===ve?void 0:ve.hour,":").concat(null===ve||void 0===ve?void 0:ve.minute,":00"):null,e.start_datetime=de&&null!==me&&void 0!==me&&me.hour&&null!==me&&void 0!==me&&me.minute?"".concat(de.toISOString().split("T")[0]," ").concat(null===me||void 0===me?void 0:me.hour,":").concat(null===me||void 0===me?void 0:me.minute,":00"):null),ye({backfill:e})}),[ce,de,w,E,a,X,$,ve,me]),_e=(0,c.useMemo)((function(){return d._7===$?!x:!(ce&&de&&w&&E)}),[x,ce,de,w,E,$,ve,me]);return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)(m.Z,{breadcrumbs:[{label:function(){return"Backfills"},linkProps:{as:"/pipelines/".concat(L,"/backfills"),href:"/pipelines/[pipeline]/backfills"}},{label:function(){return null===a||void 0===a?void 0:a.name},linkProps:{as:"/pipelines/".concat(L,"/backfills/").concat(_),href:"/pipelines/[pipeline]/backfills/[...slug]"}}],pageName:S.M.BACKFILLS,pipeline:r,subheader:(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(p.Z,{disabled:_e,loading:ke,onClick:Oe,outline:!0,primary:!0,children:"Save changes"}),(0,A.jsx)(Z.Z,{mr:1}),(0,A.jsx)(p.Z,{linkProps:{href:"/pipelines/[pipeline]/backfills/[...slug]",as:"/pipelines/".concat(L,"/backfills/").concat(_)},noHoverUnderline:!0,outline:!0,sameColorAsText:!0,children:"Cancel"})]}),title:function(){return"Edit ".concat(null===a||void 0===a?void 0:a.name)},uuid:"backfill/edit",children:[(0,A.jsxs)(Z.Z,{p:I.cd,children:[(0,A.jsxs)(Z.Z,{mb:2,children:[(0,A.jsx)(h.Z,{children:"Backfill type"}),(0,A.jsx)(k.ZP,{muted:!0,children:"How would you like this pipeline to be backfilled?"})]}),(0,A.jsx)(v.Z,{children:W.map((function(e){var n=e.label,t=e.description,i=e.uuid,r=$===i,l=$&&!r;return(0,A.jsx)(p.Z,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){ee(i)},children:(0,A.jsx)(q.U,{selected:r,children:(0,A.jsxs)(v.Z,{alignItems:"center",children:[(0,A.jsx)(z.Z,{children:(0,A.jsx)("input",{checked:r,type:"radio"})}),(0,A.jsx)(Z.Z,{mr:I.cd}),(0,A.jsxs)(z.Z,{alignItems:"flex-start",flexDirection:"column",children:[(0,A.jsx)(h.Z,{bold:!0,default:!r&&!l,level:5,muted:!r&&l,children:n()}),(0,A.jsx)(k.ZP,{default:!r&&!l,leftAligned:!0,muted:l,children:t()})]})]})})},i)}))})]}),(0,A.jsx)(Z.Z,{mt:5,children:xe})]}),B&&(0,A.jsx)(H.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return U(null)},children:(0,A.jsx)(V.Z,K(K({},B),{},{onClose:function(){return U(null)}}))})]})},Q=t(41788);function $(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function ee(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$(Object(t),!0).forEach((function(n){(0,l.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function ne(e){var n=e.backfillId,t=e.pipelineUUID,i=e.subpath,r=O.ZP.variables.pipelines.list(t).data,l=(0,c.useMemo)((function(){return null===r||void 0===r?void 0:r.variables}),[r]),s=O.ZP.pipelines.detail(t,{includes_content:!1,includes_outputs:!1},{revalidateOnFocus:!1}).data,a=(0,c.useMemo)((function(){return ee(ee({},null===s||void 0===s?void 0:s.pipeline),{},{uuid:t})}),[s,t]),u=O.ZP.backfills.detail(n,{include_preview_runs:!0}),o=u.data,d=u.mutate,p=(0,c.useMemo)((function(){return null===o||void 0===o?void 0:o.backfill}),[o]);return"edit"===i?(0,A.jsx)(X,{backfill:p,fetchBackfill:d,pipeline:a,variables:l}):(0,A.jsx)(U,{backfill:p,fetchBackfill:d,pipeline:a,variables:l})}ne.getInitialProps=function(){var e=(0,r.Z)(a().mark((function e(n){var t,r,l,s,c,u;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.query,r=t.pipeline,l=t.slug,!Array.isArray(l)){e.next=4;break}return s=(0,i.Z)(l,2),c=s[0],u=s[1],e.abrupt("return",{backfillId:c,pipelineUUID:r,subpath:u});case 4:return e.abrupt("return",{pipelineUUID:r});case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();var te=(0,Q.Z)(ne)},53664:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pipelines/[pipeline]/backfills/[...slug]",function(){return t(12625)}])}},function(e){e.O(0,[3850,2083,5896,4804,1774,5872,2524,4495,9767,6579,434,9898,1830,4463,6532,1286,4846,8961,9774,2888,179],(function(){return n=53664,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8450],{59920:function(e,n,t){"use strict";var i;t.d(n,{M:function(){return i}}),function(e){e.BACKFILLS="backfills",e.BLOCK_RUNS="block_runs",e.EDIT="edit",e.MONITOR="monitor",e.PIPELINE_LOGS="pipeline_logs",e.PIPELINE_RUNS="pipeline_runs",e.RUNS="runs",e.SYNCS="syncs",e.TRIGGERS="triggers"}(i||(i={}))},2626:function(e,n,t){"use strict";t.d(n,{Z:function(){return N}});var i=t(21831),r=t(75582),o=t(82684),l=t(83455),c=t(34376),u=t(28598);var a=function(e){var n=e.size;return(0,u.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,u.jsx)("g",{clipPath:"url(#clip0_7525_68660)",children:(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.67625 7.82429C8.48671 8.13404 8.61933 8.53116 8.9436 8.69464C9.26787 8.85812 9.6606 8.72561 9.85513 8.41896C10.5416 7.33682 11.5276 6.47056 12.6997 5.92987C14.0715 5.29701 15.6173 5.14749 17.085 5.50568C18.5526 5.86388 19.8557 6.70866 20.7818 7.90233C21.7079 9.096 22.2023 10.5682 22.1845 12.0788C22.1667 13.5895 21.6377 15.0496 20.6837 16.2211C19.7298 17.3926 18.4071 18.2064 16.9314 18.5299C15.4557 18.8534 13.9139 18.6675 12.5573 18.0024C11.3984 17.4343 10.433 16.545 9.77227 15.447C9.58502 15.1358 9.19553 14.9941 8.86749 15.1499C8.53946 15.3057 8.39751 15.6995 8.5797 16.0137C9.37152 17.379 10.5525 18.4842 11.9785 19.1832C13.6018 19.9791 15.4469 20.2016 17.213 19.8145C18.979 19.4273 20.5619 18.4534 21.7035 17.0514C22.8451 15.6495 23.4781 13.9022 23.4994 12.0943C23.5208 10.2865 22.9291 8.52472 21.8208 7.09623C20.7126 5.66774 19.1532 4.65677 17.3968 4.22811C15.6403 3.79945 13.7905 3.97839 12.1488 4.73574C10.7068 5.40099 9.50004 6.47805 8.67625 7.82429ZM0.219185 12.5303C-0.0737079 12.2375 -0.0737079 11.7626 0.219185 11.4697L4.71918 6.96968C5.01208 6.67679 5.48695 6.67679 5.77985 6.96968C6.07274 7.26258 6.07274 7.73745 5.77985 8.03034L2.56017 11.25L15.7495 11.25C16.1637 11.25 16.4995 11.5858 16.4995 12C16.4995 12.4142 16.1637 12.75 15.7495 12.75L2.56017 12.75L5.77985 15.9697C6.07274 16.2626 6.07274 16.7375 5.77985 17.0303C5.48695 17.3232 5.01208 17.3232 4.71918 17.0303L0.219185 12.5303Z",fill:"url(#paint0_linear_7525_68660)"})}),(0,u.jsx)("defs",{children:(0,u.jsxs)("linearGradient",{id:"paint0_linear_7525_68660",x1:"11.7498",y1:"4",x2:"11.7498",y2:"20",gradientUnits:"userSpaceOnUse",children:[(0,u.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,u.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})},s=t(16953),d=t(61519);var p=function(e){var n=e.size;return(0,u.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.25 1C23.25 0.585786 22.9142 0.25 22.5 0.25C22.0858 0.25 21.75 0.585786 21.75 1V15.5C21.75 15.9142 22.0858 16.25 22.5 16.25C22.9142 16.25 23.25 15.9142 23.25 15.5V1ZM5 4.25C5.41421 4.25 5.75 4.58579 5.75 5V15.5C5.75 15.9142 5.41421 16.25 5 16.25C4.58579 16.25 4.25 15.9142 4.25 15.5V5C4.25 4.58579 4.58579 4.25 5 4.25ZM1.5 7.25C1.91421 7.25 2.25 7.58579 2.25 8V15.5C2.25 15.9142 1.91421 16.25 1.5 16.25C1.08579 16.25 0.75 15.9142 0.75 15.5V8C0.75 7.58579 1.08579 7.25 1.5 7.25ZM9.25 7C9.25 6.58579 8.91421 6.25 8.5 6.25C8.08579 6.25 7.75 6.58579 7.75 7V15.5C7.75 15.9142 8.08579 16.25 8.5 16.25C8.91421 16.25 9.25 15.9142 9.25 15.5V7ZM12 8.75C12.4142 8.75 12.75 9.08579 12.75 9.5V15.5C12.75 15.9142 12.4142 16.25 12 16.25C11.5858 16.25 11.25 15.9142 11.25 15.5V9.5C11.25 9.08579 11.5858 8.75 12 8.75ZM16.25 11.5C16.25 11.0858 15.9142 10.75 15.5 10.75C15.0858 10.75 14.75 11.0858 14.75 11.5V15.5C14.75 15.9142 15.0858 16.25 15.5 16.25C15.9142 16.25 16.25 15.9142 16.25 15.5V11.5ZM19 9.25C19.4142 9.25 19.75 9.58579 19.75 10V15.5C19.75 15.9142 19.4142 16.25 19 16.25C18.5858 16.25 18.25 15.9142 18.25 15.5V10C18.25 9.58579 18.5858 9.25 19 9.25Z",fill:"url(#paint0_linear_2919_69883)"}),(0,u.jsx)("defs",{children:(0,u.jsxs)("linearGradient",{id:"paint0_linear_2919_69883",x1:"1.5",y1:"11.875",x2:"22.75",y2:"11.875",gradientUnits:"userSpaceOnUse",children:[(0,u.jsx)("stop",{offset:".28125",stopColor:"#7D55EC"}),(0,u.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})},f=t(70434),h=t(34744),b=t(67971),g=t(87372),m=t(98781),v=t(29664),C=t(86673);var x=function(e){var n=e.size;return(0,u.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 17c0 1.1046-.89543 2-2 2s-2-.8954-2-2 .89543-2 2-2 2 .8954 2 2zm1.5 0c0 1.933-1.567 3.5-3.5 3.5S1.5 18.933 1.5 17s1.567-3.5 3.5-3.5 3.5 1.567 3.5 3.5zm2.25-.5c0-.4142.3358-.75.75-.75H22c.4142 0 .75.3358.75.75s-.3358.75-.75.75H11.5c-.4142 0-.75-.3358-.75-.75zM8.68946 4.29563c.16317-.38072-.0132-.82163-.39392-.9848-.38072-.16316-.82163.0132-.9848.39392L5.06418 8.94674c-.07952.18554-.3348.2052-.44179.03402L3.1361 6.60269c-.21953-.35125-.68225-.45803-1.0335-.2385-.35125.21954-.45803.68225-.2385 1.0335l1.48629 2.37807c.74892 1.19824 2.53587 1.06064 3.0925-.23814l2.24657-5.24199zM11.5 6.75c-.4142 0-.75.33579-.75.75s.3358.75.75.75H22c.4142 0 .75-.33579.75-.75s-.3358-.75-.75-.75H11.5z",fill:"url(#paint0_linear_2919_69883)"}),(0,u.jsx)("defs",{children:(0,u.jsxs)("linearGradient",{id:"paint0_linear_2919_69883",x1:"1.5",y1:"11.875",x2:"22.75",y2:"11.875",gradientUnits:"userSpaceOnUse",children:[(0,u.jsx)("stop",{offset:".28125",stopColor:"#7D55EC"}),(0,u.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})},w=t(82531),k=t(10503),j=t(9518),y=t(23831),O=t(73942),_=t(49125),Z=j.default.div.withConfig({displayName:"indexstyle__BannerStyle",componentId:"sc-1te3pmf-0"})(["border-radius:","px;padding:","px;"," "," ",""],O.n_,3*_.iI,(function(e){return"\n box-shadow: ".concat((e.theme.shadow||y.Z.shadow).small,";\n ")}),(function(e){return e.background&&"\n background: ".concat(e.background,";\n ")}),(function(e){return e.backgroundImage&&'\n background-image: url("'.concat(e.backgroundImage,'");\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n ')})),I=t(3055),P=t(59920),S=t(96510),E=t(90211),M=t(24141);var N=function(e){var n=e.after,t=e.afterHidden,j=e.afterWidth,y=e.before,O=e.beforeWidth,N=e.breadcrumbs,D=e.buildSidekick,V=e.children,H=e.headline,R=e.pageName,B=e.pipeline,L=e.subheader,T=e.subheaderBackground,A=e.subheaderBackgroundImage,U=e.subheaderButton,z=e.subheaderText,F=e.title,G=e.uuid,Y=(0,c.useRouter)(),W=(0,M.i)().height,K=B.uuid,q=w.ZP.pipelines.detail(K,{includes_outputs:!1},{revalidateOnFocus:!1}).data,J=null===q||void 0===q?void 0:q.pipeline,X=(0,l.Db)(w.ZP.pipelines.useCreate(),{onSuccess:function(e){return(0,S.wD)(e,{callback:function(e){var n=e.pipeline.uuid;Y.push("/pipelines/[pipeline]/edit","/pipelines/".concat(n,"/edit"))}})}}),Q=(0,r.Z)(X,1)[0],$=(0,l.Db)((function(e){return w.ZP.pipelines.useDelete(e)()}),{onSuccess:function(e){return(0,S.wD)(e,{callback:function(){Y.push("/pipelines")}})}}),ee=(0,r.Z)($,1)[0],ne=[{label:function(){return"New standard pipeline"},onClick:function(){return Q({pipeline:{name:(0,E.Y6)()}})},uuid:"PipelineDetail/Header/new_standard_pipeline"},{label:function(){return"New streaming pipeline"},onClick:function(){return Q({pipeline:{name:(0,E.Y6)(),type:m.q.STREAMING}})},uuid:"PipelineDetail/Header/new_streaming_pipeline"},{label:function(){return"Delete current pipeline"},onClick:function(){return ee(K)},openConfirmationDialogue:!0,uuid:"PipelineDetail/Header/delete_pipeline"}],te=(0,o.useMemo)((function(){return n||(D?D({height:W,heightOffset:I.Mz,pipeline:J}):null)}),[n,D,W,J]),ie=j||(te?50*_.iI:null),re=(0,o.useMemo)((function(){var e=[];return J&&(e.push.apply(e,[{label:function(){return"Pipelines"},linkProps:{href:"/pipelines"}}]),N?(e.push({label:function(){return J.uuid},linkProps:{as:"/pipelines/".concat(K,"/triggers"),href:"/pipelines/[pipeline]/triggers"}}),e.push.apply(e,(0,i.Z)(N)),e[e.length-1].bold=!0):e.push({bold:!0,label:function(){return J.name}})),e}),[N,J,K]),oe=[{Icon:k.Pf,IconSelected:v.Z,id:P.M.TRIGGERS,isSelected:function(){return P.M.TRIGGERS===R},label:function(){return"Triggers"},linkProps:{as:"/pipelines/".concat(K,"/triggers"),href:"/pipelines/[pipeline]/triggers"}},{Icon:k.pd,IconSelected:d.Z,id:P.M.RUNS,isSelected:function(){return P.M.RUNS===R},label:function(){return"Runs"},linkProps:{as:"/pipelines/".concat(K,"/runs"),href:"/pipelines/[pipeline]/runs"}},{Icon:k.yg,IconSelected:a,id:P.M.BACKFILLS,isSelected:function(){return P.M.BACKFILLS===R},label:function(){return"Backfills"},linkProps:{as:"/pipelines/".concat(K,"/backfills"),href:"/pipelines/[pipeline]/backfills"}},{Icon:k.B4,IconSelected:x,id:P.M.PIPELINE_LOGS,isSelected:function(){return P.M.PIPELINE_LOGS===R},label:function(){return"Logs"},linkProps:{as:"/pipelines/".concat(K,"/logs"),href:"/pipelines/[pipeline]/logs"}},{Icon:k.kL,IconSelected:p,id:P.M.MONITOR,isSelected:function(){return P.M.MONITOR===R},label:function(){return"Monitor"},linkProps:{as:"/pipelines/".concat(K,"/monitors"),href:"/pipelines/[pipeline]/monitors"}}];return m.q.INTEGRATION===(null===J||void 0===J?void 0:J.type)&&oe.unshift({Icon:k.Re,IconSelected:s.Z,id:P.M.SYNCS,isSelected:function(){return P.M.SYNCS===R},label:function(){return"Syncs"},linkProps:{as:"/pipelines/".concat(K,"/syncs"),href:"/pipelines/[pipeline]/syncs"}}),oe.unshift({Icon:null,IconSelected:null,id:P.M.EDIT,label:function(){return"Edit pipeline"},linkProps:{as:"/pipelines/".concat(K,"/edit"),href:"/pipelines/[pipeline]/edit"}}),(0,u.jsxs)(f.Z,{after:te,afterHidden:t,afterWidth:ie,before:y,beforeWidth:O,breadcrumbs:re,headerMenuItems:ne,navigationItems:oe,subheaderChildren:"undefined"!==typeof L&&L,title:J?F?F(J):J.name:null,uuid:G,children:[(U||z)&&(0,u.jsx)(C.Z,{mb:_.Mq,mt:_.cd,mx:_.cd,children:(0,u.jsx)(Z,{background:T,backgroundImage:A,children:(0,u.jsxs)(b.Z,{alignItems:"center",children:[U,z&&(0,u.jsx)(C.Z,{ml:3}),z]})})}),H&&(0,u.jsx)(C.Z,{p:_.cd,children:(0,u.jsxs)(C.Z,{mt:_.cd,px:_.cd,children:[(0,u.jsx)(g.Z,{level:5,children:H}),(0,u.jsx)(h.Z,{light:!0,mt:_.cd,short:!0})]})}),V]})}},19395:function(e,n,t){"use strict";t.d(n,{IJ:function(){return s},Vx:function(){return p},eI:function(){return d},gU:function(){return h},tL:function(){return f},vJ:function(){return b}});var i,r,o=t(82394),l=t(92083),c=t.n(l);function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?u(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function s(e){return null===e||void 0===e?void 0:e.reduce((function(e,n){var t=n.block_uuid,i=n.completed_at,r=n.started_at,l=n.status,u=null;r&&i&&(u=c()(i).valueOf()-c()(r).valueOf());return a(a({},e),{},(0,o.Z)({},t,{runtime:u,status:l}))}),{})}function d(e){if(!e)return null;var n=new Date(c()(e).valueOf()),t=Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds());return new Date(t)}function p(e){return d(e).toISOString().split(".")[0]}!function(e){e.DAY="day",e.HOUR="hour",e.MINUTE="minute",e.SECOND="second"}(r||(r={}));var f=(i={},(0,o.Z)(i,r.DAY,86400),(0,o.Z)(i,r.HOUR,3600),(0,o.Z)(i,r.MINUTE,60),(0,o.Z)(i,r.SECOND,1),i);function h(e){var n=r.SECOND,t=e;return e%86400===0?(t/=86400,n=r.DAY):e%3600===0?(t/=3600,n=r.HOUR):e%60===0&&(t/=60,n=r.MINUTE),{time:t,unit:n}}function b(e,n){return e*f[n]}},45838:function(e,n,t){"use strict";t.d(n,{GZ:function(){return d},Vq:function(){return a},cE:function(){return p},cl:function(){return c},kA:function(){return u}});var i=t(9518),r=t(23831),o=t(37391),l=t(49125),c=i.default.div.withConfig({displayName:"indexstyle__TableContainerStyle",componentId:"sc-1wzfyed-0"})(["position:relative;overflow:auto;"," "," ",""],o.w5,(function(e){return e.minHeight&&"\n min-height: ".concat(e.minHeight,"px;\n ")}),(function(e){return e.overflowVisible&&"\n overflow: visible;\n "})),u=i.default.table.withConfig({displayName:"indexstyle__TableStyle",componentId:"sc-1wzfyed-1"})(["contain:size;width:100%;",""],(function(e){return(e.columnBorders||e.borderCollapseSeparate)&&"\n border-collapse: separate;\n "})),a=i.default.tr.withConfig({displayName:"indexstyle__TableRowStyle",componentId:"sc-1wzfyed-2"})([""," ",""],(function(e){return e.highlightOnHover&&"\n &:hover {\n background: ".concat((e.theme.interactive||r.Z.interactive).rowHoverBackground,";\n }\n ")}),(function(e){return!e.noHover&&"\n &:hover {\n background: ".concat((e.theme.interactive||r.Z.interactive).rowHoverBackground,";\n cursor: pointer;\n }\n ")})),s=(0,i.css)(["text-overflow:ellipsis;white-space:nowrap;"," "," "," "," "," ",""],(function(e){return!e.alignTop&&"\n vertical-align: middle;\n "}),(function(e){return e.alignTop&&"\n vertical-align: top;\n "}),(function(e){return!e.noBorder&&"\n border-bottom: 1px solid ".concat((e.theme.borders||r.Z.borders).light,";\n ")}),(function(e){return e.compact&&"\n padding: ".concat(l.iI/2,"px ").concat(l.iI,"px;\n ")}),(function(e){return!e.compact&&"\n padding: ".concat(l.iI,"px ").concat(2*l.iI,"px;\n ")}),(function(e){return e.maxWidth&&"\n max-width: ".concat(e.maxWidth,";\n ")})),d=i.default.th.withConfig({displayName:"indexstyle__TableHeadStyle",componentId:"sc-1wzfyed-3"})([""," "," "," ",""],s,(function(e){return e.columnBorders&&"\n border: 1px solid ".concat((e.theme.borders||r.Z.borders).light,";\n border-right: none;\n ")}),(function(e){return e.columnBorders&&e.last&&"\n border-right: 1px solid ".concat((e.theme.borders||r.Z.borders).light,";\n ")}),(function(e){return e.sticky&&"\n background-color: ".concat((e.theme||r.Z).background.panel,";\n border-bottom: 1px solid ").concat((e.theme.borders||r.Z.borders).medium,";\n z-index: 2;\n position: sticky;\n top: 0;\n\n &:first-child {\n left: 0;\n z-index: 2;\n }\n ")})),p=i.default.td.withConfig({displayName:"indexstyle__TableDataStyle",componentId:"sc-1wzfyed-4"})([""," "," "," "," "," "," ",""],s,(function(e){return e.rowVerticalPadding&&"\n padding-top: ".concat(e.rowVerticalPadding,"px;\n padding-bottom: ").concat(e.rowVerticalPadding,"px;\n ")}),(function(e){return e.columnBorders&&"\n border-left: 1px solid ".concat((e.theme.borders||r.Z.borders).light,";\n ")}),(function(e){return e.columnBorders&&e.last&&"\n border-right: 1px solid ".concat((e.theme.borders||r.Z.borders).light,";\n ")}),(function(e){return e.stickyFirstColumn&&"\n background-color: ".concat((e.theme||r.Z).background.panel,";\n z-index: 1;\n position: sticky;\n left: 0;\n ")}),(function(e){return e.selected&&"\n background-color: ".concat((e.theme.interactive||r.Z.interactive).activeBorder,";\n ")}),(function(e){return e.wrapColumns&&"\n white-space: break-spaces;\n "}))},87815:function(e,n,t){"use strict";var i=t(82394),r=t(12691),o=t.n(r),l=t(82684),c=t(67971),u=t(10919),a=t(86673),s=t(19711),d=t(46261),p=t(45838),f=t(28598);function h(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function b(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?h(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.alignTop,t=e.borderCollapseSeparate,i=e.buildLinkProps,r=e.columnBorders,h=e.columnFlex,g=e.columnMaxWidth,m=e.columns,v=void 0===m?[]:m,C=e.compact,x=e.highlightRowOnHover,w=e.isSelectedRow,k=e.noBorder,j=e.noHeader,y=e.onClickRow,O=e.rows,_=e.rowVerticalPadding,Z=e.stickyFirstColumn,I=e.stickyHeader,P=e.uuid,S=e.wrapColumns,E=(0,l.useMemo)((function(){return h.reduce((function(e,n){return e+(n||0)}),0)}),h),M=(0,l.useCallback)((function(e){if(h[e]){var n=Math.round(h[e]/E*100);return"".concat(n,"%")}return null}),[]),N=(0,l.useMemo)((function(){return null===O||void 0===O?void 0:O.map((function(e,t){var c=null===i||void 0===i?void 0:i(t),a=e.map((function(i,o){return(0,f.jsx)(p.cE,{alignTop:n,columnBorders:r,compact:C,last:o===e.length-1,maxWidth:null===g||void 0===g?void 0:g(o),noBorder:k,rowVerticalPadding:_,selected:null===w||void 0===w?void 0:w(t),stickyFirstColumn:Z&&0===o,width:M(o),wrapColumns:S,children:i},"".concat(P,"-row-").concat(t,"-cell-").concat(o))})),s=(0,f.jsx)(p.Vq,{highlightOnHover:x,noHover:!(c||y),onClick:y?function(){return y(t)}:null,children:a},"".concat(P,"-row-").concat(t));return c?(0,l.createElement)(o(),b(b({},c),{},{key:"".concat(P,"-row-link-").concat(t),passHref:!0}),(0,f.jsx)(u.Z,{fullWidth:!0,noHoverUnderline:!0,noOutline:!0,style:{display:"table-row-group"},verticalAlignContent:!0,children:s})):s}))}),[n,i,M,g,v,C,w,k,y,O]);return(0,f.jsxs)(p.kA,{borderCollapseSeparate:t,columnBorders:r,children:[(null===v||void 0===v?void 0:v.length)>=1&&!j&&(0,f.jsx)(p.Vq,{noHover:!0,children:v.map((function(e,n){return(0,f.jsx)(p.GZ,{columnBorders:r,compact:C,last:n===v.length-1,noBorder:k,sticky:I,children:(0,f.jsxs)(c.Z,{alignItems:"center",children:[(0,f.jsx)(s.ZP,{bold:!0,leftAligned:!0,monospace:!0,muted:!0,children:e.label?e.label():e.uuid}),e.tooltipMessage&&(0,f.jsx)(a.Z,{ml:"4px",children:(0,f.jsx)(d.Z,{appearBefore:!0,label:(0,f.jsx)(s.ZP,{leftAligned:!0,children:e.tooltipMessage}),lightBackground:!0,primary:!0})})]})},"".concat(P,"-col-").concat(e.uuid,"-").concat(n))}))}),N]})}},43526:function(e,n,t){"use strict";t.d(n,{I7:function(){return i},IB:function(){return u},VV:function(){return o},_7:function(){return l},rn:function(){return c}});var i,r=t(66050),o="datetime",l="code",c=r.V;!function(e){e.SECOND="second",e.MINUTE="minute",e.HOUR="hour",e.DAY="day",e.WEEK="week",e.MONTH="month",e.YEAR="year",e.CUSTOM="custom"}(i||(i={}));var u=[i.SECOND,i.MINUTE,i.HOUR,i.DAY,i.WEEK,i.MONTH,i.YEAR,i.CUSTOM]},66050:function(e,n,t){"use strict";var i;t.d(n,{V:function(){return i}}),function(e){e.CANCELLED="cancelled",e.COMPLETED="completed",e.FAILED="failed",e.INITIAL="initial",e.RUNNING="running"}(i||(i={}))},47409:function(e,n,t){"use strict";t.d(n,{D:function(){return l},V:function(){return o}});var i,r=t(82394),o=t(66050).V,l=(i={},(0,r.Z)(i,o.CANCELLED,"Cancelled"),(0,r.Z)(i,o.COMPLETED,"Done"),(0,r.Z)(i,o.FAILED,"Failed"),(0,r.Z)(i,o.INITIAL,"Ready"),(0,r.Z)(i,o.RUNNING,"Running"),i)},16953:function(e,n,t){"use strict";var i=t(28598);n.Z=function(e){var n=e.size;return(0,i.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5 8.5H15.5V3.5H20.5V8.5ZM14 9V3C14 2.44772 14.4477 2 15 2H21C21.5523 2 22 2.44772 22 3V9C22 9.55229 21.5523 10 21 10H15C14.4477 10 14 9.55229 14 9ZM2 5V12.5V14V21.5C2 22.0523 2.44772 22.5 3 22.5H10.5H12H19.5C20.0523 22.5 20.5 22.0523 20.5 21.5V13.5C20.5 12.9477 20.0523 12.5 19.5 12.5H12V5C12 4.44772 11.5523 4 11 4H3C2.44772 4 2 4.44772 2 5ZM10.5 14V21H3.5V14H10.5ZM19 14V21H12V14H19ZM10.5 5.5V12.5H3.5V5.5H10.5Z",fill:"url(#paint0_linear_2842_55048)"}),(0,i.jsx)("defs",{children:(0,i.jsxs)("linearGradient",{id:"paint0_linear_2842_55048",x1:"2",y1:"12.25",x2:"22",y2:"12.25",gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,i.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})}},30206:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return D}});var i=t(77837),r=t(75582),o=t(38860),l=t.n(o),c=t(82684),u=t(83455),a=t(34376),s=t(12691),d=t.n(s),p=t(43526),f=t(60328),h=t(10919),b=t(87815),g=t(19711),m=t(10503),v=t(47409),C=t(49125),x=t(19395),w=t(28598);var k=function(e){var n=e.models,t=e.onClickRow,i=e.pipeline,r=e.selectedRow,o=null===i||void 0===i?void 0:i.uuid;return(0,w.jsx)(b.Z,{columnFlex:[null,1,null,null,null,1,1,null],columns:[{uuid:"Status"},{uuid:"Name"},{uuid:"Type"},{uuid:"Runs"},{uuid:"Backfill"},{uuid:"Started at"},{uuid:"Completed at"},{label:function(){return""},uuid:"edit"}],isSelectedRow:function(e){return n[e].id===(null===r||void 0===r?void 0:r.id)},onClickRow:function(e){return t(n[e])},rows:n.map((function(e,n){var t=e.block_uuid,i=e.completed_at,r=e.end_datetime,l=e.id,c=e.name,u=e.start_datetime,a=e.started_at,s=e.status,b=e.total_run_count;return[(0,w.jsx)(g.ZP,{default:!0,monospace:!0,children:s||"inactive"},"status"),(0,w.jsx)(d(),{as:"/pipelines/".concat(o,"/backfills/").concat(l),href:"/pipelines/[pipeline]/backfills/[...slug]",passHref:!0,children:(0,w.jsx)(h.Z,{bold:!0,sameColorAsText:!0,children:c})},"name"),(0,w.jsx)(g.ZP,{default:!0,monospace:!0,children:t?p._7:p.VV},"type"),(0,w.jsx)(g.ZP,{default:!0,monospace:!0,children:b||0},"runs"),(0,w.jsxs)(g.ZP,{default:!0,monospace:!0,children:[u&&r&&(0,w.jsxs)(w.Fragment,{children:[(0,x.Vx)(u),"\xa0-\xa0",(0,x.Vx)(r)]}),!(u&&r)&&"-"]},"backfill"),(0,w.jsx)(g.ZP,{default:!0,monospace:!0,children:a?(0,x.Vx)(a):"-"},"started_at"),(0,w.jsx)(g.ZP,{default:!0,monospace:!0,children:i?(0,x.Vx)(i):"-"},"completed_at"),(0,w.jsx)(f.Z,{default:!0,disabled:s===v.V.COMPLETED,iconOnly:!0,linkProps:{as:"/pipelines/".concat(o,"/backfills/").concat(l,"/edit"),href:"/pipelines/[pipeline]/backfills/[...slug]"},noBackground:!0,title:"Edit",children:(0,w.jsx)(m.I8,{default:!0,size:2*C.iI})},"".concat(n,"_edit_button"))]})),uuid:"pipeline-runs"})},j=t(11135),y=t(2626),O=t(41788),_=t(86673),Z=t(82531),I=t(59920),P=t(33766),S=t(96510),E=t(59e3),M=t(90211);function N(e){var n=e.pipeline,t=(0,a.useRouter)(),i=n.uuid,o=Z.ZP.backfills.list({_limit:20,_offset:0,include_run_count:!0,pipeline_uuid:i},{refreshInterval:6e4}),l=o.data,s=(o.mutate,(0,c.useMemo)((function(){return(null===l||void 0===l?void 0:l.backfills)||[]}),[l])),d=(0,E.iV)(),p=(0,c.useState)(null),f=p[0],h=p[1];(0,c.useEffect)((function(){null!==d&&void 0!==d&&d.backfill_id?h(null===s||void 0===s?void 0:s.find((function(e){return e.id===Number(d.backfill_id)}))):f&&h(null)}),[s,d,f]);var b=(0,c.useMemo)((function(){var e="/pipelines/".concat(i,"/backfills"),n=[{label:function(){return"Backfills"},linkProps:f?{as:e,href:"/pipelines/[pipeline]/backfills"}:null}];return f&&n.push({label:function(){return f.name}}),n}),[f]),v=(0,u.Db)(Z.ZP.backfills.pipelines.useCreate(i),{onSuccess:function(e){return(0,S.wD)(e,{callback:function(e){var n=e.backfill.id;t.push("/pipelines/[pipeline]/backfills/[...slug]","/pipelines/".concat(i,"/backfills/").concat(n,"/edit"))},onErrorCallback:function(e){var n=e.error,t=(n.errors,n.message);alert(t)}})}}),x=(0,r.Z)(v,2),O=x[0],N=x[1].isLoading;return(0,w.jsxs)(y.Z,{breadcrumbs:b,pageName:I.M.BACKFILLS,pipeline:n,title:function(e){var n=e.name;return"".concat(n," backfills")},uuid:"".concat(I.M.BACKFILLS,"_").concat(i),children:[(0,w.jsx)(_.Z,{p:C.cd,children:(0,w.jsx)(j.ZP,{beforeElement:(0,w.jsx)(m.mm,{size:2.5*C.iI}),blackBorder:!0,inline:!0,loading:N,noHoverUnderline:!0,onClick:function(){return O({backfill:{name:(0,M.Y6)()}})},sameColorAsText:!0,uuid:"PipelineDetailPage/Backfills/add_new_backfill",children:"Create new backfill"})}),s&&0===s.length&&(0,w.jsx)(_.Z,{p:C.cd,children:(0,w.jsx)(g.ZP,{bold:!0,default:!0,monospace:!0,muted:!0,children:"No backfills"})}),(null===s||void 0===s?void 0:s.length)>=1&&(0,w.jsx)(k,{models:s,onClickRow:function(e){var n=e.id;return(0,P.u)({backfill_id:n})},pipeline:n,selectedRow:f})]})}N.getInitialProps=function(){var e=(0,i.Z)(l().mark((function e(n){var t;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.query.pipeline,e.abrupt("return",{pipeline:{uuid:t}});case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();var D=(0,O.Z)(N)},33766:function(e,n,t){"use strict";t.d(n,{u:function(){return s}});var i=t(75582),r=t(82394),o=t(34376),l=t.n(o),c=t(59e3);function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?u(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function s(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.replaceParams,o=t.pushHistory,u=r?{}:(0,c.iV)();n=window.location.pathname;var s=o?l().push:l().replace,d=a(a({},u),e);Object.entries(e).forEach((function(e){var n=(0,i.Z)(e,2),t=n[0],r=n[1];"undefined"!==typeof r&&null!==r||delete d[t]}));var p=(0,c.uM)(d);p.length>=1&&(p="?".concat(p));var f="".concat(n.split("?")[0]).concat(p);return s(l().router.pathname,f,{shallow:!0})}},37459:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pipelines/[pipeline]/backfills",function(){return t(30206)}])}},function(e){e.O(0,[3850,2083,9767,6579,434,1830,9774,2888,179],(function(){return n=37459,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|