!function(e){var t={};function c(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.m=e,c.c=t,c.d=function(e,t,a){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(c.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(a,n,function(t){return e[t]}.bind(null,n));return a},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="",c(c.s=32)}([function(e,t){!function(){e.exports=this.React}()},function(e,t,c){e.exports=c(12)()},function(e,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=c(17);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})}));var n=c(31);Object.defineProperty(t,"JSONLD",{enumerable:!0,get:function(){return(e=n,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t
)/g,"-"),e.anchor=e.anchor.replace(/[^\w\s-]/g,""))})),e.setState({headers:Ou(t)})};t();var c=Nu((function(){t()}));this.setState({unsubscribe:c})}},{key:"componentWillUnmount",value:function(){this.state.unsubscribe()}},{key:"componentDidUpdate",value:function(e,t){JSON.stringify(e.headers)!==JSON.stringify(t.headers)&&this.props.blockProp.setAttributes({links:JSON.stringify(this.state.headers)})}},{key:"render",value:function(){return this.state.headers?React.createElement("div",{className:"ub_table-of-contents-container"},function e(t){var c=[];return t.forEach((function(t){if(Array.isArray(t))c.push(e(t));else{for(var a=t.content.split("
"),n=0;n1){var S=void 0,L=void 0,V=void 0;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){var A=Math.floor(N/(t.slidesPerGroup*t.slidesPerColumn)),_=N-t.slidesPerColumn*t.slidesPerGroup*A,O=0===A?t.slidesPerGroup:Math.min(Math.ceil((s-A*k*t.slidesPerGroup)/k),t.slidesPerGroup);S=(L=_-(V=Math.floor(_/O))*O+A*t.slidesPerGroup)+V*M/k,R.css({"-webkit-box-ordinal-group":S,"-moz-box-ordinal-group":S,"-ms-flex-order":S,"-webkit-order":S,order:S})}else"column"===t.slidesPerColumnFill?(V=N-(L=Math.floor(N/k))*k,(L>E||L===E&&V===k-1)&&(V+=1)>=k&&(V=0,L+=1)):L=N-(V=Math.floor(N/H))*H;R.css("margin-"+(this.isHorizontal()?"top":"left"),0!==V&&t.spaceBetween&&t.spaceBetween+"px")}if("none"!==R.css("display")){if("auto"===t.slidesPerView){var T=e.getComputedStyle(R[0],null),I=R[0].style.transform,P=R[0].style.webkitTransform;if(I&&(R[0].style.transform="none"),P&&(R[0].style.webkitTransform="none"),t.roundLengths)x=this.isHorizontal()?R.outerWidth(!0):R.outerHeight(!0);else if(this.isHorizontal()){var B=parseFloat(T.getPropertyValue("width")||0),j=parseFloat(T.getPropertyValue("padding-left")||0),D=parseFloat(T.getPropertyValue("padding-right")||0),F=parseFloat(T.getPropertyValue("margin-left")||0),U=parseFloat(T.getPropertyValue("margin-right")||0),Z=T.getPropertyValue("box-sizing");if(Z&&"border-box"===Z)x=B+F+U;else{var W=R[0],q=W.clientWidth;x=B+j+D+F+U+(W.offsetWidth-q)}}else{var G=parseFloat(T.getPropertyValue("height")||0),$=parseFloat(T.getPropertyValue("padding-top")||0),J=parseFloat(T.getPropertyValue("padding-bottom")||0),Y=parseFloat(T.getPropertyValue("margin-top")||0),K=parseFloat(T.getPropertyValue("margin-bottom")||0),X=T.getPropertyValue("box-sizing");if(X&&"border-box"===X)x=G+Y+K;else{var Q=R[0],ee=Q.clientHeight;x=G+$+J+Y+K+(Q.offsetHeight-ee)}}I&&(R[0].style.transform=I),P&&(R[0].style.webkitTransform=P),t.roundLengths&&(x=Math.floor(x))}else x=(a-(t.slidesPerView-1)*g)/t.slidesPerView,t.roundLengths&&(x=Math.floor(x)),l[N]&&(this.isHorizontal()?l[N].style.width=x+"px":l[N].style.height=x+"px");l[N]&&(l[N].swiperSlideSize=x),h.push(x),t.centeredSlides?(z=z+x/2+y/2+g,0===y&&0!==N&&(z=z-a/2-g),0===N&&(z=z-a/2-g),Math.abs(z)<.001&&(z=0),t.roundLengths&&(z=Math.floor(z)),C%t.slidesPerGroup==0&&u.push(z),f.push(z)):(t.roundLengths&&(z=Math.floor(z)),(C-Math.min(this.params.slidesPerGroupSkip,C))%this.params.slidesPerGroup==0&&u.push(z),f.push(z),z=z+x+g),this.virtualSize+=x+g,y=x,C+=1}}if(this.virtualSize=Math.max(this.virtualSize,a)+d,n&&r&&("slide"===t.effect||"coverflow"===t.effect)&&c.css({width:this.virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(this.isHorizontal()?c.css({width:this.virtualSize+t.spaceBetween+"px"}):c.css({height:this.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(this.virtualSize=(x+t.spaceBetween)*M,this.virtualSize=Math.ceil(this.virtualSize/t.slidesPerColumn)-t.spaceBetween,this.isHorizontal()?c.css({width:this.virtualSize+t.spaceBetween+"px"}):c.css({height:this.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){w=[];for(var te=0;te
");M=[M.slice(0,c),r,M.slice(c)].join("")})),r({selectedIcon:m[0].selectedIcon,list:M,listItem:Array(3).fill({text:"",selectedIcon:"check",indent:0})})}var x=V(o.filter((function(e){return e.iconName.includes(l)})),24);return[n&&React.createElement(Mg,null,React.createElement(Sg,{title:vg("Icon Options")},React.createElement("div",{style:{display:"grid",gridTemplateColumns:"5fr 1fr"}},React.createElement("p",null,vg("Selected icon")),m.length>0&&React.createElement(Rg,{position:"bottom right",renderToggle:function(e){var t=e.isOpen,c=e.onToggle;return React.createElement(Eg,{label:vg("Select icon for list"),onClick:c,"aria-expanded":t},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"30",width:"30",viewBox:"0, 0, ".concat(Ig["fa".concat(E(b))].icon[0],", ").concat(Ig["fa".concat(E(b))].icon[1])},React.createElement("path",{fill:d,d:Ig["fa".concat(E(b))].icon[4]})))},renderContent:function(){return React.createElement("div",null,React.createElement("input",{type:"text",value:l,onChange:function(e){return i({iconSearchTerm:e.target.value,iconSearchResultsPage:0})}}),React.createElement("br",null),x.length>0&&React.createElement("div",null,React.createElement("button",{onClick:function(){s>0&&i({iconSearchResultsPage:s-1})}},"<"),React.createElement("span",null,s+1,"/",x.length),React.createElement("button",{onClick:function(){s",'
'),r({list:e})}}),React.createElement("style",{dangerouslySetInnerHTML:{__html:"#ub-styled-list-".concat(g," li:before{\n top: ").concat(v>=5?3:v<3?2:0,"px;\n height:").concat((4+v)/10,"em; \n width:").concat((4+v)/10,"em; \n background-image:url(\"data:image/svg+xml;utf8,\");}\n\t\t\t\t\n\t\t\t\t#ub-styled-list-").concat(g," li{\n\t\t\t\t\tmargin-bottom: ").concat(z,"px;\n\t\t\t\t\ttext-indent: -").concat((4+v)/10,"em;\n\t\t\t\t}\n\t\t\t\t#ub-styled-list-").concat(g," li>ul{\n\t\t\t\t\tmargin-top: ").concat(z,"px;\n\t\t\t\t}")}}))]})),save:function(){return null}});var Pg=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"512px",viewBox:"-9 1 511 511.999",width:"512px"},React.createElement("g",{transform:"matrix(1.19615 0 0 1.19615 -48.3503 10.6689)"},React.createElement("path",{d:"m44.425781 32.351562c-6.382812 0-11.574219 5.191407-11.574219 11.570313v331.890625c0 6.378906 5.191407 11.570312 11.574219 11.570312h404.253907c6.378906 0 11.570312-5.191406 11.570312-11.570312 0-2.777344 0-324.945312 0-331.890625 0-6.378906-5.191406-11.570313-11.570312-11.570313-18.128907 0-387.746094 0-404.253907 0zm400.824219 36.664063h-352.402344v-21.660156h352.402344zm-397.398438-21.660156h29.996094v21.660156h-29.996094zm0 325.027343v-288.367187h397.398438v288.367187zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m160.527344 106.898438h-79.140625c-8.496094 0-15.410157 6.914062-15.410157 15.410156v92.742187c0 8.496094 6.914063 15.410157 15.410157 15.410157h79.144531c8.496094 0 15.410156-6.914063 15.410156-15.410157v-92.742187c-.003906-8.496094-6.914062-15.410156-15.414062-15.410156zm.410156 108.152343c0 .226563-.183594.410157-.410156.410157h-79.140625c-.226563 0-.410157-.1875-.410157-.410157v-92.742187c0-.226563.183594-.410156.410157-.410156h79.144531c.226562 0 .40625.1875.40625.410156zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m286.121094 106.898438h-79.140625c-8.5 0-15.414063 6.914062-15.414063 15.410156v92.742187c0 8.496094 6.914063 15.410157 15.414063 15.410157h79.140625c8.5 0 15.410156-6.914063 15.410156-15.410157v-92.742187c0-8.496094-6.910156-15.410156-15.410156-15.410156zm.410156 108.152343c0 .226563-.183594.410157-.410156.410157h-79.140625c-.226563 0-.410157-.1875-.410157-.410157v-92.742187c0-.226563.183594-.410156.410157-.410156h79.140625c.226562 0 .410156.1875.410156.410156zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m411.714844 106.898438h-79.144532c-8.496093 0-15.410156 6.914062-15.410156 15.410156v92.742187c0 8.496094 6.914063 15.410157 15.410156 15.410157h79.144532c8.5 0 15.410156-6.914063 15.410156-15.410157v-92.742187c0-8.496094-6.910156-15.410156-15.410156-15.410156zm.410156 108.152343c0 .226563-.183594.410157-.410156.410157h-79.144532c-.226562 0-.40625-.1875-.40625-.410157v-92.742187c0-.226563.183594-.410156.40625-.410156h79.144532c.226562 0 .410156.1875.410156.410156zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m168.4375 248.171875h-94.960938c-4.144531 0-7.503906 3.355469-7.503906 7.5s3.359375 7.5 7.503906 7.5h94.960938c4.144531 0 7.5-3.355469 7.5-7.5s-3.355469-7.5-7.5-7.5zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m168.4375 276.808594h-94.960938c-4.144531 0-7.503906 3.355468-7.503906 7.5 0 4.144531 3.359375 7.5 7.503906 7.5h94.960938c4.144531 0 7.5-3.355469 7.5-7.5 0-4.144532-3.355469-7.5-7.5-7.5zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m168.4375 305.449219h-94.960938c-4.144531 0-7.503906 3.355469-7.503906 7.5 0 4.140625 3.359375 7.5 7.503906 7.5h94.960938c4.144531 0 7.5-3.359375 7.5-7.5 0-4.144531-3.355469-7.5-7.5-7.5zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m168.4375 334.085938h-94.960938c-4.144531 0-7.503906 3.355468-7.503906 7.5 0 4.140624 3.359375 7.5 7.503906 7.5h94.960938c4.144531 0 7.5-3.359376 7.5-7.5 0-4.144532-3.355469-7.5-7.5-7.5zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m294.03125 248.171875h-94.960938c-4.144531 0-7.503906 3.355469-7.503906 7.5s3.359375 7.5 7.503906 7.5h94.960938c4.144531 0 7.5-3.355469 7.5-7.5s-3.355469-7.5-7.5-7.5zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m294.03125 276.808594h-94.960938c-4.144531 0-7.503906 3.355468-7.503906 7.5 0 4.144531 3.359375 7.5 7.503906 7.5h94.960938c4.144531 0 7.5-3.355469 7.5-7.5 0-4.144532-3.355469-7.5-7.5-7.5zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m294.03125 305.449219h-94.960938c-4.144531 0-7.503906 3.355469-7.503906 7.5 0 4.140625 3.359375 7.5 7.503906 7.5h94.960938c4.144531 0 7.5-3.359375 7.5-7.5 0-4.144531-3.355469-7.5-7.5-7.5zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m294.03125 334.085938h-94.960938c-4.144531 0-7.503906 3.355468-7.503906 7.5 0 4.140624 3.359375 7.5 7.503906 7.5h94.960938c4.144531 0 7.5-3.359376 7.5-7.5 0-4.144532-3.355469-7.5-7.5-7.5zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m419.625 248.171875h-94.960938c-4.144531 0-7.503906 3.355469-7.503906 7.5s3.359375 7.5 7.503906 7.5h94.960938c4.144531 0 7.5-3.355469 7.5-7.5s-3.355469-7.5-7.5-7.5zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m419.625 276.808594h-94.960938c-4.144531 0-7.503906 3.355468-7.503906 7.5 0 4.144531 3.359375 7.5 7.503906 7.5h94.960938c4.144531 0 7.5-3.355469 7.5-7.5 0-4.144532-3.355469-7.5-7.5-7.5zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m419.625 305.449219h-94.960938c-4.144531 0-7.503906 3.355469-7.503906 7.5 0 4.140625 3.359375 7.5 7.503906 7.5h94.960938c4.144531 0 7.5-3.359375 7.5-7.5 0-4.144531-3.355469-7.5-7.5-7.5zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m419.625 334.085938h-94.960938c-4.144531 0-7.503906 3.355468-7.503906 7.5 0 4.140624 3.359375 7.5 7.503906 7.5h94.960938c4.144531 0 7.5-3.359376 7.5-7.5 0-4.144532-3.355469-7.5-7.5-7.5zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}),React.createElement("path",{d:"m.5 375.8125c0 24.21875 19.703125 43.925781 43.925781 43.925781h178.300781v44.609375h-40.804687c-11 0-19.949219 8.949219-19.949219 19.945313v7.757812c0 11 8.949219 19.949219 19.949219 19.949219h47.128906c4.144531 0 7.5-3.359375 7.5-7.5 0-4.144531-3.355469-7.5-7.5-7.5h-47.128906c-2.730469 0-4.949219-2.222656-4.949219-4.949219v-7.757812c0-2.726563 2.21875-4.945313 4.949219-4.945313h129.257813c2.730468 0 4.949218 2.21875 4.949218 4.945313v7.757812c0 2.730469-2.21875 4.949219-4.949218 4.949219h-47.128907c-4.140625 0-7.5 3.355469-7.5 7.5 0 4.140625 3.359375 7.5 7.5 7.5h47.128907c11 0 19.949218-8.949219 19.949218-19.949219v-7.757812c0-10.996094-8.949218-19.945313-19.949218-19.945313h-40.804688v-44.609375h178.304688c24.21875 0 43.921874-19.707031 43.921874-43.925781v-138.675781c0-4.140625-3.355468-7.5-7.5-7.5-4.144531 0-7.5 3.359375-7.5 7.5v138.675781c0 15.949219-12.976562 28.921875-28.921874 28.921875-8.121094 0-402.925782 0-404.253907 0-15.949219 0-28.925781-12.972656-28.925781-28.921875v-331.890625c0-15.945313 12.976562-28.921875 28.925781-28.921875h404.253907c15.945312 0 28.921874 12.976562 28.921874 28.921875v158.214844c0 4.144531 3.355469 7.5 7.5 7.5 4.144532 0 7.5-3.355469 7.5-7.5v-158.214844c0-24.21875-19.703124-43.921875-43.921874-43.921875h-404.253907c-24.222656 0-43.925781 19.703125-43.925781 43.921875zm254.875 43.925781v44.609375h-17.648438v-44.609375zm0 0","data-original":"#000000",class:"active-path","data-old_color":"#000000",fill:"#F63D3D"}))," "),Bg={wrapAlignment:{type:"string",default:""},checkPostImage:{type:"boolean",default:!0},postImageWidth:{type:"number",default:600},preservePostImageAspectRatio:{type:"boolean",default:!0},postImageHeight:{type:"number",default:400},checkPostAuthor:{type:"boolean",default:!0},checkPostDate:{type:"boolean",default:!0},checkPostExcerpt:{type:"boolean",default:!0},excerptLength:{type:"number",default:55},checkPostLink:{type:"bolean",default:!0},readMoreText:{type:"string",default:"Continue Reading"},amountPosts:{type:"number",default:6},postLayout:{type:"string",default:"grid"},columns:{type:"number",default:2},categories:{type:"string",default:""},categoryArray:{type:"array",default:[]},offset:{type:"number",default:0},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},postTitleTag:{type:"string",default:"h2"}};function jg(e){return(jg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dg(e,t){var c=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),c.push.apply(c,a)}return c}function Fg(e){for(var t=1;t
".concat(hy("No video found at URL"),"
")})}))})).catch((function(e){console.log("youtube fetch error"),console.log(e)})):t?fetch("https://vimeo.com/api/v2/video/".concat(t[1],".json")).then((function(e){e.ok?e.json().then((function(e){T({videoURL:e[0].url,videoName:e[0].title,videoDescription:e[0].description,videoUploadDate:Date.parse(e[0].upload_date)/1e3,videoThumbnailURL:e[0].thumbnail_large,videoDuration:e[0].duration}),fetch("https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(e[0].url))).then((function(e){e.json().then((function(e){T({videoEmbedCode:e.html})}))})).catch((function(e){console.log("vimeo oembed error"),console.log(e)}))})).catch((function(e){console.log(e)})):(D(),T({videoEmbedCode:"".concat(hy("No video found at URL"),"
")}))})).catch((function(e){console.log("vimeo fetch error"),console.log(e)})):c?fetch("https://api.dailymotion.com/video/".concat(c[1],"?fields=created_time%2Cthumbnail_1080_url%2Ctitle%2Cdescription%2Curl%2Cembed_html%2Cduration")).then((function(e){e.ok?e.json().then((function(e){T({videoURL:e.url,videoName:e.title,videoDescription:e.description,videoUploadDate:e.created_time,videoThumbnailURL:e.thumbnail_1080_url,videoEmbedCode:decodeURIComponent(e.embed_html),videoDuration:e.duration})})):(D(),T({videoEmbedCode:"".concat(hy("No video found at URL"),"
")}))})).catch((function(e){console.log("dailymotion input error"),console.log(e)})):a?fetch("https://public-api.wordpress.com/rest/v1.1/videos/".concat(a[1])).then((function(e){e.ok?e.json().then((function(e){T({videoURL:"https://videopress.com/v/".concat(e.guid),videoName:e.title,videoDescription:e.description,videoUploadDate:Date.parse(e.upload_date)/1e3,videoThumbnailURL:e.poster,videoEmbedCode:'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t