1"use strict";(self.webpackChunkcollins_rochester_orthodontics_website=self.webpackChunkcollins_rochester_orthodontics_website||[]).push([[2758],{71050:function(t,e,o){o.d(e,{k:function(){return n}});var n=function(t){return null==t?void 0:t.replace(/^\/?(?:src\/content\/cms\/media|cms-media)\//,"")}},71250:function(t,e,o){o.r(e),o.d(e,{default:function(){return j}});var n=o(96540),i=o(6468),d=o(75765),a=o(57031),r={flavorMainDiv:{minWidth:"25%",minHeight:"75%",paddingLeft:"20px",paddingRight:"20px"},flavorCategoryH3:{color:a.Tj.donutTextLight,fontFamily:d.w4.donutHeaderFontFamily,fontSize:"30pt",lineHeight:"1.2",fontWeight:"normal",fontStyle:"normal"},flavorCategoryList:{listStyle:"none",padding:"0",marginTop:".5rem"},flavorCategoryListItem:{marginBottom:"15px"},flavorCategoryListItemH4:{color:a.Tj.donutTextBlue,fontFamily:d.w4.donutHeaderFontFamily,fontSize:"24pt",lineHeight:"1.2",fontWeight:"normal",fontStyle:"normal",marginBottom:"0"},flavorCategoryListItemPretext:{color:a.Tj.donutTextLight,fontFamily:d.w4.donutFontFamily,fontSize:"1.3rem",lineHeight:"1.5",letterSpacing:".9px"},flavorCategoryListItemText:{color:a.Tj.donutTextLight,fontFamily:d.w4.donutFontFamily,fontSize:"1.3rem",lineHeight:"1.5",letterSpacing:".9px"}},l=o(11723),u=function(t){var e=t.category;return(0,l.Y)("div",{id:"flavor-main-div","data-testid":"flavor-main-div",css:[r.flavorMainDiv,"",""]},(0,l.Y)("h3",{id:"flavor-category-".concat(e.flavorCategory),"data-testid":"flavor-category-".concat(e.flavorCategory),css:[r.flavorCategoryH3,"",""]},e.flavorCategory),(0,l.Y)("ul",{id:"flavor-category-list","data-testid":"flavor-category-list",css:[r.flavorCategoryList,"",""]},e.flavors.map((function(t){return(0,l.Y)("li",{key:t.flavorId,id:"flavor-category-list-".concat(t.flavorId),"data-testid":"flavor-category-list-".concat(t.flavorId),css:[r.flavorCategoryListItem,"",""]},(0,l.Y)("h4",{id:"flavor-category-list-".concat(t.flavorName),"data-testid":"flavor-category-list-".concat(t.flavorName),css:[r.flavorCategoryListItemH4,"",""]},t.flavorName),(0,l.Y)("div",{id:"flavor-category-list-item-pretext","data-testid":"flavor-category-list-item-pretext",css:[r.flavorCategoryListItemPretext,"",""]},t.flavorPreText)," ",(0,l.Y)("div",{id:"flavor-category-list-item-text","data-testid":"flavor-category-list-item-text",css:[r.flavorCategoryListItemText,"",""]},t.flavorText))}))))},s=o(88218),c=o(70927),p=o(39589),v=o(71050),h=o.p+"static/header-background-d5f019d4c78ad02e8d3485855f35f931.jpg",f=o.p+"static/logo-27d41503ac853c9da470af07cf3108e1.png",g=o.p+"static/team-523a3162ebffd385b635b8417291ed5c.png",m=o.p+"static/menu-background-e2c894b52e05471a22136be55f71b894.jpg",b=o.p+"static/ordering-background-22ecc37258fea4d15bbba088e013c677.jpg";function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function Y(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,H(n.key),n)}}function C(t,e,o){return e=_(e),function(t,e){if(e&&("object"==y(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,w()?Reflect.construct(e,o||[],_(t).constructor):e.apply(t,o))}function w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(w=function(){return!!t})()}function _(t){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_(t)}function k(t,e){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},k(t,e)}function D(t,e,o){return(e=H(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function H(t){var e=function(t,e){if("object"!=y(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var n=o.call(t,e||"default");if("object"!=y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==y(e)?e:e+""}var L=function(t){return t?"url('".concat(t,"')"):"none"},S=function(t){var e,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(t){var n=(0,v.k)(t);return null===(e=o.find((function(t){return t.relativePath===n})))||void 0===e?void 0:e.publicURL}},T=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=null==t?void 0:t.frontmatter,n=S(null==o?void 0:o.calendarImage,e);return n?{calendarMonthYear:o.calendarMonthYear,theDonutsCalendarImage:{title:o.imageAlt||"The Donut business hours",url:n}}:void 0}(null==e?void 0:e.cmsDonutCalendar,null==e||null===(t=e.cmsDonutMedia)||void 0===t?void 0:t.nodes)},I={name:"kmthlo",styles:"position:absolute;top:8px;right:8px"},x=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return D(t=C(this,e,[].concat(n)),"state",{show:!1}),D(t,"toggle",(function(){return t.setState((function(t){return{show:!t.show}}))})),D(t,"getDonutCalendarUrl",(function(){var e=T(t.props.data);return e&&e.theDonutsCalendarImage&&e.theDonutsCalendarImage.url})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&k(t,e)}(e,t),o=e,n=[{key:"componentDidUpdate",value:function(t,e){!e.show&&this.state.show&&this.getDonutCalendarUrl()&&i.Ay.capture("collins.modal.open",{"collins.modal.id":"the_donut_business_hours","app.screen.id":"the_donut","collins.ui.placement":"the_donut_header"})}},{key:"render",value:function(){var t,e,o,n,d,a,r,v,y,Y,C,w,_,k,D,H,T,x,A,j,P,M,O,F,B,N,R,E,U,z,W,K,q,G,J,Q,V,X=function(){var t,e,o,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null==n||null===(t=n.cmsTheDonutPage)||void 0===t||null===(e=t.nodes)||void 0===e||null===(o=e.find((function(t){var e=t.frontmatter;return"the-donut"===(null==e?void 0:e.pageIdentifier)})))||void 0===o?void 0:o.frontmatter)||{}}(this.props.data),Z=function(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,o){var n=o.frontmatter,i=S(null==n?void 0:n.image,t);return null!=n&&n.assetKey&&i&&(e[n.assetKey]=i),e}),{})}(null===(t=this.props.data)||void 0===t||null===(e=t.cmsDonutAssets)||void 0===e?void 0:e.nodes,null===(o=this.props.data)||void 0===o||null===(n=o.cmsDonutMedia)||void 0===n?void 0:n.nodes),$=this.getDonutCalendarUrl(),tt=Z.logo||f,et=Z.team||g,ot=Z.headerBackground||h,nt=Z.menuBackground||m,it=Z.orderingBackgroun
1d||b,dt=Z.wingsBackground,at=((null===(d=X.flavors)||void 0===d?void 0:d.categories)||[]).map((function(t){return(0,l.Y)(u,{key:t.flavorCatId,category:t})}));return(0,l.Y)(s.A,{location:this.props.location},(0,l.Y)("div",{id:"the-donut-page","data-testid":"the-donut-page",className:"co-the-donut"},this.state.show&&$&&(0,l.Y)("div",{id:"the-donut-business-hours-modal","data-testid":"the-donut-business-hours-modal",className:"popup",onClick:this.toggle,role:"presentation"},(0,l.Y)("div",{id:"the-donut-business-hours-dialog","data-testid":"the-donut-business-hours-dialog",className:"popuptext",role:"dialog","aria-modal":"true","aria-label":null===(a=X.header)||void 0===a?void 0:a.hoursModalLabel,onClick:function(t){return t.stopPropagation()}},(0,l.Y)("button",{id:"the-donut-business-hours-close","data-testid":"the-donut-business-hours-close",type:"button","aria-label":"Close business hours",onClick:this.toggle,css:I},"Ã"),(0,l.Y)("img",{"data-testid":"tdp-business-hours-calendar-img",alt:null===(r=X.header)||void 0===r?void 0:r.hoursModalLabel,src:$,width:"100%",height:"auto"}))),(0,l.Y)("section",{id:"tdp-header-section","data-testid":"tdp-header-section",style:{"--tdp-header-background":L(ot)}},(0,l.Y)("div",{id:"the-donut-page-phone-number"},(0,l.Y)("a",{id:"the-donut-header-phone-link",href:"tel:5075127100",onClick:function(){return i.Ay.capture("app.widget.click",{"app.widget.id":"the-donut-header-phone-link","app.screen.id":"the_donut","collins.interaction.type":"phone_link","collins.ui.placement":"the_donut_header"})}},null===(v=X.header)||void 0===v?void 0:v.phoneDisplay)),(0,l.Y)("button",{id:"the-donut-page-click-for-business-hours","data-testid":"the-donut-page-click-for-business-hours",type:"button",onClick:this.toggle},(0,l.Y)("span",{id:"the-donut-page-click-for-business-hours-link"},null===(y=X.header)||void 0===y?void 0:y.hoursModalLabel)),(0,l.Y)("div",{id:"tdp-header-logo-div","data-testid":"tdp-header-logo-div"},(0,l.Y)("img",{id:"tdp-header-logo-img","data-testid":"tdp-header-logo-img",src:tt,alt:null===(Y=X.header)||void 0===Y?void 0:Y.logoAlt})),(0,l.Y)("div",{id:"tdp-header-main","data-testid":"tdp-header-main"},(0,l.Y)("div",{id:"tdp-header-main-theDonutContent","data-testid":"tdp-header-main-theDonutContent"},(0,l.Y)("h2",{id:"tdp-header-main-h2","data-testid":"tdp-header-main-h2"},null===(C=X.header)||void 0===C?void 0:C.titleFirstLine,(0,l.Y)("br",null),null===(w=X.header)||void 0===w?void 0:w.titleSecondLine),(0,l.Y)("iframe",{id:"tdp-main-video",src:"https://www.youtube.com/embed/3RTW2ia-v5I",title:null===(_=X.header)||void 0===_?void 0:_.videoTitle,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}),(0,l.Y)("div",{id:"tdp-header-main-p-container","data-testid":"tdp-header-p-container"},(0,l.Y)("p",{id:"tdp-header-main-p-1","data-testid":"tdp-header-main-p-1"},(0,l.Y)("span",{dangerouslySetInnerHTML:{__html:(0,p.A)((null===(k=X.header)||void 0===k?void 0:k.introHtml)||"")}})),(0,l.Y)("p",{id:"tdp-header-main-p-2","data-testid":"tdp-header-main-p-2"},(0,l.Y)("span",{dangerouslySetInnerHTML:{__html:(0,p.A)((null===(D=X.header)||void 0===D?void 0:D.secondParagraphHtml)||"")}})))),(0,l.Y)("img",{id:"tdp-header-team-img","data-testid":"tdp-header-team-img",src:et,alt:null===(H=X.header)||void 0===H?void 0:H.teamAlt,width:"100%",height:"auto"}))),(0,l.Y)("section",{id:"the-donut-page-our-menu-section","data-testid":"the-donut-page-our-menu-section",style:{"--tdp-menu-background":L(nt)}},(0,l.Y)("div",{id:"tdp-our-menu-div","data-testid":"tdp-our-menu-div"},(0,l.Y)("h2",{id:"tdp-header-h2","data-testid":"tdp-header-h2"},null===(T=X.menu)||void 0===T?void 0:T.heading),(0,l.Y)("div",{id:"tdp-our-menu-theDonutContent-div","data-testid":"tdp-our-menu-theDonutContent-div"},(0,l.Y)("p",{id:"tdp-our-menu-theDonutContent","data-testid":"tdp-our-menu-theDonutContent"},(0,l.Y)("span",{dangerouslySetInnerHTML:{__html:(0,p.A)((null===(x=X.menu)||void 0===x?void 0:x.contentHtml)||"")}}))))),(0,l.Y)("section",{id:"the-donut-page-how-to-order-section","data-testid":"the-donut-page-how-to-order-section",style:{"--tdp-ordering-background":L(it)}}),(0,l.Y)("section",{id:"tdp-flavors-and-beverages-section","data-testid":"tdp-flavors-and-beverages-section"},(0,l.Y)("div",{id:"tdp-flavors-and-beverages-div","data-testid":"tdp-flavors-and-beverages-div"},(0,l.Y)("div",{id:"tdp-flavors-div","data-testid":"tdp-flavors-div"},(0,l.Y)("h2",{id:"tdp-flavors-h2","data-testid":"tdp-flavors-h2"},null===(A=X.flavors)||void 0===A?void 0:A.heading),(0,l.Y)("div",{id:"tdp-flavors-div","data-testid":"tdp-flavors-div"},at)),(0,l.Y)("div",null,(0,l.Y)("h2",{id:"tdp-beverages-h2","data-testid":"tdp-beverages-h2"},null===(j=X.flavors)||void 0===j?void 0:j.beveragesHeading),(0,l.Y)("p",{id:"tdp-beverages-theDonutContent","data-testid":"tdp-beverages-theDonutContent"},null===(P=X.flavors)||void 0===P?void 0:P.beveragesContent)))),(0,l.Y)("section",{id:"the-donut-page-our-cause","data-testid":"the-donut-page-our-cause"},(0,l.Y)("div",{id:"tdp-our-cause-div","data-testid":"tdp-our-cause-div"},(0,l.Y)("h2",{id:"tdp-our-cause-h2","data-testid":"tdp-our-cause-h2"},null===(M=X.cause)||void 0===M?void 0:M.heading),(0,l.Y)("div",{id:"tdp-our-cause-theDonutContent-div","data-testid":"tdp-our-cause-theDonutContent-div"},(0,l.Y)("div",{id:"tdp-our-cause-theDonutContent-div-1","data-testid":"tdp-our-cause-theDonutContent-div-1"},(0,l.Y)("span",{dangerouslySetInnerHTML:{__html:(0,p.A)((null===(O=X.cause)||void 0===O?void 0:O.firstHtml)||"")}})),(0,l.Y)("br",null),(0,l.Y)("div",{id:"tdp-our-cause-theDonutContent-div-2","data-testid":"tdp-our-cause-theDonutContent-div-2"},(0,l.Y)("span",{dangerouslySetInnerHTML:{__html:(0,p.A)((null===(F=X.cause)||void 0===F?void 0:F.secondHtml)||"")}}))),(0,l.Y)("div",{id:"tdp-our-cause-donate-button-div","data-testid":"tdp-our-cause-donate-button-div"},(0,l.Y)(c.A,{to:"/contact-us/adopt-a-shark"},(0,l.Y)("button",{id:"tdp-our-cause-donate-button","data-testid":"tdp-our-cause-donate-button",onClick:function(){return i.Ay.capture("app.widget.click",{"app.widget.id":"tdp-our-cause-donate-button","app.screen.id":"the_donut","collins.interaction.type":"cta","collins.ui.placement":"the_donut_cause","url.path":"/contact-us/adopt-a-shark"})}},null===(B=X.cause)||void 0===B?void 0:B.donateLabel))))),(0,l.Y)("section",{id:"the-donut-page-wings-section","data-testid":"the-donut-page-wings-section",style:{"--tdp-wings-background":L(dt)}}),(0,l.Y)("section",{id:"the-donut-page-behind-our-wings-section","data-testid":"the-donut-page-behind-our-wings-section"},(0,l.Y)("div",{id:"tdp-behind-our-wings-div","data-testid":"tdp-behind-our-wings-div"},(0,l.Y)("h2",{id:"tdp-behind-our-wings-h2","data-testid":"tdp-behind-our-wings-h2"},null===(N=X.wings)||void 0===N?void 0:N.heading),(0,l.Y)("div",{id:"tdp-behind-our-wings-theDonutContent-div","data-testid":"tdp-behind-our-wings-theDonutContent-div"},(0,l.Y)("p",{id:"tdp-behind-our-wings-theDonutContent-text","data-testid":"tdp-behind-our-wings-theDonutContent-text"},(0,l.Y)("span",{dangerouslySetInnerHTML:{__html:(0,p.A)((null===(R=X.wings)||void 0===R?void 0:R.contentHtml)||"")}}))))),(0,l.Y)("section",{id:"the-donut-page-footer-section","data-testid":"the-donut-page-footer-section"},(0,l.Y)("div",{id:"tdp-footer-div","data-testid":"tdp-footer-div"},(0,l.Y)("div",{id:"tdp-footer-div-header","data-testid":"tdp-footer-div-header"},(0,l.Y)("h3",{id:"tdp-footer-div-header-h3","data-testid":"tdp-footer-div-header-h3"}," ",null===(E=X.footer)||void 0===E?void 0:E.headingBeforeHighlight," ",(0,l.Y)("span",{className:"tdp-footer-highlight"},null===(U=X.footer)||void 0===U?void 0:U.headingHighlight)," "," ",null===(z=X.footer)||void 0===z?void 0:z.headingAfterHighlight)),(0,l.Y)("div",{id:"tdp-footer-div-theDonutContent","data-testid":"tdp-footer-div-theDonutContent"},(0,l.Y)("div",{id:"tdp-footer-div-theDonutContent-location","data-testid":"tdp-footer-div-theDonutContent-location"},null===(W=X.footer)||void 0===W?void 0:W.locationHeading,(0,l.Y)("div",{id:"tdp-footer-div-theDonutContent-location-address","data-testid":"tdp-footer-div-theDonutContent-location-address"},(0,l.Y)("span",{dangerouslySetInnerHTML:{__html:(0,p.A)((null===(K=X.footer)||void 0===K?void 0:K.addressHtml)||"")}}))),(0,l.Y)("div",{id:"tdp-footer-div-theDonutContent-contact","data-testid":"tdp-footer-div-theDonutContent-contact"},null===(q=X.footer)||void 0===q?void 0:q.contactHeading,(0,l.Y)("div",{id:"tdp-footer-div-theDonutContent-contact-details","data-testid":"tdp-footer-div-theDonutContent-contact-details"},(0,l.Y)("div",{id:"the-donut-page-phone-number"},(0,l.Y)("a",{id:"the-donut-footer-phone-link",href:"tel:5075127100",onClick:function(){return i.Ay.capture("app.widget.click",{"app.widget.id":"the-donut-footer-phone-link","app.screen.id":"the_donut","collins.interaction.type":"phone_link","collins.ui.placement":"the_donut_footer_contact"})}}
1,null===(G=X.footer)||void 0===G?void 0:G.phoneDisplay),(0,l.Y)("br",null),(0,l.Y)("a",{id:"the-donut-footer-email-link",href:"mailto:[email protected]",onClick:function(){return i.Ay.capture("app.widget.click",{"app.widget.id":"the-donut-footer-email-link","app.screen.id":"the_donut","collins.interaction.type":"email_link","collins.ui.placement":"the_donut_footer_contact"})}},null===(J=X.footer)||void 0===J?void 0:J.emailDisplay)))),(0,l.Y)("div",{id:"tdp-footer-div-theDonutContent-get-involved","data-testid":"tdp-footer-div-theDonutContent-get-involved"},null===(Q=X.footer)||void 0===Q?void 0:Q.getInvolvedHeading,(0,l.Y)("div",{id:"tdp-footer-div-theDonutContent-get-involved-button-div","data-testid":"tdp-footer-div-theDonutContent-get-involved-button-div"},(0,l.Y)("a",{id:"tdp-footer-div-theDonutContent-get-involved-button","data-testid":"tdp-footer-div-theDonutContent-get-involved-button",href:"https://www.rochesterorthodontics.com/contact-us/adopt-a-shark/",target:"_blank",rel:"noopener noreferrer",onClick:function(){return i.Ay.capture("app.widget.click",{"app.widget.id":"tdp-footer-div-theDonutContent-get-involved-button","app.screen.id":"the_donut","collins.interaction.type":"cta","collins.ui.placement":"the_donut_footer_get_involved","url.path":"/contact-us/adopt-a-shark/"})}},null===(V=X.footer)||void 0===V?void 0:V.learnMoreLabel))))))))}}],n&&Y(o.prototype,n),d&&Y(o,d),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,n,d}(n.Component),A=x,j=function(t){return(0,l.Y)(A,t)}}}]); 2//# sourceMappingURL=component---src-pages-the-donut-index-js-a6971d45e3620aac855b.
2js.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.