1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[346],{35571:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/guides/[slug]/questions",function(){return t(26978)}])},51821:function(n,e,t){"use strict";t.d(e,{r:function(){return i}});var l=t(34155);let i=(void 0!==l&&l.env.NEXT_PUBLIC_PDFJS_WORKER_URL?l.env.NEXT_PUBLIC_PDFJS_WORKER_URL:"")||"/pdf.worker.min.mjs"},895:function(n,e,t){"use strict";t.d(e,{d7:function(){return h},c0:function(){return E},aD:function(){return g}});var l,i=t(51821),o=t(78756),u=t.n(o),r=t(58828),s=t.n(r);async function a(n){return(await u()().use(s()).process(n)).toString()}var d=t(52736),c=t(6814),v=t(9102),f=t(34155);let g="REPHRASELY"==d.env.SKIN?c.oH.name:"Paraphrase Tool",h=async n=>{var e,l;let o=await Promise.all([t.e(4928),t.e(8764)]).then(t.bind(t,28541));o.GlobalWorkerOptions.workerSrc=i.r;let u=o.getDocument(URL.createObjectURL(n)),r=await u.promise,s=null==r?void 0:r.numPages,a=[];for(let n=1;n<=s;n++)a.push(null==r?void 0:null===(e=r.getPage(n))||void 0===e?void 0:e.then(n=>null==n?void 0:n.getTextContent()));let d=await Promise.all(a),c=[];for(let n=0;n<(null==d?void 0:d.length);n++){let e=null==d?void 0:null===(l=d[n].items.map(n=>null==n?void 0:n.str))||void 0===l?void 0:l.join(" ");c.push(e)}let v="";return c.forEach(n=>{v=v+"\n"+n}),v},_=(null===(l=f.env.SKIN)||void 0===l?void 0:l.trim())==="REPHRASELY"?d.env.endPoints.REPHRASELY.GUIDES:d.env.endPoints.PARAPHRASETOOL.GUIDES,E=async n=>{let e;let t={};try{let i=await fetch("".concat(d.env.apiUrls.firebaseApiUrl,"/").concat(_,"/").concat(n));if((null==i?void 0:i.status)!==200)return console.log("error while fetching guide details",null==i?void 0:i.status),null;e=await i.json();let o=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,t={};return n.forEach(n=>{var l;t[n]=null==e?void 0:null===(l=e[n])||void 0===l?void 0:l.stringValue}),t}(v.P2,null==e?void 0:e.fields);for(let n of Object.keys(o)){var l;t[n]=await a(null!==(l=o[n])&&void 0!==l?l:"")}e={...e.fields,content:t}}catch(n){console.log("error while fetching guide details",n),e=null}return e}},77847:function(n,e,t){"use strict";var l=t(67294),i=t(11163),o=t(45007),u=t(12514),r=t(895);e.Z=n=>{let{data:e}=(0,o.v9)(n=>n.guide),t=(0,o.I0)(),s=(0,i.useRouter)(),a=async()=>{t((0,u.Of)(!0));let e=await (0,r.c0)(s.query.slug);if(!e){await s.push("/404");return}t((0,u.Of)(!1)),t((0,u.VA)(e)),t((0,u.qP)(n))};return(0,l.useEffect)(()=>{!e&&s.query.slug&&a()},[e,s.query.slug]),null}}
1,26978:function(n,e,t){"use strict";t.r(e);var l=t(85893),i=t(45007),o=t(81776),u=t(71959),r=t(33171),s=t(77847),a=t(895),d=t(9102),c=t(29098),v=t.n(c);e.default=()=>{var n,e,t,c,f,g,h;let{data:_,guideLoading:E}=(0,i.v9)(n=>n.guide);return(0,s.Z)(d.tu.QUESTIONS),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Z,{title:(null==_?void 0:null===(n=_.Title)||void 0===n?void 0:n.stringValue)?"".concat(null==_?void 0:null===(e=_.Title)||void 0===e?void 0:e.stringValue,"-").concat(a.aD):"",description:(null==_?void 0:null===(t=_.Metadescription)||void 0===t?void 0:t.stringValue)?null==_?void 0:null===(c=_.Metadescription)||void 0===c?void 0:c.stringValue:"",keywords:"",lang:"en"}),(0,l.jsx)(o.Z,{slug:null==_?void 0:null===(f=_.Slug)||void 0===f?void 0:f.stringValue,data:_,children:E||_?(0,l.jsxs)("div",{className:"".concat(v().markdown," textColorPrimary"),children:[(0,l.jsx)("h1",{className:"guide-title",dangerouslySetInnerHTML:{__html:null==_?void 0:null===(g=_.content)||void 0===g?void 0:g.Title}}),(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:null==_?void 0:null===(h=_.content)||void 0===h?void 0:h.Questions}})]}):(0,l.jsx)("div",{className:"guide-loader",children:(0,l.jsx)(u.Z,{})})})]})}}},function(n){n.O(0,[2569,5039,633,2888,9774,179],function(){return n(n.s=35571)}),_N_E=n.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.