PageSourceSearch

https://www.whitehalltraining.com/_next/static/chunks/pages/blogs-4d00fb4bc54d82e3.js

js whitehalltraining.com collected 2026-10-04 13:29:16 UTC 15,236 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1055],{2350:function(){},89151:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blogs",function(){return r(91769)}])},21657:function(e,t,r){"use strict";var s=r(85893);r(67294);var n=r(41664),i=r.n(n),c=r(76875),a=r.n(c);let o=e=>{let{items:t,className:r="",variant:n="default"}=e,c="onLight"===n?a().onLight:"onDark"===n?a().onDark:"";return(0,s.jsx)("nav",{"aria-label":"breadcrumb",className:"".concat(a().breadcrumb," ").concat(c," ").concat(r).trim(),children:(0,s.jsx)("ol",{className:a().breadcrumbList,children:t.map((e,r)=>(0,s.jsxs)("li",{className:a().breadcrumbItem,children:[e.isActive?(0,s.jsx)("span",{className:a().breadcrumbActive,"aria-current":"page",children:e.label}):(0,s.jsx)(i(),{href:e.href||"#",className:a().breadcrumbLink,children:e.label}),t.length>1&&r<t.length-1&&(0,s.jsx)("span",{className:a().breadcrumbSeparator,"aria-hidden":"true",children:"/"})]},r))})})};t.Z=o},82470:function(e,t,r){var s=r(34155);r(2350);var n=r(67294),i=n&&"object"==typeof n&&"default"in n?n:{default:n};function c(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}var a=void 0!==s&&s.env&&!0,o=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,r=t.name,s=void 0===r?"stylesheet":r,n=t.optimizeForSpeed,i=void 0===n?a:n;d(o(s),"`name` must be a string"),this._name=s,this._deletedRulePlaceholder="#"+s+"-deleted-rule____{}",d("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var c=document.querySelector('meta[property="csp-nonce"]');this._nonce=c?c.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){d("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),d(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(d(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(d(o(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(s){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(s){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];d(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},r.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];d(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},r.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&d(o(t),"makeStyleTag accepts only strings as second parameter");var s=document.createElement("style");this._nonce&&s.setAttribute("nonce",this._nonce),s.type="text/css",s.setAttribute("data-"+e,""),t&&s.appendChild(document.createTextNode(t));var n=document.head||document.getElementsByTagName("head")[0];return r?n.insertBefore(s,r):n.appendChild(s),s},c(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),t&&c(e,t),e}();function d(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var u=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},h={};function m(e,t){if(!t)return"jsx-"+e;var r=String(t),s=e+r;return h[s]||(h[s]="jsx-"+u(e+"-"+r)),h[s]}function b(e,t){var r=e+t;return h[r]||(h[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),h[r]}var p=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,s=void 0===r?null:r,n=t.optimizeForSpeed,i=void 0!==n&&n;this._sheet=s||new l({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),s&&"boolean"==typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),s=r.styleId,n=r.rules;if(s in this._instancesCounts){this._instancesCounts[s]+=1;return}var i=n.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[s]=i,this._instancesCounts[s]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var s=this._fromServer&&this._fromServer[r];s?(s.parentNode.removeChild(s),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return Boolean(e[1])}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],s=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:s}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,s=e.id;if(r){var n=m(s,r);return{styleId:n,rules:Array.isArray(t)?t.map(function(e){return b(n,e)}):[b(n,t)]}}return{styleId:m(s),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),f=n.createContext(null);f.displayName="StyleSheetContext";var g=i.default.useInsertionEffect||i.default.useLayoutEffect,_=new p;function x(e){var t=_||n.useContext(f);return t&&g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}x.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},t.style=x},66543:function(e,t,r){"use strict";e.exports=r(82470).style},91769:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return b},default:function(){return p}});var s=r(85893),n=r(66543),i=r.n(n),c=r(9008),a=r.n(c),o=r(25675),l=r.n(o),d=r(67294),u=r(2
11657);let h="Meet the Experts",m=e=>!!e.categories&&0!==e.categories.length&&e.categories.some(e=>e.toLowerCase()===h.toLowerCase());var b=!0;function p(e){let{posts:t,total:r}=e,n=e=>{let t=new Date(e);return Number.isNaN(t.getTime())?"Unknown date":t.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})},c=e=>e.featuredImage.url||"/imgs/default-blog.jpeg",[o,b]=(0,d.useState)(""),[p,f]=(0,d.useState)("All"),g=(0,d.useMemo)(()=>t.filter(e=>!m(e)),[t]),_=(0,d.useMemo)(()=>{let e=new Set;return g.forEach(t=>{0===t.categories.length?e.add("Uncategorized"):t.categories.forEach(t=>{t!==h&&e.add(t)})}),["All",...Array.from(e).sort((e,t)=>e.localeCompare(t))]},[g]),x=(0,d.useMemo)(()=>{let e=o.trim().toLowerCase();return g.filter(t=>{let r=0===e.length||t.title.toLowerCase().includes(e)||!!t.excerpt&&t.excerpt.toLowerCase().includes(e),s=t.categories.length>0?t.categories:["Uncategorized"],n="All"===p||s.includes(p);return r&&n}).sort((e,t)=>new Date(t.date).getTime()-new Date(e.date).getTime())},[g,o,p]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(a(),{children:[(0,s.jsx)("title",{children:"Blogs"}),(0,s.jsx)("meta",{name:"description",content:"Explore our latest blog posts and insights"})]}),(0,s.jsx)("div",{className:"blogBanner",children:(0,s.jsx)("div",{className:"container py-3",children:(0,s.jsx)(u.Z,{items:[{label:"Home",href:"/"},{label:"Blogs",isActive:!0}]})})}),(0,s.jsx)("div",{className:"container-fluid",children:(0,s.jsx)("div",{className:"container",children:0===t.length?(0,s.jsx)("div",{className:"row justify-content-center",children:(0,s.jsx)("div",{className:"col-12 text-center",children:(0,s.jsxs)("div",{className:"alert alert-info",role:"alert",children:[(0,s.jsx)("h4",{className:"alert-heading",children:"No Blogs Found"}),(0,s.jsx)("p",{children:"There are currently no blog posts available."})]})})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("section",{className:"mt-4 mb-4",children:(0,s.jsxs)("div",{className:"row g-3 align-items-end",children:[(0,s.jsxs)("div",{className:"col-md-5",children:[(0,s.jsx)("label",{htmlFor:"blog-search",className:"form-label fw-semibold",style:{color:"#42566D"},children:"Search by title or description"}),(0,s.jsx)("input",{id:"blog-search",type:"text",className:"form-control",placeholder:"Search blog posts...",value:o,onChange:e=>b(e.target.value)})]}),(0,s.jsxs)("div",{className:"col-md-4",children:[(0,s.jsx)("label",{htmlFor:"blog-category",className:"form-label fw-semibold",style:{color:"#42566D"},children:"Filter by category"}),(0,s.jsx)("select",{id:"blog-category",className:"form-select",value:p,onChange:e=>f(e.target.value),children:_.map(e=>(0,s.jsx)("option",{value:e,children:e},e))})]}),(0,s.jsx)("div",{className:"col-md-1 d-flex align-items-center justify-content-center mb-2 mt-md-0",children:(0,s.jsx)("button",{type:"button",className:"btn btn-outline-primary btn-sm w-100",onClick:()=>{b(""),f("All")},children:"Reset"})}),(0,s.jsx)("div",{className:"col-md-2 text-md-end",children:(0,s.jsxs)("p",{className:"mb-0",style:{color:"#42566D",fontWeight:500},children:[x.length," ",1===x.length?"post":"posts"]})})]})}),0===x.length?(0,s.jsx)("div",{className:"alert alert-warning",role:"alert",children:"No blog posts match your filters."}):(0,s.jsxs)("div",{className:"jsx-7c3ceac1c4551b89 table-responsive",children:[(0,s.jsxs)("table",{className:"jsx-7c3ceac1c4551b89 table table-hover align-middle blog-table",children:[(0,s.jsx)("thead",{className:"jsx-7c3ceac1c4551b89 table-light",children:(0,s.jsxs)("tr",{className:"jsx-7c3ceac1c4551b89",children:[(0,s.jsx)("th",{scope:"col",className:"jsx-7c3ceac1c4551b89",children:"Featured Image"}),(0,s.jsx)("th",{scope:"col",className:"jsx-7c3ceac1c4551b89",children:"Title"}),(0,s.jsx)("th",{scope:"col",className:"jsx-7c3ceac1c4551b89",children:"Category"}),(0,s.jsx)("th",{scope:"col",className:"jsx-7c3ceac1c4551b89",children:"Published"})]})}),(0,s.jsx)("tbody",{className:"jsx-7c3ceac1c4551b89",children:x.map(e=>{let t=e.categories.length>0?e.categories:["Uncategorized"];return(0,s.jsxs)("tr",{style:{cursor:"pointer"},onClick:t=>{t.preventDefault(),window.open("/blogs/".concat(e.slug),"_blank")},className:"jsx-7c3ceac1c4551b89",children:[(0,s.jsx)("td",{style:{width:"140px"},className:"jsx-7c3ceac1c4551b89",children:(0,s.jsx)("div",{style:{width:"110px",height:"70px",overflow:"hidden",borderRadius:"0.5rem",border:"1px solid rgba(0,0,0,0.05)",background:"#fff"},className:"jsx-7c3ceac1c4551b89",children:(0,s.jsx)(l(),{src:c(e),alt:e.featuredImage.alt||e.title,width:110,height:70,style:{width:"100%",height:"100%",objectFit:"cover"},onError:e=>{let t=e.currentTarget;t.srcset="",t.src="/imgs/default-blog.jpeg"}})})}),(0,s.jsx)("td",{style:{minWidth:"200px",color:"#002b5c",fontWeight:600},dangerouslySetInnerHTML:{__html:e.title},className:"jsx-7c3ceac1c4551b89"}),(0,s.jsx)("td",{style:{minWidth:"160px"},className:"jsx-7c3ceac1c4551b89",children:(0,s.jsx)("span",{style:{fontSize:"0.95rem",padding:"0.35rem 0.75rem"},className:"jsx-7c3ceac1c4551b89 badge bg-primary-subtle text-primary fw-semibold",children:t[0]})}),(0,s.jsx)("td",{style:{minWidth:"160px"},className:"jsx-7c3ceac1c4551b89",children:(0,s.jsx)("small",{className:"jsx-7c3ceac1c4551b89 text-muted",children:n(e.date)})})]},e.id)})})]}),(0,s.jsx)(i(),{id:"7c3ceac1c4551b89",children:".blog-table.jsx-7c3ceac1c4551b89 thead.jsx-7c3ceac1c4551b89 th.jsx-7c3ceac1c4551b89{padding:1rem 1.25rem;font-weight:600;color:#0d2c59;background:#f5f8fb;text-align:center}.blog-table.jsx-7c3ceac1c4551b89 tbody.jsx-7c3ceac1c4551b89 td.jsx-7c3ceac1c4551b89{padding:1rem 1.25rem;border-top:1px solid rgba(0,0,0,.05)}.blog-table.jsx-7c3ceac1c4551b89 tbody.jsx-7c3ceac1c4551b89 tr.jsx-7c3ceac1c4551b89:hover{background-color:#f8fbff}.blog-table.jsx-7c3ceac1c4551b89{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;overflow:hidden;border:1px solid rgba(0,0,0,.08)}.blog-table.jsx-7c3ceac1c4551b89 thead.jsx-7c3ceac1c4551b89{-webkit-border-top-left-radius:5px;-moz-border-radius-topleft:5px;border-top-left-radius:5px;-webkit-border-top-right-radius:5px;-moz-border-radius-topright:5px;border-top-right-radius:5px}"})]})]})})})]})}},76875:function(e){e.exports={breadcrumb:"Breadcrumb_breadcrumb__xXHUl",onDark:"Breadcrumb_onDark__LZAtU",breadcrumbList:"Breadcrumb_breadcrumbList__YowX6",breadcrumbItem:"Breadcrumb_breadcrumbItem__uAu69",breadcrumbLink:"Breadcrumb_breadcrumbLink__a6PBo",breadcrumbActive:"Breadcrumb_breadcrumbActive__56Z5C",breadcrumbSeparator:"Breadcrumb_breadcrumbSeparator__aW_AV"}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=89151)}),_N_E=e.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.