@assaabloy/gw-group-single-page-content
Advanced tools
Comparing version 5.0.1 to 6.0.0
{ | ||
"name": "@assaabloy/gw-group-single-page-content", | ||
"version": "5.0.1", | ||
"version": "6.0.0", | ||
"description": "Web component - Single Page Content", | ||
@@ -17,3 +17,3 @@ "type": "module", | ||
"license": "MIT", | ||
"gitHead": "35f44e19f96760ab5710ef4d24162745f4e7c412" | ||
"gitHead": "a61898da650f3f662a1c26c1c6037bce22a501b5" | ||
} |
@@ -1,1 +0,1 @@ | ||
!function(t){function e(e){for(var r,i,l=e[0],c=e[1],d=e[2],u=0,p=[];u<l.length;u++)i=l[u],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&p.push(a[i][0]),a[i]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(t[r]=c[r]);for(s&&s(e);p.length;)p.shift()();return o.push.apply(o,d||[]),n()}function n(){for(var t,e=0;e<o.length;e++){for(var n=o[e],r=!0,l=1;l<n.length;l++){var c=n[l];0!==a[c]&&(r=!1)}r&&(o.splice(e--,1),t=i(i.s=n[0]))}return t}var r={},a={16:0},o=[];function i(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/";var l=this["webpackJsonpgw-group-web-components"]=this["webpackJsonpgw-group-web-components"]||[],c=l.push.bind(l);l.push=e,l=l.slice();for(var d=0;d<l.length;d++)e(l[d]);var s=c;o.push([146,0]),n()}({0:function(t,e){t.exports=React},11:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(0),a=n.n(r),o=n(3),i=n(1);function l(){var t=Object(o.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n "]);return l=function(){return t},t}function c(){var t=Object(o.a)(["\n\na {\n color: inherit;\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n text-decoration-thickness: var(--text-decoration-thickness);\n }\n}\n\n",";\n"]);return c=function(){return t},t}var d=i.default.div(c(),(function(t){var e=t.rowLimit;return void 0!==e&&Object(i.css)(l(),e)})),s=function(t){var e=t.text,n=t.link,r=void 0!==n&&n,o=t.size,i=t.className,l=t.rowLimit,c=a.a.createElement(o,{},e),s=a.a.createElement(o,{},a.a.createElement("a",{href:r},e));return a.a.createElement(d,{rowLimit:l,className:i},r?s:c)}},121:function(t,e,n){"use strict";n.r(e);var r=n(20),a=n(47);e.default=r.a.create({component:a.a,configuration:{tagname:"gw-group-single-page-content",useShadow:!1},plugins:[]})},14:function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(16),a=n(0),o=n.n(a),i=n(3),l=n(1);function c(){var t=Object(i.a)(["\n background-color: var(--button-contrast-hover-background);\n border-color: var(--button-contrast-hover-border);\n color: var(--button-contrast-hover-text);\n "]);return c=function(){return t},t}function d(){var t=Object(i.a)(["\n background-color: var(--button-secondary-hover-background);\n border-color: var(--button-secondary-hover-border);\n color: var(--button-secondary-hover-text);\n "]);return d=function(){return t},t}function s(){var t=Object(i.a)(["\n background-color: var(--button-primary-hover-background);\n border-color: var(--button-primary-hover-border);\n color: var(--button-primary-hover-text);\n "]);return s=function(){return t},t}function u(){var t=Object(i.a)(["\n background-color: var(--button-contrast-background);\n border-color: var(--button-contrast-border);\n color: var(--button-contrast-text);\n "]);return u=function(){return t},t}function p(){var t=Object(i.a)(["\n background-color: var(--button-secondary-background);\n border-color: var(--button-secondary-border);\n color: var(--button-secondary-text);\n "]);return p=function(){return t},t}function m(){var t=Object(i.a)(["\n background-color: var(--button-primary-background);\n border-color: var(--button-primary-border);\n color: var(--button-primary-text);\n "]);return m=function(){return t},t}var g=l.default.div.withConfig({displayName:"styles__View",componentId:"qw1dis-0"})([""]),f=l.default.button.withConfig({displayName:"styles__Button",componentId:"qw1dis-1"})(["outline:none;border:0;margin:0;display:inline-block;transition:ease-in-out 0.2s;border:2px solid;border-radius:var(--border-radius);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);padding:var(--button-size-small);font-size:var(--button-font-size);border-color:var(--button-border);color:var(--button-text);"," "," "," &:disabled{background-color:var(--button-disabled-background);border-color:var(--button-disabled-border);color:var(--button-disabled-text);cursor:default;pointer-events:none;}&:hover,&:target{text-decoration:underline;background-color:var(--button-hover-background);border-color:var(--button-hover-border);color:var(--button-hover-text);cursor:pointer;"," "," ","}@media only screen and (min-width:767px){padding:var(--button-size-large);}"],(function(t){return"primary"===t.classStyle&&Object(l.css)(m())}),(function(t){return"secondary"===t.classStyle&&Object(l.css)(p())}),(function(t){return"contrast"===t.classStyle&&Object(l.css)(u())}),(function(t){return"primary"===t.classStyle&&Object(l.css)(s())}),(function(t){return"secondary"===t.classStyle&&Object(l.css)(d())}),(function(t){return"contrast"===t.classStyle&&Object(l.css)(c())})),b=function(t){var e=t.label,n=void 0===e?"label":e,a=t.classStyle,i=void 0===a?"default":a,l=t.link,c=void 0!==l&&l,d=t.disabled,s=void 0!==d&&d,u=t.linkHref,p=t.target,m=void 0===p?"_self":p,b=t.downloadLink,v=void 0!==b&&b,h=Object(r.a)(t,["label","classStyle","link","disabled","linkHref","target","downloadLink"]);return o.a.createElement(g,null,o.a.createElement("div",{className:"button aem-ie__cta"},c?o.a.createElement("a",{href:u,download:v,target:m},o.a.createElement(f,Object.assign({disabled:s,classStyle:"".concat(i)},h),o.a.createElement("span",null,n))):o.a.createElement(f,Object.assign({disabled:s,classStyle:i},h),o.a.createElement("span",null,n))))}},19:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(0),a=n.n(r),o=n(11),i=n(9),l=n(1).default.div.withConfig({displayName:"styles__Head",componentId:"sc-1sc6649-0"})(["display:grid;grid-row:1fr 1fr;grid-template-columns:repeat(12,1fr);margin-bottom:var(--spacing-small-1);p{margin:0;}> div:nth-child(1){grid-column:1 / 12;grid-row:1;margin-right:var(--spacing-medium-1);}> div:nth-child(2){grid-column:1 / 13;grid-row:2;margin:var(--spacing-small-1) 0px 0px 0px;}@media only screen and (min-width:980px){grid-gap:1rem;margin-bottom:var(--spacing-medium-1);> div:nth-child(1){grid-row:1;grid-column:1 / 7;margin-right:var(--spacing-medium-1);}> div:nth-child(2){grid-row:1;grid-column:7 / 13;margin:0px;}}"]),c=function(t){return t.title||t.text?a.a.createElement(l,null,t.title&&a.a.createElement(o.a,{text:t.title,size:t.size||"h2"}),t.text&&a.a.createElement(i.a,{html:"<p>".concat(t.text,"</p>"),className:"body-medium aem-ie__text"})):null}},28:function(t,e){t.exports=ReactDOM},4:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"j",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return l})),n.d(e,"g",(function(){return c})),n.d(e,"h",(function(){return d})),n.d(e,"f",(function(){return s})),n.d(e,"i",(function(){return u})),n.d(e,"b",(function(){return p})),n.d(e,"e",(function(){return m}));var r=n(2),a=function(t){try{return JSON.parse(decodeURIComponent(escape(atob(t))))}catch(e){return console.warn("Failed decoding Base64 -> UTF8. Base64 string: ",t),null}},o=function(t){return btoa(unescape(encodeURIComponent(t)))},i=function(t){return"Invalid Date"!==new Date(t).toString()?new Date(t).toISOString().slice(0,10):t},l=function(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},c=function(t){return t.sort((function(t,e){return t.created>e.created?-1:t.created<e.created?1:0}))},d=function(t){return t.sort((function(t,e){return t.created<e.created?-1:t.created>e.created?1:0}))},s=function(t){return t.sort((function(t,e){return t.title<e.title?-1:t.title>e.title?1:0}))},u=function(t){return t.sort((function(t,e){return t.title>e.title?-1:t.title<e.title?1:0}))};function p(t,e){var n,r=arguments,a=this;return function(o){clearTimeout(n),n=setTimeout((function(e){n=null,t.apply(a,r)}),e)}}var m=function(t,e){if(!e.length)return t;var n=Object(r.a)(e,1)[0];return/^\d+$/.test(t)?"".concat(t).concat(n):"string"===typeof t&&e.some((function(e){return t.endsWith(e)}))?t:"string"===typeof t&&"".concat(t.trim().replace(/\D/g,"")||"0").concat(n)}},47:function(t,e,n){"use strict";var r=n(0),a=n.n(r),o=n(5),i=n.n(o),l=n(1),c=l.default.ul.withConfig({displayName:"FeatureInfoStyles__View",componentId:"b6h5eu-0"})(["display:flex;flex-wrap:wrap;margin-left:5px;margin-top:var(--spacing-medium);flex-direction:column;@media (min-width:1024px){margin-top:var(--spacing-medium-1);}"]),d=l.default.li.withConfig({displayName:"FeatureInfoStyles__Detail",componentId:"b6h5eu-1"})(["font-weight:var(--font-weight-bold);margin-bottom:var(--spacing-mini-2);position:relative;@media (min-width:1024px){margin-right:var(--spacing-medium);margin-bottom:0px;}"]),s=function(t){var e,n=t.content;return a.a.createElement(c,null,n.locations&&a.a.createElement(d,null,(e=n.locations).map((function(t,n){return"".concat(t.city,", ").concat(t.country,"\n ").concat(e.length<n?",":"")}))),n.category&&a.a.createElement(d,null,n.category),n.experienceLevel&&a.a.createElement(d,null,n.experienceLevel),n.employmentType&&a.a.createElement(d,null,n.employmentType))},u=n(7),p=n(14),m=n(9),g=n(11),f=n(4),b={applicationLabel:"",details:{jobReqId:0,title:"",jobDescription:{header:"",body:"",footer:""},applicationDueDate:"",created:"",applicationUrl:"",employmentType:"",jobFunction:{category:"",name:""},locations:[{region:"",country:"",state:"",city:"",address:""}],experienceLevel:{value:0,name:""}}},v=l.default.article.withConfig({displayName:"styles__View",componentId:"gc0ysc-0"})(["button{margin-top:var(--spacing-medium);}"]),h=l.default.section.withConfig({displayName:"styles__Head",componentId:"gc0ysc-1"})(["position:relative;display:flex;flex-direction:column;justify-content:flex-end;background-color:var(--section-background-alt-2);padding-top:calc(160px + var(--spacing-medium-1));padding-bottom:var(--spacing-medium-1);@media (min-width:1024px){padding-bottom:var(--spacing-large);padding-top:calc(130px + var(--spacing-large-1));}h1{font-size:var(--font-size-7);line-height:var(--line-height-size-7);max-width:750px;}"]),y=l.default.span.withConfig({displayName:"styles__Date",componentId:"gc0ysc-2"})(["display:block;margin-top:var(--spacing-medium);@media (min-width:1024px){margin-top:var(--spacing-medium-1);}"]),x=l.default.section.withConfig({displayName:"styles__Body",componentId:"gc0ysc-3"})(["max-width:750px;padding-top:var(--spacing-medium-1);p{margin-top:0;}@media (min-width:1024px){padding-top:var(--spacing-large);}"]),w=l.default.section.withConfig({displayName:"styles__Footer",componentId:"gc0ysc-4"})(["font-style:italic;max-width:750px;padding-bottom:var(--spacing-medium-1);p{margin-top:0;}@media (min-width:1024px){padding-bottom:var(--spacing-large);}"]),k=function(t){var e=i()({},b,t),n={locations:e.details.locations,category:e.details.jobFunction.name,experienceLevel:e.details.experienceLevel.name,employmentType:e.details.employmentType};return a.a.createElement(v,null,a.a.createElement(h,null,a.a.createElement(u.a,null,a.a.createElement(g.a,{text:e.details.title,size:"h1"}),a.a.createElement(y,null,"Application due ",Object(f.c)(e.details.applicationDueDate)),a.a.createElement(s,{content:n}),a.a.createElement(p.a,{target:"_blank",linkHref:e.details.applicationUrl,link:!0,classStyle:"primary",label:e.applicationLabel}))),a.a.createElement(u.a,null,a.a.createElement(x,null,a.a.createElement(m.a,{className:"body-small",html:e.details.jobDescription.body})),a.a.createElement(w,null,a.a.createElement(m.a,{className:"body-small",html:e.details.jobDescription.footer}),a.a.createElement(p.a,{target:"_blank",linkHref:e.details.applicationUrl,link:!0,classStyle:"primary",label:e.applicationLabel}))))},_=n(19),j={category:"",applicationLabel:"Apply",infoMessage:{title:null,text:null},details:{}},O=l.default.div.withConfig({displayName:"styles__View",componentId:"dlzlgz-0"})(["background-color:var(--section-background-alt-1);"]),E=l.default.div.withConfig({displayName:"styles__InfoMessage",componentId:"dlzlgz-1"})(["box-sizing:border-box;padding-top:calc(160px + var(--spacing-medium-1));padding-bottom:var(--spacing-medium-1);& div:first-child{display:flex;flex-direction:column;max-width:750px;p{color:var(--grey-80);}}h1{font-size:var(--font-size-7);line-height:var(--line-height-size-7);}@media (min-width:1024px){padding-top:calc(130px + var(--spacing-large-1));padding-bottom:var(--spacing-large-1);h1{margin-bottom:var(--spacing-medium);}}"]),z=function(t){var e,n,r=i()({},j,Object(f.a)(t.content)),o=function(t){var e={jobOpening:a.a.createElement(k,{details:t.content.details,applicationLabel:r.applicationLabel})}[t.content.category];return void 0===e?null:e};return a.a.createElement(O,null,null!==r.infoMessage.title&&null!==r.infoMessage.text?a.a.createElement(u.a,null,a.a.createElement(E,null,a.a.createElement(_.a,{title:null===(e=r.infoMessage)||void 0===e?void 0:e.title,text:null===(n=r.infoMessage)||void 0===n?void 0:n.text,size:"h1"}))):a.a.createElement(o,{content:r}))};z.defaultProps={content:""};e.a=z},7:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),a=n(0),o=n.n(a),i=function(t){var e=t.children,n=t.maxWidth,r=void 0===n?1520:n,a=t.padding,i=void 0===a||a;return o.a.createElement(l,{maxWidth:r,padding:i},e)},l=r.default.div.withConfig({displayName:"Wrapper__View",componentId:"sc-1fa02qx-0"})(["box-sizing:border-box;width:100%;max-width:100%;margin:0 auto;padding:",";@media only screen and (min-width:767px){padding:",";max-width:",";}@media only screen and (min-width:1024px){padding:",";max-width:",";}@media only screen and (min-width:1648px){max-width:",";}"],(function(t){return t.padding?"0 24px;":0}),(function(t){return t?"0 32px;":0}),(function(t){var e=t.maxWidth;return e&&"calc(".concat(e,"px + 64px);")}),(function(t){return t?"0 64px;":0}),(function(t){var e=t.maxWidth;return e&&"calc(".concat(e,"px + 128px);")}),(function(t){var e=t.maxWidth;return e?"calc(".concat(e,"px + 128px);"):"1520px"}))},9:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(0),a=n.n(r),o=n(24),i=n.n(o),l=n(3),c=n(1),d=Object(c.css)(['overflow:auto;width:100%;& table{background-color:transparent;width:100%;border-collapse:collapse;text-align:left;table-layout:fixed;tr:before,tr:after{content:"";display:table-cell;width:24px;border-top:1px solid transparent;}td,th{width:120px;height:56px;}& thead{padding-bottom:var(--spacing-small);line-height:var(--line-height-size-3);font-size:var(--font-size-3);font-weight:var(--font-weight-bold);& tr{margin:0 var(--spacing-small-1);td,th{padding:var(--spacing-small) 0;border-bottom:2px solid var(--grey-80);}}}& tbody{padding:var(--spacing-small-1) 0;line-height:var(--line-height-size-3);font-size:var(--font-size-3);& tr{td{border-top:1px solid var(--grey-20);border-bottom:1px solid var(--grey-20);padding:var(--spacing-small) 0;}&:hover{background-color:var(--white);box-shadow:0px 2px 2px 0px rgba(26,26,26,0.06),0px 8px 8px 0px rgba(26,26,26,0.04),0px 12px 12px 0px rgba(26,26,26,0.04),0px 24px 16px 0px rgba(26,26,26,0.03),0px 40px 32px 0px rgba(26,26,26,0.0242),0px 100px 80px 0px rgba(26,26,26,0.0169);&:before,:after{border-top-color:var(--grey-20);border-bottom-color:var(--grey-20);}}&:first-child{td{border-top:2px solid var(--grey-80);}&:hover{:before,:after{border-top:2px solid var(--grey-80);}}}&:last-child{td{border-bottom:2px solid var(--grey-80);}&:hover{:before,:after{border-bottom:2px solid var(--grey-80);}}}}}& tfoot{padding-bottom:var(--spacing-medium);line-height:var(--line-height-size-4);font-size:var(--font-size-4);font-weight:var(--font-weight-bold);td{padding:var(--spacing-small) 0;}}@media screen and (min-width:767px){th,td{width:120px;}}}']);function s(){var t=Object(l.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden !important;\n "]);return s=function(){return t},t}var u=c.default.div.withConfig({displayName:"styles__RichText",componentId:"sc-75belb-0"})(["& a{text-decoration:underline;font-weight:var(--font-weight-semi-bold);color:var(--grey);&:visited{color:var(--grey);}}& quote{font-size:var(--font-size-7);font-weight:var(--font-weight-light);font-style:italic;line-height:var(--line-height-size-7);}& ul,ol{padding-left:0;list-style-position:inside;}h1,h2,h3,h4,h5,h6{margin-bottom:var(--spacing-small);}",";",""],(function(t){var e=t.rowLimit;return void 0!==e&&Object(c.css)(s(),e)}),d),p={FORBID_ATTR:["style","class","id","colspan","cellspacing","cellpadding","border","valign"],ALLOW_DATA_ATTR:!1},m=function(t){var e=t.html,n=t.rowLimit,r=t.className,o=i.a.sanitize(e,p);return a.a.createElement(u,{rowLimit:n,className:r,dangerouslySetInnerHTML:{__html:"<div>".concat(o,"</div>")}})};m.defaultProps={html:"",className:""}}}); | ||
!function(e){function t(t){for(var r,i,l=t[0],c=t[1],d=t[2],u=0,p=[];u<l.length;u++)i=l[u],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&p.push(a[i][0]),a[i]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(e[r]=c[r]);for(s&&s(t);p.length;)p.shift()();return o.push.apply(o,d||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],r=!0,l=1;l<n.length;l++){var c=n[l];0!==a[c]&&(r=!1)}r&&(o.splice(t--,1),e=i(i.s=n[0]))}return e}var r={},a={16:0},o=[];function i(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/";var l=this["webpackJsonpgw-group-web-components"]=this["webpackJsonpgw-group-web-components"]||[],c=l.push.bind(l);l.push=t,l=l.slice();for(var d=0;d<l.length;d++)t(l[d]);var s=c;o.push([146,0]),n()}({0:function(e,t){e.exports=React},10:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(0),a=n.n(r),o=n(24),i=n.n(o),l=n(6),c=n(3),d=n(1),s=Object(d.css)(['overflow:auto;width:100%;& table{background-color:transparent;width:100%;border-collapse:collapse;text-align:left;table-layout:fixed;tr:before,tr:after{content:"";display:table-cell;width:24px;border-top:1px solid transparent;}td,th{width:120px;height:56px;}& thead{padding-bottom:var(--spacing-small);line-height:var(--line-height-size-3);font-size:var(--font-size-3);font-weight:var(--font-weight-bold);& tr{margin:0 var(--spacing-small-1);td,th{padding:var(--spacing-small) 0;border-bottom:2px solid var(--grey-80);}}}& tbody{padding:var(--spacing-small-1) 0;line-height:var(--line-height-size-3);font-size:var(--font-size-3);& tr{td{border-top:1px solid var(--grey-20);border-bottom:1px solid var(--grey-20);padding:var(--spacing-small) 0;}&:hover{background-color:',";box-shadow:0px 2px 2px 0px rgba(26,26,26,0.06),0px 8px 8px 0px rgba(26,26,26,0.04),0px 12px 12px 0px rgba(26,26,26,0.04),0px 24px 16px 0px rgba(26,26,26,0.03),0px 40px 32px 0px rgba(26,26,26,0.0242),0px 100px 80px 0px rgba(26,26,26,0.0169);&:before,:after{border-top-color:var(--grey-20);border-bottom-color:var(--grey-20);}}&:first-child{td{border-top:2px solid var(--grey-80);}&:hover{:before,:after{border-top:2px solid var(--grey-80);}}}&:last-child{td{border-bottom:2px solid var(--grey-80);}&:hover{:before,:after{border-bottom:2px solid var(--grey-80);}}}}}& tfoot{padding-bottom:var(--spacing-medium);line-height:var(--line-height-size-4);font-size:var(--font-size-4);font-weight:var(--font-weight-bold);td{padding:var(--spacing-small) 0;}}@media screen and (min-width:767px){th,td{width:120px;}}}"],(function(e){return e.theme.table.hoverColor}));function u(){var e=Object(c.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden !important;\n "]);return u=function(){return e},e}var p={table:{hoverColor:"var(--grey-5)"}},m={table:{hoverColor:"var(--white)"}},g=d.default.div.withConfig({displayName:"styles__RichText",componentId:"sc-75belb-0"})(["& a{text-decoration:underline;font-weight:var(--font-weight-semi-bold);color:var(--grey);&:visited{color:var(--grey);}}& quote{font-size:var(--font-size-7);font-weight:var(--font-weight-light);font-style:italic;line-height:var(--line-height-size-7);}& ul,ol{padding-left:0;list-style-position:inside;}h1,h2,h3,h4,h5,h6{margin-bottom:var(--spacing-small);}",";",""],(function(e){var t=e.rowLimit;return void 0!==t&&Object(d.css)(u(),t)}),s),f={FORBID_ATTR:["style","class","id","colspan","cellspacing","cellpadding","border","valign"],ALLOW_DATA_ATTR:!1},b=function(e){var t=e.theme,n=void 0===t?"":t,r=e.html,o=e.rowLimit,c=e.className,d=i.a.sanitize(r,f);return a.a.createElement(l.a,{theme:function(e){switch(e){case"theme-alt-1":return p;case"theme-alt-2":return m;default:return p}}(n)},a.a.createElement(g,{rowLimit:o,className:c,dangerouslySetInnerHTML:{__html:"<div>".concat(d,"</div>")}}))};b.defaultProps={theme:"",html:"",className:""}},12:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n.n(r),o=n(3),i=n(1);function l(){var e=Object(o.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n "]);return l=function(){return e},e}function c(){var e=Object(o.a)(["\n\na {\n color: inherit;\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n text-decoration-thickness: var(--text-decoration-thickness);\n }\n}\n\n",";\n"]);return c=function(){return e},e}var d=i.default.div(c(),(function(e){var t=e.rowLimit;return void 0!==t&&Object(i.css)(l(),t)})),s=function(e){var t=e.text,n=e.link,r=void 0!==n&&n,o=e.size,i=e.className,l=e.rowLimit,c=a.a.createElement(o,{},t),s=a.a.createElement(o,{},a.a.createElement("a",{href:r},t));return a.a.createElement(d,{rowLimit:l,className:i},r?s:c)}},121:function(e,t,n){"use strict";n.r(t);var r=n(20),a=n(47);t.default=r.a.create({component:a.a,configuration:{tagname:"gw-group-single-page-content",useShadow:!1},plugins:[]})},14:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(16),a=n(0),o=n.n(a),i=n(3),l=n(1);function c(){var e=Object(i.a)(["\n background-color: var(--button-contrast-hover-background);\n border-color: var(--button-contrast-hover-border);\n color: var(--button-contrast-hover-text);\n "]);return c=function(){return e},e}function d(){var e=Object(i.a)(["\n background-color: var(--button-secondary-hover-background);\n border-color: var(--button-secondary-hover-border);\n color: var(--button-secondary-hover-text);\n "]);return d=function(){return e},e}function s(){var e=Object(i.a)(["\n background-color: var(--button-primary-hover-background);\n border-color: var(--button-primary-hover-border);\n color: var(--button-primary-hover-text);\n "]);return s=function(){return e},e}function u(){var e=Object(i.a)(["\n background-color: var(--button-contrast-background);\n border-color: var(--button-contrast-border);\n color: var(--button-contrast-text);\n "]);return u=function(){return e},e}function p(){var e=Object(i.a)(["\n background-color: var(--button-secondary-background);\n border-color: var(--button-secondary-border);\n color: var(--button-secondary-text);\n "]);return p=function(){return e},e}function m(){var e=Object(i.a)(["\n background-color: var(--button-primary-background);\n border-color: var(--button-primary-border);\n color: var(--button-primary-text);\n "]);return m=function(){return e},e}var g=l.default.div.withConfig({displayName:"styles__View",componentId:"qw1dis-0"})([""]),f=l.default.button.withConfig({displayName:"styles__Button",componentId:"qw1dis-1"})(["outline:none;border:0;margin:0;display:inline-block;transition:ease-in-out 0.2s;border:2px solid;border-radius:var(--border-radius);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);padding:var(--button-size-small);font-size:var(--button-font-size);border-color:var(--button-border);color:var(--button-text);"," "," "," &:disabled{background-color:var(--button-disabled-background);border-color:var(--button-disabled-border);color:var(--button-disabled-text);cursor:default;pointer-events:none;}&:hover,&:target{text-decoration:underline;background-color:var(--button-hover-background);border-color:var(--button-hover-border);color:var(--button-hover-text);cursor:pointer;"," "," ","}@media only screen and (min-width:767px){padding:var(--button-size-large);}"],(function(e){return"primary"===e.classStyle&&Object(l.css)(m())}),(function(e){return"secondary"===e.classStyle&&Object(l.css)(p())}),(function(e){return"contrast"===e.classStyle&&Object(l.css)(u())}),(function(e){return"primary"===e.classStyle&&Object(l.css)(s())}),(function(e){return"secondary"===e.classStyle&&Object(l.css)(d())}),(function(e){return"contrast"===e.classStyle&&Object(l.css)(c())})),b=function(e){var t=e.label,n=void 0===t?"label":t,a=e.classStyle,i=void 0===a?"default":a,l=e.link,c=void 0!==l&&l,d=e.disabled,s=void 0!==d&&d,u=e.linkHref,p=e.target,m=void 0===p?"_self":p,b=e.downloadLink,v=void 0!==b&&b,h=Object(r.a)(e,["label","classStyle","link","disabled","linkHref","target","downloadLink"]);return o.a.createElement(g,null,o.a.createElement("div",{className:"button aem-ie__cta"},c?o.a.createElement("a",{href:u,download:v,target:m},o.a.createElement(f,Object.assign({disabled:s,classStyle:"".concat(i)},h),o.a.createElement("span",null,n))):o.a.createElement(f,Object.assign({disabled:s,classStyle:i},h),o.a.createElement("span",null,n))))}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),a=n.n(r),o=n(12),i=n(10),l=n(1).default.div.withConfig({displayName:"styles__Head",componentId:"sc-1sc6649-0"})(["display:grid;grid-row:1fr 1fr;grid-template-columns:repeat(12,1fr);margin-bottom:var(--spacing-small-1);p{margin:0;}> div:nth-child(1){grid-column:1 / 12;grid-row:1;margin-right:var(--spacing-medium-1);}> div:nth-child(2){grid-column:1 / 13;grid-row:2;margin:var(--spacing-small-1) 0px 0px 0px;}@media only screen and (min-width:980px){grid-gap:1rem;margin-bottom:var(--spacing-medium-1);> div:nth-child(1){grid-row:1;grid-column:1 / 7;margin-right:var(--spacing-medium-1);}> div:nth-child(2){grid-row:1;grid-column:7 / 13;margin:0px;}}"]),c=function(e){return e.title||e.text?a.a.createElement(l,null,e.title&&a.a.createElement(o.a,{text:e.title,size:e.size||"h2"}),e.text&&a.a.createElement(i.a,{html:"<p>".concat(e.text,"</p>"),className:"body-medium aem-ie__text"})):null}},28:function(e,t){e.exports=ReactDOM},4:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"j",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"f",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"e",(function(){return m}));var r=n(2),a=function(e){try{return JSON.parse(decodeURIComponent(escape(atob(e))))}catch(t){return console.warn("Failed decoding Base64 -> UTF8. Base64 string: ",e),null}},o=function(e){return btoa(unescape(encodeURIComponent(e)))},i=function(e){return"Invalid Date"!==new Date(e).toString()?new Date(e).toISOString().slice(0,10):e},l=function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},c=function(e){return e.sort((function(e,t){return e.created>t.created?-1:e.created<t.created?1:0}))},d=function(e){return e.sort((function(e,t){return e.created<t.created?-1:e.created>t.created?1:0}))},s=function(e){return e.sort((function(e,t){return e.title<t.title?-1:e.title>t.title?1:0}))},u=function(e){return e.sort((function(e,t){return e.title>t.title?-1:e.title<t.title?1:0}))};function p(e,t){var n,r=arguments,a=this;return function(o){clearTimeout(n),n=setTimeout((function(t){n=null,e.apply(a,r)}),t)}}var m=function(e,t){if(!t.length)return e;var n=Object(r.a)(t,1)[0];return/^\d+$/.test(e)?"".concat(e).concat(n):"string"===typeof e&&t.some((function(t){return e.endsWith(t)}))?e:"string"===typeof e&&"".concat(e.trim().replace(/\D/g,"")||"0").concat(n)}},47:function(e,t,n){"use strict";var r=n(0),a=n.n(r),o=n(5),i=n.n(o),l=n(1),c=l.default.ul.withConfig({displayName:"FeatureInfoStyles__View",componentId:"b6h5eu-0"})(["display:flex;flex-wrap:wrap;margin-left:5px;margin-top:var(--spacing-medium);flex-direction:column;@media (min-width:1024px){margin-top:var(--spacing-medium-1);}"]),d=l.default.li.withConfig({displayName:"FeatureInfoStyles__Detail",componentId:"b6h5eu-1"})(["font-weight:var(--font-weight-bold);margin-bottom:var(--spacing-mini-2);position:relative;@media (min-width:1024px){margin-right:var(--spacing-medium);margin-bottom:0px;}"]),s=function(e){var t,n=e.content;return a.a.createElement(c,null,n.locations&&a.a.createElement(d,null,(t=n.locations).map((function(e,n){return"".concat(e.city,", ").concat(e.country,"\n ").concat(t.length<n?",":"")}))),n.category&&a.a.createElement(d,null,n.category),n.experienceLevel&&a.a.createElement(d,null,n.experienceLevel),n.employmentType&&a.a.createElement(d,null,n.employmentType))},u=n(8),p=n(14),m=n(10),g=n(12),f=n(4),b={applicationLabel:"",details:{jobReqId:0,title:"",jobDescription:{header:"",body:"",footer:""},applicationDueDate:"",created:"",applicationUrl:"",employmentType:"",jobFunction:{category:"",name:""},locations:[{region:"",country:"",state:"",city:"",address:""}],experienceLevel:{value:0,name:""}}},v=l.default.article.withConfig({displayName:"styles__View",componentId:"gc0ysc-0"})(["button{margin-top:var(--spacing-medium);}"]),h=l.default.section.withConfig({displayName:"styles__Head",componentId:"gc0ysc-1"})(["position:relative;display:flex;flex-direction:column;justify-content:flex-end;background-color:var(--section-background-alt-2);padding-top:calc(160px + var(--spacing-medium-1));padding-bottom:var(--spacing-medium-1);@media (min-width:1024px){padding-bottom:var(--spacing-large);padding-top:calc(130px + var(--spacing-large-1));}h1{font-size:var(--font-size-7);line-height:var(--line-height-size-7);max-width:750px;}"]),y=l.default.span.withConfig({displayName:"styles__Date",componentId:"gc0ysc-2"})(["display:block;margin-top:var(--spacing-medium);@media (min-width:1024px){margin-top:var(--spacing-medium-1);}"]),x=l.default.section.withConfig({displayName:"styles__Body",componentId:"gc0ysc-3"})(["max-width:750px;padding-top:var(--spacing-medium-1);p{margin-top:0;}@media (min-width:1024px){padding-top:var(--spacing-large);}"]),w=l.default.section.withConfig({displayName:"styles__Footer",componentId:"gc0ysc-4"})(["font-style:italic;max-width:750px;padding-bottom:var(--spacing-medium-1);p{margin-top:0;}@media (min-width:1024px){padding-bottom:var(--spacing-large);}"]),k=function(e){var t=i()({},b,e),n={locations:t.details.locations,category:t.details.jobFunction.name,experienceLevel:t.details.experienceLevel.name,employmentType:t.details.employmentType};return a.a.createElement(v,null,a.a.createElement(h,null,a.a.createElement(u.a,null,a.a.createElement(g.a,{text:t.details.title,size:"h1"}),a.a.createElement(y,null,"Application due ",Object(f.c)(t.details.applicationDueDate)),a.a.createElement(s,{content:n}),a.a.createElement(p.a,{target:"_blank",linkHref:t.details.applicationUrl,link:!0,classStyle:"primary",label:t.applicationLabel}))),a.a.createElement(u.a,null,a.a.createElement(x,null,a.a.createElement(m.a,{className:"body-small",html:t.details.jobDescription.body})),a.a.createElement(w,null,a.a.createElement(m.a,{className:"body-small",html:t.details.jobDescription.footer}),a.a.createElement(p.a,{target:"_blank",linkHref:t.details.applicationUrl,link:!0,classStyle:"primary",label:t.applicationLabel}))))},_=n(19),j={category:"",applicationLabel:"Apply",infoMessage:{title:null,text:null},details:{}},E=l.default.div.withConfig({displayName:"styles__View",componentId:"dlzlgz-0"})(["background-color:var(--section-background-alt-1);"]),O=l.default.div.withConfig({displayName:"styles__InfoMessage",componentId:"dlzlgz-1"})(["box-sizing:border-box;padding-top:calc(160px + var(--spacing-medium-1));padding-bottom:var(--spacing-medium-1);& div:first-child{display:flex;flex-direction:column;max-width:750px;p{color:var(--grey-80);}}h1{font-size:var(--font-size-7);line-height:var(--line-height-size-7);}@media (min-width:1024px){padding-top:calc(130px + var(--spacing-large-1));padding-bottom:var(--spacing-large-1);h1{margin-bottom:var(--spacing-medium);}}"]),z=function(e){var t,n,r=i()({},j,Object(f.a)(e.content)),o=function(e){var t={jobOpening:a.a.createElement(k,{details:e.content.details,applicationLabel:r.applicationLabel})}[e.content.category];return void 0===t?null:t};return a.a.createElement(E,null,null!==r.infoMessage.title&&null!==r.infoMessage.text?a.a.createElement(u.a,null,a.a.createElement(O,null,a.a.createElement(_.a,{title:null===(t=r.infoMessage)||void 0===t?void 0:t.title,text:null===(n=r.infoMessage)||void 0===n?void 0:n.text,size:"h1"}))):a.a.createElement(o,{content:r}))};z.defaultProps={content:""};t.a=z},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=n.n(r),o=n(1),i=function(e){return a.a.createElement(o.ThemeProvider,{theme:e.theme},e.children)}},8:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1),a=n(0),o=n.n(a),i=function(e){var t=e.children,n=e.maxWidth,r=void 0===n?1520:n,a=e.padding,i=void 0===a||a;return o.a.createElement(l,{maxWidth:r,padding:i},t)},l=r.default.div.withConfig({displayName:"Wrapper__View",componentId:"sc-1fa02qx-0"})(["box-sizing:border-box;width:100%;max-width:100%;margin:0 auto;padding:",";@media only screen and (min-width:767px){padding:",";max-width:",";}@media only screen and (min-width:1024px){padding:",";max-width:",";}@media only screen and (min-width:1648px){max-width:",";}"],(function(e){return e.padding?"0 24px;":0}),(function(e){return e?"0 32px;":0}),(function(e){var t=e.maxWidth;return t&&"calc(".concat(t,"px + 64px);")}),(function(e){return e?"0 64px;":0}),(function(e){var t=e.maxWidth;return t&&"calc(".concat(t,"px + 128px);")}),(function(e){var t=e.maxWidth;return t?"calc(".concat(t,"px + 128px);"):"1520px"}))}}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20890