PageSourceSearch

https://qspell.com/_next/static/chunks/pages/preview/[id]-5591c49bc2f41e29e2c4.js

js qspell.com collected 2026-10-06 22:54:57 UTC 12,905 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[994],{46700:function(e,t,n){var s={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":24980,"./gom-deva.js":24980,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87341,"./ml.js":87341,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se":10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":95606,"./ss.js":95606,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(s,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return s[e]}i.keys=function(){return Object.keys(s)},i.resolve=r,e.exports=i,i.id=46700},75954:function(e,t,n){"use strict";var s=n(85893),i=n(96486);t.Z=function(e){var t=e.categorys,n=void 0===t?[]:t,r=e.fontWeight,a=void 0===r?"bold":r;return n.length?(0,s.jsx)("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap"},children:(0,i.map)(n,(function(e,t){var r=(0,i.get)(e,"name","").replace("&","&"),l=(0,i.get)(e,"slug",""),o="sponsored-content"===l,c=t+1!==n.length?"".concat(r," |"):"".concat(r);return(0,s.jsx)("a",{href:"/category/".concat(l),style:{margin:0,marginRight:5,fontFamily:"'Forbes Highlander Web', sans-serif",color:o?"#ffffff"
1:"#000000",background:o?"#000000":"none",padding:o?"0px 5px":"0px",lineHeight:"22px",fontSize:"0.8em",fontWeight:a,textTransform:"uppercase"},children:c})}))}):null}},74543:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var s=n(85893),i=n(67294),r=n(15020);function a(e){var t=e.url,n=(0,i.useRef)();return(0,i.useEffect)((function(){if(t){var e=n.current,s=e.contentDocument||e.contentWindow.document,i=(t.split("/").slice(-1)[0],'<script src="'.concat(t,'.js"><\/script>'));s.open(),s.write('\n      <html>\n        <head><base target="_parent"></head>\n        <body>'.concat(i,"</body>\n      </html>\n    ")),s.close()}}),[t]),(0,s.jsx)("iframe",{ref:n,width:"100%",height:"300",frameBorder:"0",title:"Gist Embed"})}function l(e){return(0,r.ZP)(e.content.replace(/<table[^>]*>[\s\S]*?<\/table>/gi,(function(e){var t=e.replace(/<table[^>]*?>/i,'<table border="1" cellspacing="0" cellpadding="8" style="border-collapse: collapse; width: 100%; text-align: center; margin-bottom: 8px;">');return t=(t=(t=(t=(t=(t=(t=(t=t.replace(/<thead[^>]*?>/i,'<thead style="background-color: #f2f2f2;">')).replace(/<td[^>]*?>\s*<div[^>]*?>/gi,"<td>")).replace(/<\/div>\s*<\/td>/gi,"</td>")).replace(/<th[^>]*?>\s*<div[^>]*?>/gi,"<th>")).replace(/<\/div>\s*<\/th>/gi,"</th>")).replace(/<td([^>]*)>/gi,'<td$1 style="vertical-align: middle; text-align: center;">')).replace(/<th([^>]*)>/gi,'<th$1 style="vertical-align: middle; text-align: center;">')).replace(/<span[^>]*?>\s*<\/span>/gi,"")})),{replace:function(e){if("script"===e.name&&e.attribs.src.indexOf("/gist.github.com/"))return(0,s.jsx)(a,{url:e.attribs.src.replace(".js","")})}})}},81494:function(e,t,n){"use strict";n.r(t),n.d(t,{PreviewPage:function(){return m}});var s=n(85893),i=n(809),r=n.n(i),a=n(92447),l=n(67294),o=n(30381),c=n.n(o),d=n(96486),j=n(84870),u=(n(9041),n(75954)),f=n(5874),p=n(69401),g=n(74543),h=n(28035);function m(e){var t=(0,p.dD)(),n=(0,j.xJ)();c().locale("EN");var i=e.postId,o=(0,l.useState)([]),m=o[0],x=o[1],v=(0,l.useState)(!0),y=v[0],b=v[1],w=function(){var e=(0,a.Z)(r().mark((function e(){var t,s;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=function(){var e=(0,a.Z)(r().mark((function e(){var t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.Nm)(n,{id:i,isPreview:!0});case 2:return t=e.sent,e.abrupt("return",(0,d.get)(t,"result",[]));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=3,t();case 3:s=e.sent,x(s),b(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,l.useEffect)((0,a.Z)(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w();case 2:case"end":return e.stop()}}),e)}))),[]);var k=function(e){var t=e.data,n=(0,d.get)(t,"author",{}),i=(0,d.get)(t,"content",""),r=c()((0,d.get)(t,"updatedAt",new Date)).isAfter("2022-10-01")?i:i.replace(/[\r\n\r\n']/g,"</p><p>"),a="".concat(null===n||void 0===n?void 0:n.name," / ").concat(null===n||void 0===n?void 0:n.nickname).toUpperCase(),l=(0,d.get)(t,"category",[]),o=(0,d.sortBy)((0,d.get)(t,"tag",[]),(function(e){return null===e||void 0===e?void 0:e.name})),j=(0,d.get)(t,"postImgUrl",""),f=(0,d.get)(t,"isSponsor",!1),p=null!==t&&void 0!==t&&t.publishedAt?null===t||void 0===t?void 0:t.publishedAt:null===t||void 0===t?void 0:t.updatedAt;return t?(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{paddingBottom:10,borderBottom:"1px solid black"},children:[j?(0,s.jsx)("img",{style:{width:"100%",maxWidth:903,height:"auto",marginTop:30,marginBottom:15},src:j}):null,f?(0,s.jsx)("span",{style:{fontFamily:"DB FongNam X, sans-serif",color:"#ffffff",lineHeight:"22px",fontSize:"1.8rem",fontWeight:"bold",textTransform:"uppercase",background:"#000000",padding:"3px 10px 3px 10px"},children:"SPONSORED CONTENT"}):null,(0,s.jsx)("h1",{className:"entry-title",style:{marginTop:10,marginBottom:15},children:null===t||void 0===t?void 0:t.title}),(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"row"},children:[(0,s.jsx)("img",{style:{width:70,height:70,borderRadius:"50%",marginRight:20},src:null===n||void 0===n?void 0:n.pictureProfile}),(0,s.jsxs)("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center"},children:[(0,s.jsx)("span",{style:{margin:0,fontFamily:"DB FongNam X, sans-serif",color:"#000000",lineHeight:"22px",fontSize:"1.8rem",fontWeight:"bold",textTransform:"uppercase"},children:a}),(0,s.jsx)(u.Z,{categorys:l}),(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",flexDirection:"row"},children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,s.jsx)("img",{style:{height:"13px",width:"13px",marginRight:5},src:"/images/Icon-ionic-md-time.svg"}),(0,s.jsx)("span",{className:"main-slide-date single-date-public",children:"".concat(c()(p).format("DD MMM YYYY")," | ").concat(c()(p).format("hh:mm A"))})]}),(0,s.jsx)("span",{className:"main-slide-date single-date-public",children:"READ ".concat(null===t||void 0===t?void 0:t.viewedCount)})]})]})]})]}),(0,s.jsx)("div",{className:"body-content post-content-wrap post-detail",children:(0,s.jsx)(g.Z,{content:r})}),(0,s.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",marginBottom:20},children:[(0,s.jsx)("p",{style:{margin:0,width:"90px",backgroundColor:"#000000",padding:"2px 5px",color:"#FFF",fontSize:"26px",fontWeight:600},children:"TAGGED ON"}),(0,s.jsx)("div",{style:{display:"flex",flex:1,alignItems:"center",flexWrap:"wrap"},children:null!==o&&void 0!==o&&o.length?(0,d.map)(o,(function(e,t){return 0===t?(0,s.jsx)("a",{href:"/tag/".concat(null===e||void 0===e?void 0:e.slug),style:{height:"fit-content",margin:0,marginLeft:10,fontFamily:"DB FongNam X, sans-serif",color:"#000000",lineHeight:"26px",fontSize:"26px",fontWeight:"bold",textTransform:"uppercase"},children:null===e||void 0===e?void 0:e.name}):(0,s.jsxs)("div",{style:{margin:0,marginLeft:10},children:[(0,s.jsx)("span",{style:{height:"fit-content",lineHeight:"26px",margin:0,fontSize:"26px"},children:"/"}),(0,s.jsx)("a",{href:"/tag/".concat(null===e||void 0===e?void 0:e.slug),style:{height:"fit-content",margin:0,marginLeft:5,fontFamily:"DB FongNam X, sans-serif",color:"#000000",lineHeight:"26px",fontSize:"26px",fontWeight:"bold",textTransform:"uppercase"},children:null===e||void 0===e?void 0:e.name})]})})):null})]})]}):(0,s.jsx)("div",{style:{margin:50,fontSize:40,fontFamily:"'Forbes Highlander Web', sans-serif"},children:"NOT FOUND"})};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.Yr,{isMobile:null===e||void 0===e?void 0:e.isMobile}),(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"row",marginTop:30,maxWidth:"1240px",width:"100%",borderTop:"2px solid #ebebeb"},children:[(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",flexDirection:"row",width:"100%",flexWrap:"wrap",paddingLeft:"5px",paddingRight:"5px"},className:"row",children:y?(0,s.jsx)("div",{style:{margin:50,fontSize:40},children:"Loading..."}):(0,s.jsx)(k,{data:null===m||void 0===m?void 0:m[0]})}),"Mobile"!==t&&(0,s.jsx)("div",{style:{width:300,height:600,marginLeft:40,marginTop:30},children:(0,s.jsx)(f.AX,{isMobile:null===e||void 0===e?void 0:e.isMobile})})]})]})}m.getInitialProps=function(){var e=(0,a.Z)(r().mark((function e(t){var n,s;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.apolloClient,n=t.query,s=(0,d.get)(n,"id",null),e.abrupt("return",{postId:s}
1);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.default=m},78044:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/preview/[id]",function(){return n(81494)}])}},function(e){e.O(0,[885,762,20,774,888,179],(function(){return t=78044,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.