PageSourceSearch

https://www.unitag.io/_next/static/chunks/pages/pricing-calculator-5b0776bc704e3b42.js

js unitag.io collected 2026-10-09 22:47:45 UTC 16,270 bytes, 52 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7555],{83092:(e,r,a)=>{"use strict";a.d(r,{A:()=>i});var t=a(40925),n=a(37876);let i=(0,t.A)((0,n.jsx)("path",{d:"M12.16 3h-.32L9.21 8.25h5.58zm4.3 5.25h5.16L19 3h-5.16zm4.92 1.5h-8.63V20.1zM11.25 20.1V9.75H2.62zM7.54 8.25 10.16 3H5L2.38 8.25z"}),"Diamond")},90207:(e,r,a)=>{"use strict";a.r(r),a.d(r,{__N_SSP:()=>ea,default:()=>et});var t=a(18153),n=a(14232),i=a(82702),o=a(58347),l=a(5767),s=a(1521),c=a(9092),d=a(29351),u=a(69241),p=a(13323),m=a(11870),h=a(38993),b=a(34401),f=a(10493),y=a(49429),g=a(96968),v=a(65559),k=a(14457),A=a(21849);function _(e){return(0,A.Ay)("MuiLinearProgress",e)}(0,k.A)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var C=a(37876);let Y=(0,h.i7)`
2  0% {
3    left: -35%;
4    right: 100%;
5  }
6
7  60% {
8    left: 100%;
9    right: -90%;
10  }
11
12  100% {
13    left: 100%;
14    right: -90%;
15  }
16`,x="string"!=typeof Y?(0,h.AH)`
17        animation: ${Y} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
18      `:null,w=(0,h.i7)`
19  0% {
20    left: -200%;
21    right: 100%;
22  }
23
24  60% {
25    left: 107%;
26    right: -8%;
27  }
28
29  100% {
30    left: 107%;
31    right: -8%;
32  }
33`,z="string"!=typeof w?(0,h.AH)`
34        animation: ${w} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
35      `:null,S=(0,h.i7)`
36  0% {
37    opacity: 1;
38    background-position: 0 -23px;
39  }
40
41  60% {
42    opacity: 0;
43    background-position: 0 -23px;
44  }
45
46  100% {
47    opacity: 1;
48    background-position: -200px -23px;
49  }
50`,F="string"!=typeof S?(0,h.AH)`
51        animation: ${S} 3s infinite linear;
52      `:null,V=(e,r)=>e.vars?e.vars.palette.LinearProgress[`${r}Bg`]:"light"===e.palette.mode?e.lighten(e.palette[r].main,.62):e.darken(e.palette[r].main,.5),$=(0,b.Ay)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:a}=e;return[r.root,r[`color${(0,v.A)(a.color)}`],r[a.variant]]}})((0,f.A)(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter((0,y.A)()).map(([r])=>({props:{color:r},style:{backgroundColor:V(e,r)}})),{props:({ownerState:e})=>"inherit"===e.color&&"buffer"!==e.variant,style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),D=(0,b.Ay)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,r)=>{let{ownerState:a}=e;return[r.dashed,r[`dashedColor${(0,v.A)(a.color)}`]]}})((0,f.A)(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter((0,y.A)()).map(([r])=>{let a=V(e,r);return{props:{color:r},style:{backgroundImage:`radial-gradient(${a} 0%, ${a} 16%, transparent 42%)`}}})]})),F||{animation:`${S} 3s infinite linear`}),P=(0,b.Ay)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,r)=>{let{ownerState:a}=e;return[r.bar,r.bar1,r[`barColor${(0,v.A)(a.color)}`],("indeterminate"===a.variant||"query"===a.variant)&&r.bar1Indeterminate,"determinate"===a.variant&&r.bar1Determinate,"buffer"===a.variant&&r.bar1Buffer]}})((0,f.A)(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter((0,y.A)()).map(([r])=>({props:{color:r},style:{backgroundColor:(e.vars||e).palette[r].main}})),{props:{variant:"determinate"},style:{transition:"transform .4s linear"}},{props:{variant:"buffer"},style:{zIndex:1,transition:"transform .4s linear"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:x||{animation:`${Y} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),j=(0,b.Ay)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,r)=>{let{ownerState:a}=e;return[r.bar,r.bar2,r[`barColor${(0,v.A)(a.color)}`],("indeterminate"===a.variant||"query"===a.variant)&&r.bar2Indeterminate,"buffer"===a.variant&&r.bar2Buffer]}})((0,f.A)(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter((0,y.A)()).map(([r])=>({props:{color:r},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[r].main}})),{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"!==e.color,style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"===e.color,style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter((0,y.A)()).map(([r])=>({props:{color:r,variant:"buffer"},style:{backgroundColor:V(e,r),transition:"transform .4s linear"}})),{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:z||{animation:`${w} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),I=n.forwardRef(function(e,r){let a=(0,g.b)({props:e,name:"MuiLinearProgress"}),{className:t,color:n="primary",value:i,valueBuffer:o,variant:l="indeterminate",...s}=a,c={...a,color:n,variant:l},d=(e=>
52{let{classes:r,variant:a,color:t}=e,n={root:["root",`color${(0,v.A)(t)}`,a],dashed:["dashed",`dashedColor${(0,v.A)(t)}`],bar1:["bar","bar1",`barColor${(0,v.A)(t)}`,("indeterminate"===a||"query"===a)&&"bar1Indeterminate","determinate"===a&&"bar1Determinate","buffer"===a&&"bar1Buffer"],bar2:["bar","bar2","buffer"!==a&&`barColor${(0,v.A)(t)}`,"buffer"===a&&`color${(0,v.A)(t)}`,("indeterminate"===a||"query"===a)&&"bar2Indeterminate","buffer"===a&&"bar2Buffer"]};return(0,p.A)(n,_,r)})(c),h=(0,m.I)(),b={},f={},y={};if(("determinate"===l||"buffer"===l)&&void 0!==i){b["aria-valuenow"]=Math.round(i),b["aria-valuemin"]=0,b["aria-valuemax"]=100;let e=i-100;h&&(e=-e),f.transform=`translateX(${e}%)`}if("buffer"===l&&void 0!==o){let e=(o||0)-100;h&&(e=-e),y.transform=`translateX(${e}%)`}return(0,C.jsxs)($,{className:(0,u.A)(d.root,t),ownerState:c,role:"progressbar",...b,ref:r,...s,children:["buffer"===l?(0,C.jsx)(D,{className:d.dashed,ownerState:c}):null,(0,C.jsx)(P,{className:d.bar1,ownerState:c,style:f}),"determinate"===l?null:(0,C.jsx)(j,{className:d.bar2,ownerState:c,style:y})]})});var W=a(24661),L=a(73849),M=a(70677),R=a(19538),q=a(22554),B=a(77319),N=a(83092),E=a(60894),O=a(75283),K=a(22250),H=a(69750),T=a(84416),X=a(48230),G=a.n(X);function U(e){let{plan:r,currency:a,t:n,i:l}=e;return(0,t.Y)(t.FK,{children:(0,t.Y)(o.A,{size:{xs:11,md:6},children:(0,t.FD)(c.A,{variant:"outlined",sx:{p:3,position:"relative",zIndex:2},children:[1===l&&(0,t.Y)(O.A,{label:n("upsale"),size:"small",sx:{position:"absolute",top:"-12px",left:10,zIndex:3,fontWeight:600,backgroundColor:"standalone"===r.key?"standalone.main":"diamond"===r.key?"diamond.crazy":r.key+".main"}}),(0,t.FD)(o.A,{container:!0,spacing:2,justifyContent:"center",children:[(0,t.Y)(o.A,{size:12,children:(0,t.FD)(d.A,{direction:"row",spacing:2,alignItems:"center",justifyContent:"center",children:[(0,t.Y)(K.A,{sx:{pointerEvents:"none",borderRadius:1,backgroundColor:"standalone"===r.key?"standalone.main":"diamond"===r.key?"diamond.crazy":r.key+".main",color:"white"},children:r.icon}),(0,t.Y)(i.A,{fontWeight:900,sx:{color:"standalone"===r.key?"standalone.main":"diamond"===r.key?"diamond.crazy":r.key+".main"},children:r.label.toUpperCase()})]})}),(0,t.FD)(o.A,{size:12,children:[(0,t.FD)(i.A,{fontWeight:800,fontSize:28,align:"center",children:[(0,T.$g)(r.price,a),"\xa0",(0,t.Y)("span",{style:{fontWeight:300,fontSize:12},children:n("pricing:without_vat")})]}),(0,t.Y)(H.A,{sx:{mb:2}}),(0,t.Y)(i.A,{fontWeight:600,align:"center",children:n(`pricing:${r.top}`)}),(0,t.Y)(i.A,{variant:"body2",align:"center",mt:2,children:n("pricing:"+r.calculator)})]}),(0,t.FD)(o.A,{container:!0,spacing:2,size:{xs:12,md:6},children:[(0,t.Y)(o.A,{size:12,children:(0,t.Y)(W.A,{variant:"contained",disableElevation:!0,color:"primary",fullWidth:!0,onClick:r.onClick,id:`tmty-calculator-result-signup-${r.key}`,children:n("pricing:start_free_trial")})}),(0,t.Y)(o.A,{size:12,children:(0,t.Y)(G(),{href:"/pricing/qr-plans",passHref:!0,children:(0,t.Y)(W.A,{variant:"outlined",color:"secondary",fullWidth:!0,id:`tmty-calculator-result-qr-plans-${r.key}`,children:n("compare_plans")})})})]})]})]})},l)})}var J=a(76686),Q=a(40925);let Z=(0,Q.A)((0,C.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M9.29 16.29 5.7 12.7a.996.996 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0L10 14.17l6.88-6.88c.39-.39 1.02-.39 1.41 0s.39 1.02 0 1.41l-7.59 7.59c-.38.39-1.02.39-1.41 0"}),"CheckCircleRounded"),ee=(0,Q.A)((0,C.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"PanoramaFishEyeRounded");function er(e){let{label:r,checked:a,onChange:n}=e;return(0,t.Y)(l.A,{onClick:()=>n(),sx:{width:"100%",display:"flex",borderRadius:3,my:1},children:(0,t.Y)(c.A,{variant:"outlined",sx:{px:2,py:1,borderRadius:"inherit",width:"inherit",backgroundColor:a?"diamond.light":"transparent",transition:".25s ease-in-out",borderColor:a?"diamond.dark":"divider"},children:(0,t.FD)(d.A,{direction:"row",spacing:2,alignItems:"center",sx:{py:1},children:[(0,t.Y)(J.A,{sx:{pt:"4px"},children:a?(0,t.Y)(Z,{color:"secondary"}):(0,t.Y)(ee,{})}),(0,t.Y)(i.A,{children:r})]})})})}var ea=!0;let et=()=>{let{t:e}=(0,L.useTranslation)(["qrcodes-calculator","pricing"]),{subscriptions:r}=function(e){let{prices:r}=(0,M.X)(),a=r=>r?"monthly"===e?r.monthly:r.yearly.toFixed(2):0;return{subscriptions:{plans:[{label:"Silver",key:"silver",top:"silver_text",sub:"silver_sub",calculator:"silver_calc",icon:(0,t.Y)(R.A,{}),onClick:()=>window.location.href="https://console.unitag.io/signup?product=standard",price:a(r[0])},{label:"Gold",key:"gold",top:"gold_text",sub:"gold_sub",calculator:"gold_calc",icon:(0,t.Y)(q.A,{}),onClick:()=>window.location.href="https://console.unitag.io/signup?product=gold",price:a(r[1])},{label:"Platinum",key:"platinum",top:"platinum_text",sub:"platinum_sub",calculator:"platinum_calc",icon:(0,t.Y)(B.A,{}),onClick:()=>window.location.href="https://console.unitag.io/signup?product=platinum",price:a(r[2])},{label:"Diamond",key:"diamond",top:"diamond_text",sub:"diamond_sub",calculator:"diamond_calc",icon:(0,t.Y)(N.A,{}),onClick:()=>window.location.href="https://unitag.io/contact",price:a(r.find(e=>"diamond"===e.name))}]}}}("monthly"),{currency:a}=(0,M.X)(),[u,p]=n.useState(1),[m,h]=n.useState(0),[b,f]=n.useState({marketing:!1,education:!1,retail:!1,health:!1,cosmetics:!1,logistics:!1,restau:!1,food:!1,manuf:!1,fashion:!1,other:!1}),[y,g]=n.useState({scansNumber:!1,granularity:!1,detailed:!1,roi:!1}),[v,k]=n.useState({one:!1,more:!1,organisations:!1,departments:!1}),[A,_]=n.useState(!1),[C,Y]=n.useState({silver:!0,gold:!1,platinum:!1,diamond:!1}
52),[x,w]=(0,n.useState)([]);(0,n.useEffect)(()=>{z()},[b,y,v,A]),(0,n.useEffect)(()=>{S()},[C]);let z=()=>{Y({silver:b.marketing||b.education||b.other||y.scansNumber||v.one,gold:b.retail||b.restau||b.fashion||y.granularity||v.more,platinum:b.health||b.cosmetics||b.logistics||b.food||b.manuf||y.detailed||v.organisations||v.departments,diamond:y.roi||A})},S=()=>{C.diamond?w([r.plans[3]]):C.platinum?w([r.plans[2],r.plans[3]]):C.gold?w([r.plans[1],r.plans[2]]):w([r.plans[0],r.plans[1]])},F=()=>({one:()=>{let r=[{label:"s1_1",key:"marketing",value:b,setValue:f},{label:"s1_2",key:"education",value:b,setValue:f},{label:"s1_3",key:"retail",value:b,setValue:f},{label:"s1_4",key:"health",value:b,setValue:f},{label:"s1_5",key:"cosmetics",value:b,setValue:f},{label:"s1_6",key:"logictics",value:b,setValue:f},{label:"s1_8",key:"restau",value:b,setValue:f},{label:"s1_9",key:"food",value:b,setValue:f},{label:"s1_10",key:"manuf",value:b,setValue:f},{label:"s1_12",key:"fashion",value:b,setValue:f},{label:"s1_13",key:"other",value:b,setValue:f}];return(0,t.FD)(t.FK,{children:[(0,t.Y)(i.A,{mb:3,fontWeight:700,fontSize:24,mt:4,children:e("s1_title")}),(0,t.Y)(o.A,{container:!0,columnSpacing:1,rowSpacing:0,children:r.map((r,a)=>(0,t.Y)(o.A,{size:{xs:12,md:6},children:(0,t.Y)(er,{label:e(r.label),checked:r.value[r.key],onChange:()=>r.setValue({...r.value,[r.key]:!r.value[r.key]})})},a))})]})},two:()=>{let r=[{label:"s2_1",key:"scansNumber",value:y,setValue:g},{label:"s2_2",key:"granularity",value:y,setValue:g},{label:"s2_3",key:"detailed",value:y,setValue:g},{label:"s2_4",key:"roi",value:y,setValue:g}];return(0,t.FD)(t.FK,{children:[(0,t.Y)(i.A,{mb:3,fontWeight:700,fontSize:24,mt:4,children:e("s2_title")}),r.map((r,a)=>(0,t.Y)(er,{label:e(r.label),checked:r.value[r.key],onChange:()=>r.setValue({...r.value,[r.key]:!r.value[r.key]})},a))]})},three:()=>{let r=[{label:"s3_1",key:"one",value:v,setValue:k},{label:"s3_2",key:"more",value:v,setValue:k},{label:"s3_3",key:"organisations",value:v,setValue:k},{label:"s3_4",key:"departments",value:v,setValue:k}];return(0,t.FD)(t.FK,{children:[(0,t.Y)(i.A,{mb:3,fontWeight:700,fontSize:24,mt:4,children:e("s3_title")}),r.map((r,a)=>(0,t.Y)(er,{label:e(r.label),checked:r.value[r.key],onChange:()=>r.setValue({...r.value,[r.key]:!r.value[r.key]})},a))]})},four:()=>(0,t.FD)(t.FK,{children:[(0,t.Y)(i.A,{mb:3,fontWeight:700,fontSize:24,mt:4,children:e("s5_title")}),(0,t.Y)(er,{label:e("sso_yes"),checked:A,onChange:()=>_(!A)}),(0,t.Y)(er,{label:e("sso_no"),checked:!A,onChange:()=>_(!A)})]}),recommendation:()=>(0,t.FD)(t.FK,{children:[(0,t.Y)(i.A,{fontWeight:800,fontSize:40,my:4,align:"center",children:e("we_recommend")}),(0,t.Y)(o.A,{container:!0,justifyContent:"center",spacing:2,children:!!x&&!!x.length&&x.map((r,n)=>(0,t.Y)(U,{plan:r,currency:a,t:e,i:n},n))})]})});return(0,t.FD)(t.FK,{children:[(0,t.Y)(E.Yo,{title:e("calculator_head"),description:e("calculator_description"),url:"pricing-calculator"}),(0,t.Y)("div",{style:{marginBottom:80},children:(0,t.FD)(s.A,{maxWidth:"md",children:[(0,t.Y)(i.A,{align:"center",variant:"h3",component:"h1",mt:4,fontWeight:700,children:e("calculator_title")}),(0,t.Y)(i.A,{align:"center",variant:"body1",children:e("calculator_subtitle")}),(0,t.FD)(c.A,{variant:"outlined",sx:{p:4,borderRadius:4,mt:4},children:[(0,t.Y)(d.A,{direction:"row",justifyContent:"space-between",mb:1,children:(0,t.Y)(t.FK,{children:[{label:"1_short",value:0},{label:"2_short",value:33},{label:"3_short",value:66},{label:"5_short",value:96}].map((r,a)=>(0,t.Y)(l.A,{onClick:()=>{var e;return e=r.value,void(p(a+1),h(e))},sx:{borderRadius:5,p:"4px"},children:(0,t.Y)(i.A,{variant:"body2",fontWeight:u>a?700:400,children:e(r.label)})},a))})}),(0,t.Y)(I,{color:"secondary",value:m,variant:"determinate",sx:{height:10,borderRadius:5}}),(()=>{switch(u){case 1:return F().one();case 2:return F().two();case 3:return F().three();case 4:return F().four();case 5:return F().recommendation();default:return null}})(),(0,t.FD)(d.A,{direction:"row",justifyContent:"space-between",mt:4,children:[(0,t.Y)(W.A,{sx:{color:"black"},onClick:()=>(window.scrollTo({top:0,left:0,behavior:"smooth"}),u<=1)?null:2===u?(h(0),p(1),null):5===u?(h(96),p(4),null):(h(m-33),p(u-1),null),children:e("common:Back")}),u<5&&(0,t.Y)(W.A,{variant:"contained",disableElevation:!0,color:"secondary",onClick:()=>void(window.scrollTo({top:0,left:0,behavior:"smooth"}),u<4?(p(u+1),h(m+32)):4===u&&(h(100),p(5))),children:e("common:next")})]})]})]})})]})}},91518:(e,r,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/pricing-calculator",function(){return a(90207)}])}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=91518)),_N_E=e.O()}]);

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.