_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[52],{"+8LL":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("lcti");Object.defineProperty(t,"captialize",{enumerable:!0,get:function(){return c(r).default}});var a=n("nZqt");Object.defineProperty(t,"clamp",{enumerable:!0,get:function(){return c(a).default}});var o=n("/7G+");Object.defineProperty(t,"distanceTo",{enumerable:!0,get:function(){return c(o).default}});var i=n("BowG");Object.defineProperty(t,"isDefined",{enumerable:!0,get:function(){return c(i).default}});var s=n("T9P6");Object.defineProperty(t,"isNumber",{enumerable:!0,get:function(){return c(s).default}});var l=n("cFYb");Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return c(l).default}});var u=n("gav5");function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"length",{enumerable:!0,get:function(){return c(u).default}})},"/7G+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=Math.pow(t.x-e.x,2),r=Math.pow(t.y-e.y,2);return Math.sqrt(n+r)},e.exports=t.default},"/Nb1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DOWN_ARROW=40,t.LEFT_ARROW=37,t.RIGHT_ARROW=39,t.UP_ARROW=38},"/r86":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.getPercentageFromPosition=o,t.getValueFromPosition=function(e,t,n,r){var a=o(e,r);return t+(n-t)*a},t.getValueFromProps=function(e,t){if(t)return r({},e.value);return{min:e.minValue,max:e.value}},t.getPercentageFromValue=i,t.getPercentagesFromValues=function(e,t,n){return{min:i(e.min,t,n),max:i(e.max,t,n)}},t.getPositionFromValue=s,t.getPositionsFromValues=function(e,t,n,r){return{min:s(e.min,t,n,r),max:s(e.max,t,n,r)}},t.getPositionFromEvent=function(e,t){var n=t.width,r=(e.touches?e.touches[0]:e).clientX;return{x:(0,a.clamp)(r-t.left,0,n),y:0}},t.getStepValueFromValue=function(e,t){return Math.round(e/t)*t};var a=n("+8LL");function o(e,t){var n=t.width;return e.x/n||0}function i(e,t,n){return((0,a.clamp)(e,t,n)-t)/(n-t)||0}function s(e,t,n,r){var a=r.width;return{x:i(e,t,n)*a,y:0}}},"3/Tk":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=n("ZC60"),o=(r=a)&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},"5CJo":function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pricing",function(){return n("Tee0")}])},"8gXb":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={activeTrack:"input-range__track input-range__track--active",disabledInputRange:"input-range input-range--disabled",inputRange:"input-range",labelContainer:"input-range__label-container",maxLabel:"input-range__label input-range__label--max",minLabel:"input-range__label input-range__label--min",slider:"input-range__slider",sliderContainer:"input-range__slider-container",track:"input-range__track input-range__track--background",valueLabel:"input-range__label input-range__label--value"},e.exports=t.default},"8oxB":function(e,t){var n,r,a=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var l,u=[],c=!1,p=-1;function d(){c&&l&&(c=!1,l.length?u=l.concat(u):p=-1,u.length&&h())}function h(){if(!c){var e=s(d);c=!0;for(var t=u.length;t;){for(l=u,u=[];++p<t;)l&&l[p].run();p=-1,t=u.length}l=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function f(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new m(e,t)),1!==u.length||c||s(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=f,a.addListener=f,a.once=f,a.off=f,a.removeListener=f,a.removeAllListeners=f,a.emit=f,a.prependListener=f,a.prependOnceListener=f,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},Aiso:function(e,t,n){e.exports=n("dQHF")},BowG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return void 0!==e&&null!==e},e.exports=t.default},ENlj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n("q1tI")),i=l(n("17x9")),s=l(n("gKdT"));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,a){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),a&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(a):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var c=(u((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.node=null,n.trackDragEvent=null,n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,null,[{key:"propTypes",get:function(){return{children:i.default.node.isRequired,classNames:i.default.objectOf(i.default.string).isRequired,draggableTrack:i.default.bool,onTrackDrag:i.default.func,onTrackMouseDown:i.default.func.isRequired,percentages:i.default.objectOf(i.default.number).isRequired}}}]),a(t,[{key:"getClientRect",value:function(){return this.node.getBoundingClientRect()}},{key:"getActiveTrackStyle",value:function(){var e=100*(this.props.percentages.max-this.props.percentages.min)+"%";return{left:100*this.props.percentages.min+"%",width:e}}},{key:"addDocumentMouseMoveListener",value:function(){this.removeDocumentMouseMoveListener(),this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentMouseMoveListener",value:function(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseMove",value:function(e){this.props.draggableTrack&&(null!==this.trackDragEvent&&this.props.onTrackDrag(e,this.trackDragEvent),this.trackDragEvent=e)}},{key:"handleMouseUp",value:function(){this.props.draggableTrack&&(this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener(),this.trackDragEvent=null)}},{key:"handleMouseDown",value:function(e){var t={x:(e.touches?e.touches[0].clientX:e.clientX)-this.getClientRect().left,y:0};this.props.onTrackMouseDown(e,t),this.props.draggableTrack&&(this.addDocumentMouseMoveListener(),this.addDocumentMouseUpListener())}},{key:"handleTouchStart",value:function(e){e.preventDefault(),this.handleMouseDown(e)}},{key:"render",value:function(){var e=this,t=this.getActiveTrackStyle();return o.default.createElement("div",{className:this.props.classNames.track,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,ref:function(t){e.node=t}},o.default.createElement("div",{style:t,className:this.props.classNames.activeTrack}),this.props.children)}}]),t}(o.default.Component)).prototype,"handleMouseMove",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseMove"),r.prototype),u(r.prototype,"handleMouseUp",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),u(r.prototype,"handleMouseDown",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),u(r.prototype,"handleTouchStart",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),r);t.default=c,e.exports=t.default},P5Gt:function(e,t,n){},T9P6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"number"===typeof e},e.exports=t.default},Tee0:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return w}));var r=n("nKUr"),a=n("o0o1"),o=n.n(a),i=n("HaE+"),s=n("q1tI"),l=(n("Aiso"),n("3/Tk"),n("g4pe")),u=n.n(l),c=n("2pyn"),p=n("aIN1"),d=n("1Xi/"),h=n("Yawz"),m=n("RFDK"),f=(n("P5Gt"),n("vDqi")),y=n.n(f),b=(n("YFqc"),n("PXcz")),v=n("Vvt1"),g=n.n(v),x=n("Om8d"),j=g()((function(){return n.e(11).then(n.t.bind(null,"QCSA",7))}),{ssr:!1,loadableGenerated:{webpack:function(){return["QCSA"]},modules:["pricing.js -> react-owl-carousel"]}});function w(e){var t=Object(s.useState)(1),n=t[0],a=(t[1],Object(s.useState)(1)),l=a[0],f=(a[1],Object(s.useState)(null)),v=(f[0],f[1]),g=Object(s.useState)(null),w=g[0],O=g[1],k=Object(s.useState)(null),M=(k[0],k[1]),D=Object(s.useState)(!1),T=(D[0],D[1],Object(s.useState)(null)),N=(T[0],T[1]),P=Object(s.useState)(1),_=(P[0],P[1],Object(s.useState)("yearly")),V=_[0],L=_[1],E=Object(s.useState)(!1),S=E[0],C=E[1],F=Object(s.useState)(!0),R=F[0],U=F[1];function I(){return q.apply(this,arguments)}function q(){return(q=Object(i.a)(o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,y.a.get("https://api.ipdata.co/?api-key=".concat("3b79fddcf97fb7ddc7b9c208c5addb7120d756cd360837d24083901b"));case 3:return t=e.sent,e.abrupt("return",t.data.country_name);case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}Object(s.useEffect)(Object(i.a)(o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I();case 2:"India"===(t=e.sent)?(v(7.45),O(7.45),M("\u20b9"),N(7.45)):"United Kingdom"===t?(v(.073),O(.073),M("\xa3"),N(.073)):"Australia"===t?(v(.14),O(.14),M("AU$"),N(.14)):"Canada"===t?(v(.12),O(.12),M("CAD$"),N(.12)):(v(.1),O(.1),M("US$"),N(.1));case 4:case"end":return e.stop()}}),e)}))),[]);Object(s.useEffect)((function(){!function(){0===l&&v(0),l===n&&v(w);for(var e=2;e<=2e3;e++)l===n*e&&v(w*e)}()}),[l,w]);var K=Object(s.useState)(),A=(K[0],K[1]);Object(s.useEffect)((function(){var e=window.innerWidth;A(e<512?100:e<768?65:50)}),[]);var z=function(e){var t=e.name,n=e.monthlyPricing,a=e.yearlyPricing,o=e.include,i=Object(s.useState)(!1),l=i[0],u=i[1];return Object(r.jsx)("div",{className:"",children:Object(r.jsx)("div",{className:"".concat(l?"bg-black text-white":"bg-white text-black"," px-[13px] py-[26px] rounded-xl flex items-center justify-center"),onClick:function(){u(!l)},children:Object(r.jsxs)("div",{className:"flex flex-col justify-center items-center gap-2",children:[Object(r.jsx)("div",{className:"text-lg font-normal text-center ".concat(l?"text-white":"text-black"),children:t}),Object(r.jsx)("div",{className:"font-bold text-[28px] mr-2 ".concat(l?"text-[#F4F7F7]":"text-blue-700"),children:"monthly"===V?"$"+n:"$"+a}),Object(r.jsxs)("div",{className:"flex items-center mt-1.5 mb-px ",children:[Object(r.jsx)("div",{className:"text-slate-500 text-xs font-normal mr-2 ".concat(l?"text-white":""),children:"Month"}),Object(r.jsx)("div",{className:"text-slate-500 text-xs font-normal ".concat(l?"text-white":""),children:"/ Billed Monthly"})]}),Object(r.jsx)("div",{className:"text-sm font-semibold py-1 ".concat(l?"text-white":"text-black"),children:"Includes ".concat(o," Users")}),Object(r.jsx)("a",{className:"border ".concat(l?"border-white":"border-black"," text-black font-semibold text-sm px-8 py-3 inline-block rounded-lg mt-3 ").concat(l?"bg-white":""),target:"_blank",href:"https://app.riyo.ai/signup",children:"monthly"===V?"Premium"===t?"Get Premium Monthly":"Starter"===t?"Get Starter Monthly":"Get Basic Monthly":"Premium"===t?"Get Premium Yearly":"Starter"===t?"Get Starter Yearly":"Get Basic Yearly"})]})})})},W=function(e){var t=e.title,n=e.values,a=(e.key,e.highLights);return Object(r.jsx)(r.Fragment,{children:Object(r.jsxs)("div",{className:"flex border-b border-[#E4E4E4]",children:[Object(r.jsx)("div",{className:"titleColumn p-2",children:Object(r.jsx)("p",{className:"true"===a?"mt-[30px] mb-[20px] text-[#000] font-bold text-sm pl-[13px] ":"p-[13px] text-sm font-normal text-[#3D4144]  h-[67px]",children:t})}),n.map((function(e,t){return Object(r.jsx)("div",{className:"valueColumn",children:Object(r.jsx)("div",{children:Object(r.jsx)("div",{className:"p-2 text-center",children:"Yes"===e?Object(r.jsx)("div",{className:"flex items-center justify-center",children:Object(r.jsx)("img",{src:"/image/Yes.png",alt:"Yes",className:"true"===a?"mt-[30px] mb-[20px] text-sm font-bold":"p-[13px]  items-center  min-h-7"})}):"No"===e?Object(r.jsx)("div",{className:"flex items-center justify-center",children:Object(r.jsx)("img",{src:"/image/No.png",alt:"Yes",className:"true"===a?"mt-[30px] mb-[20px] text-sm font-bold":"p-[13px]  items-center  min-h-7"})}):Object(r.jsx)("p",{className:"true"===a?"mt-[30px] mb-[20px] text-sm font-bold":"p-[13px] text-sm font-normal text-[#3D4144] flex items-center justify-center h-[67px]",children:e})})},t)})}))]})})};return Object(r.jsxs)(r.Fragment,{children:[Object(r.jsx)(x.a,{isOpen:S,onClose:function(){C(!1)},children:Object(r.jsxs)("div",{className:"flex items-center justify-center h-[calc(100vh-140px)] w-[100%]",children:[R&&Object(r.jsxs)("div",{class:"loading",children:[Object(r.jsx)("span",{class:"loading__dot"}),Object(r.jsx)("span",{class:"loading__dot"}),Object(r.jsx)("span",{class:"loading__dot"})]}),Object(r.jsx)("iframe",{title:"Calendly",src:"https://calendly.com/riyoai_tapan/riyo-ai-insall-setup?month=2024-07",className:"h-[calc(100vh-140px)] w-[100%] ".concat(R?"hidden":""),onLoad:function(){U(!1)}})]})}),Object(r.jsxs)("div",{className:"text-dark pricingbg",children:[Object(r.jsx)(c.a,{googleAnalytics:!0,title:"riyo.ai | Pricing",metaDes:"Start your free 3-day trial today and get to know what your visitors behavior, understand their identity and close deals instantly with riyo.ai.",image:"/image/pricing-plan.png"}),Object(r.jsx)(u.a,{children:Object(r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(b.o)}})}),Object(r.jsx)(d.a,{}),Object(r.jsxs)("div",{className:"",children:[Object(r.jsx)("div",{className:"flex justify-center items-center w-screen headerbackground",children:Object(r.jsxs)("div",{className:"flex flex-col justify-center items-center lg:gap-5 gap-3 md:max-w-[74rem] xl:max-w-[84rem] lg:max-w-[74rem] lg:pt-20 md:px-8 md:pt-10 pt-3 p-5",children:[Object(r.jsxs)("h1",{className:"font-semibold text-2.5xl text-center leading-snug md:text-4.5xl xl:text-5.5xl lg:leading-tight lg:pb-6 ",children:["Value at Every",Object(r.jsx)("span",{className:"bg-gradient-to-l from-[#C9C6FF] to-[#FEFFFE] px-r border-r border-r-indigo-800",children:"Click."}),Object(r.jsx)("br",{}),"Invest in Insights."]}),Object(r.jsxs)("p",{className:"text-base text-center text-metro-white ",children:["Choose a plan that fits your journey, from startups to big enterprises. And ",Object(r.jsx)("br",{}),"start with our",Object(r.jsx)("a",{className:"font-semibold text-sm text-black ml-2",href:"https://app.riyo.ai/signup",children:"14 days free trial."})]}),Object(r.jsxs)("div",{className:"flex justify-center items-center ",children:[Object(r.jsxs)("div",{className:" flex flex-col rounded-full mb-14",children:[Object(r.jsx)("img",{src:"/image/Vector-46.svg",alt:"vector",className:"pl-8 h-9"}),Object(r.jsx)("span",{className:"font-light text-sm ml-2 mr-1 bg-white p-1 rounded-full text-[#635BFF]",children:"save 20%"})]}),Object(r.jsxs)("label",{className:"themeSwitcherTwo shadow-card relative inline-flex cursor-pointer select-none items-center justify-center rounded-full border mb-8 bg-white p-1",children:[Object(r.jsx)("input",{type:"checkbox",className:"sr-only",checked:V,onClick:function(){L((function(e){return"yearly"===e?"monthly":"yearly"}))}}),Object(r.jsx)("span",{className:"flex items-center space-x-[6px] rounded-full py-2 px-[18px] text-sm font-medium ".concat("yearly"===V?"bg-[#635BFF] text-[#E4E4E7]":"text-body-color"),children:"Yearly"}),Object(r.jsx)("span",{className:"flex items-center space-x-[6px] rounded-full py-2 px-[18px] text-sm font-medium ".concat("monthly"===V?"bg-[#635BFF] text-[#E4E4E7]":"text-body-color"),children:"Monthly"})]})]})]})}),Object(r.jsx)("section",{className:"text-gray-600 body-font mx-auto font-semibold overflow-auto bg-white py-3",children:Object(r.jsx)("div",{className:"mx-auto px-5 md:px-10 w-full lg:max-w-screen-4xl lg:min-w-700 relative",children:Object(r.jsx)("div",{children:Object(r.jsx)("div",{className:"overflow-x-auto ",children:Object(r.jsxs)("div",{className:"w-[1280px] mx-auto border rounded-2xl py-3 px-3 shadow-md bg-white",children:[Object(r.jsxs)("div",{className:"flex justify-around items-center",children:[Object(r.jsx)("div",{className:"invisible",children:Object(r.jsx)(z,{name:"Gp Yearly",monthlyPricing:"50",yearlyPricing:"60",include:"50"})}),b.m.map((function(e,t){return Object(r.jsx)(z,{name:e.planName,monthlyPricing:e.monthly,yearlyPricing:e.yearly,include:e.include},t)}))]}),Object(r.jsx)("div",{className:"bg-light-white1 py-3 ml-3 rounded-md px-2",children:Object(r.jsx)("h1",{children:"Features"})}),b.n.map((function(e,t){return Object(r.jsx)(r.Fragment,{children:Object(r.jsx)(W,{title:e.title,values:e.values,highLights:e.highLights},t)})}))]})})})})})]}),Object(r.jsxs)("div",{className:"pricingbg",children:[Object(r.jsx)("div",{className:" lg:pb-20  md:pb-12 pb-6",children:Object(r.jsx)("div",{className:" mx-auto md:px-10 px-5 2xl:px-0",children:Object(r.jsxs)("div",{className:"flex flex-col pt-4 lg:pt-20  xl:justify-center xl:items-center",children:[Object(r.jsx)("div",{className:"w-full xl:w-2/6 md:p-5 py-5 lg:p-0",children:Object(r.jsxs)("div",{className:"lg:text-4xl md:text-3xl text-2xl custom-line-height text-dark lg:mb-20 mb-7 custom-heading-center",children:[Object(r.jsx)("span",{className:"font-bold",children:"Why Marketers Turn To Us To Become"})," ","100% Data Driven"]})}),Object(r.jsx)("div",{className:"w-full xl:w-2/3 text-lg lg:pl-12 md:pl-6 md:px-5 lg:px-0",children:Object(r.jsx)(j,{className:"owl-theme min-h-335 review-slider",loop:!0,dots:!1,nav:!1,navText:['<svg xmlns="http://www.w3.org/2000/svg" height="28px" viewBox="0 0 24 24" width="28px" fill="#6a7bff"><path d="M0 0h24v24H0z" fill="none"/><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>','<svg xmlns="http://www.w3.org/2000/svg" height="28px" viewBox="0 0 24 24" width="28px" fill="#6a7bff"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>'],margin:30,animateIn:"linear",animateOut:"linear",navSpeed:"2000",smartSpeed:"1500",mouseDrag:"false",responsive:{0:{items:1},400:{items:1},740:{items:2.2},940:{items:2.2}},children:[{content:"riyo.ai is one of the essential companies generation tools in Notesally's tech stack. riyo.ai helps us by enabling us to convert a casual visitor to our site into a companies. I love that I can initiate a chat with a visitor using riyo.ai Realtime. Integrating riyo.ai was a no-brainer and their commitment to data privacy is also commendable",name:"Vivek G.",position:"Co-Founder",companyImageURL:"https://assets.traek.io/testimonials/vivek.jpeg"},{content:"I've been using riyo.ai software for a little over a year now, and I absolutely love it! It's saved me so much time and hassle when it comes to managing my business finances. The customer support is also excellent - they're always quick to respond to any questions or issues I have.",name:"Akshay S.",position:"CEO",companyImageURL:"https://assets.traek.io/testimonials/akshay.jpeg"},{content:"I am really glad I started using this product. Now I can see what happens on my website and also work on it. companies are more and we are happy. Amazing insights and UX, Very good traffic analytics. Chatting feature is an add on.",name:"Product Manager",position:"Product Manager",companyImageURL:"https://assets.traek.io/testimonials/rucha.jpeg"},{content:"The product has a good ability to show a point in time view of where you are. This helps with taking a proactive approach to mitigating risk.",name:"Product Owner",position:"Jacob H.",companyImageURL:"https://assets.traek.io/testimonials/jackob.jpeg"},{content:"We use riyo.ai to track the traffic trends of our website & are quite happy with its performance so far. It is a simple to use tool that offers rich analytics for website monitoring and companies generation. Customer mapping is largely simplified with riyo.ai now. Functional features galore at this analytical tool.",name:"Aadeeb S.",position:"Brand Manager",companyImageURL:"https://assets.traek.io/testimonials/aadeeb.jpeg"}].map((function(e,t){var n=e.name,a=e.content,o=e.position,i=e.companyImageURL;return Object(r.jsxs)("div",{className:"bg-white text-sm flex flex-col justify-between lg:text-base border my-6 rahul-shadow rounded-md text-left p-8",children:[Object(r.jsxs)("div",{className:"flex justify-between items-center",children:[Object(r.jsxs)("div",{className:"flex items-center",children:[Object(r.jsx)("div",{className:"mr-4 h-11 w-11 flex items-center justify-center",children:Object(r.jsx)("img",{src:i,className:"object-contain h-full w-full rounded-full"})}),Object(r.jsxs)("div",{class:"flex flex-col ",children:[Object(r.jsx)("h3",{className:"font-semibold pb-2 text-black",children:n}),Object(r.jsx)("h5",{className:"text-metro-white",children:o})]})]}),Object(r.jsx)("img",{src:"image/review-star.png",style:{width:"auto"}})]}),Object(r.jsx)("div",{className:"pb-3 font-medium ",children:a})]},t)}))})})]})})}),Object(r.jsxs)("div",{className:" bg-white",children:[Object(r.jsx)(h.a,{}),Object(r.jsx)(m.a,{faq1:[{question:"Is there a free trial available?",answer:"Yes, we offer a 14-day free trial with no credit card required. This allows you to explore riyo.ai\u2019s features and see how they fit your needs before committing."},{question:"What features are included in the free trial?",answer:"The free trial provides 1 user, 500 session recordings per month, 1-month data retention, and basic dashboard insights.."},{question:"How do I choose the right plan for my business?",answer:"Our pricing plans are designed to suit various business sizes and needs. You can compare features on our pricing page or contact our sales team for personalized recommendations. "},{question:"Can I switch plans later?",answer:"Yes, you can upgrade or downgrade your plan at any time. Simply contact our support team to adjust your subscription according to your changing needs. "},{question:"Are there any additional costs or hidden fees?",answer:"Our pricing is transparent, with no hidden fees. You will only pay for the features and services included in your chosen plan. "}],faq2:[{question:"What payment methods are accepted?",answer:"We accept major credit cards and other standard methods. Details can be found on our checkout page."},{question:"Do the plans include integration options?",answer:"Yes, integrations with Hubspot, Slack, and Google Search Console are available in Starter and Premium plans."},{question:"How can I upgrade my plan?",answer:"You can upgrade your plan directly from your riyo.ai account or contact support for assistance. "},{question:"What features are included in the free trial?",answer:"The free trial provides access to all core features, including real-time chat, AI chatbots, and analytics tools, so you can fully evaluate riyo.ai capabilities."},{question:"How is billing handled?",answer:"Billing is typically done on a monthly or annual basis, depending on the plan you choose. You will receive an invoice  and be charged according to your selected billing cycle."}]}),Object(r.jsx)("div",{className:"w-full relative bg-home lg:pt-16 pt-10 mb-10",children:Object(r.jsx)("div",{className:"max-w-7xl mx-auto",children:Object(r.jsx)("div",{className:"flex mob:flex-row flex-col-reverse gap-y-12 mob:justify-center items-center bg-[url('/image/linear-gradient.png')] rounded-xl mob:py-24 mob:px-28 sm:py-12 py-9 px-6",children:Object(r.jsxs)("div",{className:"text-center",children:[Object(r.jsx)("h1",{className:"2xl:text-4xl mob:text-[28px] md:text-lg text-md text-[#000000] mob:!leading-tight leading-normal font-semibold mb-6",children:"Need more guidance ?"}),Object(r.jsx)("p",{className:"text-[#000000]font-normal text-lg md:w-540",children:"riyo.ai's real-time chat and insight data will help you identify and engage your online visitor"}),Object(r.jsx)("div",{className:"inline-block py-3.5 px-7 mt-6 bg-[#000000] rounded text-[#FFFFFF] text-base text-center",onClick:function(){U(!0),C(!0)},children:Object(r.jsx)("h6",{children:"Schedule a Call"})}),Object(r.jsxs)("div",{className:"lg:flex-row md:flex-row flex flex-col lg:justify-center justify-center items-center my-5",children:[Object(r.jsxs)("p",{className:"flex md:mr-5  my-3 text-base text-[#000000] font-normal",children:[Object(r.jsx)("img",{className:"mr-2",src:"/image/gmail.svg"}),Object(r.jsx)("span",{children:"support@riyo.ai"})]}),Object(r.jsxs)("p",{className:"flex md:mx-4 my-3 text-base text-[#000000] font-normal",children:[Object(r.jsx)("img",{className:"mr-2",src:"/image/phone.svg"}),Object(r.jsx)("span",{children:"+91 98 79497579"})]})]})]})})})})]})]}),Object(r.jsx)(p.a,{})]})]})}},ZC60:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=b(n("q1tI")),i=b(n("17x9")),s=b(n("gKdT")),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("/r86")),u=b(n("8gXb")),c=b(n("vM2i")),p=b(n("bJGe")),d=b(n("ljmF")),h=b(n("m5FA")),m=b(n("ENlj")),f=n("+8LL"),y=n("/Nb1");function b(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n,r,a){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),a&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(a):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var g=(v((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.startValue=null,n.node=null,n.trackNode=null,n.isSliderDragging=!1,n.lastKeyMoved=null,n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,null,[{key:"propTypes",get:function(){return{allowSameValues:i.default.bool,ariaLabelledby:i.default.string,ariaControls:i.default.string,classNames:i.default.objectOf(i.default.string),disabled:i.default.bool,draggableTrack:i.default.bool,formatLabel:i.default.func,maxValue:p.default,minValue:p.default,name:i.default.string,onChangeStart:i.default.func,onChange:i.default.func.isRequired,onChangeComplete:i.default.func,step:i.default.number,value:d.default}}},{key:"defaultProps",get:function(){return{allowSameValues:!1,classNames:u.default,disabled:!1,maxValue:10,minValue:0,step:1}}}]),a(t,[{key:"componentWillUnmount",value:function(){this.removeDocumentMouseUpListener(),this.removeDocumentTouchEndListener()}},{key:"getComponentClassName",value:function(){return this.props.disabled?this.props.classNames.disabledInputRange:this.props.classNames.inputRange}},{key:"getTrackClientRect",value:function(){return this.trackNode.getClientRect()}},{key:"getKeyByPosition",value:function(e){var t=l.getValueFromProps(this.props,this.isMultiValue()),n=l.getPositionsFromValues(t,this.props.minValue,this.props.maxValue,this.getTrackClientRect());if(this.isMultiValue()&&(0,f.distanceTo)(e,n.min)<(0,f.distanceTo)(e,n.max))return"min";return"max"}},{key:"getKeys",value:function(){return this.isMultiValue()?["min","max"]:["max"]}},{key:"hasStepDifference",value:function(e){var t=l.getValueFromProps(this.props,this.isMultiValue());return(0,f.length)(e.min,t.min)>=this.props.step||(0,f.length)(e.max,t.max)>=this.props.step}},{key:"isMultiValue",value:function(){return(0,f.isObject)(this.props.value)}},{key:"isWithinRange",value:function(e){return this.isMultiValue()?e.min>=this.props.minValue&&e.max<=this.props.maxValue&&this.props.allowSameValues?e.min<=e.max:e.min<e.max:e.max>=this.props.minValue&&e.max<=this.props.maxValue}},{key:"shouldUpdate",value:function(e){return this.isWithinRange(e)&&this.hasStepDifference(e)}},{key:"updatePosition",value:function(e,t){var n=l.getValueFromProps(this.props,this.isMultiValue()),r=l.getPositionsFromValues(n,this.props.minValue,this.props.maxValue,this.getTrackClientRect());r[e]=t,this.lastKeyMoved=e,this.updatePositions(r)}},{key:"updatePositions",value:function(e){var t={min:l.getValueFromPosition(e.min,this.props.minValue,this.props.maxValue,this.getTrackClientRect()),max:l.getValueFromPosition(e.max,this.props.minValue,this.props.maxValue,this.getTrackClientRect())},n={min:l.getStepValueFromValue(t.min,this.props.step),max:l.getStepValueFromValue(t.max,this.props.step)};this.updateValues(n)}},{key:"updateValue",value:function(e,t){var n=l.getValueFromProps(this.props,this.isMultiValue());n[e]=t,this.updateValues(n)}},{key:"updateValues",value:function(e){this.shouldUpdate(e)&&this.props.onChange(this.isMultiValue()?e:e.max)}},{key:"incrementValue",value:function(e){var t=l.getValueFromProps(this.props,this.isMultiValue())[e]+this.props.step;this.updateValue(e,t)}},{key:"decrementValue",value:function(e){var t=l.getValueFromProps(this.props,this.isMultiValue())[e]-this.props.step;this.updateValue(e,t)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchEndListener",value:function(){this.removeDocumentTouchEndListener(),this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchEndListener",value:function(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleSliderDrag",value:function(e,t){var n=this;if(!this.props.disabled){var r=l.getPositionFromEvent(e,this.getTrackClientRect());this.isSliderDragging=!0,requestAnimationFrame((function(){return n.updatePosition(t,r)}))}}},{key:"handleTrackDrag",value:function(e,t){if(!this.props.disabled&&this.props.draggableTrack&&!this.isSliderDragging){var n=this.props,r=n.maxValue,a=n.minValue,o=n.value,i=o.max,s=o.min,u=l.getPositionFromEvent(e,this.getTrackClientRect()),c=l.getValueFromPosition(u,a,r,this.getTrackClientRect()),p=l.getStepValueFromValue(c,this.props.step),d=l.getPositionFromEvent(t,this.getTrackClientRect()),h=l.getValueFromPosition(d,a,r,this.getTrackClientRect()),m=l.getStepValueFromValue(h,this.props.step)-p,f={min:s-m,max:i-m};this.updateValues(f)}}},{key:"handleSliderKeyDown",value:function(e,t){if(!this.props.disabled)switch(e.keyCode){case y.LEFT_ARROW:case y.DOWN_ARROW:e.preventDefault(),this.decrementValue(t);break;case y.RIGHT_ARROW:case y.UP_ARROW:e.preventDefault(),this.incrementValue(t)}}},{key:"handleTrackMouseDown",value:function(e,t){if(!this.props.disabled){var n=this.props,r=n.maxValue,a=n.minValue,o=n.value,i=o.max,s=o.min;e.preventDefault();var u=l.getValueFromPosition(t,a,r,this.getTrackClientRect()),c=l.getStepValueFromValue(u,this.props.step);(!this.props.draggableTrack||c>i||c<s)&&this.updatePosition(this.getKeyByPosition(t),t)}}},{key:"handleInteractionStart",value:function(){this.props.onChangeStart&&this.props.onChangeStart(this.props.value),this.props.onChangeComplete&&!(0,f.isDefined)(this.startValue)&&(this.startValue=this.props.value)}},{key:"handleInteractionEnd",value:function(){this.isSliderDragging&&(this.isSliderDragging=!1),this.props.onChangeComplete&&(0,f.isDefined)(this.startValue)&&(this.startValue!==this.props.value&&this.props.onChangeComplete(this.props.value),this.startValue=null)}},{key:"handleKeyDown",value:function(e){this.handleInteractionStart(e)}},{key:"handleKeyUp",value:function(e){this.handleInteractionEnd(e)}},{key:"handleMouseDown",value:function(e){this.handleInteractionStart(e),this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function(e){this.handleInteractionEnd(e),this.removeDocumentMouseUpListener()}},{key:"handleTouchStart",value:function(e){this.handleInteractionStart(e),this.addDocumentTouchEndListener()}},{key:"handleTouchEnd",value:function(e){this.handleInteractionEnd(e),this.removeDocumentTouchEndListener()}},{key:"renderSliders",value:function(){var e=this,t=l.getValueFromProps(this.props,this.isMultiValue()),n=l.getPercentagesFromValues(t,this.props.minValue,this.props.maxValue);return(this.props.allowSameValues&&"min"===this.lastKeyMoved?this.getKeys().reverse():this.getKeys()).map((function(r){var a=t[r],i=n[r],s=e.props,l=s.maxValue,u=s.minValue;return"min"===r?l=t.max:u=t.min,o.default.createElement(h.default,{ariaLabelledby:e.props.ariaLabelledby,ariaControls:e.props.ariaControls,classNames:e.props.classNames,formatLabel:e.props.formatLabel,key:r,maxValue:l,minValue:u,onSliderDrag:e.handleSliderDrag,onSliderKeyDown:e.handleSliderKeyDown,percentage:i,type:r,value:a})}))}},{key:"renderHiddenInputs",value:function(){var e=this;if(!this.props.name)return[];var t=this.isMultiValue(),n=l.getValueFromProps(this.props,t);return this.getKeys().map((function(r){var a=n[r],i=t?""+e.props.name+(0,f.captialize)(r):e.props.name;return o.default.createElement("input",{key:r,type:"hidden",name:i,value:a})}))}},{key:"render",value:function(){var e=this,t=this.getComponentClassName(),n=l.getValueFromProps(this.props,this.isMultiValue()),r=l.getPercentagesFromValues(n,this.props.minValue,this.props.maxValue);return o.default.createElement("div",{"aria-disabled":this.props.disabled,ref:function(t){e.node=t},className:t,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart},o.default.createElement(c.default,{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"min"},this.props.minValue),o.default.createElement(m.default,{classNames:this.props.classNames,draggableTrack:this.props.draggableTrack,ref:function(t){e.trackNode=t},percentages:r,onTrackDrag:this.handleTrackDrag,onTrackMouseDown:this.handleTrackMouseDown},this.renderSliders()),o.default.createElement(c.default,{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"max"},this.props.maxValue),this.renderHiddenInputs())}}]),t}(o.default.Component)).prototype,"handleSliderDrag",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleSliderDrag"),r.prototype),v(r.prototype,"handleTrackDrag",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleTrackDrag"),r.prototype),v(r.prototype,"handleSliderKeyDown",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleSliderKeyDown"),r.prototype),v(r.prototype,"handleTrackMouseDown",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleTrackMouseDown"),r.prototype),v(r.prototype,"handleInteractionStart",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleInteractionStart"),r.prototype),v(r.prototype,"handleInteractionEnd",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleInteractionEnd"),r.prototype),v(r.prototype,"handleKeyDown",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyDown"),r.prototype),v(r.prototype,"handleKeyUp",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyUp"),r.prototype),v(r.prototype,"handleMouseDown",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),v(r.prototype,"handleMouseUp",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),v(r.prototype,"handleTouchStart",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),v(r.prototype,"handleTouchEnd",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchEnd"),r.prototype),r);t.default=g,e.exports=t.default},bJGe:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.maxValue,n=e.minValue;if(!(0,r.isNumber)(n)||!(0,r.isNumber)(t))return new Error('"minValue" and "maxValue" must be a number');if(n>=t)return new Error('"minValue" must be smaller than "maxValue"')};var r=n("+8LL");e.exports=t.default},cFYb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":r(e))},e.exports=t.default},gKdT:function(e,t,n){"use strict";function r(e){var t=void 0;return"undefined"!==typeof Reflect&&"function"===typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var n=Object.getOwnPropertyDescriptor(e.prototype,t);"function"===typeof n.value&&Object.defineProperty(e.prototype,t,a(e,t,n))}})),e}function a(e,t,n){var r=n.value;if("function"!==typeof r)throw new Error("@autobind decorator can only be applied to methods not: "+typeof r);var a=!1;return{configurable:!0,get:function(){if(a||this===e.prototype||this.hasOwnProperty(t))return r;var n=r.bind(this);return a=!0,Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),a=!1,n}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length?r.apply(void 0,t):a.apply(void 0,t)},e.exports=t.default},gav5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Math.abs(e-t)},e.exports=t.default},lcti:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t.default},ljmF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.maxValue,a=e.minValue,o=e[t];if(!(0,r.isNumber)(o)&&(!(0,r.isObject)(o)||!(0,r.isNumber)(o.min)||!(0,r.isNumber)(o.max)))return new Error('"'+t+'" must be a number or a range object');if((0,r.isNumber)(o)&&(o<a||o>n))return new Error('"'+t+'" must be in between "minValue" and "maxValue"');if((0,r.isObject)(o)&&(o.min<a||o.min>n||o.max<a||o.max>n))return new Error('"'+t+'" must be in between "minValue" and "maxValue"')};var r=n("+8LL");e.exports=t.default},m5FA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n("q1tI")),i=u(n("17x9")),s=u(n("gKdT")),l=u(n("vM2i"));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t,n,r,a){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),a&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(a):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var p=(c((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.node=null,n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,null,[{key:"propTypes",get:function(){return{ariaLabelledby:i.default.string,ariaControls:i.default.string,classNames:i.default.objectOf(i.default.string).isRequired,formatLabel:i.default.func,maxValue:i.default.number,minValue:i.default.number,onSliderDrag:i.default.func.isRequired,onSliderKeyDown:i.default.func.isRequired,percentage:i.default.number.isRequired,type:i.default.string.isRequired,value:i.default.number.isRequired}}}]),a(t,[{key:"componentWillUnmount",value:function(){this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener(),this.removeDocumentTouchEndListener(),this.removeDocumentTouchMoveListener()}},{key:"getStyle",value:function(){return{position:"absolute",left:100*(this.props.percentage||0)+"%"}}},{key:"addDocumentMouseMoveListener",value:function(){this.removeDocumentMouseMoveListener(),this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchMoveListener",value:function(){this.removeDocumentTouchMoveListener(),this.node.ownerDocument.addEventListener("touchmove",this.handleTouchMove)}},{key:"addDocumentTouchEndListener",value:function(){this.removeDocumentTouchEndListener(),this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseMoveListener",value:function(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchMoveListener",value:function(){this.node.ownerDocument.removeEventListener("touchmove",this.handleTouchMove)}},{key:"removeDocumentTouchEndListener",value:function(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleMouseDown",value:function(){this.addDocumentMouseMoveListener(),this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function(){this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener()}},{key:"handleMouseMove",value:function(e){this.props.onSliderDrag(e,this.props.type)}},{key:"handleTouchStart",value:function(){this.addDocumentTouchEndListener(),this.addDocumentTouchMoveListener()}},{key:"handleTouchMove",value:function(e){this.props.onSliderDrag(e,this.props.type)}},{key:"handleTouchEnd",value:function(){this.removeDocumentTouchMoveListener(),this.removeDocumentTouchEndListener()}},{key:"handleKeyDown",value:function(e){this.props.onSliderKeyDown(e,this.props.type)}},{key:"render",value:function(){var e=this,t=this.getStyle();return o.default.createElement("span",{className:this.props.classNames.sliderContainer,ref:function(t){e.node=t},style:t},o.default.createElement(l.default,{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"value"},this.props.value),o.default.createElement("div",{"aria-labelledby":this.props.ariaLabelledby,"aria-controls":this.props.ariaControls,"aria-valuemax":this.props.maxValue,"aria-valuemin":this.props.minValue,"aria-valuenow":this.props.value,className:this.props.classNames.slider,draggable:"false",onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,role:"slider",tabIndex:"0"}))}}]),t}(o.default.Component)).prototype,"handleMouseDown",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),c(r.prototype,"handleMouseUp",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),c(r.prototype,"handleMouseMove",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseMove"),r.prototype),c(r.prototype,"handleTouchStart",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),c(r.prototype,"handleTouchMove",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchMove"),r.prototype),c(r.prototype,"handleTouchEnd",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchEnd"),r.prototype),c(r.prototype,"handleKeyDown",[s.default],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyDown"),r.prototype),r);t.default=p,e.exports=t.default},nZqt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return Math.min(Math.max(e,t),n)},e.exports=t.default},vM2i:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=o(n("q1tI")),a=o(n("17x9"));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.formatLabel?e.formatLabel(e.children,e.type):e.children;return r.default.createElement("span",{className:e.classNames[e.type+"Label"]},r.default.createElement("span",{className:e.classNames.labelContainer},t))}i.propTypes={children:a.default.node.isRequired,classNames:a.default.objectOf(a.default.string).isRequired,formatLabel:a.default.func,type:a.default.string.isRequired},e.exports=t.default}},[["5CJo",0,2,1,3,4,6,8]]]);