1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[727],{5789:function(t,n,e){"use strict";n.Z=void 0;var i=e(38614);n.Z=i.Col},55673:function(t,n,e){"use strict";n.Z=void 0;var i=e(38614);n.Z=i.Row},5046:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/terms-n-conditions",function(){return e(26705)}])},55436:function(t,n,e){"use strict";e.d(n,{l:function(){return i.l}});var i=e(41132)},26705:function(t,n,e){"use strict";e.r(n);var i=e(82729),c=e(35944),o=e(67366),r=e(7500),a=e(55673),d=e(5789),s=e(67294),l=e(30653),u=e(55436),p=e(54435),f=e(80536),h=e(18154),b=e(11163),m=e(25617),_=e(96945);function _templateObject(){let t=(0,i._)(["\n display: flex;\n ","\n justify-content : start;\n"]);return _templateObject=function(){return t},t}function _templateObject1(){let t=(0,i._)(["\n .tnc-view {\n margin-bottom: 30px;\n }\n"]);return _templateObject1=function(){return t},t}function _templateObject2(){let t=(0,i._)(["\n height: 8px;\n background-color: #dddddd;\n .border {\n width: 35%;\n height: 8px;\n background-color: #eb2127;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n }\n"]);return _templateObject2=function(){return t},t}let v=(0,o.iv)(_templateObject(),(0,f.mq)({padding:["30px 0 24px 0","30px 0 24px 0","58px 0 24px 0"]})),Z=(0,o.iv)(_templateObject1()),g=(0,o.iv)(_templateObject2());n.default=function(){let t=(0,b.useRouter)(),{token:n}=(0,m.v9)(t=>t.auth),{shops:e=[]}=(0,m.v9)(t=>t.shop),i=!!n&&e.length>0,{tncAcceptanceHistory:o,tncDescription:f}=(0,m.v9)(t=>t.dashboard),k=(0,m.I0)();(0,s.useEffect)(()=>{k((0,_.MQ)(null==o?void 0:o.currentTncVersion))},[k,o]);let goBack=()=>{i?t.back():t.push({pathname:"/sign-up"})};return(0,c.BX)("div",{children:[(0,c.tZ)(u.l,{}),!i&&(0,c.tZ)("div",{css:g,children:(0,c.tZ)("div",{className:"border"})}),(0,c.tZ)(a.Z,{children:(0,c.BX)(d.Z,{xs:{span:22,offset:1},sm:{span:22,offset:1},md:{span:16,offset:4},xl:{span:16,offset:4},children:[i&&(0,c.tZ)("div",{style:{marginTop:20},children:(0,c.BX)("a",{style:{color:"red",fontSize:16,fontFamily:"Lato"},onClick:()=>goBack(),"data-testid":"tnc-go-back-button",children:[(0,c.tZ)(r.default,{})," Go Back"]})}),(0,c.tZ)("div",{css:v,children:(0,c.tZ)(p.x.Caption,{children:"Terms and conditions"})}),(0,c.tZ)("section",{css:Z,children:(0,c.tZ)("div",{className:"tnc-view",children:(0,l.ZP)(null==f?void 0:f.description)})}),i&&(0,c.tZ)("div",{style:{marginTop:40,marginBottom:40},children:(0,c.tZ)("a",{onClick:goBack,"data-testid":"tnc-go-back-button-2",children:(0,c.tZ)(h.C9,{text:"Go Back"})})})]})})]})}},50247:function(){}},function(t){t.O(0,[5820,5400,2094,2891,1418,729,1664,8614,6546,4298,6486,6697,1939,1024,550,2668,653,77,1132,9774,2888,179],function(){return t(t.s=5046)}),_N_E=t.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.