/*!
 * 
 * [Dojo](https://dojo.io/)
 * Copyright [JS Foundation](https://js.foundation/) & contributors
 * [New BSD license](https://github.com/dojo/meta/blob/master/LICENSE)
 * All rights reserved
 * 
 */
(window.dojoWebpackJsonpdojo_widgets_custom_elements=window.dojoWebpackJsonpdojo_widgets_custom_elements||[]).push([[53],{198:function(e,t,n){e.exports={" _key":"@dojo/widgets/three-column-layout",root:"three-column-layout-m__root__31HFf",center:"three-column-layout-m__center__3u6bV"}},199:function(e,t,n){e.exports={" _key":"@dojo/widgets/three-column-layout",root:"three-column-layout-m__root__Io1yp",leading:"three-column-layout-m__leading__cWlTV",center:"three-column-layout-m__center__2PvVq",trailing:"three-column-layout-m__trailing__hs2u9"}},66:function(e,t,n){"use strict";n.r(t),n.d(t,"ThreeColumnLayout",function(){return l});var r=n(5),o=n(134),i=n(80),s=n(198),a=n(84),c=n(199);const l=Object(r.a)({breakpoint:o.a,theme:i.a}).properties().children()(function({properties:e,children:t,middleware:{breakpoint:n,theme:o}}){const{twoColumnBreakpoint:i=1024,oneColumnBreakpoint:l=600,bias:u="leading"}=e(),[{leading:d,center:m,trailing:_}]=t(),h=o.classes(c),{breakpoint:y}=n.get("root",{LARGE:i,MEDIUM:l,SMALL:0})||{breakpoint:"LARGE"},g="SMALL"===y||"MEDIUM"===y&&"trailing"===u,b="SMALL"===y||"MEDIUM"===y&&"leading"===u;return Object(r.m)("div",{key:"root",classes:[o.variant(),s.root,h.root]},Object(r.m)("div",{key:"leading",classes:[h.leading,g&&a.visuallyHidden]},d),Object(r.m)("div",{key:"center",classes:[s.center,h.center]},m),Object(r.m)("div",{key:"trailing",classes:[h.trailing,b&&a.visuallyHidden]},_))});t.default=l},80:function(e,t,n){"use strict";n.d(t,"b",function(){return l});var r=n(5),o=n(83),i=n(12);const s=Object(r.a)({coreTheme:o.a}).properties();function a(e){return`${e.charAt(0).toUpperCase()}${e.slice(1)}`}function c(e){return e&&e.hasOwnProperty("variant")}const l=s(function({middleware:{coreTheme:e},properties:t}){const{variant:n,get:r,set:o,classes:s}=e;return{compose:(n,r,o)=>{const s=function(){const{theme:n}=t();if(n)return n;const r=e.get();return Object(i.c)(r)?{theme:r.theme,variant:r.variant}:r?r.theme:void 0}(),l=n[" _key"],u=r[" _key"],d=Object.keys(n).reduce((e,t)=>" _key"===t?e:(o&&!e[`${o}${a(t)}`]&&(e[`${o}${a(t)}`]=" "),r[t]||(e[t]=" "),e),{" _key":u}),m=e.classes(d),_=e.classes(r);let h=e.classes(n);if(o){const e=Object.keys(Object.assign({},m,_)).reduce((e,t)=>{if(0===t.indexOf(o)&&t!==o){const n=function(e){return`${e.charAt(0).toLowerCase()}${e.slice(1)}`}(t.replace(o,"")),r="string"==typeof _[t]&&_[t].trim(),i="string"==typeof m[t]&&m[t].trim();!r&&i&&(e[n]=`${h[n]} ${i}`),r&&(e[n]=_[t])}return e},{});return h=Object.assign({},h,e),c(s)?{theme:{theme:Object.assign({},s.theme.theme,{[l]:h}),variants:s.theme.variants},variant:s.variant}:Object.assign({},s,{[l]:h})}const y=Object.keys(h).reduce((e,t)=>{if(" _key"===t)return e;const n="string"==typeof _[t]&&_[t].trim(),r="string"==typeof m[t]&&m[t].trim();return n?e[t]=n:r&&(e[t]=`${e[t]} ${r}`),e},Object.assign({},h));return c(s)?{theme:{theme:Object.assign({},s.theme.theme,{[l]:y}),variants:s.theme.variants},variant:s.variant}:Object.assign({},s,{[l]:y})},variant:()=>"inherit"===t().variant?void 0:n(),get:r,set:o,classes:s}});t.a=l},84:function(e,t,n){e.exports={" _key":"@dojo/widgets/base",visuallyHidden:"base-m__visuallyHidden__1AeWe",focusable:"base-m__focusable__1_qAN",hidden:"base-m__hidden__3QddU"}}}]);
//# sourceMappingURL=three-column-layout-8.0.0-beta.12.js.map