https://www.goldsgym.com/wp-content/mu-plugins/gg-blocks/build/blo…/view.js?ver=654d227d77fbc82cb763
1(()=>{var e,t={6217:(e,t,i)=>{"use strict";const s=window.wp.element,n=window.wp.domReady;var o=i.n(n);const l=window.ReactJSXRuntime,r=({color:e})=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:e||"none",children:(0,l.jsx)("path",{d:"M9.11111 4V8.8H7.55556H6V12H7.55556H9.11111V15.2H7.55556H6V18.4H7.55556H9.11111V21.6H7.55556H6V24.8H7.55556H9.11111V28H7.55556H6V31.2H7.55556H9.11111V36H34V4H9.11111ZM27.7778 15.2H15.3333V12H27.7778V15.2Z",fill:"#0A0203"})}),a=({color:e})=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"26",viewBox:"0 0 30 26",fill:"none",children:(0,l.jsx)("path",{d:"M10.2207 20.1143C11.7355 20.1143 12.9638 21.3426 12.9639 22.8574C12.9639 24.3723 11.7355 25.6006 10.2207 25.6006C8.70599 25.6004 7.47852 24.3722 7.47852 22.8574C7.47856 21.3427 8.70602 20.1144 10.2207 20.1143ZM19.6377 20.1143C21.1523 20.1145 22.3798 21.3428 22.3799 22.8574C22.3799 24.3721 21.1523 25.6004 19.6377 25.6006C18.1229 25.6006 16.8945 24.3723 16.8945 22.8574C16.8946 21.3426 18.1229 20.1143 19.6377 20.1143ZM8.22852 3.86719H29.2568L26.4248 19.2002H4.51172V3.22266H0V0H8.22852V3.86719Z",fill:"#0A0203"})}),d=({width:e=8,height:t=8})=>(0,l.jsx)("svg",{viewBox:"0 0 8 8",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",width:e,height:t,children:(0,l.jsx)("path",{d:"M1.04167 8L0 6.95834L2.9375 4L0 1.0625L1.04167 0.0208359L4 2.95834L6.9375 0.0208359L7.97917 1.0625L5.04167 4L7.97917 6.95834L6.9375 8L4 5.0625L1.04167 8Z"})}),c=({color:e})=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36",fill:e||"none",children:(0,l.jsx)("path",{d:"M16.5 0V4.5H19.5V0H16.5ZM6.33398 4.21289L4.21289 6.33398L7.39453 9.51562L9.51562 7.39453L6.33398 4.21289ZM29.666 4.21289L26.4844 7.39453L28.6055 9.51562L31.7871 6.33398L29.666 4.21289ZM18 7.5C12.21 7.5 7.5 12.21 7.5 18C7.5 22.1775 9.9585 25.7827 13.5 27.4717V34.5C13.5 34.5 14.8455 34.5 16.5 34.5H19.5C21.1545 34.5 22.5 34.5 22.5 34.5V27.4717C26.0415 25.7827 28.5 22.1775 28.5 18C28.5 12.21 23.79 7.5 18 7.5ZM0 16.5V19.5H4.5V16.5H0ZM31.5 16.5V19.5H36V16.5H31.5ZM7.39453 26.4844L4.21289 29.666L6.33398 31.7871L9.51562 28.6055L7.39453 26.4844ZM28.6055 26.4844L26.4844 28.6055L29.666 31.7871L31.7871 29.666L28.6055 26.4844Z",fill:"#0A0203"})}),h=({color:e})=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:e||"none",children:(0,l.jsx)("path",{d:"M10.14 14.9C9.97 16.6 9.8 18.3 9.8 20C9.8 21.7 9.97 23.4 10.14 25.1H3.85C3.34 23.4 3 21.7 3 20C3 18.3 3.34 16.6 3.85 14.9H10.14ZM26.46 14.9C26.63 16.43 26.8 18.3 26.8 20C26.8 21.7 26.63 23.57 26.46 25.1H13.54C13.37 23.57 13.2 21.7 13.2 20C13.2 18.3 13.37 16.43 13.54 14.9H26.46ZM37 20C37 21.7 36.66 23.4 36.15 25.1H29.86C30.03 23.4 30.2 21.7 30.2 20C30.2 18.3 30.03 16.6 29.86 14.9H36.15C36.66 16.6 37 18.3 37 20ZM13.37 4.36C12.18 6.23 11.33 8.61 10.65 11.5H5.21C7.08 8.27 9.97 5.89 13.37 4.36ZM25.78 11.5H14.22C15.41 6.57 17.62 3.34 19.66 3C19.83 3 19.83 3 20 3C20.17 3 20.17 3 20.34 3C22.38 3.34 24.59 6.57 25.78 11.5ZM34.79 11.5H29.35C28.67 8.61 27.82 6.23 26.63 4.36C30.03 5.89 32.92 8.27 34.79 11.5ZM10.65 28.5C11.33 31.39 12.18 33.77 13.37 35.64C9.97 34.11 7.25 31.73 5.38 28.5H10.65ZM14.22 28.5H25.78C24.59 33.43 22.38 36.66 20.34 37C20.17 37 20.17 37 20 37C19.83 37 19.83 37 19.66 37C17.62 36.66 15.41 33.43 14.22 28.5ZM34.79 28.5C32.92 31.73 30.2 34.11 26.8 35.64C27.99 33.77 28.84 31.39 29.52 28.5H34.79Z",fill:"#0A0203"})}),g=window.wp.i18n,w=({color:e})=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:e||"none",children:[(0,l.jsx)("path",{d:"M1.39844 13.7148H5.68399V28H1.39844V13.7148Z",fill:"#0A0203"}),(0,l.jsx)("path",{d:"M38.543 13.7148H34.2574V28H38.543V13.7148Z",fill:"#0A0203"}),(0,l.jsx)("rect",{x:"7.11328",y:"8",width:"7.14259",height:"25.7133",fill:"#0A0203"}),(0,l.jsx)("rect",{width:"7.14259",height:"25.7133",transform:"matrix(-1 0 0 1 32.8281 8)",fill:"#0A0203"}),(0,l.jsx)("rect",{width:"6",height:"8",transform:"matrix(1.24019e-08 -1 -1 -1.14662e-08 23.8984 24)",fill:"#0A0203"})]}),f=({color:e})=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:e||"none",children:(0,l.jsx)("path",{d:"M6 11.6154H11.8947V26.8463H6V11.6154ZM14.8421 10.7671V27.6961L14.9585 27.7418L13.196 32.5609L22.0027 36L23.7446 31.2312L34 35V4L14.8421 10.7671ZM20.2874 32.0735L16.9966 30.788L17.7114 28.8339L20.9947 30.1376L20.2874 32.0735Z",fill:"#0A0203"})}),p=({color:e})=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"34",viewBox:"0 0 30 34",fill:e||"none",children:(0,l.jsx)("path",{d:"M14.6768 0C22.7831 0 29.3544 6.6852 29.3545 14.9326C29.3545 19.1867 27.5954 23.0136 24.79 25.7334L14.6768 34.001L4.56445 25.7334C1.75904 23.0136 0 19.1867 0 14.9326C9.60304e-05 6.68525 6.57045 7.44345e-05 14.6768 0ZM14.7217 11.0273C12.7263 11.0273 11.1084 12.6731 11.
11084 14.7031C11.1084 16.7332 12.7263 18.3789 14.7217 18.3789C16.7168 18.3787 18.334 16.733 18.334 14.7031C18.334 12.6732 16.7168 11.0276 14.7217 11.0273Z",fill:"#0A0203"})}),v=({color:e})=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:e||"none",children:[(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.575 33.8098L30.6647 34.4806C27.6807 36.6821 23.9978 38 20 38C16.0022 38 12.3193 36.6821 9.3353 34.4806L8.42504 33.8098L14.6639 27.5709L15.3138 27.9548C16.6917 28.7695 18.2892 29.2432 20 29.2432C21.7108 29.2432 23.3083 28.7695 24.6862 27.9548L25.3361 27.5709L31.575 33.8098Z",fill:"#0A0203"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4291 14.6639L12.0452 15.3138C11.2305 16.6917 10.7568 18.2892 10.7568 20C10.7568 21.7108 11.2305 23.3083 12.0452 24.6862L12.4291 25.3361L6.19025 31.575L5.51943 30.6647C3.31787 27.6807 2 23.9978 2 20C2 16.0022 3.31787 12.3193 5.51943 9.3353L6.19025 8.42504L12.4291 14.6639Z",fill:"#0A0203"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.4806 9.3353C36.6821 12.3193 38 16.0022 38 20C38 23.9978 36.6821 27.6807 34.4806 30.6647L33.8098 31.575L27.5709 25.3361L27.9548 24.6862C28.7695 23.3083 29.2432 21.7108 29.2432 20C29.2432 18.2892 28.7695 16.6917 27.9548 15.3138L27.5709 14.6639L33.8098 8.42504L34.4806 9.3353Z",fill:"#0A0203"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 2C23.9981 2 27.6811 3.31997 30.6647 5.51943L31.575 6.19025L25.3361 12.4291L24.6862 12.0452C23.3075 11.2316 21.7101 10.7568 20 10.7568C18.2899 10.7568 16.6925 11.2316 15.3138 12.0452L14.6639 12.4291L8.42504 6.19025L9.3353 5.51943C12.3193 3.31787 16.0022 2 20 2Z",fill:"#0A0203"})]});function u({isOpen:e,onClose:t,video:i,captions:n,classNamespace:o="gg-video-player"}){const[,r]=(0,s.useState)(null),a="string"==typeof i?{videoUrl:i}:i,c="string"==typeof i?n:i?.captions||n;return(0,s.useEffect)((()=>(document.body.style.overflow=e?"hidden":"",()=>{document.body.style.overflow=""})),[e]),(0,s.useEffect)((()=>{const i=i=>{"Escape"===i.key&&e&&t()};return e&&document.addEventListener("keydown",i),()=>{document.removeEventListener("keydown",i)}}),[e,t]),e&&a?(0,l.jsxs)("div",{className:`${o}__overlay`,onClick:e=>{e.target===e.currentTarget&&t()},onKeyDown:e=>"Escape"===e.key&&t(),role:"button",tabIndex:"0",children:[(0,l.jsx)("button",{type:"button",className:`${o}__overlay-close`,onClick:t,"aria-label":"Close",children:(0,l.jsx)(d,{})}),(0,l.jsx)("div",{className:`${o}__overlay-content`,children:(0,l.jsx)("div",{className:`${o}__player`,children:(0,l.jsxs)("video",{ref:r,src:a.videoUrl,poster:a.thumbnail,controls:!0,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,className:`${o}__overlay-video`,children:[(0,l.jsx)("source",{src:a.videoUrl,type:"video/mp4"}),(0,l.jsx)("track",{kind:"captions",src:c,srclang:"en",default:!0})]})})})]}):null}function x({videoLink:e,captionsLink:t,title:i,text:n,benefits:o}){const[d,g]=(0,s.useState)(!1);return(0,l.jsxs)("div",{id:"why-golds-gym",className:"gg-franchise-why-golds-gym gg-section-block",children:[(0,l.jsxs)("div",{className:"gg-franchise-why-golds-gym__content",children:[(0,l.jsx)("div",{className:"gg-franchise-why-golds-gym__header",children:(0,l.jsxs)("div",{className:"gg-franchise-why-golds-gym__header-inner",children:[(0,l.jsx)("h2",{className:"gg-franchise-why-golds-gym__header-title",children:"WHY GOLDâS GYM"}),i&&(0,l.jsx)("h3",{className:"gg-franchise-why-golds-gym__title",children:i}),n&&(0,l.jsx)("p",{className:"gg-franchise-why-golds-gym__text",children:n})]})}),o&&o.length>0&&(0,l.jsx)("ul",{className:"gg-franchise-why-golds-gym__benefits",children:o.map(((e,t)=>{const i=(e=>{const t=e?.toLowerCase();return{globe:h,pin:p,gym:w,cart:a,megaphone:f,support:v,frame:c,book:r}[t]||h})(e.icon);return(0,l.jsxs)("li",{className:"gg-franchise-why-golds-gym__benefit",children:[i&&(0,l.jsx)("span",{className:"gg-franchise-why-golds-gym__benefit-icon",children:(0,l.jsx)(i,{})}),e.title&&(0,l.jsx)("span",{className:"gg-franchise-why-golds-gym__benefit-title",children:e.title})]},t)}))})]}),(0,l.jsx)(u,{isOpen:d,onClose:()=>g(!1),video:e,captions:t})]})}i(9400),window.React,window.wp.compose,window.moment,window.wp.components,(0,g.__)("5","gg-utils"),(0,g.__)("10","gg-utils"),(0,g.__)("25","gg-utils"),(0,g.__)("50","gg-utils"),(0,g.__)("100","gg-utils"),o()((()=>{const e=document.querySelectorAll(".gg-franchise-why-golds-gym-wrapper");e&&0!==e.length&&e.forEach((e=>{const{quote:t,author:i,videoTitle:n,videoSubtitle:o,videoLink:r,captionsLink:a,title:d,text:c,benefits:h}=e.dataset;let g=[];try{g=h?JSON.parse(h):[]}catch(e){console.error("Error parsing benefits JSON",e)}document.body.classList.add("has-sticky-why-golds-title"),e.innerHTML="",(0,s.createRoot)(e).render((0,l.jsx)(x,{quote:t,author:i,videoTitle:n,videoSubtitle:o,videoLink:r,captionsLink:a,title:d,text:c,benefits:g}))}))}))},9400:(e,t)=>{var i;!function(){"use strict";var s={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=l(e,o(i)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var i in e)s.call(e,i)&&e[i]&&(t=l(t,i));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):void 0===(i=function(){return n}
1.apply(t,[]))||(e.exports=i)}()}},i={};function s(e){var n=i[e];if(void 0!==n)return n.exports;var o=i[e]={exports:{}};return t[e](o,o.exports,s),o.exports}s.m=t,e=[],s.O=(t,i,n,o)=>{if(!i){var l=1/0;for(c=0;c<e.length;c++){for(var[i,n,o]=e[c],r=!0,a=0;a<i.length;a++)(!1&o||l>=o)&&Object.keys(s.O).every((e=>s.O[e](i[a])))?i.splice(a--,1):(r=!1,o<l&&(l=o));if(r){e.splice(c--,1);var d=n();void 0!==d&&(t=d)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[i,n,o]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={2456:0,9894:0};s.O.j=t=>0===e[t];var t=(t,i)=>{var n,o,[l,r,a]=i,d=0;if(l.some((t=>0!==e[t]))){for(n in r)s.o(r,n)&&(s.m[n]=r[n]);if(a)var c=a(s)}for(t&&t(i);d<l.length;d++)o=l[d],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return s.O(c)},i=globalThis.webpackChunkgg_blocks=globalThis.webpackChunkgg_blocks||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var n=s.O(void 0,[9894],(()=>s(6217)));n=s.O(n)})();
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.