(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2090],{73955:function(t,e,n){var r=n(79833),o=0;t.exports=function(t){var e=++o;return r(t)+e}},2090:function(t,e,n){"use strict";n.r(e);var r=n(59499),o=n(90116),i=n(53967),a=n.n(i),c=n(67294),l=n(73935),s=n(25617),f=n(73955),d=n.n(f),u=n(67314),v=n(86399),h=n(1515),m=n(29989),p=n(2287),x=n(85893);function b(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function g(t){for(var e=1;e0&&(t.forEach(function(t){var e=t.fragment,n=t.lockText;n.classList.remove("hide-text-below"),n.classList.remove("limit-height"),n.classList.remove("overflow-hidden"),n.style.height="auto",e&&e.remove()}),j([]))},[]);return(0,c.useEffect)(function(){return function(){_(b)}},[b,_]),(0,c.useEffect)(function(){if(0===b.length){var t=document.querySelectorAll(".lock-text, .lock-text-block");t.length&&(i?(0,h.K)(navigator.userAgent)&&E(Array.from(t).filter(function(t){var e;return null===(e=t.dataset)||void 0===e?void 0:e.href})):E(t))}},[E,O,i,b]),(0,x.jsxs)(x.Fragment,{children:[b.map(function(t){var o=t.fragment,i=t.text,a=t.btnClass,s=t.id,f=t.href;return(0,x.jsx)(c.Fragment,{children:(0,l.createPortal)((0,x.jsxs)("button",{onClick:function(t){f&&(0,h.K)(navigator.userAgent)?(m.Z.handleSingleEvents({eventType:"text_lock_btn",title:"Text Lock Button",value:f}),window.location=f):k((0,v.p)(p.Q.LEAD,{additionalData:g({lead_type:"lock-text",exam_id:e.id,exam_short_name:e.shortForm,page_name:"exams_govt_".concat(r)},n&&{news_id:n}),verify:492===e.id,title:"Unlock"},null==t?void 0:t.target))},type:"button",className:"jsx-4061967686 "+"btn ".concat(a),children:[(0,x.jsx)("span",{className:"jsx-4061967686 icon me-1 mt-n4",children:(0,x.jsx)(y,{fill:"#fff"})}),i]}),o)},s)}),(0,x.jsx)(a(),{id:"4061967686",children:[".overlay{z-index:0;max-height:180px;content:'';left:0;bottom:76px;background:linear-gradient(to top,#ffffffff,#ffffff00);}",".lock-text-button > .btn{z-index:1;}",".hide-text-below,.hide-text-below ~ *{display:none;}"]})]})}}}]);