1"use strict";(self.webpackChunkcivsav=self.webpackChunkcivsav||[]).push([[784],{1931:function(e,t,a){function l(e){const t=document.getElementById(e);if(t){const e=t.offsetTop,a={behavior:"smooth"};window.scrollTo({top:e,...a})}}a.d(t,{o:function(){return l}})},3038:function(e,t,a){a.r(t),a.d(t,{Head:function(){return c}});a(4810);var l=a(6540),n=a(340),r=a(5014),o=a(5597),i=a(3058);function c(e){var t;let{location:a,data:n}=e;return l.createElement(r.A,{location:a,data:null==n||null===(t=n.sanityTag)||void 0===t?void 0:t.seo})}t.default=e=>{let{data:t,pageContext:a}=e;const{sanityTag:r,allSanityBlog:c}=t,{tag:s}=a,{0:m,1:d}=(0,l.useState)(""),{0:u,1:g}=(0,l.useState)(c.nodes),p=e=>{if(d(e),""===e)g(c.nodes);else{const t=c.nodes.filter((t=>{var a,l;return t.blogTitle.toLowerCase().includes(e.toLowerCase())||(null===(a=t.overview)||void 0===a?void 0:a.toLowerCase().includes(e.toLowerCase()))||(null===(l=t.blogSubTitle)||void 0===l?void 0:l.toLowerCase().includes(e.toLowerCase()))}));g(t)}};return l.createElement(n.A,null,l.createElement("section",{className:"bg-white py-16 lg:py-24"},l.createElement("div",{className:"container mx-auto px-4 max-w-6xl mt-10"},l.createElement("div",{className:"text-center max-w-4xl mx-auto"},l.createElement("div",{className:"mb-6"},l.createElement("span",{className:"inline-flex items-center px-4 py-2 bg-logo1 text-black rounded-full text-sm font-medium uppercase tracking-wider"},l.createElement("svg",{className:"w-4 h-4 mr-2",fill:"currentColor",viewBox:"0 0 20 20"},l.createElement("path",{fillRule:"evenodd",d:"M17.707 9.293a1 1 0 010 1.414l-7 7a1 1 0 01-1.414 0l-7-7A.997.997 0 012 10V5a3 3 0 013-3h5c.256 0 .512.098.707.293l7 7zM5 6a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),(null==r?void 0:r.name)||s)),l.createElement("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-black mb-6"},'Articles tagged with "',(null==r?void 0:r.name)||s,'"'),(null==r?void 0:r.description)&&l.createElement("p",{className:"text-lg md:text-xl text-gray-600 leading-relaxed mb-8"},r.description),l.createElement("div",{className:"max-w-md mx-auto"},l.createElement("div",{className:"relative"},l.createElement("input",{type:"text",placeholder:"Search within these articles...",value:m,onChange:e=>p(e.target.value),className:"w-full px-4 py-3 pl-12 pr-4 text-gray-700 bg-white border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-logo1 focus:border-transparent transition-all duration-200"}),l.createElement("div",{className:"absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none"},l.createElement("svg",{className:"w-5 h-5 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})))))))),l.createElement("section",{className:"bg-gray-50 py-16"},l.createElement("div",{className:"container mx-auto px-4 max-w-6xl"},l.createElement("div",{className:"mb-8 flex items-center justify-between"},l.createElement("p",{className:"text-gray-600"},m?l.createElement(l.Fragment,null,"Showing ",u.length," result",1!==u.length?"s":"",' for "',m,'"'):l.createElement(l.Fragment,null,u.length," article",1!==u.length?"s":""," tagged with #",(null==r?void 0:r.name)||s)),l.createElement(o.A,{cls:"flex items-center text-logo1 hover:text-opacity-80 font-medium transition-colors duration-200",data:{buttonSlug:{current:"/blog"}}},l.createElement("svg",{className:"mr-2 w-4 h-4",fill:"currentColor",viewBox:"0 0 20 20"},l.createElement("path",{fillRule:"evenodd",d:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"})),"All Articles")),u.length>0?l.createElement("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"},u.map((e=>l.createElement(i.A,{key:e.slug.current,blog:e})))):l.createElement("div",{className:"text-center py-16"},l.createElement("svg",{className:"mx-auto w-16 h-16 text-gray-400 mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,d:"M9.172 16.172a4 4 0 015.656 0M9 12h6m-6-4h6m2 5.291A7.962 7.962 0 0112 15c-2.34 0-4.47-.881-6.08-2.33C7.76 10.906 9.72 10 12 10s4.24.906 6.08 2.67z"})),l.createElement("h3",{className:"text-xl font-semibold text-gray-900 mb-2"},"No articles found"),l.createElement("p",{className:"text-gray-600 mb-6"},m?`No articles tagged with "${(null==r?void 0:r.name)||s}" match "${m}". Try a different search term.`:`No articles have been tagged with "${(null==r?void 0:r.name)||s}" yet.`),m&&l.createElement("button",{onClick:()=>p(""),className:"inline-flex items-center px-4 py-2 text-sm font-medium text-logo1 hover:text-opacity-80 transition-colors duration-200"},"Clear search")))))}},3058:function(e,t,a){var l=a(4810),n=a(2532),r=a(6540);t.A=e=>{var t,a,o,i,c,s,m;let{blog:d}=e;return r.createElement("article",{className:"group bg-white border border-gray-200 rounded-lg shadow-sm hover:shadow-lg transition-all duration-300 overflow-hidden transform hover:-translate-y-1"},r.createElement(l.N_,{to:`/blog/${d.slug.current}`,className:"block"},r.createElement("div",{className:"relative h-48 bg-gray-100 overflow-hidden"},null!==(t=d.thumbnailImage)&&void 0!==t&&null!==(a=t.image)&&void 0!==a&&null!==(o=a.asset)&&void 0!==o&&o.gatsbyImageData?r.createElement(n.G,{image:null===(i=d.thumbnailImage)||void 0===i||null===(c=i.image)||void 0===c||null===(s=c.asset)||void 0===s?void 0:s.gatsbyImageData,alt:(null===(m=d.thumbnailImage)||void 0===m?void 0:m.altText)||d.blogTitle,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"}):r.createElement("div",{className:"w-full h-full bg-gradient-to-br from-gray-100 to-gray-200 flex items-center justify-center"},r.createElement("svg",{className:"w-12 h-12 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,d:"M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"}))),r.createElement("div",{className:"absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-10 transition-all duration-300"})),r.createElement("div",{className:"p-6"},r.createElement("h3",{className:"text-xl font-bold text-black mb-3 group-hover:text-gray-800 transition-colors duration-200 line-clamp-2"},d.blogTitle),d.overview&&r.createElement("p",{className:"text-gray-600 leading-relaxed mb-4 line-clamp-3"},d.overview),r.createElement("div",{className:"flex items-center text-logo1 font-medium group-hover:text-opacity-80 transition-colors duration-200"},r.createElement("span",{className:"text-sm uppercase tracking-wider"},"Read More"),r.createElement("svg",{className:"ml-2 w-4 h-4 transform group-hover:translate-x-1 transition-transform duration-200",fill:"currentColor",viewBox:"0 0 20 20"},r.createElement("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}))))))}},5014:function(e,t,a){var l=a(6540),n=a(4810);t.A=function(e){var t,a;let{children:r,location:o,data:i}=e;const{site:c,sanitySitesettings:s}=(0,n.GR)("1670476982"),{defaultTitle:m,defaultDescription:d,siteUrl:u}
1=c.siteMetadata,g={title:(null==i?void 0:i.title)||m,description:(null==i?void 0:i.description)||d,url:`${u}${o.pathname}`,image:(null==i?void 0:i.image)||null},p=g.image&&"string"==typeof g.image?g.image.startsWith("http")?g.image:`${u}${g.image}`:null;return l.createElement(l.Fragment,null,l.createElement("title",null,g.title),(null==s?void 0:s.favicon)&&l.createElement("link",{rel:"icon",type:"image/x-icon",href:s.favicon.asset.url}),l.createElement("meta",{name:"description",content:g.description}),l.createElement("meta",{name:"theme-color",content:"#ffffff"}),l.createElement("meta",{name:"msapplication-navbutton-color",content:"#ffffff"}),l.createElement("meta",{name:"apple-mobile-web-app-status-bar-style",content:"#ffffff"}),(null==g?void 0:g.url)&&l.createElement("meta",{property:"og:url",content:g.url}),(null==g?void 0:g.title)&&l.createElement("meta",{property:"og:title",content:g.title}),(null==g?void 0:g.description)&&l.createElement("meta",{property:"og:description",content:g.description}),p&&l.createElement("meta",{property:"og:image",content:p}),p&&l.createElement("meta",{property:"og:image:secure_url",content:p}),l.createElement("meta",{property:"og:site_name",content:"upriseenergy.com"}),l.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),(null==g?void 0:g.title)&&l.createElement("meta",{name:"twitter:title",content:g.title}),(null==g?void 0:g.description)&&l.createElement("meta",{name:"twitter:description",content:g.description}),p&&l.createElement("meta",{name:"twitter:image",content:p}),(null==i||null===(t=i.keywords)||void 0===t?void 0:t.length)>0&&l.createElement("meta",{name:"keywords",content:i.keywords.join(",")}),(null==i||null===(a=i.ldSchema)||void 0===a?void 0:a.length)>0&&i.ldSchema.map(((e,t)=>l.createElement("script",{type:"application/ld+json",key:t},JSON.parse(e)))),r)}},5597:function(e,t,a){var l=a(4810),n=a(6540),r=a(2711),o=a(1931),i=a(1085);t.A=e=>{let{data:t,cls:a,children:c}=e;const{0:s,1:m}=(0,n.useState)(!1),d=e=>{"undefined"!=typeof window&&window.dataLayer&&window.dataLayer.push({event:"btn_click",eventLable:e})};return n.createElement(n.Fragment,null,"slug"===(null==t?void 0:t.linkType)&&n.createElement(l.N_,{className:a,to:(0,r.y)(t.slug.current),onClick:()=>d(t.buttonText)},c)," ","url"===(null==t?void 0:t.linkType)&&n.createElement("a",{className:a,href:t.url,target:"_blank",onClick:()=>d(t.buttonText)},c)," ","sectionId"===(null==t?void 0:t.linkType)&&n.createElement("button",{onClick:()=>(0,o.o)(t.sectionId),className:a},c),"appointmentPopup"===(null==t?void 0:t.linkType)&&n.createElement("button",{onClick:()=>{return e=t.buttonText,m(!s),void("undefined"!=typeof window&&window.dataLayer&&(window.dataLayer.push({event:"btn_click",eventLable:e}),window.dataLayer.push({event:"appointment_btn_click"})));var e},className:a},c),s&&n.createElement(i.A,{closeModal:()=>m(!1)}))}}}]); 2//# sourceMappingURL=component---src-template-blog-tag-jsx-17fe79845a8cf024bb65.js.map
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.