PageSourceSearch

https://www.puratos.com/etc.clientlibs/settings/wcm/designs/purato…/js/myPuratos-contact.f9023cfa.chunk.js

js puratos.com collected 2026-10-02 03:58:39 UTC 7,370 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkpuratos_react=self.webpackChunkpuratos_react||[]).push([[9624],{60418(e,t,a){a.d(t,{A:()=>c});a(96540);var r=a(5556),n=a.n(r),s=a(74848);const i=e=>{let{name:t,title:a,image:r,primaryEmail:n,secondaryEmail:c,primaryPhone:o,secondaryPhone:l}=e;const m=r||i.defaultProps.image;return(0,s.jsxs)("div",{className:"well text-center",children:[(0,s.jsx)("div",{className:"p-avatar p-avatar--lg bg-lazyload lazyload",style:{backgroundImage:"url('".concat(m,"')")}}),(0,s.jsx)("h6",{className:"p-margin-none",children:t}),(0,s.jsxs)("ul",{className:"list-unstyled p-list-text p-margin-none",children:[a&&(0,s.jsx)("li",{children:(0,s.jsx)("em",{children:a})}),n&&(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"mailto:".concat(n),children:n})}),c&&(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"mailto:".concat(c),children:c})}),o&&(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"tel:".concat(o),children:o})}),l&&(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"tel:".concat(l),children:l})})]})]})};i.propTypes={name:n().string,title:n().string,image:n().string,primaryEmail:n().string,secondaryEmail:n().string,primaryPhone:n().string,secondaryPhone:n().string},i.defaultProps={image:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAwIDIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjIiPgogIDxwYXRoIGQ9Ik0zMy4wNTQgMTUwLjg0MnYxNS44NTJoMTMzLjU2NWwtLjI5OS0xNi40OGMwLTIwLjUyNy0yMC42NTEtMjQuNTA2LTI5LjU1NC0yOC4zNy04LjU1OS0zLjcxNS0yNC40NzEtMy43NDItMzUuNDEyLTQuMDU2LTkuMjIzLS4yNjUtMjAuMTI2IDEuNjE0LTI4LjUzMSAyLjU4NS0xMS4xOTkgMS4yOTQtMzkuNzY5IDExLjkzNy0zOS43NjkgMzAuNDY5WiIgZmlsbD0iIzc3NyIvPgogIDxjaXJjbGUgY3g9IjEwOC4wMzciIGN5PSI3NS4wOTkiIHI9IjMzLjQ2NSIgZmlsbD0iIzc3NyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTguMTY4NjQgLTguMTY4NjQpIi8+Cjwvc3ZnPgo="};const c=i},85356(e,t,a){a.r(t),a.d(t,{default:()=>v});var r=a(96540),n=a(19115),s=a(55337),i=a(60418),c=(a(14267),a(5556)),o=a.n(c),l=a(74848);const m=e=>{let{title:t,children:a}=e;return(0,l.jsxs)("div",{className:"col-xs-12 col-sm-4",children:[t&&(0,l.jsx)("div",{className:"text-style2-semi-bold content-info-title p-margin-bottom-sm",children:t}),(0,l.jsx)("ul",{className:"list-unstyled p-list-text text-very-small",children:a})]})};m.propTypes={title:o().string,children:o().node},m.defaultProps={};const d=m,p=e=>(0,l.jsx)("li",{dangerouslySetInnerHTML:{__html:e.address.address}},e.address.address),h=e=>e.officeHours.filter(e=>e.sectionTitle||e.description).map(e=>(0,l.jsxs)(r.Fragment,{children:[(0,l.jsx)("li",{children:(0,l.jsx)("label",{children:e.sectionTitle})}),(0,l.jsx)("li",{className:"p-margin-bottom-sm",children:e.description})]},e.sectionTitle)),u=e=>(0,l.jsxs)(r.Fragment,{children:[e.telephone&&(0,l.jsxs)("li",{children:[(0,l.jsx)("span",{children:"Tel"}),(0,l.jsx)("a",{href:"tel:".concat(e.telephone),className:"p-margin-left-sm",children:e.telephone})]}),e.fax&&(0,l.jsxs)("li",{children:[(0,l.jsx)("span",{className:"p-margin-right-sm",children:"Fax"})," ",e.fax]}),e.mail&&(0,l.jsxs)("li",{children:[(0,l.jsx)("span",{children:"Mail"})," ",(0,l.jsx)("a",{href:"mailto:".concat(e.mail),className:"p-margin-left-sm",children:e.mail})]})]}),y=e=>{let{contactModel:t}=e;return t&&(0,l.jsxs)("div",{className:"row p-line-sm contact-information-section",children:[t.address&&(0,l.jsx)(d,{title:t.address.addressTitle,children:p(t)}),(0,l.jsx)(d,{title:t.officeHoursTitle,children:h(t)}),(0,l.jsx)(d,{title:t.contactDetailsTitle,children:u(t)})]})};y.propTypes={contactModel:o().object},y.defaultProps={};const g=y;var j=a(30673),x=a(95764),f=a(21978);function M(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function b(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?M(Object(a),!0).forEach(function(t){N(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):M(Object(a)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function N(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class P extends r.Component{constructor(){super(...arguments),N(this,"submitRequest",e=>{const{contactModel:t}=this.props;this.props.submitFormRequest(b(b({},e),{},{modelPath:t.formPath}))}),N(this,"managerProperties",["name","title","primaryEmail","secondaryEmail","primaryPhone","secondaryPhone"]),N(this,"accountManagerHasData",e=>e&&(0,x.v)(e,this.managerProperties)),N(this,"stateManagerHasData",e=>e&&(0,x.v)(e,this.managerProperties))}componentDidUpdate(e){const{mapping:t}=this.props;e.mapping!==t&&(this.props.fetchFormModel(t),this.props.fetchAccountManager(),this.props.fetchContactModel(t))}componentDidMount(){const{mapping:e}=this.props;this.props.fetchFormModel(e),this.props.fetchAccountManager(),this.props.fetchContactModel(e),(0,f.c)("contact")}render(){const{accountManager:e,stateManager:t,contactModel:a,contactInformation:r,formTypes:n}=this.props;return(0,l.jsxs)(j.A,{title:a.title,description:a.text,children:[(0,l.jsxs)("div",{className:"row p-flex p-flex-wrap",children:[(0,l.jsx)("div",{className:"col-xs-12 col-sm-8"}),(0,l.jsxs)("div",{className:"col-xs-12 col-sm-4",children:[this.accountManagerHasData(e)?(0,l.jsx)(i.A,{name:e.name,title:e.title,image:e.image,primaryEmail:e.primaryEmail,secondaryEmail:e.secondaryEmail,primaryPhone:e.primaryPhone,secondaryPhone:e.secondaryPhone}):null,this.stateManagerHasData(t)?(0,l.jsx)(i.A,{name:t.name,title:t.title,image:t.image,primaryEmail:t.primaryEmail,secondaryEmail:t.secondaryEmail,primaryPhone:t.primaryPhone,secondaryPhone:t.secondaryPhone}):null]})]}),(0,l.jsx)("div",{className:"p-divider-sm",children:(0,l.jsx)(g,{contactModel:r})})]})}}const I={fetchFormModel:s._L,fetchAccountManager:s.tk,submitFormRequest:s.aK,fetchContactModel:s._x},v=(0,n.connect)(e=>({contactModel:e.myPuratos_contact.aemResource,accountManager:e.myPuratos_contact.accountManager,stateManager:e.myPuratos_contact.stateManager,contactInformation:e.myPuratos_contact.contactInformation,i18n:e.myPuratos_i18n.i18n,mapping:e.myPuratos_dashboard.mapping,formTypes:(e.myPuratos_contact.aemResource||{}).contactItems.reduce((e,t)=>[...e,t.topicTitle],[])}),I)(P)},95764(e,t,a){function r(e,t){return Object.keys(e).some(e=>t.indexOf(e))}a.d(t,{v:()=>r})},21978(e,t,a){a.d(t,{c:()=>i});var r=a(74692),n=a.n(r);const s="href",i=e=>{var t;const a=n()(".p-navbar--lang-dropdown")[0];a&&(null===(t=n()(a).children())||void 0===t||t.each(function(){const t=n()(this).attr(s),a=new RegExp("/mypuratos/?(.*)");a.test(t)&&null!==t&&void 0!==t&&t.endsWith(!!t.match(a)&&t.match(a)[0])&&n()(this).attr(s,t.replace(t.match(a)[0],"".concat("/mypuratos","/").concat(e)))}))}}}]);
2//# sourceMappingURL=myPuratos-contact.f9023cfa.chunk.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.