PageSourceSearch

https://www.diamondcertified.org/_next/static/chunks/pages/Search/[...Search]-c950cc13cdf2928c.js

js diamondcertified.org collected 2026-10-03 23:22:03 UTC 45,225 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6313,8718,8120,8668,8157,8441,4193],{57756:function(e,i,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/Search/[...Search]",function(){return s(83373)}])},48718:function(e,i,s){"use strict";s.r(i);var l=s(85893),o=(s(67294),s(25675)),a=(s(81756),s(49582));i.default=function(e){var i=e.isFooter,s=[{src:"https://diamondcertified.org/DCR_Public_Images/Footer/facebook.svg",socialLink:"https://www.facebook.com/diamondcertified"},{src:"https://diamondcertified.org/DCR_Public_Images/Footer/instagram.svg",socialLink:"https://www.instagram.com/diamondcertified/"},{src:"https://diamondcertified.org/DCR_Public_Images/Footer/twitter.svg",socialLink:"https://twitter.com/diamondcert"},{src:"https://diamondcertified.org/DCR_Public_Images/Footer/youtube.svg",socialLink:"https://www.youtube.com/channel/UCBNmI_ssIO-wBIMfrMMWJ_g"},{src:"https://diamondcertified.org/DCR_Public_Images/Footer/pinterest.svg",socialLink:"https://www.pinterest.com/diamondcert/"}];return(0,l.jsxs)("div",{className:i?"":"gap-main-row rtsidecomp connectdc",children:[!i&&(0,l.jsx)("h4",{children:"Connect with Diamond Certified"}),(0,l.jsx)("ul",{className:"social list-unstyled",children:s&&s.map((function(e,i){return(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:e.socialLink,rel:"me",target:"_blank",children:(0,l.jsx)(o.default,{loader:a.tQ,src:"".concat(e.src),alt:"Social icon",layout:"responsive",width:100,height:100})})},i)}))})]})}},68441:function(e,i,s){"use strict";s.r(i);var l=s(85893),o=(s(67294),s(25675)),a=s(34051),n=s(31555),r=s(81756),t=s(49582);i.default=function(){return(0,l.jsxs)("div",{className:"gap-main-row rtsidecomp findcomparea",children:[(0,l.jsx)("h3",{className:"mb-3",children:"Consumer Resources"}),(0,l.jsx)("div",{className:"devicegap",children:(0,l.jsx)("a",{href:"".concat(r.HJ,"find-top-rated-companies/"),children:(0,l.jsxs)(a.Z,{className:"consures",children:[(0,l.jsx)(n.Z,{xs:2,md:3,xl:2,children:(0,l.jsx)(o.default,{loader:t.tQ,src:"https://diamondcertified.org/DCR_Public_Images/consumer+Resources/search.svg",alt:"Consumer Resources",layout:"responsive",width:100,height:80,className:"iconresource"})}),(0,l.jsx)(n.Z,{xs:10,md:9,xl:10,className:"pl-0",children:"Find Top Rated Companies"})]})})}),(0,l.jsx)("div",{className:"devicegap",children:(0,l.jsx)("a",{href:"".concat(r.HJ,"ratings-process/"),children:(0,l.jsxs)(a.Z,{className:"consures",children:[(0,l.jsx)(n.Z,{xs:2,md:3,xl:2,children:(0,l.jsx)(o.default,{loader:t.tQ,src:"https://diamondcertified.org/DCR_Public_Images/consumer+Resources/rating-process-icon.svg",alt:"Consumer Resources",layout:"responsive",width:100,height:80,className:"iconresource"})}),(0,l.jsx)(n.Z,{xs:10,md:9,xl:10,className:"pl-0",children:"Our Ratings Process"})]})})}),(0,l.jsx)("div",{className:"devicegap",children:(0,l.jsx)("a",{href:"".concat(r.HJ,"resources/guide/"),children:(0,l.jsxs)(a.Z,{className:"consures",children:[(0,l.jsx)(n.Z,{xs:2,md:3,xl:2,children:(0,l.jsx)(o.default,{loader:t.tQ,src:"https://diamondcertified.org/DCR_Public_Images/consumer+Resources/info-icon.svg",alt:"Consumer Resources",layout:"responsive",width:100,height:80,className:"iconresource"})}),(0,l.jsxs)(n.Z,{xs:10,md:9,xl:10,className:"pl-0",children:["Your Guides to Home, ",(0,l.jsx)("span",{className:"",children:"Auto, Health\u2026"})]})]})})}),(0,l.jsx)("div",{className:"devicegap",children:(0,l.jsx)("a",{href:"".concat(r.HJ,"membership/"),children:(0,l.jsxs)(a.Z,{className:"consures",children:[(0,l.jsx)(n.Z,{xs:2,md:3,xl:2,children:(0,l.jsx)(o.default,{loader:t.tQ,src:"https://diamondcertified.org/DCR_Public_Images/consumer+Resources/star-icon.svg",alt:"Consumer Resources",layout:"responsive",width:100,height:80,className:"iconresource"})}),(0,l.jsxs)(n.Z,{xs:10,md:9,xl:10,className:"pl-0",children:["Become a Diamond Certified ",(0,l.jsx)("span",{className:"",children:"Preferred Member"})]})]})})}),(0,l.jsx)("div",{className:"devicegap",children:(0,l.jsx)("a",{href:"".concat(r.HJ,"resources/blog/"),children:(0,l.jsxs)(a.Z,{className:"consures",children:[(0,l.jsx)(n.Z,{xs:2,md:3,xl:2,children:(0,l.jsx)(o.default,{loader:t.tQ,src:"https://diamondcertified.org/DCR_Public_Images/consumer+Resources/blog-icon.svg",alt:"Consumer Resources",layout:"responsive",width:100,height:80,className:"iconresource"})}),(0,l.jsx)(n.Z,{xs:10,md:9,xl:10,className:"pl-0",children:"Our Blog"})]})})})]})}},48125:function(e,i,s){"use strict";s.r(i);var l=s(85893),o=s(67294),a=s(47323),n=s(81756);i.default=function(){var e=(0,o.useState)(!1),i=e[0],s=e[1];return(0,l.jsxs)("div",{className:"rtsidecomp gap-main-row",children:[(0,l.jsx)("a",{href:"".concat(n.HJ,"contact-2/"),children:(0,l.jsx)("h4",{children:"Contact Us"})}),(0,l.jsxs)("ul",{className:"rrefer",children:[(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:"get-helplink","aria-label":"get help",onClick:function(){return s(!i)},children:"Get Help"})}),i?(0,l.jsx)(a.default,{Close:s}):""]})]})}},34350:function(e,i,s){"use strict";s.r(i),s.d(i,{default:function(){return c}});var l=s(85893),o=s(67294),a=s(29061),n=s(81756),r=s(60155),t=s(34051),d=s(31555);function c(e){var i=(0,o.useRef)(),s=(0,n.ZP)(),c=(0,o.useState)(""),u=c[0],m=c[1],h=(0,o.useState)(""),v=h[0],p=h[1],f=(0,o.useState)(""),x=f[0],g=f[1],j=(0,o.useState)(""),N=j[0],b=j[1],y=(0,o.useState)(""),w=y[0],C=y[1],_=(0,o.useState)(!1),S=_[0],k=_[1],Z=(0,o.useState)(!1),T=Z[0],R=Z[1],q=(0,o.useState)(!1),P=(q[0],q[1]);return(0,o.useEffect)((function(){var s=function(s){i.current&&!i.current.contains(s.target)&&(null===e||void 0===e||e.Cancel(!1),m(""))};return document.addEventListener("mousedown",s),function(){document.removeEventListener("mousedown",s)}}),[i]),S?(0,l.jsxs)("div",{className:"share-popup sharesuccess",ref:i,children:[(0,l.jsx)("div",{className:"mobclose",children:(0,l.jsx)("button",{onClick:function(){return null===e||void 0===e?void 0:e.Cancel(!1)},className:"close",children:(0,l.jsx)(r.IOM,{})})}),(0,l.jsx)("div",{className:"check ",children:(0,l.jsx)(r.cfq,{})}
1),(0,l.jsx)("h1",{className:"",children:"Thank you !"}),(0,l.jsx)("p",{className:"",children:"Message successfully sent!"})]}):(0,l.jsxs)("div",{className:"rtsidecomp share-popup ",ref:i,children:[(0,l.jsx)("div",{className:"mobclose",children:(0,l.jsx)("button",{onClick:function(){return null===e||void 0===e?void 0:e.Cancel(!1)},className:"close",children:(0,l.jsx)(r.IOM,{})})}),(0,l.jsx)("h4",{children:"Share this page"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:" form-label",children:"From:"}),(0,l.jsxs)("div",{className:"beforeto mb-3",children:[(0,l.jsx)("input",{type:"email",id:"name-share",onChange:function(e){g(e.target.value),null!=x&&" "!=x&&R(" ")},placeholder:"Name",multiple:!0,className:"form-control"}),(0,l.jsx)("div",{className:"message ".concat(S?"success":"error"),children:T})]}),(0,l.jsxs)("div",{className:"beforeto mb-3",children:[(0,l.jsx)("input",{type:"email",id:"fromemail-share",onChange:function(e){b(e.target.value),null!=N&&" "!=N&&C("")},placeholder:"Email",multiple:!0,className:"form-control"}),(0,l.jsx)("div",{className:"message ".concat(S?"success":"error"),children:w})]}),(0,l.jsxs)("div",{className:"beforeto",children:[(0,l.jsx)("label",{className:" form-label",children:"To:"}),(0,l.jsx)("input",{type:"email",id:"email-share",onChange:function(e){p(e.target.value),null!=v&&" "!=v&&m("")},placeholder:"Email",multiple:!0,className:"form-control"})]}),(0,l.jsx)("div",{className:"message ".concat(S?"success":"error"),children:u}),(0,l.jsxs)("div",{className:"mt-3",children:[(0,l.jsx)("label",{className:"linkshared",children:"Link to be Shared"}),(0,l.jsx)("div",{children:(0,l.jsx)("a",{children:null===e||void 0===e?void 0:e.Link})})]})]}),(0,l.jsxs)(t.Z,{className:"mt-4",children:[(0,l.jsx)(d.Z,{md:2}),(0,l.jsx)(d.Z,{md:5,xs:6,children:(0,l.jsx)("button",{onClick:function(){return null===e||void 0===e?void 0:e.Cancel(!1)},className:"btn btn-cancel",children:"CANCEL"})}),(0,l.jsx)(d.Z,{md:5,xs:6,children:(0,l.jsx)("button",{onClick:function(i){i.preventDefault(),k(!1),P(!1);var l=/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;if(null==v||""==v?m("Email is required !!"):l.test(v)||m("Please enter a valid email address !"),null==N||""==N?C("Email is required !!"):l.test(N)||C("Please enter a valid email address !"),null!=x&&""!==x||R("Name is required !!"),v&&x&&N&&l.test(v)&&l.test(N)){var o={mailerName:x,mailTo:v,mailFrom:N,shareTitle:"".concat((null===e||void 0===e?void 0:e.Title)?e.Title:""),link:null===e||void 0===e?void 0:e.Link};a.Z.post("".concat(n.FH,"share/sendingEmail"),o,{auth:{username:s.Username,password:s.Password}}
1).then((function(e){m("Shared this Link"),k(!0),P(!0),p("")})).catch((function(e){return console.log("sendmail",e,o)}))}},className:"btn btn-primary",children:"SEND"})})]})]})}},58157:function(e,i,s){"use strict";s.r(i);var l=s(85893),o=s(67294),a=s(17318),n=s(81756),r=s(29061),t=s(73087),d=s(11163);i.default=function(){var e=(0,o.useContext)(t.S),i=e.keywordValue,s=(e.setKeywordValue,(0,o.useState)([])),c=s[0],u=s[1],m=(0,o.useState)("Select Your Area"),h=m[0],v=m[1],p=(0,d.useRouter)();return(0,o.useEffect)((function(){var e=(0,n.ZP)();r.Z.get("".concat(n.FH,"dcrtopratedcompaniesmetroarea"),{auth:{username:e.Username,password:e.Password}}).then((function(e){var i=e.data;i.splice(0,0,{city:"San Francisco",state_code:"CA"}),u(i)})).catch((function(e){console.log(e,"dcrtopratedcompaniesmetroarea")}))}),[]),c?(0,l.jsxs)("div",{className:"rtsidecomp gap-main-row findcomparea ",children:[(0,l.jsxs)("h2",{className:"magrighth4",children:["Find Top Rated Companies ",(0,l.jsxs)("span",{className:"rtsidestyle1",children:["in Your ",(0,l.jsx)("span",{className:"rtsidestylearea",children:"Area "})]})]}),(0,l.jsxs)(a.Z,{children:[(0,l.jsx)(a.Z.Toggle,{variant:"",children:h||""}),(0,l.jsx)(a.Z.Menu,{className:"guidelistdrop",children:(null===c||void 0===c?void 0:c.length)>0&&c.map((function(e,s){return(0,l.jsx)(a.Z.Item,{onClick:function(){v(e.city),function(e){var s,l;""!==i&&null!==i&&i&&"san francisco"!==(null===e||void 0===e||null===(s=e.city)||void 0===s?void 0:s.toLowerCase())?p.push("/Category?key=".concat(null===(l=null===i||void 0===i?void 0:i.replace(/ /g,"+"))||void 0===l?void 0:l.replace(/&/g,"%26"),"&loc=").concat(e.city,", ").concat(e.state_code)):"San Francisco"===e.city?p.push("/find-top-rated-companies/hub/ca/san-francisco-bay-area/"):p.push("/counties/".concat(e.county.toLowerCase(),"-county/").concat(e.state_code.toLowerCase(),"/"))}(e)},className:h==e.city?"active":"",children:e.city},s)}))})]})]}):null}},47323:function(e,i,s){"use strict";s.r(i),s.d(i,{default:function(){return p}});var l=s(85893),o=(s(48210),s(35005)),a=s(34051),n=s(31555),r=s(67294),t=s(60155),d=s(29061),c=s(81756),u=s(49582),m=s(34853);function h(e,i,s){return i in e?Object.defineProperty(e,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[i]=s,e}function v(e){for(var i=1;i<arguments.length;i++){var s=null!=arguments[i]?arguments[i]:{},l=Object.keys(s);"function"===typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(s).filter((function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable})))),l.forEach((function(i){h(e,i,s[i])}))}return e}function p(e){var i=(0,r.useState)(!1),s=i[0],p=i[1],f=(0,r.useState)(!1),x=f[0],g=f[1],j={question1:"",question2:"",question3:"",question4:"",question:"",name:"",email:"",captchaVal:""},N=v({},j);delete N.question1,delete N.question2,delete N.question3,delete N.question4;var b=(0,r.useState)(j),y=b[0],w=b[1],C=(0,r.useState)(N),_=C[0],S=C[1],k=(0,r.useState)(),Z=k[0],T=k[1],R=(0,r.useState)(""),q=R[0],P=R[1],H=function(e){var i=e.target.value,s=e.target.checked,l=e.target.name,o=e.target.type,a={question1:"question",question2:"question",question3:"question",question4:"question",question:"question",name:"name",email:"email"};if(S((function(e){return v({},e,h({},a[l],""))})),"checkbox"===o)return w(s?function(e){return v({},e,h({},l,i))}:function(e){return v({},e,h({},l,""))});"name"===l&&i?i.match(/^[a-zA-Z' -]+$/)&&w((function(e){return v({},e,h({},l,i))})):w((function(e){return v({},e,h({},l,i))}))};return(0,l.jsx)("div",{className:"get-helppopup",children:(0,l.jsxs)("div",{className:"modal-dialog modal-dialog-centered",children:[(0,l.jsxs)("div",{className:"modal-header",children:[(0,l.jsx)("h1",{children:"Get Help"}),(0,l.jsx)(o.Z,{onClick:function(){return null===e||void 0===e?void 0:e.Close()},className:"close",children:(0,l.jsx)(t.IOM,{})})]}),s?(0,l.jsx)("div",{className:"thankyou ",children:(0,l.jsx)(a.Z,{className:"justify-content-center ",children:(0,l.jsxs)(n.Z,{lg:10,children:[(0,l.jsx)(t.jI1,{}),(0,l.jsx)("h1",{className:"",children:"Thank you for your question!"}),(0,l.jsx)("p",{className:"",children:"Please expect a reply from someone on our team within 1-2 business days."})]})})}):(0,l.jsx)("div",{className:"modal-body contactpage",children:(0,l.jsxs)("form",{onSubmit:function(e){e.preventDefault();var i=y.question,s=y.question1,l=y.question2,o=y.question3,a=y.question4,n=y.name,r=y.email;s||l||o||a||i||(N.question="Choose one question or write one !"),n||(N.name="Name is required !"),r||(N.email="Email is required !"),r&&!u.HN.test(r)&&(N.email="Enter valid email !"),q||(N.captchaVal="Please fill the captcha !");var t=v({},N);if(S(t),n&&r&&u.HN.test(r)&&(i||s||l||o||a)&&q){g(!0);var m={question1:s,question2:l,question3:o,question4:a,questions:i,name:n,email_address:r};d.Z.post("".concat(c.FH,"dcraboutgethelp"),m,{auth:c.I8}).then((function(e){g(!1),e&&("Entered Email Id is Blocked"===e.data.message||"Your daily contact limit exceeded"===e.data.message?T(e.data.message):(p(!0),T("")),S(N))})).catch((function(e){g(!1),console.log("dcraboutgethelp",e,m)}))}},id:"performace-guarantee-form",children:[(0,l.jsx)("label",{className:"form-label",children:"Have a Question? We're Here to Help!"}),[{question:"I have a question about a Diamond Certified Company",name:"question1"}
1,{question:"I have a question about the Diamond Certified Resource website",name:"question2"},{question:"I have a question about a Diamond Certified Preferred Membership",name:"question3"},{question:"I have a question about something else",name:"question4"}].map((function(e,i){return(0,l.jsxs)("div",{className:"checkboxque",children:[(0,l.jsx)("input",{type:"checkbox",value:e.question,name:e.name,id:e.name,onChange:H}),(0,l.jsx)("label",{children:e.question})]},i)})),(0,l.jsxs)("div",{className:"mt-5",children:[(0,l.jsx)("div",{children:(0,l.jsx)("label",{className:"form-label",children:"Please add your question and other information below"})}),(0,l.jsx)("div",{children:(0,l.jsx)("textarea",{id:"questions",className:"form-control",name:"question",value:y.question,onChange:H})})]}),(null===_||void 0===_?void 0:_.question)&&(0,l.jsx)("div",{className:"message error",children:null===_||void 0===_?void 0:_.question}),(0,l.jsxs)(a.Z,{children:[(0,l.jsxs)(n.Z,{md:6,className:"mt-5",children:[(0,l.jsx)("label",{className:"form-label",children:"Your Name"}),(0,l.jsx)("input",{type:"text",name:"name",value:y.name,onChange:H,id:"getHelpUserName",className:"form-control",maxLength:50}),(null===_||void 0===_?void 0:_.name)&&(0,l.jsx)("div",{className:"message error",children:null===_||void 0===_?void 0:_.name})]}),(0,l.jsxs)(n.Z,{md:6,className:"mt-5",children:[(0,l.jsx)("label",{className:"form-label",children:"Your Email address"}),(0,l.jsx)("input",{type:"text",name:"email",value:y.email,onChange:H,placeholder:"[email protected]",className:"form-control",maxLength:100}),(null===_||void 0===_?void 0:_.email)&&(0,l.jsx)("div",{className:"message error",children:null===_||void 0===_?void 0:_.email})]})]}),(0,l.jsxs)(a.Z,{className:"mt-5",children:[(0,l.jsxs)(n.Z,{sm:12,className:"mb-5",children:[(0,l.jsx)(m.Z,{onChange:function(e){P(e)},sitekey:c.XH}),(null===_||void 0===_?void 0:_.captchaVal)&&(0,l.jsx)("div",{className:"message error",children:null===_||void 0===_?void 0:_.captchaVal})]}),(0,l.jsx)(n.Z,{sm:12,children:(0,l.jsx)(o.Z,{type:"submit",className:"subreqbtn",id:"performace-guarantee-button",disabled:x,children:"SUBMIT HELP REQUEST"})})]}),Z?(0,l.jsx)("div",{className:"message error",children:Z}):""]})})]})})}},8120:function(e,i,s){"use strict";s.r(i);var l=s(85893),o=(s(67294),s(10682)),a=s(34051),n=s(31555),r=s(5152),t=s(25675),d=s(81756),c=s(49582),u=(0,r.default)((function(){return s.e(8854).then(s.bind(s,78854))}),{loadableGenerated:{webpack:function(){return[78854]},modules:["Component/HeaderMain.js -> ./sidebar"]}}),m=(0,r.default)((function(){return Promise.all([s.e(8999),s.e(9638),s.e(756),s.e(8352)]).then(s.bind(s,68352))}),{loadableGenerated:{webpack:function(){return[68352]},modules:["Component/HeaderMain.js -> ./FindComponent"]}});i.default=function(e){return(0,l.jsx)("header",{className:"innerpgheader",id:"otherPageHeader",children:(0,l.jsx)("nav",{className:"header active",id:"navHeader",children:(0,l.jsx)(o.Z,{children:(0,l.jsxs)(a.Z,{children:[(0,l.jsx)(n.Z,{lg:4,md:9,xs:10,className:"innerheadernego",children:(0,l.jsxs)(a.Z,{children:[(0,l.jsx)(n.Z,{xl:3,lg:4,md:2,xs:3,className:"logoinner",children:(0,l.jsx)("a",{href:"".concat(d.HJ.substring(0,d.HJ.length-1),"/"),"aria-hidden":"false","aria-label":"Home",children:(0,l.jsx)("div",{className:"logoinnerimg",children:(0,l.jsx)(t.default,{src:"https://www.diamondcertified.org/DCR_Public_Images/Header_Common/diamond-certified-resource-logo-transparent.webp",alt:"Diamond Certified Re
1source Logo",layout:"responsive",width:100,height:100,objectPosition:"left",loader:c.tQ,priority:!0})})})}),(0,l.jsx)(n.Z,{xl:9,lg:8,xs:9,className:"tagline",children:(0,l.jsxs)("p",{children:["We make you an expert at",(0,l.jsx)("br",{}),"choosing local companies!"]})})]})}),(0,l.jsx)(n.Z,{lg:7,className:"align-self-center categories-list",children:(0,l.jsx)("div",{className:"componentmidport",children:(0,l.jsx)(m,{topratedHead:e.topratedHead})})}),(0,l.jsx)(n.Z,{xs:2,md:3,lg:1,className:" menuhead",children:(0,l.jsx)(u,{})})]})})})})}},83373:function(e,i,s){"use strict";s.r(i),s.d(i,{__N_SSP:function(){return T},default:function(){return R}});var l=s(28520),o=s.n(l),a=s(85893),n=s(67294),r=s(9008),t=(s(48210),s(34134)),d=s(10682),c=s(34051),u=s(31555),m=s(8120),h=s(25675),v=s(58157),p=s(68441),f=s(48125),x=s(48718),g=s(81756),j=s(29061),N=s(63750),b=s(34350),y=s(11163),w=s(2670),C=s(49582);function _(e,i,s,l,o,a,n){try{var r=e[a](n),t=r.value}catch(d){return void s(d)}r.done?i(t):Promise.resolve(t).then(l,o)}function S(e){return function(e){if(Array.isArray(e)){for(var i=0,s=new Array(e.length);i<e.length;i++)s[i]=e[i];return s}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var k=["morePost","moreEssential","moreBefore","moreDuring","moreDuring","moreAfter","morePostCompany","CompanyOwner","moreQualityCustomers","moreBrandUp","moreCommunicationCompetition","moreYourTearm","morePostPrmh","moreSavvyConsumer","moreGoodRelationships","moreResolvingProblems","tips","guide"],Z=function(e,i,s){return(0,C.KO)(e,i,{from:s})},T=!0;function R(e){var i,s;if(null===e||void 0===e?void 0:e.isError)return(0,a.jsxs)("dev",{children:["Error ",null===e||void 0===e?void 0:e.error]});var l,T="".concat((null===e||void 0===e?void 0:e.keywordName)?e.keywordName:(null===e||void 0===e?void 0:e.from)&&"morePostCompany"!==(null===e||void 0===e?void 0:e.from)?null===e||void 0===e?void 0:e.from:""),R=(null===e||void 0===e?void 0:e.breadcrumbList)?null===e||void 0===e?void 0:e.breadcrumbList:[],q=(0,g.ZP)(),P=(0,n.useState)(!1),H=P[0],E=P[1],D=(0,n.useState)(0),I=D[0],L=D[1],O=(0,n.useState)(null),J=O[0],A=O[1],Q=(0,n.useState)([]),F=Q[0],G=Q[1],M=(0,n.useState)(1),Y=M[0],B=M[1],W=(0,n.useState)(1),U=W[0],$=W[1],V=(0,n.useState)(0),z=V[0],K=V[1],X=(0,y.useRouter)(),ee=(0,n.useState)(null),ie=ee[0],se=ee[1],le=(0,n.useState)(!1),oe=le[0],ae=le[1],ne=(0,n.useState)([]),re=ne[0],te=ne[1],de=(0,n.useState)(!1),ce=de[0],ue=de[1],me=(l=o().mark((function i(s,l){var a,n,r,t,d,c,u,m;return o().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(s=null===s||void 0===s?void 0:s.replace(/\//g,""),
1!k.includes(s)&&""!==s){i.next=8;break}return i.next=4,j.Z.get(l,{auth:g.I8}).catch((function(e){return console.log(e,l,"<---api")}));case 4:if(a=i.sent.data,"moreEssential"===s||"moreBefore"===s||"moreDuring"===s||"moreAfter"===s)!(null===a||void 0===a?void 0:a.company_articles)||(null===a||void 0===a||null===(n=a.company_articles)||void 0===n?void 0:n.length)<=0?ue(!0):te(a.company_articles);else if("moreSavvyConsumer"===s||"moreGoodRelationships"===s||"moreResolvingProblems"===s){for(r=[],t=0;t<(null===a||void 0===a?void 0:a.length);t++)(null===(d=a[t])||void 0===d?void 0:d.dcr_article_type_id)==(null===e||void 0===e?void 0:e.typeId)&&r.push(a[t]);te(r)}else"tips"===s?a&&(m=[],m=(null===a||void 0===a||null===(c=a.expertGuides)||void 0===c?void 0:c.length)>0&&null!==(null===a||void 0===a?void 0:a.dcrCompanyArticles)?S(null===a||void 0===a?void 0:a.expertGuides).concat(S(null===a||void 0===a?void 0:a.dcrCompanyArticles)):(null===a||void 0===a||null===(u=a.expertGuides)||void 0===u?void 0:u.length)>0?S(null===a||void 0===a?void 0:a.expertGuides):null!==(null===a||void 0===a?void 0:a.dcrCompanyArticles)?S(null===a||void 0===a?void 0:a.dcrCompanyArticles):[],te(m)):te(a);i.next=9;break;case 8:te(l);case 9:case"end":return i.stop()}}),i)})),function(){var e=this,i=arguments;return new Promise((function(s,o){var a=l.apply(e,i);function n(e){_(a,s,o,n,r,"next",e)}function r(e){_(a,s,o,n,r,"throw",e)}n(void 0)}))}),he=function(e,i){if(z>=i){var s=re.slice(e,i);A(s)}else if(z<=i){var l=re.slice(e,z);A(l)}};(0,n.useEffect)((function(){me(null===e||void 0===e?void 0:e.from,null===e||void 0===e?void 0:e.searchResultDetails)}),[e]),(0,n.useEffect)((function(){0===(null===re||void 0===re?void 0:re.length)&&"guide"===(null===e||void 0===e?void 0:e.from)&&(window.location.href="/TopRatedCompanies?from=search")}),[re]),(0,n.useEffect)((function(){var e=null===re||void 0===re?void 0:re.length;if(K(e),e){var i=e/g.ST;if(Number.isInteger(i)||(i=Number(String(i).split(".")[0])+1),$(i),i)if(i>=5){for(var s=[],l=0;l<5;l++)s.push(l+1);G(s);var o=re.slice(0,g.ST);A(o)}else if(i>0&&i<5){for(var a=[],n=0;n<i;n++)a.push(n+1);if(G(a),i>1){var r=re.slice(0,g.ST);A(r)}if(1==i){var t=re.slice(0,e);A(t)}}}}),[re]);var ve=(0,n.useState)([]),pe=ve[0],fe=ve[1];(0,n.useEffect)((function(){var e=JSON.parse(localStorage.getItem("likeCount"))||[];fe(e)}),[]);var xe=function(e,i){var s=JSON.parse(localStorage.getItem("likeCount"))||[];s.push(e.article_id.toString()),fe(s),localStorage.setItem("likeCount",JSON.stringify(s)),ae(!0),j.Z.put("".concat(g.FH,"dcrcompanyguideupdatelikecount/articleid/").concat(e.article_id,"/likecount/1"),{},{auth:{username:q.Username,password:q.Password}}).then((function(e){if(ae(!1),e.data){var s=S(J);s[i].like_count=s[i].like_count+1,A(s)}})).catch((function(e){ae(!1),console.log("dcrcompanyguideupdatelikecount",e)}))};(0,n.useEffect)((function(){var i=(0,g.ZP)(),s=e.catId;s&&j.Z.get("".concat(g.FH,"dcrarticlerelatedpost/categoryid/").concat(s),{auth:{username:i.Username,password:i.Password}}).then((function(e){var i;if((null===e||void 0===e||null===(i=e.data)||void 0===i?void 0:i.length)>3){for(var s=[],l=0;l<3;l++)s.push(null===e||void 0===e?void 0:e.data[l]);se(JSON.stringify(s))}else(null===e||void 0===e?void 0:e.data.length)>0&&se(JSON.stringify(e.data))})).catch((function(e){console.log("ARTICLE - related post Api - dcrarticlerelatedpost",e)}))}),[]);var ge=function(e){var i={company:(null===e||void 0===e?void 0:e.company_id)?null===e||void 0===e?void 0:e.company_id:"0",tab:"expert"};localStorage.setItem("companyTabName",JSON.stringify(i))},je=function(e,i){var s,l,o;return(null===(s=null===e||void 0===e?void 0:e.toLowerCase())||void 0===s?void 0:s.includes(null===T||void 0===T?void 0:T.toLowerCase()))?(e="".concat(null===(l=null===e||void 0===e?void 0:e.toLowerCase())||void 0===l?void 0:l.split(null===T||void 0===T?void 0:T.toLowerCase())[0],'<strong class="bg-warning">').concat(T," </strong> ").concat(null===(o=null===e||void 0===e?void 0:e.toLowerCase())||void 0===o?void 0:o.split(null===T||void 0===T?void 0:T.toLowerCase())[1]),(0,a.jsx)("a",{href:"".concat(g.HJ,"report/").concat(i,"/"),rel:"noopener",target:"_blank",dangerouslySetInnerHTML:{__html:"".concat(e)}})):(0,a.jsx)("a",{href:"".concat(g.HJ,"report/").concat(i,"/"),rel:"noopener",target:"_blank",children:e})};return ce?(0,a.jsx)(w.default,{pageCode:"404"}):(0,a.jsxs)("div",{children:[(0,a.jsxs)(r.default,{children:[(0,a.jsx)("title",{children:"guide"===(null===e||void 0===e?void 0:e.from)?"".concat(null===e||void 0===e?void 0:e.keywordName," Guide List | Diamond Certified Re
1source"):"people"===(null===e||void 0===e?void 0:e.from)?"".concat(null===e||void 0===e?void 0:e.keywordName," Business Expert | Diamond Certified Resource"):"tips"===(null===e||void 0===e?void 0:e.from)?"".concat(null===e||void 0===e?void 0:e.keywordName," Articles List | Diamond Certified Resource"):"Diamond Certified"}),(0,a.jsx)("meta",{name:"description",content:"guide"===(null===e||void 0===e?void 0:e.from)?"".concat(null===e||void 0===e?void 0:e.keywordName," - Diamond Certified Guides | Created with Years of Research & Working with Industry Experts to Help You with Quality and Genuine Content"):"tips"===(null===e||void 0===e?void 0:e.from)?"".concat(null===e||void 0===e?void 0:e.keywordName," - Diamond Certified Articles | Created With Years of Research & Working with Industry Experts to Help You with Quality & Genuine Content"):"people"===(null===e||void 0===e?void 0:e.from)?"".concat(null===e||void 0===e?void 0:e.keywordName," - Diamond Certified Business Expert | Get business tips and learn more from his expereince"):"morePostCompany"===(null===e||void 0===e?void 0:e.from)?"See more posts that will help make your business work better for you.":"Diamond Certified"}),(0,a.jsx)("meta",{property:"og:title",content:"guide"===(null===e||void 0===e?void 0:e.from)?"".concat(null===e||void 0===e?void 0:e.keywordName," Guide List | Diamond Certified Re
1source"):"people"===(null===e||void 0===e?void 0:e.from)?"".concat(null===e||void 0===e?void 0:e.keywordName," Business Expert | Diamond Certified Resource"):"tips"===(null===e||void 0===e?void 0:e.from)?"".concat(null===e||void 0===e?void 0:e.keywordName," Articles List | Diamond Certified Resource"):"Diamond Certified"}),(0,a.jsx)("meta",{property:"og:description",content:"guide"===(null===e||void 0===e?void 0:e.from)?"".concat(null===e||void 0===e?void 0:e.keywordName," - Diamond Certified Guides | Created with Years of Research & Working with Industry Experts to Help You with Quality and Genuine Content"):"tips"===(null===e||void 0===e?void 0:e.from)?"".concat(null===e||void 0===e?void 0:e.keywordName," - Diamond Certified Articles | Created With Years of Research & Working with Industry Experts to Help You with Quality & Genuine Content"):"people"===(null===e||void 0===e?void 0:e.from)?"".concat(null===e||void 0===e?void 0:e.keywordName," - Diamond Certified Business Expert | Get business tips and learn more from his expereince"):"morePostCompany"===(null===e||void 0===e?void 0:e.from)?"See more posts that will help make your business work better for you.":"Diamond Certified"}),(0,a.jsx)("link",{rel:"icon",href:"https://diamondcertified.org/wp_contents/homepage/logo-icon.png",type:"image/png",sizes:"16x16"})]}),(0,a.jsx)(m.default,{}),(0,a.jsxs)(d.Z,{className:"main mheader innerpage",children:[(0,a.jsx)("nav",{"aria-label":"breadcrumb",children:(0,a.jsxs)("ol",{className:"breadcrumb",children:[(0,a.jsx)("li",{className:"breadcrumb-item",children:(0,a.jsx)("a",{href:"".concat(g.HJ),children:"Home"})}),(0,a.jsx)("li",{className:"breadcrumb-item active","aria-current":"page",children:"Search"}),(0,a.jsx)("li",{className:"breadcrumb-item active","aria-current":"page",children:"Related"}),""==T&&(null===R||void 0===R?void 0:R.length)>0||"COExpert"==(null===e||void 0===e?void 0:e.from)&&(null===R||void 0===R?void 0:R.length)>0?R&&(null===R||void 0===R?void 0:R.map((function(e,i){return(0,a.jsx)("li",{className:"breadcrumb-item active","aria-current":"page",children:(0,a.jsx)("a",{href:null===e||void 0===e?void 0:e.pageLink,children:null===e||void 0===e?void 0:e.pageName})})}))):(0,a.jsxs)("li",{className:"breadcrumb-item active","aria-current":"page",children:[T," "]})]})}),(0,a.jsxs)(c.Z,{children:[(0,a.jsxs)(u.Z,{lg:8,md:7,children:[(0,a.jsx)("div",{className:"gap-main-row first-gap-main-row",children:(null===X||void 0===X||null===(i=X.query)||void 0===i?void 0:i.location)?(0,a.jsxs)("h1",{children:["Results for ",(0,a.jsxs)("span",{className:"text-capitalize",children:["\u201c",(null===e||void 0===e?void 0:e.keywordName)?null===e||void 0===e?void 0:e.keywordName:"","\u201d"]})," ",null===X||void 0===X||null===(s=X.query)||void 0===s?void 0:s.location]}):""}),(0,a.jsx)("div",{className:"rtsidecomp blogsection ResourceTopics",children:(0,a.jsx)("div",{className:J&&J.length>0?"gap-main-row  productmultistep":"gap-main-row  first-gap-main-row",children:(0,a.jsx)(c.Z,{children:J&&J.length>0?J.map((function(i,s){var l,o,n,r,t,d,m,v,p,f,x,j,N;return"people"==(null===e||void 0===e?void 0:e.from)?(0,a.jsx)(u.Z,{xs:12,sm:12,className:"mb-5",id:"serach-page-scroll",children:(null===i||void 0===i?void 0:i.expert_name)?(0,a.jsxs)(c.Z,{children:[(0,a.jsxs)(u.Z,{lg:8,md:12,sm:12,xs:12,children:[(0,a.jsx)("h4",{className:"read proh1",onClick:function(){return ge(i)},children:(0,a.jsx)("a",{href:"".concat(g.HJ,"report/").concat(i.slug,"/"),rel:"noopener",target:"_blank",children:(null===i||void 0===i?void 0:i.expert_name)?null===i||void 0===i?void 0:i.expert_name.replace("&#8217;","'"):""})}),(0,a.jsx)("p",{className:"read someblog mt-3",children:null===(o=null===i||void 0===i||null===(l=i.short_description)||void 0===l?void 0:l.replace(/<\/?[^>]+(>|$)/g,""))||void 0===o?void 0:o.replace("&amp;"," ")}),(0,a.jsx)(c.Z,{className:"blogicon guidePg",children:(0,a.jsx)(u.Z,{sm:12})})]}),(0,a.jsx)(u.Z,{lg:4,md:12,sm:12,xs:12,className:"imgfirstmob",children:(null===i||void 0===i?void 0:i.image_url)?(0,a.jsx)(h.default,{loader:C.tQ,src:i.image_url,alt:"search image",layout:"responsive",width:100,height:82,className:"productimg margin-img m-0"}):""})]}):(null===i||void 0===i?void 0:i.full_name)?(0,a.jsxs)(c.Z,{children:[(0,a.jsxs)(u.Z,{lg:8,md:12,sm:12,xs:12,children:[(0,a.jsx)("h4",{className:"read proh1 read-more",onClick:function(){null!==i.slug&&function(e){if(null===e||void 0===e?void 0:e.slug){var i={company:(null===e||void 0===e?void 0:e.company_id)?null===e||void 0===e?void 0:e.company_id:"0",tab:"company-article"};localStorage.setItem("companyTabName",JSON.stringify(i)),window.open("/report/".concat(null===e||void 0===e?void 0:e.slug,"/"),"_blank")}}(i)},children:(0,a.jsx)("span",{className:"link",style:{color:"#3875CF"},children:null===i||void 0===i?void 0:i.full_name})}),(0,a.jsx)("p",{className:"read someblog mt-3",children:i.position}),(0,a.jsx)(c.Z,{className:"blogicon guidePg",children:(0,a.jsx)(u.Z,{sm:12})})]}),(0,a.jsx)(u.Z,{lg:4,md:12,sm:12,xs:12,className:"imgfirstmob",children:(null===i||void 0===i?void 0:i.photo_url)?(0,a.jsx)(h.default,{loader:C.tQ,src:i.photo_url,alt:"search image",layout:"responsive",width:100,height:82,className:"productimg margin-img m-0"}):""})]}):(null===i||void 0===i?void 0:i.name)?(0,a.jsxs)(c.Z,{children:[(0,a.jsxs)(u.Z,{lg:8,md:12,sm:12,xs:12,children:[(0,a.jsx)("h4",{className:"read proh1",style:{color:"#3875CF"},children:(0,a.jsx)("a",{href:"".concat(Z(i,g.HJ,null===e||void 0===e?void 0:e.from)),children:null===i||void 0===i?void 0:i.name})}),(0,a.jsx)("p",{className:"read someblog mt-3",children:null===i||void 0===i?void 0:i.sub_description.replace(C.Rk,"")}),(0,a.jsx)(c.Z,{className:"blogicon guidePg",children:(0,a.jsx)(u.Z,{sm:12})})]}),(0,a.jsx)(u.Z,{lg:4,md:12,sm:12,xs:12,className:"imgfirstmob",children:(null===i||void 0===i?void 0:i.user_url)?(0,a.jsx)(h.default,{loader:C.tQ,src:i.user_url,alt:"Resources Topics",layout:"responsive",width:100,height:86,className:"productimg m-0"}):""})]}):null},s):"tips"==(null===e||void 0===e?void 0:e.from)?(0,a.jsx)(u.Z,{xs:12,sm:12,className:"mb-5",id:"serach-page-scroll",children:(0,a.jsxs)(c.Z,{children:[(0,a.jsxs)(u.Z,{lg:8,md:12,sm:12,xs:12,children:[(null===i||void 0===i?void 0:i.company_id)?(0,a.jsx)("h4",{className:"read proh1",onClick:function(){return ge(i)},children:je((null===i||void 0===i?void 0:i.title)?null===i||void 0===i?void 0:i.title.replace("&#8217;","'"):"",i.slug)}):(null===i||void 0===i?void 0:i.article_id)?(0,a.jsx)("h4",{className:"read proh1",children:(0,a.jsx)("a",{href:"".concat(Z(i,g.HJ,null===e||void 0===e?void 0:e.from)),children:(null===i||void 0===i?void 0:i.title)?null===i||void 0===i?void 0:i.title:""})}):"",(null===i||void 0===i?void 0:i.listing_description)?(0,a.jsx)("p",{className:"read someblog mt-3",children:null===(r=null===i||void 0===i||null===(n=i.listing_description)||void 0===n?void 0:n.replace(/<\/?[^>]+(>|$)/g,""))||void 0===r?void 0:r.replace("&amp;"," ").replace("&#8217;","'")}):(null===i||void 0===i?void 0:i.sub_description)?(0,a.jsx)("p",{className:"read someblog mt-3",children:null===(d=null===i||void 0===i||null===(t=i.sub_description)||void 0===t?void 0:t.replace(/<\/?[^>]+(>|$)/g,""))||void 0===d?void 0:d.replace("&amp;"," ").replace("&#8217;","'")}):"",(0,a.jsx)(c.Z,{className:"blogicon guidePg",children:(0,a.jsx)(u.Z,{sm:12})})]}),(0,a.jsx)(u.Z,{lg:4,md:12,sm:12,xs:12,className:"imgfirstmob",children:(null===i||void 0===i?void 0:i.image_url)?(0,a.jsx)(h.default,{loader:C.tQ,src:i.image_url,alt:"search image",layout:"responsive",width:100,height:82,className:"productimg margin-img m-0"}):(null===i||void 0===i?void 0:i.photos_url)?(0,a.jsx)(h.default,{loader:C.tQ,src:i.photos_url,alt:"search image",layout:"responsive",width:100,height:82,className:"productimg margin-img m-0"}):""})]})},s):"guide"==(null===e||void 0===e?void 0:e.from)?(0,a.jsx)(u.Z,{xs:12,sm:12,className:"mb-5",id:"serach-page-scroll",children:(0,a.jsxs)(c.Z,{children:[(0,a.jsxs)(u.Z,{lg:8,md:12,sm:12,xs:12,children:[(0,a.jsx)("h4",{className:"read proh1",children:(0,a.jsx)("a",{href:"".concat(Z(i,g.HJ,null===e||void 0===e?void 0:e.from)),children:(null===i||void 0===i?void 0:i.title)?null===i||void 0===i?void 0:i.title:""})}),(0,a.jsx)("p",{className:"read someblog mt-3",children:null===(v=null===i||void 0===i||null===(m=i.sub_description)||void 0===m?void 0:m.replace(/<\/?[^>]+(>|$)/g,""))||void 0===v?void 0:v.replace("&amp;"," ")}),(0,a.jsx)(c.Z,{className:"blogicon guidePg",children:(0,a.jsx)(u.Z,{sm:12})})]}),(0,a.jsx)(u.Z,{lg:4,md:12,sm:12,xs:12,className:"imgfirstmob",children:(null===i||void 0===i?void 0:i.photos_url)?(0,a.jsx)(h.default,{loader:C.tQ,src:i.photos_url,alt:"search image",layout:"responsive",width:100,height:82,className:"productimg margin-img m-0"}):""})]})},s):"COExpert"==(null===e||void 0===e?void 0:e.from)||"HelpFulExpert"==(null===e||void 0===e?void 0:e.from)?(0,a.jsx)(u.Z,{xs:12,sm:12,className:"mb-5",id:"serach-page-scroll",children:(0,a.jsxs)(c.Z,{children:[(0,a.jsxs)(u.Z,{lg:8,md:12,sm:12,xs:12,children:[(0,a.jsx)("h4",{className:"read proh1",onClick:function(){return ge(i)},children:(0,a.jsx)("a",{href:"".concat(g.HJ,"report/").concat(i.slug,"/"),rel:"noopener",target:"_blank",dangerouslySetInnerHTML:{__html:"".concat(null===i||void 0===i||null===(p=i.expert_name)||void 0===p?void 0:p.replace("&#8217;","'"))}})}),(0,a.jsx)("p",{className:"read someblog mt-3",children:null===(x=null===i||void 0===i||null===(f=i.short_description)||void 0===f?void 0:f.replace(/<\/?[^>]+(>|$)/g,""))||void 0===x?void 0:x.replace("&amp;"," ")}),(0,a.jsx)(c.Z,{className:"blogicon guidePg",children:(0,a.jsx)(u.Z,{sm:12})})]}),(0,a.jsx)(u.Z,{lg:4,md:12,sm:12,xs:12,className:"imgfirstmob",children:(null===i||void 0===i?void 0:i.image_url)?(0,a.jsx)(h.default,{loader:C.tQ,src:i.image_url,alt:"search image",layout:"responsive",width:100,height:82,className:"productimg margin-img m-0"}):""})]})},s):(0,a.jsx)(u.Z,{xs:12,sm:12,className:"mb-5",id:"serach-page-scroll",children:25==(null===i||void 0===i?void 0:i.post_type_id)?(0,a.jsxs)(c.Z,{children:[(0,a.jsxs)(u.Z,{lg:8,md:12,sm:12,xs:12,children:[(0,a.jsx)("h4",{className:"read proh1",children:(0,a.jsx)("a",{href:"".concat(Z(i,g.HJ,null===e||void 0===e?void 0:e.from)),children:(null===i||void 0===i?void 0:i.title)?null===i||void 0===i?void 0:i.title:""})}),(0,a.jsx)("p",{className:"read someblog mt-3",dangerouslySetInnerHTML:{__html:null===i||void 0===i?void 0:i.sub_description.replace(C.Rk,"")}}),(0,a.jsx)(c.Z,{className:"blogicon guidePg",children:(0,a.jsx)(u.Z,{sm:12,children:(0,a.jsxs)("ul",{className:"textRt social-list like
1sharesave",children:[(0,a.jsxs)("li",{className:"mr-readmin",children:[i.read_time," minute read"]}),(0,a.jsx)("li",{children:(0,a.jsxs)("button",{className:"".concat(pe.length>0&&(null===pe||void 0===pe?void 0:pe.includes(String(i.article_id)))?"success":""),disabled:oe,id:"guide-".concat(null===i||void 0===i?void 0:i.article_id),onClick:function(){return xe(i,s)},children:[(0,a.jsx)("span",{className:"likebutton"}),(0,a.jsx)("span",{className:"like-count like-count-new",children:i.like_count})]})}),(0,a.jsxs)("li",{children:[(0,a.jsx)("span",{onClick:function(){E(!H),L(s)},className:H&&I==s?"selectedshare sharebutton sharebuttonselect":"sharebutton"}),H&&I==s?(0,a.jsx)(b.default,{Subject:"Link for :".concat((null===i||void 0===i?void 0:i.industry_title)?null===i||void 0===i?void 0:i.industry_title:""," Article"),Link:Z(i,"".concat(null===window||void 0===window||null===(j=window.location)||void 0===j?void 0:j.origin,"/"),null===e||void 0===e?void 0:e.from),Title:null===i||void 0===i?void 0:i.title,Cancel:E}):""]})]})})})]}),(0,a.jsx)(u.Z,{lg:4,md:12,sm:12,xs:12,className:"imgfirstmob",children:(null===i||void 0===i?void 0:i.photos_url)&&(null===i||void 0===i?void 0:i.photos)||(null===i||void 0===i?void 0:i.photos_url)?(0,a.jsx)(h.default,{loader:C.tQ,src:i.photos_url,alt:"Resources Topics",layout:"responsive",width:100,height:86,className:"productimg m-0"}):(null===i||void 0===i?void 0:i.photos)?(0,a.jsx)(h.default,{loader:C.tQ,src:"data:image/jpg;base64, ".concat(i.photos),alt:"Resources Topics",layout:"responsive",width:100,height:86,className:"productimg m-0"}):""})]}):(0,a.jsxs)(c.Z,{children:[(0,a.jsxs)(u.Z,{lg:8,md:12,sm:12,xs:12,children:[(0,a.jsx)("h4",{className:"read proh1",children:(0,a.jsx)("a",{href:"".concat(Z(i,g.HJ,null===e||void 0===e?void 0:e.from)),children:(null===i||void 0===i?void 0:i.title)?null===i||void 0===i?void 0:i.title:""})}),(0,a.jsx)("p",{className:"read someblog mt-3",dangerouslySetInnerHTML:{__html:null===i||void 0===i?void 0:i.sub_description}}),(0,a.jsx)(c.Z,{className:"blogicon guidePg",children:(0,a.jsx)(u.Z,{sm:12,children:(0,a.jsxs)("ul",{className:"textRt social-list likesharesave",children:[(0,a.jsxs)("li",{className:"mr-readmin",children:[i.read_time," minute read"]}),(0,a.jsx)("li",{children:(0,a.jsxs)("button",{className:"".concat(pe.length>0&&(null===pe||void 0===pe?void 0:pe.includes(String(i.article_id)))?"success":""),disabled:oe,id:"post-".concat(null===i||void 0===i?void 0:i.article_id),onClick:function(){return xe(i,s)},children:[(0,a.jsx)("span",{className:"likebutton"}),(0,a.jsx)("span",{className:"like-count like-count-new",children:i.like_count})]})}),(0,a.jsxs)("li",{children:[(0,a.jsx)("span",{onClick:function(){E(!H),L(s)},className:H&&I==s?"selectedshare sharebutton sharebuttonselect":"sharebutton"}),H&&I==s?(0,a.jsx)(b.default,{Subject:"Link for :".concat((null===i||void 0===i?void 0:i.industry_title)?null===i||void 0===i?void 0:i.industry_title:""," Article"),Link:Z(i,"".concat(null===window||void 0===window||null===(N=window.location)||void 0===N?void 0:N.origin,"/"),null===e||void 0===e?void 0:e.from),Title:null===i||void 0===i?void 0:i.title,Cancel:E}):""]})]})})})]}),(0,a.jsx)(u.Z,{lg:4,md:12,sm:12,xs:12,className:"imgfirstmob",children:(null===i||void 0===i?void 0:i.photos_url)&&(null===i||void 0===i?void 0:i.photos)||(null===i||void 0===i?void 0:i.photos_url)?(0,a.jsx)(h.default,{loader:C.tQ,src:i.photos_url,alt:"Resources Topics",layout:"responsive",width:100,height:82,className:"productimg margin-img m-0"}):(null===i||void 0===i?void 0:i.photos)?(0,a.jsx)(h.default,{loader:C.tQ,src:"data:image/jpg;base64, ".concat(i.photos),alt:"Resources Topics",layout:"responsive",width:100,height:82,className:"productimg margin-img m-0"}):""})]})},s)})):J&&(0,a.jsx)("div",{className:"redirectMessage",children:"Sorry! We currently do not have any results to show."})})})}),(0,a.jsx)("div",{className:"pagination-blogpg",children:U>1?(0,a.jsxs)("div",{className:"bottomdiv",children:[(0,a.jsx)("div",{className:"colg",children:(0,a.jsxs)("span",{className:"pgea",children:["Page ",Y," of ",U]})}),(0,a.jsx)("div",{className:"colg",children:(0,a.jsxs)("div",{className:"pagination",children:[(0,a.jsx)("span",{onClick:function(){var e=F.indexOf(Y);if(2==e)if(Y>3){for(var i=[],s=0;s<F.length;s++)i.push(F[s]-1);G(i);var l=(Y-2)*g.ST,o=(Y-1)*g.ST;B(Y-1),he(l,o)}else{var a=(Y-2)*g.ST,n=(Y-1)*g.ST;B(Y-1),he(a,n)}else if(0!==e){var r=(Y-2)*g.ST,t=(Y-1)*g.ST;B(Y-1),he(r,t)}else if(0==e){var d=0*g.ST,c=1*g.ST;B(Y),he(d,c)}},className:"arrow",children:(0,a.jsx)(N.URD,{})}),F&&F.map((function(e,i){return(0,a.jsx)("span",{className:Y==e?"active":"",onClick:function(){return function(e,i){var s=document.getElementById("serach-page-scroll").offsetTop;if(window.scrollTo(0,s),2==i){var l=(e-1)*g.ST,o=e*g.ST;B(e),he(l,o)}else if(1==i)if(e>2){for(var a=[],n=0;n<F.length;n++)a.push(F[n]-1);G(a);var r=(e-1)*g.ST,t=e*g.ST;B(e),he(r,t)}else{var d=(e-1)*g.ST,c=e*g.ST;B(e),he(d,c)}else if(0==i)if(e>2){for(var u=[],m=0;m<F.length;m++)u.push(F[m]-2);G(u);var h=(e-1)*g.ST,v=e*g.ST;B(e),he(h,v)}else if(e>1){for(var p=[],f=0;f<F.length;f++)p.push(F[f]-1);G(p);var x=(e-1)*g.ST,j=e*g.ST;B(e),he(x,j)}else{var N=(e-1)*g.ST,b=e*g.ST;B(e),he(N,b)}else if(3==i)if(U>5&&e<=U-2){for(var y=[],w=0;w<F.length;w++)y.push(F[w]+1);G(y);var C=(e-1)*g.ST,_=e*g.ST;B(e),he(C,_)}else{var S=(e-1)*g.ST,k=e*g.ST;B(e),he(S,k)}else if(4==i)if(U>5&&e<=U-2){for(var Z=[],T=0;T<F.length;T++)Z.push(F[T]+2);G(Z);var R=(e-1)*g.ST,q=e*g.ST;B(e),he(R,q)}else if(U>5&&e<=U-1){for(var P=[],H=0;H<F.length;H++)P.push(F[H]+1);G(P);var E=(e-1)*g.ST,D=e*g.ST;B(e),he(E,D)}else{var I=(e-1)*g.ST,L=e*g.ST;B(e),he(I,L)}}(e,i)},children:e},i)})),(0,a.jsx)("span",{className:"arrow",onClick:function(){var e=F.indexOf(Y);if(2==e){if(U>5&&Y<U-2){for(var i=[],s=0;s<F.length;s++)i.push(F[s]+1);G(i);var l=Y*g.ST,o=(Y+1)*g.ST;B(Y+1),he(l,o)}else if(Y<U){var a=Y*g.ST,n=(Y+1)*g.ST;B(Y+1),he(a,n)}}else if(4!==e&&-1!=e&&Y<U){var r=Y*g.ST,t=(Y+1)*g.ST;B(Y+1),he(r,t)}else if(4==e&&U==Y){var d=(Y-1)*g.ST,c=Y*g.ST;B(Y),he(d,c)}},children:(0,a.jsx)(N.ZC5,{})})]})})]}):""})]}),(0,a.jsxs)(u.Z,{lg:4,md:5,className:" rtside",children:[(0,a.jsx)(v.default,{}),(0,a.jsx)(p.default,{}),(0,a.jsxs)("div",{className:"rtsidecomp gap-main-row",children:[(0,a.jsx)("h4",{children:"Request and Refer"}),(0,a.jsxs)("ul",{className:"rrefer rreferlink",children:[(0,a.jsx)("li",{children:(0,a.jsxs)("a",{href:"".concat(g.HJ,"MembershipSignup/"),children:["We\u2019ll Mail You a Free Diamond Certified ",(0,a.jsx)("span",{children:"Directory"})]})}),(0,a.jsx)("li",{children:(0,a.jsxs)("a",{href:"".concat(g.HJ,"membership/"),children:["Become a Diamond Certified Preferred ",(0,a.jsx)("span",{children:"Consumer (ALWAYS FREE)"})]})}),(0,a.jsx)("li",{children:(0,a.jsxs)("a",{href:"".concat(g.HJ,"refer-a-company-to-earn-diamond-certified/"),children:["Refer a Company to Try to Earn ",(0,a.jsx)("span",{children:"Diamond Certified"})]})})]})]}),(0,a.jsx)(f.default,{}),(0,a.jsx)(x.default,{})]})]}),(0,a.jsxs)("div",{className:"gap-main-row dcpergrnt scrollcomp searchpage",children:[ie&&JSON.parse(ie).length>0?(0,a.jsx)("h1",{children:"Related Reading"}):null,(0,a.jsx)(c.Z,{className:"specificationquality searchrelread ratecomp",children:ie&&JSON.parse(ie).length>0&&JSON.parse(ie).map((function(e,i){return(0,a.jsxs)(u.Z,{md:3,lg:4,children:[(null===e||void 0===e?void 0:e.photos_url)&&(0,a.jsx)(h.default,{loader:C.tQ,src:null===e||void 0===e?void 0:e.photos_url,alt:"Banner",layout:"responsive",width:100,height:80}),(0,a.jsxs)("a",{href:(0,C.KO)(e,g.HJ),rel:"noopener",target:"_blank",children:[" ",(0,a.jsx)("h5",{className:"search",children:(null===e||void 0===e?void 0:e.title)&&e.title})]}),(0,a.jsx)("p",{className:"daterelread",children:(null===e||void 0===e?void 0:e.date_of_created)?new Date(null===e||void 0===e?void 0:e.date_of_created).toDateString().slice(3):""}),(0,a.jsx)("p",{className:"morelink mt-0",children:(0,a.jsx)("i",{children:(null===e||void 0===e?void 0:e.sub_title)&&e.sub_title})})]},i)}))})]})]}),(0,a.jsx)(t.default,{})]})}}},function(e){e.O(0,[9774,260,2013,5675,8999,9638,756,4853,8808,4236,9582,4134,2670,2888,179],(function(){return i=57756,e(e.s=i);var i}));var i=e.O();_N_E=i}]);

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.