1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/index-B12k_7Ud.js","static/index-Bowvrt9Q.js","static/vendor-react-De83-dM3.js","static/vendor-redux-BXgS8ZTA.js","static/vendor-bootstrap-Bje_z8PU.js","static/vendor-sentry-DBYIcZJY.js","static/vendor-ui-MUqGYMJX.js","static/vendor-i18n-CGfhirxK.js","static/vendor-utils-B2Yof-yd.js","static/vendor-document-CmFT6PcI.js","static/index-CHXpRS1i.css","static/Icon-CAgaaVF8.js","static/constants-tQdGi0ob.js","static/logo_wazirx_light-uNeN4KX4.js","static/logo_wazirx_dark-C1pYnBno.js","static/S3Image-CQIIsmaA.js","static/index-CI7BhFpk.js"])))=>i.map(i=>d[i]); 2import{C as h,j as t,P as x,k as w,T as L,m as _e,oa as Ee,V as ke,_ as He}from"./index-Bowvrt9Q.js";import{r as Re,g as Ae,a as A}from"./vendor-redux-BXgS8ZTA.js";import{w as P}from"./vendor-i18n-CGfhirxK.js";import{U as Pe,h as De,r as Ne}from"./vendor-bootstrap-Bje_z8PU.js";import{H as s}from"./vendor-ui-MUqGYMJX.js";import Ce from"./widget-background-C54gimJH.js";import Fe from"./widget-background-desktop-j6KDg8Je.js";import Me from"./trending_up_black_24-D_eJynA9.js";import $e from"./widget-ios-Dayj4k2x.js";import Ge from"./widget-android-DXkoSBSn.js";import me from"./widget-art-line-right-DV9rsKyw.js";import ge from"./widget-art-line-left-DDHEkopE.js";import We from"./ticker-header-mobile-android-BeApokII.js";import qe from"./ticker-header-mobile-ios-DH9-uQOm.js";import Ve from"./widget-star-market-zkjRuwel.js";import Ue from"./widget-setup-android-Cx-9MTlt.js";import Be from"./widget-setup-ios-C9kPzbEU.js";import Je from"./widget-features-android-Cvxp65UZ.js";import Ke from"./widget-features-ios-328kmEu7.js";import"./vendor-react-De83-dM3.js";import"./vendor-utils-B2Yof-yd.js";import"./vendor-sentry-DBYIcZJY.js";import"./vendor-document-CmFT6PcI.js";const Qe=s(Pe)` 3 margin-bottom: 20px; 4 @media screen and (max-width: 990px) { 5 padding-top: 5px; 6 } 7`,de=s(De)` 8 color: ${h.text.white}; 9 font-size: 14px; 10 font-weight: 400; 11 padding: ${i=>i.padding}; 12 box-shadow: none !important; 13 display: flex; 14 align-items: center; 15 &:hover { 16 color: ${h.white}; 17 } 18 &.active { 19 opacity: 1; 20 font-weight: 700; 21 color: ${h.primary}; 22 background: ${h.background.hero}; 23 border-radius: 5px !important; 24 } 25`,Xe=s.span` 26 text-transform: capitalize; 27`,Ye=({deviceType:i,toggleDeviceType:c})=>t.jsxs(Qe,{type:"radio",name:"device-type",value:i,onChange:c,children:[t.jsx(de,{value:x.ANDROID,padding:"8px 12px",bsStyle:"none",children:t.jsx(Xe,{children:x.ANDROID})}),t.jsx(de,{value:x.IOS,padding:"8px 28px",bsStyle:"none",children:x.IOS})]}),Ze=s(w)` 28 background: ${h.primary} url(${Fe}) no-repeat; 29 justify-content: center; 30 height: auto; 31 width: 100%; 32 padding: 0 36px; 33 position: relative; 34 background-size: cover; 35 @media only screen and (max-width: 820px) { 36 background: ${h.primary} url(${Ce}) no-repeat; 37 } 38`,et=s(w)` 39 flex-direction: column; 40`,tt=s.img` 41 margin-right: 8px; 42`,rt=s(L)` 43 font-size: 40px; 44 @media only screen and (max-width: 820px) { 45 font-size: 32px; 46 } 47`,nt=s(L)` 48 font-size: 20px; 49 @media only screen and (max-width: 820px) { 50 font-size: 16px; 51 } 52`,it=s.div` 53 width: 380px; 54 img { 55 width: 100%; 56 height: auto; 57 } 58 @media only screen and (max-width: 820px) { 59 width: 280px; 60 } 61`,ve=s.img` 62 position: absolute; 63 top: 0; 64 right: 0; 65 height: 200px; 66 display: none; 67 content: url(${i=>i.source}); 68 display: inline; 69 @media only screen and (max-width: 820px) { 70 height: 70px; 71 } 72`,xe=s.img` 73 position: absolute; 74 bottom: 0; 75 left: 0; 76 height: 180px; 77 display: none; 78 content: url(${i=>i.source}); 79 display: inline; 80`,D=s(w)` 81 width: 100%; 82 83 flex-direction: column; 84 align-items: center; 85 justify-content: center; 86 @media only screen and (max-width: 820px) { 87 max-width: 400px; 88 } 89`,ot=({t:i,deviceType:c,isWeb:o,toggleDeviceType:u})=>t.jsxs(Ze,{children:[t.jsx(ve,{loading:"lazy",source:me,alt:"artline"}),t.jsx(D,{children:t.jsxs(et,{center:!0,children:[t.jsx(rt,{uppercase:!0,center:!0,bold:!0,margin:"48px auto 0px",color:h.white,fontStyle:"italic",children:i("widgetGuide.heroHeading")}),t.jsxs(nt,{center:!0,weight:600,margin:"0 auto 15px",color:h.white,children:[t.jsx(tt,{loading:"lazy",src:Me,alt:"trending"}),i("widgetGuide.heroSubHeading")]}),o&&t.jsx(Ye,{deviceType:c,toggleDeviceType:u}),t.jsx(it,{children:t.jsx("img",{loading:"lazy",src:c===x.IOS?$e:Ge,alt:"heroimage"})})]})}),o&&t.jsx(xe,{loading:"lazy",source:ge,alt:"artline-left"})]}),at=P()(ot),st=s(w)` 90 background-color: ${h.background.l1}; 91 justify-content: center; 92 width: 100%; 93 padding: 24px; 94`,lt=s(w)` 95 flex-direction: column; 96 align-items: center; 97 justify-content: center; 98`,dt=s.div` 99 width: 380px; 100 img { 101 width: 100%; 102 height: auto; 103 } 104 @media only screen and (max-width: 820px) { 105 width: 320px; 106 } 107`,ct=s(L)` 108 font-size: 16px; 109 letter-spacing: 0px; 110 @media only screen and (max-width: 820px) { 111 font-size: 14px; 112 } 113`,ut=s.img` 114 margin: 0 6px;
115 width: 20px; 116 height: 20px; 117`,ft=({t:i,deviceType:c})=>t.jsx(st,{children:t.jsx(D,{children:t.jsxs(lt,{center:!0,children:[t.jsx(dt,{children:t.jsx("img",{loading:"lazy",src:c===x.IOS?qe:We,alt:"favourite"})}),t.jsxs(ct,{center:!0,weight:400,color:h.primary,padding:"0 10%",fontStyle:"italic",children:[i("widgetGuide.favouritesTextStart"),t.jsx(ut,{src:Ve,alt:"star"}),i("widgetGuide.favouritesTextEnd")]})]})})}),pt=P()(ft);var T={},R={},ce;function ht(){if(ce)return R;ce=1,Object.defineProperty(R,"__esModule",{value:!0}),R.on=i,R.off=c;function i(o,u,r,f){f=f||!1,o.addEventListener?o.addEventListener(u,r,f):o.attachEvent&&o.attachEvent("on"+u,function(g){r.call(o,g||window.event)})}function c(o,u,r,f){f=f||!1,o.removeEventListener?o.removeEventListener(u,r,f):o.detachEvent&&o.detachEvent("on"+u,r)}return R}var W={},ue;function mt(){return ue||(ue=1,Object.defineProperty(W,"__esModule",{value:!0}),W.default=function(i){if(!(i instanceof HTMLElement))return document.documentElement;for(var c=i.style.position==="absolute",o=/(scroll|auto)/,u=i;u;){if(!u.parentNode)return i.ownerDocument||document.documentElement;var r=window.getComputedStyle(u),f=r.position,g=r.overflow,y=r["overflow-x"],I=r["overflow-y"];if(f==="static"&&c){u=u.parentNode;continue}if(o.test(g)&&o.test(y)&&o.test(I))return u;u=u.parentNode}return i.ownerDocument||i.documentElement||document.documentElement}),W}var q={},fe;function gt(){if(fe)return q;fe=1,Object.defineProperty(q,"__esModule",{value:!0}),q.default=i;function i(c,o,u){var r=void 0,f=void 0,g=void 0,y=void 0,I=void 0,U=function N(){var _=+new Date-y;_<o&&_>=0?r=setTimeout(N,o-_):(r=null,u||(I=c.apply(g,f),r||(g=null,f=null)))};return function(){g=this,f=arguments,y=+new Date;var _=u&&!r;return r||(r=setTimeout(U,o)),_&&(I=c.apply(g,f),g=null,f=null),I}}return q}var V={},pe;function vt(){if(pe)return V;pe=1,Object.defineProperty(V,"__esModule",{value:!0}),V.default=i;function i(c,o,u){o||(o=250);var r,f;return function(){var g=u||this,y=+new Date,I=arguments;r&&y<r+o?(clearTimeout(f),f=setTimeout(function(){r=y,c.apply(g,I)},o)):(r=y,c.apply(g,I))}}return V}var he;function xt(){if(he)return T;he=1,Object.defineProperty(T,"__esModule",{value:!0}),T.forceVisible=T.forceCheck=T.lazyload=void 0;var i=(function(){function l(e,a){for(var n=0;n<a.length;n++){var d=a[n];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(e,d.key,d)}}return function(e,a,n){return a&&l(e.prototype,a),n&&l(e,n),e}})(),c=Re(),o=E(c),u=Ne(),r=E(u),f=ht(),g=mt(),y=E(g),I=gt(),U=E(I),N=vt(),_=E(N);function E(l){return l&&l.__esModule?l:{default:l}}function Z(l,e){if(!(l instanceof e))throw new TypeError("Cannot call a class as a function")}function ee(l,e){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:l}function te(l,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);l.prototype=Object.create(e&&e.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(l,e):l.__proto__=e)}var z={top:0,left:0,width:0,height:0},k="data-lazyload-listened",b=[],B=[],re=!1;try{var we=Object.defineProperty({},"passive",{get:function(){re=!0}});window.addEventListener("test",null,we)}catch{}var O=re?{capture:!1,passive:!0}:!1,ye=function(e,a){var n=e.ref,d=void 0,p=void 0,m=void 0,j=void 0;try{var S=a.getBoundingClientRect();d=S.top,p=S.left,m=S.height,j=S.width}catch{d=z.top,p=z.left,m=z.height,j=z.width}var H=window.innerHeight||document.documentElement.clientHeight,J=window.innerWidth||document.documentElement.clientWidth,oe=Math.max(d,0),ae=Math.max(p,0),Te=Math.min(H,d+m)-oe,Le=Math.min(J,p+j)-ae,K=void 0,Q=void 0,X=void 0,Y=void 0;try{var $=n.getBoundingClientRect();K=$.top,Q=$.left,X=$.height,Y=$.width}catch{K=z.top,Q=z.left,X=z.height,Y=z.width}var se=K-oe,le=Q-ae,G=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return se-G[0]<=Te&&se+X+G[1]>=0&&le-G[0]<=Le&&le+Y+G[1]>=0},be=function(e){var a=e.ref;if(!(a.offsetWidth||a.offsetHeight||a.getClientRects().length))return!1;var n=void 0,d=void 0;try{var p=a.getBoundingClientRect();n=p.top,d=p.height}catch{n=z.top,d=z.height}var m=window.innerHeight||document.documentElement.clientHeight,j=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return n-j[0]<=m&&n+d+j[1]>=0},ne=function(e){var a=e.ref;if(a instanceof HTMLElement){var n=(0,y.default)(a),d=e.props.overflow&&n!==a.ownerDocument&&n!==document&&n!==document.documentElement,p=d?ye(e,n):be(e);p?e.visible||(e.props.once&&B.push(e),e.visible=!0,e.forceUpdate()):e.props.once&&e.visible||(e.visible=!1,e.props.unmountIfInvisible&&e.forceUpdate())}}
117,ie=function(){B.forEach(function(e){var a=b.indexOf(e);a!==-1&&b.splice(a,1)}),B=[]},C=function(){for(var e=0;e<b.length;++e){var a=b[e];ne(a)}ie()},je=function(){for(var e=0;e<b.length;++e){var a=b[e];a.visible=!0,a.forceUpdate()}ie()},F=void 0,v=null,Se=function(e){return typeof e=="string"},M=(function(l){te(e,l);function e(a){Z(this,e);var n=ee(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,a));return n.visible=!1,n.setRef=n.setRef.bind(n),n}return i(e,[{key:"componentDidMount",value:function(){var n=window,d=this.props.scrollContainer;d&&Se(d)&&(n=n.document.querySelector(d));var p=this.props.debounce!==void 0&&F==="throttle"||F==="debounce"&&this.props.debounce===void 0;if(p&&((0,f.off)(n,"scroll",v,O),(0,f.off)(window,"resize",v,O),v=null),v||(this.props.debounce!==void 0?(v=(0,U.default)(C,typeof this.props.debounce=="number"?this.props.debounce:300),F="debounce"):this.props.throttle!==void 0?(v=(0,_.default)(C,typeof this.props.throttle=="number"?this.props.throttle:300),F="throttle"):v=C),this.props.overflow){var m=(0,y.default)(this.ref);if(m&&typeof m.getAttribute=="function"){var j=1+ +m.getAttribute(k);j===1&&m.addEventListener("scroll",v,O),m.setAttribute(k,j)}}else if(b.length===0||p){var S=this.props,H=S.scroll,J=S.resize;H&&(0,f.on)(n,"scroll",v,O),J&&(0,f.on)(window,"resize",v,O)}b.push(this),ne(this)}},{key:"shouldComponentUpdate",value:function(){return this.visible}},{key:"componentWillUnmount",value:function(){if(this.props.overflow){var n=(0,y.default)(this.ref);if(n&&typeof n.getAttribute=="function"){var d=+n.getAttribute(k)-1;d===0?(n.removeEventListener("scroll",v,O),n.removeAttribute(k)):n.setAttribute(k,d)}}var p=b.indexOf(this);p!==-1&&b.splice(p,1),b.length===0&&typeof window<"u"&&((0,f.off)(window,"resize",v,O),(0,f.off)(window,"scroll",v,O))}},{key:"setRef",value:function(n){n&&(this.ref=n)}},{key:"render",value:function(){var n=this.props,d=n.height,p=n.children,m=n.placeholder,j=n.className,S=n.classNamePrefix,H=n.style;return o.default.createElement("div",{className:S+"-wrapper "+j,ref:this.setRef,style:H},this.visible?p:m||o.default.createElement("div",{style:{height:d},className:S+"-placeholder"}))}}]),e})(c.Component);M.propTypes={className:r.default.string,classNamePrefix:r.default.string,once:r.default.bool,height:r.default.oneOfType([r.default.number,r.default.string]),offset:r.default.oneOfType([r.default.number,r.default.arrayOf(r.default.number)]),overflow:r.default.bool,resize:r.default.bool,scroll:r.default.bool,children:r.default.node,throttle:r.default.oneOfType([r.default.number,r.default.bool]),debounce:r.default.oneOfType([r.default.number,r.default.bool]),placeholder:r.default.node,scrollContainer:r.default.oneOfType([r.default.string,r.default.object]),unmountIfInvisible:r.default.bool,style:r.default.object},M.defaultProps={className:"",classNamePrefix:"lazyload",once:!1,offset:0,overflow:!1,resize:!1,scroll:!0,unmountIfInvisible:!1};var Ie=function(e){return e.displayName||e.name||"Component"},ze=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return function(n){return(function(d){te(p,d);function p(){Z(this,p);var m=ee(this,(p.__proto__||Object.getPrototypeOf(p)).call(this));return m.displayName="LazyLoad"+Ie(n),m}return i(p,[{key:"render",value:function(){return o.default.createElement(M,e,o.default.createElement(n,this.props))}}]),p})(c.Component)}};return T.lazyload=ze,T.default=M,T.forceCheck=C,T.forceVisible=je,T}var wt=xt();const yt=Ae(wt),bt=s(w)` 118 background: ${h.background.l0}; 119 justify-content: center; 120 width: 100%; 121 height: auto; 122 padding: 22px 54px 36px; 123 position: relative; 124`,jt=s(w)` 125 flex-direction: column; 126`,St=s(L)` 127 font-size: 32px; 128 margin-bottom: 18px; 129 @media only screen and (max-width: 820px) { 130 font-size: 20px; 131 } 132`,It=s.video` 133 width: 300px; 134 height: 615px; 135 136 @media screen and (min-width: 400px) and (max-width: 767px) { 137 width: 300px; 138 height: 650px; 139 } 140`,zt=({t:i,deviceType:c,isWeb:o})=>t.jsxs(bt,{children:[o&&t.jsx(ve,{loading:"lazy",source:me,alt:"artline"}),t.jsx(D,{children:t.jsxs(jt,{center:!0,children:[t.jsx(St,{weight:700,color:h.primary,lineHeight:1.25,children:i("widgetGuide.setupWidget")}),t.jsx(yt,{overflow:!0,children:t.jsx(It,{autoPlay:!0,loop:!0,muted:!0,playsInl
140ine:!0,children:t.jsx("source",{src:c===x.IOS?Be:Ue,type:"video/mp4"})},c)})]})}),o&&t.jsx(xe,{loading:"lazy",source:ge,alt:"artline-left"})]}),Tt=P()(zt),Lt=s(w)` 141 background-color: ${h.primary}; 142 justify-content: center; 143 width: 100%; 144 padding: 24px; 145`,Ot=s(w)` 146 flex-direction: column; 147 align-items: center; 148 justify-content: center; 149 width: 100%; 150`,_t=s(w)` 151 justify-content: space-between; 152 @media only screen and (max-width: 820px) { 153 width: 100%; 154 } 155 @media only screen and (min-width: 821px) { 156 width: 35%; 157 } 158`,Et=s.div` 159 width: 310px; 160 img { 161 width: 100%; 162 height: auto; 163 } 164 @media only screen and (max-width: 820px) { 165 width: 205px; 166 } 167`,kt=s(w)` 168 flex-direction: column; 169 justify-content: space-between; 170 margin-top: 45px; 171 font-size: 16px; 172 @media only screen and (max-width: 820px) { 173 margin-top: 20px; 174 } 175`,Ht=s(L)` 176 font-size: 40px; 177 @media only screen and (max-width: 820px) { 178 font-size: 32px; 179 } 180`,Rt=s(L)` 181 font-size: 16px; 182 weight: 600; 183 @media only screen and (max-width: 820px) { 184 font-size: 14px; 185 weight: 400; 186 text-align: right; 187 } 188`,At=s(L)` 189 font-size: 16px; 190 @media only screen and (max-width: 820px) { 191 font-size: 12px; 192 color: ${h.background.warning}; 193 } 194`,Pt=[{text:"widgetGuide.features.percentChange"},{text:"widgetGuide.features.priceChange"},{text:"widgetGuide.features.highestPrice"},{text:"widgetGuide.features.lowestPrice"},{text:"widgetGuide.features.volume"}],Dt=({t:i,deviceType:c})=>t.jsx(Lt,{children:t.jsx(D,{children:t.jsxs(Ot,{children:[t.jsx(Ht,{uppercase:!0,bold:!0,color:h.white,lineHeight:1.36,margin:"0 0 2px 0",fontStyle:"italic",children:i("widgetGuide.featuresHeading")}),t.jsxs(_t,{children:[t.jsx(Et,{children:t.jsx("img",{loading:"lazy",src:c===x.IOS?Ke:Je,alt:"features"})}),t.jsxs(kt,{children:[t.jsx(At,{weight:700,color:h.background.hero,lineHeight:1.25,margin:"0 0 12px 0",fontStyle:"italic",children:i("widgetGuide.features.shuffleModes")}),Pt.map((o,u)=>t.jsx(Rt,{color:h.white,lineHeight:1.25,margin:"0 0 12px 0",children:i(o.text)},u))]})]})]})})}),Nt=P()(Dt),Ct=s(w)` 195 background-color: ${h.background.l0}; 196 justify-content: center; 197 width: 100%; 198 padding: 24px; 199`,Ft=s(w)` 200 flex-direction: column; 201 background-color: ${h.background.warning}; 202 padding: 12px 16px; 203 border-radius: 10px; 204 font-size: 14px; 205 @media only screen and (max-width: 820px) { 206 width: 100%; 207 font-size: 12px; 208 } 209`,Mt=({t:i})=>t.jsx(Ct,{children:t.jsx(D,{children:t.jsxs(Ft,{children:[t.jsx(L,{bold:!0,color:h.text.l1,lineHeight:1.33,spacing:"normal",margin:"0 0 6px 0",fontStyle:"italic",fontSize:"inherit",children:i("widgetGuide.note")}),t.jsx(L,{color:h.text.l1,fontSize:"inherit",spacing:"normal",children:i("widgetGuide.warningNote")})]})})}),$t=P()(Mt),Gt=A.lazy(()=>ke(()=>He(()=>import("./index-B12k_7Ud.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])))),fr=()=>{const[i,c]=A.useState(),[o,u]=A.useState(!0),r=()=>{c(i===x.ANDROID?x.IOS:x.ANDROID)};return A.useEffect(()=>{const f=Ee();c(f?x.ANDROID:x.IOS),_e()==="unknown"?u(!0):u(!1)},[]),t.jsxs(t.Fragment,{children:[t.jsx(at,{deviceType:i,isWeb:o,toggleDeviceType:r}),t.jsx(pt,{deviceType:i}),t.jsx(Tt,{deviceType:i,isWeb:o}),t.jsx(Nt,{deviceType:i}),t.jsx($t,{}),t.jsx(A.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(Gt,{})})]})};export{fr as default};
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.