1import{a as Oe}from"./chunk-ONMZTMRK.js";import{a as fe}from"./chunk-KJRIO5KC.js";import"./chunk-6TOZBSRX.js";import{c as de,f as _e,i as pe,p as me,q as ue,r as he,v as Ce}from"./chunk-IKQNWJX5.js";import{a as ce}from"./chunk-GAEWZKLA.js";import"./chunk-IOSCDBDB.js";import{q as le,s as se,t as ge}from"./chunk-TVX7B75I.js";import{p as ae,t as re}from"./chunk-UE2GXVYR.js";import{Aa as Z,C as q,Cc as R,Db as te,Dc as k,E as J,Ec as F,Fb as m,G as K,Gb as u,H as Y,Hb as $,Ib as ne,Jb as P,Kb as S,Lb as C,Mb as o,Mc as oe,Nb as a,Nc as I,Ob as p,S as b,Ya as l,Yb as H,Zc as T,ba as v,cc as d,f as B,ga as N,gc as A,ha as w,ia as M,ic as c,ja as L,l as W,mb as ee,qa as h,uc as G,wc as g,xc as y,yc as f,zc as ie}from"./chunk-BJJNPAXQ.js";import"./chunk-5JGXYAIN.js";var Ee=i=>["/blog/category",i],be=i=>["/blog/tag",i],Pe=()=>[1,2,3,4,5,6],z=(i,e)=>e.slug;function Se(i,e){if(i&1){let t=H();o(0,"button",45),A("click",function(){N(t);let r=c();return w(r.clearSearch())}),M(),o(1,"svg",46),p(2,"path",47),a()()}}function ve(i,e){if(i&1&&(o(0,"li")(1,"a",48)(2,"span"),g(3),a(),o(4,"span",36),g(5),a()()()),i&2){let t=e.$implicit,n=c();l(),G("active",n.selectedCategory()===t.slug),C("routerLink",I(5,Ee,t.slug)),l(2),y(t.name),l(2),y(t.count)}}function ye(i,e){if(i&1&&(o(0,"a",51),g(1),a()),i&2){let t,n,r=e.$implicit,s=c(2);G("active",((t=s.selectedTag())==null?null:t.toLowerCase())===r.toLowerCase()),C("routerLink",((n=s.selectedTag())==null?null:n.toLowerCase())===r.toLowerCase()?"/blog":I(4,be,r.toLowerCase())),l(),f(" ",r," ")}}function Te(i,e){if(i&1&&(o(0,"div",32)(1,"h3",33),d(2,3),a(),o(3,"div",49),P(4,ye,2,6,"a",50,$),a()()),i&2){let t=c();l(4),S(t.popularTags())}}function xe(i,e){if(i&1&&(o(0,"option",40),g(1),a()),i&2){let t=e.$implicit;C("value",t.slug),l(),ie("",t.name," (",t.count,")")}}function Le(i,e){if(i&1&&(o(0,"p",42)(1,"span"),d(2,4),a(),o(3,"strong"),g(4),a(),o(5,"span"),g(6),a()()),i&2){let t=c();l(4),f('"',t.searchQuery(),'"'),l(2),f("(",t.totalArticles(),")")}}function Ae(i,e){if(i&1&&(o(0,"p",42)(1,"span"),g(2),a(),o(3,"span",52),g(4),a()()),i&2){let t=c();l(2),f("",t.categoryDisplayName()||t.formatCategory(t.selectedCategory())," "),l(2),f("(",t.totalArticles()," articles)")}}function Ge(i,e){if(i&1&&(o(0,"p",42)(1,"span"),d(2,5),a(),o(3,"strong"),g(4),a(),o(5,"span"),g(6),a()()),i&2){let t=c();l(4),f(" #",t.selectedTag()," "),l(2),f("(",t.totalArticles()," articles)")}}function Be(i,e){i&1&&(o(0,"div",54),p(1,"div",55),o(2,"div",56),p(3,"div",57)(4,"div",58)(5,"div",59)(6,"div",60),a()())}function Ne(i,e){i&1&&(o(0,"div",43)(1,"div",53),P(2,Be,7,0,"div",54,ne),a()()),i&2&&(l(2),S(oe(0,Pe)))}function we(i,e){if(i&1&&p(0,"app-article-card",62),i&2){let t=e.$implicit;C("article",t)}}function $e(i,e){if(i&1&&(o(0,"a",64),M(),o(1,"svg",46),p(2,"path",69),a(),L(),o(3,"span"),d(4,6),a()()),i&2){let t=c(3);C("routerLink",t.pageLink(t.currentPage()-1))}}function He(i,e){i&1&&(o(0,"span",65),M(),o(1,"svg",46),p(2,"path",69),a(),L(),o(3,"span"),d(4,7),a()())}function Re(i,e){i&1&&(o(0,"span",70),g(1,"..."),a())}function ke(i,e){if(i&1&&(o(0,"a",72),g(1),a()),i&2){let t=c().$implicit,n=c(3);G("active",n.currentPage()===t),C("routerLink",n.pageLink(t)),te("aria-current",n.currentPage()===t?"page":null),l(),f(" ",t," ")}}function Fe(i,e){if(i&1&&m(0,Re,2,0,"span",70)(1,ke,2,5,"a",71),i&2){let t=e.$implicit;u(t==="..."?0:1)}}function Ie(i,e){if(i&1&&(o(0,"a",67)(1,"span"),d(2,8),a(),M(),o(3,"svg",46),p(4,"path",73),a()()),i&2){let t=c(3);C("routerLink",t.pageLink(t.currentPage()+1))}}function ze(i,e){i&1&&(o(0,"span",68)(1,"span"),d(2,9),a(),M(),o(3,"svg",46),p(4,"path",73),a()())}function De(i,e){if(i&1&&(o(0,"nav",63),m(1,$e,5,1,"a",64)(2,He,5,0,"span",65),o(3,"div",66),P(4,Fe,2,1,null,null,$),a(),m(6,Ie,5,1,"a",67)(7,ze,5,0,"span",68),a()),i&2){let t=c(2);l(),u(t.currentPage()>1?1:2),l(3),S(t.visiblePages()),l(2),u(t.currentPage()<t.totalPages()?6:7)}}function Ue(i,e){if(i&1&&(o(0,"div",61),P(1,we,1,1,"app-article-card",62,z),a(),m(3,De,8,2,"nav",63)),i&2){let t=c();l(),S(t.articles()),l(2),u(t.totalPages()>1?3:-1)}}function Xe(i,e){if(i&1){let t=H();o(0,"div",44)(1,"div",74),M(),o(2,"svg",75),p(3,"path",76),a()(),L(),o(4,"h3",77),d(5,10),a(),o(6,"p",78),d(7,11),a(),o(8,"button",79),A("click",function(){N(t);let r=c();return w(r.clearFilters())}),d(9,12),a()()}}var Me=class i{destroy$=new B;
1searchSubject=new B;route=v(le);router=v(se);blogService=v(fe);seoService=v(ce);platformId=v(Z);isLoading=h(!0);articles=h([]);categories=h([]);totalArticles=h(0);searchQuery=h("");selectedCategory=h(null);selectedTag=h(null);mobileCategoryFilter="";categoryDisplayName=h(null);currentPage=h(1);pageSize=9;totalPages=T(()=>Math.ceil(this.totalArticles()/this.pageSize));visiblePages=T(()=>{let e=this.totalPages(),t=this.currentPage(),n=[];if(e<=7)for(let r=1;r<=e;r++)n.push(r);else{n.push(1),t>3&&n.push("...");for(let r=Math.max(2,t-1);r<=Math.min(e-1,t+1);r++)n.push(r);t<e-2&&n.push("..."),n.push(e)}return n});popularTags=T(()=>{let e=new Map;return this.articles().forEach(t=>{t.tags.forEach(n=>{e.set(n,(e.get(n)||0)+1)})}),Array.from(e.entries()).sort((t,n)=>n[1]-t[1]).slice(0,12).map(([t])=>t)});heroTitle=T(()=>{let e=this.selectedCategory(),t=this.selectedTag();return e?this.categoryDisplayName()||this.formatCategory(e):t?`${this.formatCategory(t)} Articles`:$localize`:@@blogHeroTitle:Travel & Visa Blog`});heroSubtitle=T(()=>{let e=this.selectedCategory(),t=this.selectedTag();return e?`Browse ${(this.categoryDisplayName()||this.formatCategory(e)).toLowerCase()} articles. Expert guides on visas, travel documents, and destination tips.`:t?`Articles tagged with "${this.formatCategory(t)}". Expert guides on visas and travel.`:$localize`:@@blogHeroSubtitle:Expert guides, tips, and insights to make your travel documentation easy`});ngOnInit(){this.loadCategories(),this.setupSearchDebounce(),this.handleRouteParams(),this.seoService.setHeroImagePreload("https://cdn.dovisa.com/cms/blog/thailand-phi-phi-480w.avif 480w, https://cdn.dovisa.com/cms/blog/thailand-phi-phi-960w.avif 960w")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.seoService.removeStructuredData("blog-collection"),this.seoService.clearHeroImagePreload()}updateSEO(e,t,n=1,r){let s=$localize`:@@blogPageTitle:Travel & Visa Blog | DoVisa`,O=$localize`:@@blogPageDescription:Expert guides on visas, travel documents, and destination tips. Get the latest information for hassle-free travel.`,E="/blog";if(e){let x=r??this.formatCategory(e);s=`${x} | Travel & Visa Blog | DoVisa`,O=`Browse ${x.toLowerCase()} articles. Expert guides on visas, travel documents, and destination tips.`,E=`/blog/category/${e}`}else t&&(s=`${t} | Travel & Visa Blog | DoVisa`,O=`Articles tagged with "${t}". Expert guides on visas, travel documents, and destination tips.`,E=`/blog/tag/${t}`);n>1&&(E+=`/page/${n}`,s=`${s} | Page ${n}`),this.seoService.updateMetaTags({title:s,description:O,url:this.seoService.buildLocalizedUrl(E)}),this.addBlogSchema()}addBlogSchema(){let e={"@context":"https://schema.org","@type":"Blog",name:"DoVisa Travel Blog",description:"Expert guides on visas, travel documents, and destination tips",url:"https://dovisa.com/blog",publisher:{"@type":"Organization",name:"DoVisa",url:"https://dovisa.com",logo:{"@type":"ImageObject",url:"https://dovisa.com/assets/images/dovisa-logo.svg",width:200,height:60}}};this.seoService.addStructuredData(e,"blog-collection")}loadCategories(){this.blogService.getCategories().pipe(b(this.destroy$)).subscribe({next:e=>{this.categories.set(e)}})}loadArticles(e={}){this.isLoading.set(!0),this.blogService.getArticles({page:this.currentPage(),pageSize:this.pageSize,category:e.category,search:e.search,tag:e.tag}).pipe(b(this.destroy$)).subscribe({next:t=>{let n=t.total||0,r=!!e.tag&&!e.search&&n===0,s=Math.ceil(n/this.pageSize),O=!e.search&&this.currentPage()>1&&s>=1&&this.currentPage()>s;if(r||O){this.router.navigate(["/not-found"],{skipLocationChange:!0});return}this.articles.set(t.articles||[]),this.totalArticles.set(n),this.isLoading.set(!1)},error:()=>{this.articles.set([]),this.totalArticles.set(0),this.isLoading.set(!1)}})}setupSearchDebounce(){this.searchSubject.pipe(J(300),Y(),b(this.destroy$)).subscribe(e=>{this.searchQuery.set(e),this.currentPage.set(1),this.loadArticles({search:e,category:this.selectedCategory()||void 0})})}handleRouteParams(){this.route.params.pipe(b(this.destroy$)).subscribe(e=>{let t=parseInt(e.page,10)||1;if(this.currentPage.set(t),e.category){this.selectedTag.set(null),this.blogService.getCategories().pipe(K(1),q(()=>W(null)),b(this.destroy$)).subscribe(n=>{let r=n?.find(s=>
1s.slug===e.category);if(n&&!r){this.router.navigate(["/not-found"],{skipLocationChange:!0});return}this.selectedCategory.set(e.category),this.mobileCategoryFilter=e.category,this.categoryDisplayName.set(r?.name??null),this.loadArticles({category:e.category,search:this.searchQuery()||void 0}),this.updateSEO(e.category,void 0,t,r?.name)});return}e.tag?(this.selectedTag.set(e.tag),this.selectedCategory.set(null),this.mobileCategoryFilter=""):(this.selectedCategory.set(null),this.selectedTag.set(null),this.mobileCategoryFilter=""),this.categoryDisplayName.set(null),this.loadArticles({category:void 0,tag:this.selectedTag()||void 0,search:this.searchQuery()||void 0}),this.updateSEO(void 0,e.tag,t)}),this.route.queryParams.pipe(b(this.destroy$)).subscribe(e=>{e.search&&(this.searchQuery.set(e.search),this.loadArticles({search:e.search,category:this.selectedCategory()||void 0}))})}onSearchChange(e){this.searchSubject.next(e)}clearSearch(){this.searchQuery.set(""),this.currentPage.set(1),this.loadArticles({category:this.selectedCategory()||void 0})}selectCategory(e){this.selectedCategory.set(e),this.mobileCategoryFilter=e||"",this.selectedTag.set(null),this.currentPage.set(1),e?this.router.navigate(["/blog/category",e]):this.router.navigate(["/blog"])}selectTag(e){let t=e.toLowerCase();this.selectedTag()?.toLowerCase()===t?(this.selectedTag.set(null),this.router.navigate(["/blog"])):(this.selectedTag.set(t),this.selectedCategory.set(null),this.mobileCategoryFilter="",this.currentPage.set(1),this.router.navigate(["/blog/tag",t]))}clearFilters(){this.searchQuery.set(""),this.selectedCategory.set(null),this.selectedTag.set(null),this.mobileCategoryFilter="",this.currentPage.set(1),this.router.navigate(["/blog"]),this.loadArticles()}pageLink(e){let t=Number(e),n=this.selectedCategory(),r=this.selectedTag(),s=n?`/blog/category/${n}`:r?`/blog/tag/${r}`:"/blog";return t<=1?s:`${s}/page/${t}`}goToPage(e){if(e<1||e>this.totalPages())return;this.currentPage.set(e);let t=this.selectedCategory(),n=this.selectedTag(),r;t?r=e===1?["/blog/category",t]:["/blog/category",t,"page",e.toString()]:n?r=e===1?["/blog/tag",n]:["/blog/tag",n,"page",e.toString()]:r=e===1?["/blog"]:["/blog/page",e.toString()],this.router.navigate(r),re(this.platformId)&&window.scrollTo({top:0,behavior:"smooth"})}formatCategory(e){return e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=ee({type:i,selectors:[["app-blog-home"]],decls:48,vars:14,consts:()=>{let e;e=$localize`:@@searchArticlesPlaceholder:Search articles...`;let t;t=$localize`:@@categoriesTitle:Categories`;let n;n=$localize`:@@allCategories:All Articles`;let r;r=$localize`:@@allCategories:All Categories`;let s;s=$localize`:@@popularTagsTitle:Popular Topics`;let O;O=$localize`:@@searchResultsFor:Search results for`;let E;E=$localize`:@@taggedWith:Tagged with`;let x;x=$localize`:@@previousPage:Previous`;let D;D=$localize`:@@previousPage:Previous`;let U;U=$localize`:@@nextPage:Next`;let X;X=$localize`:@@nextPage:Next`;let V;V=$localize`:@@noArticlesFound:No articles found`;let j;j=$localize`:@@noArticlesFoundDesc: Try adjusting your search or filter to find what you're looking for. `;let Q;return Q=$localize`:@@clearFilters: Clear Filters `,[t,n,r,s,O,E,x,D,U,X,V,j,Q,[1,"blog-home"],[1,"blog-hero"],[1,"hero-bg-picture"],["type","image/avif","srcset","https://cdn.dovisa.com/cms/blog/thailand-phi-phi-480w.avif 480w, https://cdn.dovisa.com/cms/blog/thailand-phi-phi-960w.avif 960w","sizes","100vw"],["type","image/webp","srcset","https://cdn.dovisa.com/cms/blog/thailand-phi-phi-480w.webp 480w, https://cdn.dovisa.com/cms/blog/thailand-phi-phi-960w.webp 960w","sizes","100vw"],["src","https://cdn.dovisa.com/cms/blog/thailand-phi-phi.jpg","alt","","aria-hidden","true","fetchpriority","high","decoding","async","width","1920","height","1047",1,"hero-bg-img"],[1,"blog-hero-overlay"],[1,"hero-content"],[1,"hero-title"],[1,"hero-subtitle"],[1,"hero-search"],[1,"search-input-wrapper"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"search-icon"],["fill-rule","evenodd","d","M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z","clip-rule","evenodd"],["type","text","placeholder",e,1,"search-input",3,"ngModelChange","ngModel"],[1,"search-clear"],[1,"blog-main","container","mx-auto","px-4"],[1,"blog-layout"],[1,"blog-sidebar"],[1,"sidebar-section"],[1,"sidebar-title"],[1,"category-list"],["routerLink","/blog",1,"category-btn"],[1,"category-count"],[1,"blog-content"],[1,"mobile-filters"],[1,"mobile-category-select",3,"ngModelChange","ngModel"],[3,"value"],[1,"results-header"],[1,"results-info"],[1,"loading-state"],[1,"empty-state"],[1,"search-clear",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"w-5","h-5"],["d","M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"],[1,"category-btn",3,"routerLink"],[1,"tags-cloud"],[1,"tag-btn",3,"active","routerLink"],[1,"tag-btn",3,"routerLink"],[1,"text-gray-400"],[1,"loading-grid"],[1,"loading-card"],[1,"loading-image","skeleton"],[1,"loading-content"],[1,"loading-meta","skeleton"],[1,"loading-title","skeleton"],[1,"loading-excerpt","skeleton"],[1,"loading-author","skeleton"],[1,"articles-grid"],[3,"article"],["aria-label","Pagination",1,"pagination"],["rel","prev",1,"pagination-btn","prev",3,"routerLink"],["aria-disabled","true",1,"pagination-btn","prev","disabled"],[1,"pagination-pages"],["rel","next",1,"pagination-btn","next",3,"routerLink"],["aria-disabled","true",1,"pagination-btn","next","disabled"],["fill-rule","evenodd","d","M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z","clip-rule","evenodd"],[1,"pagination-ellipsis"],[1,"pagination-page",3,"active","routerLink"],[1,"pagination-page",3,"routerLink"],["fill-rule","evenodd","d","M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z","clip-rule","evenodd"],[1,"empty-icon"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-16","h-16"],["stroke-linecap","round","stroke-linejoin","round","d","M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"],[1,"empty-title"],[1,"empty-text"],[1,"empty-btn",3,"click"]]},template:function(t,n){t&1&&(o(0,"div",13)(1,"section",14)(2,"picture",15),p(3,"source",16)(4,"source",17)(5,"img",18),a(),p(6,"div",19),o(7,"div",20)(8,"h1",21),g(9),a(),o(10,"p",22),g(11),a(),o(12,"div",23)(13,"div",24),M(),o(14,"svg",25),p(15,"path",26),a(),L(),o(16,"input",27),F("ngModelChange",function(s){return k(n.searchQuery,s)||(n.searchQuery=s),s}),A("ngModelChange",function(s){return n.onSearchChange(s)}),a(),m(17,Se,3,0,"button",28),a()()()(),o(18,"div",29)(19,"div",30)(20,"aside",31)(21,"div",32)(22,"h3",33),d(23,0),a(),o(24,"ul",34)(25,"li")(26,"a",35)(27,"span"),d(28,1),a(),o(29,"span",36),g(30),a()()(),P(31,ve,6,7,"li",null,z),a()(),m(33,Te,6,0,"div",32),a(),o(34,"main",37)(35,"div",38)(36,"select",39),F("ngModelChange",function(s){return k(n.mobileCategoryFilter,s)||(n.mobileCategoryFilter=s),s}),A("ngModelChange",function(s){return n.selectCategory(s||null)}),o(37,"option",40),d(38,2),a(),P(39,xe,2,3,"option",40,z),a()(),o(41,"div",41),m(42,Le,7,2,"p",42)(43,Ae,5,2,"p",42)(44,Ge,7,2,"p",42),a(),m(45,Ne,4,1,"div",43),m(46,Ue,4,1),m(47,Xe,10,0,"div",44),a()()()()),t&2&&(l(9),y(n.heroTitle()),l(2),y(n.heroSubtitle()),l(5),R("ngModel",n.searchQuery),l(),u(n.searchQuery()?17:-1),l(9),G("active",!n.selectedCategory()),l(4),y(n.totalArticles()),l(),S(n.categories()),l(2),u(n.popularTags().length>0?33:-1),l(3),R("ngModel",n.mobileCategoryFilter),l(),C("value",""),l(2),S(n.categories()),l(3),u(n.searchQuery()?42:n.selectedCategory()?43:n.selectedTag()?44:-1),l(3),u(n.isLoading()?45:-1),l(),u(!n.isLoading()&&n.articles().length>0?46:-1),l(),u(!n.isLoading()&&n.articles().length===0?47:-1))},dependencies:[ae,Ce,ue,he,de,me,_e,pe,ge,Oe],styles:[".blog-home[_ngcontent-%COMP%]{min-height:100vh;background:#f9fafb}.blog-hero[_ngcontent-%COMP%]{position:relative;overflow:hidden;padding:4rem 1rem;text-align:center}.hero-bg-picture[_ngcontent-%COMP%], .hero-bg-img[_ngcontent-%COMP%]{position:absolute;inset:0;width:100%;height:100%}.hero-bg-img[_ngcontent-%COMP%]{object-fit:cover;object-position:center}.blog-hero-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background:linear-gradient(135deg,#0a8a6fe0,#00b894d1)}.hero-content[_ngcontent-%COMP%]{position:relative;z-index:1;max-width:800px;margin:0 auto}.hero-title[_ngcontent-%COMP%]{font-size:3rem;font-weight:800;color:#fff;margin:0 0 1rem;text-shadow:0 2px 4px rgba(0,0,0,.1)}.hero-subtitle[_ngcontent-%COMP%]{font-size:1.25rem;color:#ffffffe6;margin:0 0 2rem;line-height:1.6}.hero-search[_ngcontent-%COMP%]{max-width:560px;margin:0 auto}.search-input-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center}.search-icon[_ngcontent-%COMP%]{position:absolute;
1left:1.25rem;width:20px;height:20px;color:#9ca3af;pointer-events:none}.search-input[_ngcontent-%COMP%]{width:100%;padding:1rem 3rem 1rem 3.5rem;font-size:1rem;border:none;border-radius:3rem;background:#fff;box-shadow:0 4px 20px #00000026;outline:none;transition:box-shadow .2s ease}.search-input[_ngcontent-%COMP%]:focus{box-shadow:0 4px 24px #0003}.search-input[_ngcontent-%COMP%]::placeholder{color:#9ca3af}.search-clear[_ngcontent-%COMP%]{position:absolute;right:1rem;padding:.5rem;background:none;border:none;color:#9ca3af;cursor:pointer;transition:color .2s ease}.search-clear[_ngcontent-%COMP%]:hover{color:#6b7280}.blog-main[_ngcontent-%COMP%]{padding:3rem 0}.blog-layout[_ngcontent-%COMP%]{display:grid;grid-template-columns:280px 1fr;gap:3rem;align-items:start}.blog-sidebar[_ngcontent-%COMP%]{position:sticky;top:100px}.sidebar-section[_ngcontent-%COMP%]{background:#fff;border-radius:1rem;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 1px 3px #0000001a}.sidebar-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;color:#1f2937;margin:0 0 1rem;padding-bottom:.75rem;border-bottom:2px solid #e5e7eb}.category-list[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0}.category-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:.25rem}.category-btn[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:none;border:none;border-radius:.5rem;font-size:.9375rem;color:#4b5563;cursor:pointer;transition:all .2s ease;text-align:left}.category-btn[_ngcontent-%COMP%]:hover{background:#f3f4f6;color:#1f2937}.category-btn.active[_ngcontent-%COMP%]{background:linear-gradient(135deg,#00d4aa,#00b894);color:#fff}.category-count[_ngcontent-%COMP%]{font-size:.75rem;padding:.125rem .5rem;background:#e5e7eb;border-radius:1rem}.category-btn.active[_ngcontent-%COMP%] .category-count[_ngcontent-%COMP%]{background:#ffffff4d}.tags-cloud[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem}.tag-btn[_ngcontent-%COMP%]{padding:.375rem .875rem;background:#f3f4f6;border:none;border-radius:2rem;font-size:.8125rem;color:#4b5563;cursor:pointer;transition:all .2s ease}.tag-btn[_ngcontent-%COMP%]:hover{background:#e0f7f4;color:#00b894}.tag-btn.active[_ngcontent-%COMP%]{background:#00d4aa;color:#fff}.blog-content[_ngcontent-%COMP%]{min-width:0}.mobile-filters[_ngcontent-%COMP%]{display:none;margin-bottom:1.5rem}.mobile-category-select[_ngcontent-%COMP%]{width:100%;padding:.875rem 1rem;font-size:1rem;border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;color:#1f2937;cursor:pointer}.results-header[_ngcontent-%COMP%]{margin-bottom:1.5rem}.results-info[_ngcontent-%COMP%]{font-size:.9375rem;color:#6b7280;margin:0}.results-info[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#1f2937}.articles-grid[_ngcontent-%COMP%], .loading-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}.loading-card[_ngcontent-%COMP%]{background:#fff;border-radius:1rem;overflow:hidden;box-shadow:0 1px 3px #0000001a}.loading-image[_ngcontent-%COMP%]{aspect-ratio:16/9}.loading-content[_ngcontent-%COMP%]{padding:1.5rem}.loading-meta[_ngcontent-%COMP%]{height:1rem;width:40%;margin-bottom:.75rem}.loading-title[_ngcontent-%COMP%]{height:1.5rem;width:90%;margin-bottom:.75rem}.loading-excerpt[_ngcontent-%COMP%]{height:3rem;width:100%;margin-bottom:1rem}.loading-author[_ngcontent-%COMP%]{height:2.5rem;width:60%}.skeleton[_ngcontent-%COMP%]{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:_ngcontent-%COMP%_skeleton-loading 1.5s infinite;border-radius:.25rem}@keyframes _ngcontent-%COMP%_skeleton-loading{0%{background-position:200% 0}to{background-position:-200% 0}}.pagination[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:.5rem;margin-top:3rem;padding-top:2rem;border-top:1px solid #e5e7eb}.pagination-btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.375rem;padding:.625rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;font-size:.875rem;font-weight:500;color:#4b5563;cursor:pointer;transition:all .2s ease}.pagination-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:#f9fafb;border-color:#00d4aa;color:#00d4aa}.pagination-btn[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}a.pagination-btn[_ngcontent-%COMP%], a.pagination-page[_ngcontent-%COMP%], a.category-btn[_ngcontent-%COMP%], a.tag-btn[_ngcontent-%COMP%]{text-decoration:none;color:inherit}.pagination-btn.disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed;pointer-events:none}.pagination-pages[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}.pagination-page[_ngcontent-%COMP%]{min-width:40px;height:40px;
1display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;font-size:.875rem;font-weight:500;color:#4b5563;cursor:pointer;transition:all .2s ease}.pagination-page[_ngcontent-%COMP%]:hover{border-color:#00d4aa;color:#00d4aa}.pagination-page.active[_ngcontent-%COMP%]{background:#00d4aa;border-color:#00d4aa;color:#fff}.pagination-ellipsis[_ngcontent-%COMP%]{padding:0 .5rem;color:#9ca3af}.empty-state[_ngcontent-%COMP%]{text-align:center;padding:4rem 2rem;background:#fff;border-radius:1rem;box-shadow:0 1px 3px #0000001a}.empty-icon[_ngcontent-%COMP%]{color:#d1d5db;margin-bottom:1.5rem}.empty-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:64px;height:64px;margin:0 auto}.empty-title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;color:#1f2937;margin:0 0 .5rem}.empty-text[_ngcontent-%COMP%]{color:#6b7280;margin:0 0 1.5rem}.empty-btn[_ngcontent-%COMP%]{padding:.75rem 1.5rem;background:#00d4aa;color:#fff;border:none;border-radius:.5rem;font-size:.9375rem;font-weight:500;cursor:pointer;transition:background .2s ease}.empty-btn[_ngcontent-%COMP%]:hover{background:#00b894}@media(max-width:1024px){.blog-layout[_ngcontent-%COMP%]{grid-template-columns:240px 1fr;gap:2rem}.articles-grid[_ngcontent-%COMP%], .loading-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.hero-title[_ngcontent-%COMP%]{font-size:2rem}.hero-subtitle[_ngcontent-%COMP%]{font-size:1rem}.blog-layout[_ngcontent-%COMP%]{grid-template-columns:1fr}.blog-sidebar[_ngcontent-%COMP%]{display:none}.mobile-filters[_ngcontent-%COMP%]{display:block}.articles-grid[_ngcontent-%COMP%], .loading-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.pagination[_ngcontent-%COMP%]{flex-wrap:wrap}.pagination-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}}@media(max-width:480px){.blog-hero[_ngcontent-%COMP%]{padding:2.5rem 1rem}.hero-title[_ngcontent-%COMP%]{font-size:1.75rem}.search-input[_ngcontent-%COMP%]{padding:.875rem 2.5rem .875rem 3rem;font-size:1rem}.blog-main[_ngcontent-%COMP%]{padding:1.5rem 0}}"]})};export{Me as BlogHomeComponent};
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.