PageSourceSearch

https://neotreks.com/client/[slug].973c06df.js

js neotreks.com collected 2026-10-02 05:34:46 UTC 7,233 bytes, 1 lines download raw bytes

1import{S as t,i as e,s as a,P as s,e as o,a as r,m as c,v as n,c as l,d as i,f as m,n as d,h as p,k as g,j as h,o as u,p as f,q as v,r as y,t as E,b as T,g as b,l as $,H as I}from"./client.000fe276.js";import{U as w}from"./util.961d6d5a.js";function M(t){let e,a;return{c(){e=o("img"),this.h()},l(t){e=l(t,"IMG",{class:!0,"data-src":!0,alt:!0}),this.h()},h(){p(e,"class","lazyload top-image"),p(e,"data-src",a=t[0].image?"images/blog/"+t[0].image:"https://fakeimg.pl/1024x768/004d7f/FFF/?text=No%20Image&font=bebas"),p(e,"alt","")},m(t,a){h(t,e,a)},p(t,s){1&s&&a!==(a=t[0].image?"images/blog/"+t[0].image:"https://fakeimg.pl/1024x768/004d7f/FFF/?text=No%20Image&font=bebas")&&p(e,"data-src",a)},d(t){t&&i(e)}}}function A(t){let e,a;return{c(){e=o("iframe"),this.h()},l(t){e=l(t,"IFRAME",{src:!0,height:!0,width:!0,title:!0,frameborder:!0,allow:!0,allowfullscreen:!0}),T(e).forEach(i),this.h()},h(){e.src!==(a=t[0].vimeoUrl)&&p(e,"src",a),p(e,"height","300"),p(e,"width","100%"),p(e,"title",""),p(e,"frameborder","0"),p(e,"allow","autoplay; fullscreen; picture-in-picture"),e.allowFullscreen=!0},m(t,a){h(t,e,a)},p(t,s){1&s&&e.src!==(a=t[0].vimeoUrl)&&p(e,"src",a)},d(t){t&&i(e)}}}function D(t){let e,a,s,c,n,d,u,f,v,y,D,F,V,k,x,j,U,_,B,N,P,C,S,q,z,H,G,R,J,K,L,O,Q=t[0].title+"",W=w.formatDateForBlog(t[0].dateTime)+"",X=t[0].html+"",Y=w.formatDateForBlog(t[0].dateTime)+"",Z=t[0].category.name+"";function tt(t,e){return t[0].vimeoUrl?A:M}let et=tt(t),at=et(t);return{c(){e=o("div"),a=o("div"),s=o("div"),c=o("h1"),n=E(Q),d=r(),u=o("div"),f=o("div"),v=r(),y=o("time"),D=E(W),V=r(),k=o("div"),at.c(),x=r(),U=r(),_=o("div"),B=o("div"),N=o("div"),P=r(),C=o("time"),S=E(Y),z=r(),H=o("div"),G=o("div"),R=E(" Category: "),J=o("span"),K=o("a"),L=E(Z),this.h()},l(t){e=l(t,"DIV",{class:!0});var o=T(e);a=l(o,"DIV",{class:!0});var r=T(a);s=l(r,"DIV",{class:!0});var p=T(s);c=l(p,"H1",{class:!0});var g=T(c);n=b(g,Q),g.forEach(i),d=m(p),u=l(p,"DIV",{class:!0});var h=T(u);f=l(h,"DIV",{class:!0}),T(f).forEach(i),v=m(h),y=l(h,"TIME",{class:!0,datetime:!0});var E=T(y);D=b(E,W),E.forEach(i),h.forEach(i),V=m(p),k=l(p,"DIV",{class:!0});var $=T(k);at.l($),x=m($),$.forEach(i),U=m(p),_=l(p,"DIV",{class:!0});var I=T(_);B=l(I,"DIV",{class:!0});var w=T(B);N=l(w,"DIV",{class:!0}),T(N).forEach(i),P=m(w),C=l(w,"TIME",{class:!0,datetime:!0});var M=T(C);S=b(M,Y),M.forEach(i),w.forEach(i),z=m(I),H=l(I,"DIV",{class:!0});var A=T(H);G=l(A,"DIV",{class:!0}),T(G).forEach(i),R=b(A," Category: "),J=l(A,"SPAN",{class:!0});var F=T(J);K=l(F,"A",{href:!0,rel:!0});var j=T(K);
1L=b(j,Z),j.forEach(i),F.forEach(i),A.forEach(i),I.forEach(i),p.forEach(i),r.forEach(i),o.forEach(i),this.h()},h(){p(c,"class","title svelte-gasoiu"),p(f,"class","icon-date svelte-gasoiu"),p(y,"class","entry-date published"),p(y,"datetime",F=t[0].dateTime),p(u,"class","posted-on svelte-gasoiu"),j=new I(null),p(k,"class","content svelte-gasoiu"),p(N,"class","icon-date svelte-gasoiu"),p(C,"class","entry-date published"),p(C,"datetime",q=t[0].dateTime),p(B,"class","posted-on float-left svelte-gasoiu"),p(G,"class","icon-category svelte-gasoiu"),p(K,"href",O="category/"+t[0].category.slug),p(K,"rel","tag"),p(J,"class","entry-terms"),p(H,"class","category float-left svelte-gasoiu"),p(_,"class","footer svelte-gasoiu"),p(s,"class","container svelte-gasoiu"),p(a,"class","col-md-12"),p(e,"class","row")},m(t,o){h(t,e,o),g(e,a),g(a,s),g(s,c),g(c,n),g(s,d),g(s,u),g(u,f),g(u,v),g(u,y),g(y,D),g(s,V),g(s,k),at.m(k,null),g(k,x),j.m(X,k),g(s,U),g(s,_),g(_,B),g(B,N),g(B,P),g(B,C),g(C,S),g(_,z),g(_,H),g(H,G),g(H,R),g(H,J),g(J,K),g(K,L)},p(t,e){1&e&&Q!==(Q=t[0].title+"")&&$(n,Q),1&e&&W!==(W=w.formatDateForBlog(t[0].dateTime)+"")&&$(D,W),1&e&&F!==(F=t[0].dateTime)&&p(y,"datetime",F),et===(et=tt(t))&&at?at.p(t,e):(at.d(1),at=et(t),at&&(at.c(),at.m(k,x))),1&e&&X!==(X=t[0].html+"")&&j.p(X),1&e&&Y!==(Y=w.formatDateForBlog(t[0].dateTime)+"")&&$(S,Y),1&e&&q!==(q=t[0].dateTime)&&p(C,"datetime",q),1&e&&Z!==(Z=t[0].category.name+"")&&$(L,Z),1&e&&O!==(O="category/"+t[0].category.slug)&&p(K,"href",O)},d(t){t&&i(e),at.d()}}}function F(t){let e,a,E,T,b,$,I,w,M,A,F,V,k,x,j,U,_,B,N,P,C,S,q;return S=new s({props:{page:t[0].title,blogPost:"true",whitePage:"true",$$slots:{default:[D]},$$scope:{ctx:t}}}),{c(){e=o("meta"),a=o("meta"),T=o("meta"),$=o("meta"),w=o("meta"),A=o("meta"),F=o("meta"),V=o("meta"),x=o("meta"),j=o("meta"),_=o("meta"),N=o("meta"),C=r(),c(S.$$.fragment),this.h()},l(t){const s=n('[data-svelte="svelte-10zdcos"]',document.head);e=l(s,"META",{property:!0,content:!0}),a=l(s,"META",{property:!0,content:!0}),T=l(s,"META",{property:!0,content:!0}),$=l(s,"META",{property:!0,content:!0}),w=l(s,"META",{property:!0,content:!0}),A=l(s,"META",{property:!0,content:!0}),F=l(s,"META",{property:!0,content:!0}),V=l(s,"META",{property:!0,content:!0}),x=l(s,"META",{name:!0,content:!0}),j=l(s,"META",{name:!0,content:!0}),_=l(s,"META",{name:!0,content:!0}),N=l(s,"META",{name:!0,content:!0}),s.forEach(i),C=m(t),d(S.$$.fragment,t),this.h()},h(){p(e,"property","og:locale"),p(e,"content","en_US"),p(a,"property","og:title"),p(a,"content",E=t[0].title),p(T,"property","og:description"),p(T,"content",b=t[1]+"..."),p($,"property","og:image"),p($,"content",I="https://neotreks.com/images/blog/"+t[0].image),p(w,"property","og:url"),p(w,"content",M="https://neotreks.com/blog/"+t[0].slug),p(A,"property","og:site_name"),p(A,"content","NeoTreks Corp."),p(F,"property","og:type"),p(F,"content","article"),p(V,"property","og:article:published_time"),p(V,"content",k=t[0].dateTime),p(x,"name","twitter:card"),p(x,"content","summary_large_image"),p(j,"name","twitter:title"),p(j,"content",U=t[0].title),p(_,"name","twitter:description"),p(_,"content",B=t[1]+"..."),p(N,"name","twitter:image"),p(N,"content",P="https://neotreks.com/images/blog/"+t[0].image)},m(t,s){g(document.head,e),g(document.head,a),g(document.head,T),g(document.head,$),g(document.head,w),g(document.head,A),g(document.head,F),g(document.head,V),g(document.head,x),g(document.head,j),g(document.head,_),g(document.head,N),h(t,C,s),u(S,t,s),q=!0},p(t,[e]){(!q||1&e&&E!==(E=t[0].title))&&p(a,"content",E),(!q||1&e&&I!==(I="https://neotreks.com/images/blog/"+t[0].image))&&p($,"content",I),(!q||1&e&&M!==(M="https://neotreks.com/blog/"+t[0].slug))&&p(w,"content",M),(!q||1&e&&k!==(k=t[0].dateTime))&&p(V,"content",k),(!q||1&e&&U!==(U=t[0].title))&&p(j,"content",U),(!q||1&e&&P!==(P="https://neotreks.com/images/blog/"+t[0].image))&&p(N,"content",P);const s={};1&e&&(s.page=t[0].title),5&e&&(s.$$scope={dirty:e,ctx:t}),S.$set(s)},i(t){q||(f(S.$$.fragment,t),q=!0)},o(t){v(S.$$.fragment,t),q=!1},d(t){i(e),i(a),i(T),i($),i(w),i(A),i(F),i(V),i(x),i(j),i(_),i(N),t&&i(C),y(S,t)}}}async function V({params:t,query:e}){const a=await this.fetch(`blog/${t.slug}.json`),s=await a.json();if(200===a.status)return{post:s};if(201===a.status){let t=s.slug;return this.redirect(301,"blog/"+t)}this.error(a.status,s.message)}function k(t,e,a){let{post:s}=e,o=s.html.replace(/<\/?[^>]+(>|$)/g,"").replace(/\n/,"").replace("&nbsp;","").replace("&amp;","&").replace("  ","").trim().slice(0,200);return t.$$set=t=>{"post"in t&&a(0,s=t.post)},[s,o]}export default class extends t{constructor(t){super(),e(this,t,k,F,a,{post:0})}}export{V as preload};

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.