PageSourceSearch

https://www.maestro.io/static/js/chunks/760.2bcb52b.js

js maestro.io collected 2026-09-24 18:24:49 UTC 7,644 bytes, 195 lines download raw bytes

1(function(){try{var m=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new m.Error().stack;h&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[h]="22d7b6f6-1d8b-4bba-8c9b-ed99507682b5",m._sentryDebugIdIdentifier="sentry-dbid-22d7b6f6-1d8b-4bba-8c9b-ed99507682b5")}catch{}})();var _global=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};_global.SENTRY_RELEASE={id:"6b3b5bcd49ac3ca4e22832378da81add8169a867"},(self.webpackChunk_maestro_io_client=self.webpackChunk_maestro_io_client||[]).push([[760],{340760:(m,h,t)=>{t.r(h),t.d(h,{DeviceLimitModal:()=>H,default:()=>de});var e=t(63696),b=t(642675),f=t(160788),r=t(86138),y=t(463302),C=t(734082),w=t(252992),S=t(669865),O=t(400781),a=t(44631),c=t(946568),n=t(886550),I=t(594955),p=t(283722),u=t(154789),i=t(429195),s=t(152544),l=t(545290);const P=n.Ay.div`
2 overflow: hidden;
3 overflow-y: scroll;
4`,M=(0,n.Ay)(I.A)`
5  display: flex;
6  align-items: center;
7  flex-direction: column;
8  position: relative;
9  border-radius: 20px;
10  padding: 0px;
11  background: ${i.Hw0};
12  ${(0,l.PD)`
13    width: 396px;
14  `}
15  ${(0,l.nD)`
16    width: 316px;
17  `}
18`,$=n.Ay.div`
19  ${s.eg}
20  color: ${i.SP6};
21  margin-top: 40px;
22  margin-bottom: 20px;
23`,ue=n.Ay.div`
24`,B=n.Ay.div`
25  width: 100%;
26  overflow-y: scroll;
27  max-height: 247px;
28`,G=n.Ay.div`
29  width: 100%;
30  padding-top: 10px;
31  justify-content: center;
32  display: flex;
33  position: relative;
34`,J=(0,n.Ay)(p.Ay)`
35  margin-right: 10px;
36  fill: ${i.mrt};
37  width: 208px;
38  ${(0,l.nD)`
39    width: 213px;
40  `}
41`,Z=(0,n.Ay)(p.Ay)`
42  position: absolute;
43  top: 32%;
44  & path {
45    fill: ${i.mz9};
46  }
47  ${(0,l.PD)`
48     left: 28%;
49  `}
50  ${(0,l.nD)`
51      left: 25%;
52  `}
53`,Q=n.Ay.div`
54  width: 20px;
55  height: 20px;
56  border-radius: 50%;
57  position: absolute;
58  top: 7.5%;
59  text-align: center;
60  padding: 2px;
61  color: ${o=>o.overLimit?i._e_:i.$1$};
62  background-color: ${o=>o.overLimit?i.W6Q:i.mz9};
63  ${s.p_};
64  ${(0,l.PD)`
65   right: 29%;
66  `}
67  ${(0,l.nD)`
68    right: 23%;
69  `}
70`,X=n.Ay.div`
71  margin-top: 20px;
72  margin-bottom: 10px;
73  color: ${i.SP6};
74  width: 80%;
75  ${(0,l.PD)`
76      ${s.Wp};
77  `}
78  ${(0,l.nD)`
79     ${s.hN}
80  `}
81`,k=n.Ay.div`
82  width: 80%;
83  color: ${i._A5};
84  line-height: 19px;
85  ${(0,l.PD)`
86      ${s.Wp};
87  `}
88  ${(0,l.nD)`
89     ${s.hN}
90  `}
91`,q=n.Ay.div`
92  width: 80%;
93  line-height: 19px;
94  color: ${i.mrt};
95  margin-bottom: 20px;
96  ${s.wE};
97`,_=(0,n.Ay)(u._s)`
98  height: 40px;
99  width: 80%;
100  margin: 8px 20px 0px 20px;
101  background-color: ${i.mrt};
102  && {
103    color: ${i.Jzj};
104  }
105`,ee=(0,n.Ay)(u._s)`
106  height: 40px;
107  width: 80%;
108  margin: 10px 20px 40px 20px;
109  background-color: ${i.O49};
110  && {
111    color: ${i.SP6};
112  }
113`,te=(0,n.Ay)(u._s)`
114  height: 40px;
115  width: 80%;
116  margin: 10px 20px 40px 20px;
117  background-color: ${i.mz9};
118  && {
119    color: ${i.cES};
120  }
121`,ne=(0,n.Ay)(p.Ay)`
122  padding-top: 1px;
123  margin-right: 10px;
124  width: 24px;
125  height: 24px;
126  border-radius: 50%;
127  background-color: ${i.mrt};
128  & path {
129    fill: ${i.Jzj};
130  }
131  visibility: ${o=>o.disabled?"hidden":"visible"};
132`,oe=n.Ay.div`
133  display: flex;
134  align-items: center;
135  justify-content: center;
136  border-top: 1px solid ${i.ywe};
137  height: 61px;
138  width: 100%;
139  &:hover {
140    cursor: pointer;
141    > span {
142      cursor: pointer;
143      visibility: ${o=>o.disabled?"hidden":"visible"};
144    };
145  };
146`,ie=n.Ay.div`
147  white-space: nowrap;
148  overflow: hidden;
149  text-overflow: ellipsis;
150  margin: 0px 4px;
151  color: ${i.SP6};
152  ${(0,l.PD)`
153    width: 233px;
154    ${s.ZD}
155  `}
156  ${(0,l.nD)`
157    width: 200px;
158    ${s.lg}
159  `}
160`,ae=n.Ay.div`
161  display: flex;
162  align-items: center;
163  justify-content: center;
164  margin-left: 10px;
165  width: 50px;
166`,re=(0,n.Ay)(p.Ay)`
167`,xe=(0,n.Ay)(p.Ay)`
168  margin-right: 5px;
169`,le={IPhone:"phone",IPad:"phone",Android:"phone",Phone:"phone",Mac:"monitor",Windows:"monitor",Device:"monitor",undefined:"monitor"},ce=({device:o,disabled:v,removeDevice:E,platform:D})=>{const W=()=>{v||E()};return e.createElement(oe,{disabled:v,onClick:W},e.createElement(ae,null,e.createElement(re,{color:"none",name:le[o]})),e.createElement(ie,null,`${o}`,!!D&&D),e.createElement(ne,{disabled:v,name:"thickX"}))};var se=t(80247);const H=({data:{accountDevices:o,siteDeviceLimit:v},onDismiss:E})=>{const[D,W]=(0,e.useState)(!1),[T,j]=(0,e.useState)(!1),[N,V]=(0,e.useState)(Object.entries(o)),U=(0,b.A)(),pe=(0,e.useCallback)(()=>{E(),U((0,y.je)())},[E]),ve=(0,e.useCallback)(()=>{W(!0),U((0,S.dZ)(Date.now()))},[]),z=(0,f.A)(O.V2),R=(0,f.A)(y.mC),F=(0,f.A)(C.CI),fe=(0,a.h)((0,e.useCallback)(d=>()=>{var x;if(!R)return;j(!0),V(g=>g.filter(([L])=>L!==d));const Y=(x=N.find(([g])=>g===d))==null?void 0:x[1];(0,c.Ls)(F,d,R,z).catch(g=>{Y&&V(L=>[...L,[d,Y]]),se.error(`Error when removing device #${d}:`,g)}).finally(()=>j(!1))},[F,R,z])),K=N.length,A=K>=v,ye=A&&!T;return e.createElement(P,null,e.createElement(M,{className:w.O$},e.createElement($,null,e.createElement(r.A,{stringKey:"MANAGE_DEVICES"})),e.createElement(G,null,e.createElement(J,{name:"devices"}),e.createElement(Z,{name:"playTriangle"}),e.createElement(Q,{overLimit:A},K)),e.createElement(X,null,e.createElement(r.A,{stringKey:"YOU_MAY_WATCH_ON_UP_TO"}),` ${v} `,e.createElement(r.A,{stringKey:"DEVICES_AT_ONCE"})),ye&&e.createElement(k,null,e.createElement(r.A,{stringKey:"REMOVE_ONE_DEVICE_TO_ADD"})),e.createElement(q,null,e.createElement(r.A,{stringKey:"CURRENTLY_WATCHING_ON"}),":"),e.createElement(B,null,N.map(([d,x])=>e.createElement(ce,{key:d,device:me(x),disabled:!A||T,platform:he(x),removeDevice:fe(d)}
169))),D?e.createElement(te,{disabled:!0,type:"button"},e.createElement(r.A,{stringKey:"SUCCESS"})):e.createElement(e.Fragment,null,e.createElement(_,{disabled:A||T,onClick:ve,type:"button"},e.createElement(r.A,{stringKey:"WATCH_ON_THIS_DEVICE"})),e.createElement(ee,{onClick:pe,type:"button"},e.createElement(r.A,{stringKey:"CONTINUE_WITH_CURRENT_DEVICES"})))))},de=H,me=o=>o.match(/iPhone/i)?"IPhone":o.match(/iPad/i)?"IPad":o.match(/Android/i)?"Android":o.match(/mobile|tablet/i)?"Phone":o.match(/mac/i)?"Mac":o.match(/Windows/i)?"Windows":"Device",he=o=>o.match(/Opera|OPR/i)?" on Opera":o.match(/edge|Edg/i)?" on Edge":o.match(/chrome|CriOS/i)?" on Chrome":o.match(/firefox|FxiOS/i)?" on Firefox":o.match(/safari/i)?" on Safari":o.match(/trident|msie/i)?" on IE":null},594955:(m,h,t)=>{t.d(h,{A:()=>O});var e=t(63696),b=t(224191),f=t(199749),r=t(886550),y=t(545290);const C={"bottom-left":(0,r.AH)`
170    ${({separation:a})=>`
171      transform: translate(calc(-100% - ${a}px), 0);
172    `}
173  `,"bottom-right":(0,r.AH)`
174    ${({anchorDimensions:{width:a},separation:c})=>`
175      transform: translate(${a+c}px, 0);
176    `}
177  `,"top-left":(0,r.AH)`
178    ${({anchorDimensions:{height:a},separation:c=5})=>`
179      transform: translate(calc(-100% - ${c}px), calc(${a}px - 100%));
180    `}
181  `,"top-right":(0,r.AH)`
182    ${({anchorDimensions:{height:a,width:c},separation:n})=>`
183      transform: translate(${c+n}px, calc(${a}px - 100%));
184    `}
185  `},w=r.Ay.div`
186  max-width: 100vw;
187  ${y.bo}
188  ${y.k2}
189  ${({anchorDimensions:{top:a,left:c},position:n})=>n&&(0,r.AH)`
190    position: absolute !important;
191    top: ${a}px;
192    left: ${c}px;
193    ${C[n]}
194  `}
195`,S=a=>a.stopPropagation();function O({getDimensions:a,children:c=null,className:n="",position:I,separation:p=5,style:u={},onClick:i,"data-testid":s}){const[l,P]=(0,e.useState)(new DOMRect),M=(0,b.useSelector)(f.OL);return(0,e.useEffect)(()=>{const $=a?.();$&&P($)},[a,M]),e.createElement(w,{anchorDimensions:l,className:n,"data-testid":s,onClick:i||S,position:I,separation:p,style:u},c)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.