/*! For license information please see shopify.js.LICENSE.txt */ (()=>{var e={266:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=n(687),l=n(305),p=n(511),c=n(204),d=n(419),u=n(974),g=r()(i());g.i(s.default),g.i(l.Z),g.i(p.Z),g.i(c.Z),g.i(d.Z),g.i(u.Z),g.push([e.id,".shoppinggives-tag.compact.sg-view-causes-multiple .sg-end-text {\n font-weight: normal !important;\n}\n\n\n.shoppinggives-tag.compact.sg-view-causes-multiple.cc-centered .sg-open-learn-more,\n.shoppinggives-tag.compact.sg-view-causes-single.cc-centered .sg-open-learn-more,\n.shoppinggives-tag.compact.sg-view-causes-single .sg-open-charity-select,\n.shoppinggives-tag.compact.sg-view-causes-single .link-divider,\n.shoppinggives-tag.compact.sg-view-causes-multiple .sg-open-charity-select,\n.shoppinggives-tag.compact.sg-view-causes-multiple .link-divider,\n.shoppinggives-tag.compact.sg-single-cause .sg-open-charity-select,\n.shoppinggives-tag.compact.sg-single-cause .link-divider,\n.main-element.sg-excluded .shoppinggives-tag .unselectedText,\n.main-element.sg-excluded .shoppinggives-tag .sg-open-charity-select,\n.main-element.sg-excluded .shoppinggives-tag .link-divider,\n.main-element.sg-excluded .shoppinggives-tag .chosenCause {\n\tdisplay: none !important;\n}\n\n.shoppinggives-tag.compact.sg-view-causes-single.cc-centered .sg-open-charity-select,\n.shoppinggives-tag.compact.sg-view-causes-multiple.cc-centered .sg-open-charity-select {\n display: inline-block !important;\n}\n\n/* Compact Centered Widget */\n.shoppinggives-tag.compact.cc-skeleton-wrap.cc-centered {\n\tmargin-top: 12px;\n}\n\n.shoppinggives-tag.compact.cc-skeleton-wrap.cc-centered .powered-by-logo {\n position: relative;\n\tbottom: 0px;\n\ttop: 2px;\n\tmax-width: 130px;\n margin-top: 4px;\n}\n\n.shoppinggives-tag.compact.cc-centered {\n\tpadding-bottom: 4px;\n}\n\n.shoppinggives-tag.compact.cc-centered #sg-main-text {\n\ttext-align: center !important;\n\twidth: 100%;\n}\n\n.shoppinggives-tag.compact.cc-centered .sg-period {\n display: none !important;\n}\n\n.shoppinggives-tag.compact.cc-centered {\n\ttext-align: center;\n}\n\n.shoppinggives-tag.compact.cc-centered #sg-main-text:before {\n\tcontent: 'You Shop. We Give. \\A';\n\twhite-space: pre;\n\tfont-weight: bold;\n}\n\n.shoppinggives-tag.compact.cc-centered .unselectedText {\n\tdisplay: block;\n}\n\n.shoppinggives-tag.compact.cc-centered .learn-more-break:after {\n\tcontent: '\\A';\n white-space: pre;\n}\n\n.shoppinggives-tag.compact.cc-centered .powered-by-logo {\n\tposition: relative;\n\ttop: 2px;\n\tmax-width: 130px;\n}\n\n.shoppinggives-tag.compact.cc-centered .cc-spacer {\n\tdisplay: none;\n}\n\n.shoppinggives-tag.compact.cc-centered .cc-skeleton-line {\n\tmargin-top: 2px;\n margin-left: auto;\n\tmargin-right: auto;\n\tmargin-bottom: 7px;\n\twidth: 130px;\n\theight: 12px;\n}\n\n.shoppinggives-tag.compact.cc-centered .cc-skeleton-line.cc-first {\n\twidth: 130px;\n\tmargin-top: 6px;\n\tmargin-right: 0;\n}\n\n.shoppinggives-tag.compact.cc-centered .cc-skeleton-line.cc-second {\n\tmargin-top: 0;\n\tmargin-right: auto;\n margin-left: auto;\n\twidth: 150px;\n\tdisplay: block;\n}\n\n.shoppinggives-tag.compact.cc-centered .cc-skeleton-line.cc-third {\n\tdisplay: block;\n\tmargin-bottom: 2px;\n}\n\n.shoppinggives-tag.compact.cc-centered .cc-link-wrap,\n.shoppinggives-tag.compact.cc-centered .chosenCause {\n\tdisplay: block;\n}\n\n\n.shoppinggives-tag.compact.cc-centered .sg-preview {\n\tmargin-top: 4px;\n}\n\n.shoppinggives-tag.compact.cc-centered .sg-preview .cc-tooltip {\n\tright: -54px !important;\n}\n\n.shoppinggives-tag.cc-centered .sg-wrapper .cc-tooltip:after {\n\tright: 52px !important;\n}\n\n/* END Compact Centered Widget */\n\n\n.shoppinggives-tag.sg-preview-active.compact .sg-preview {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n}\n\n.shoppinggives-tag.compact .preview-container {\n\tdisplay: inline-block;\n}\n\n.shoppinggives-tag .cc-skeleton {\n\tmargin: 0;\n}\n\n.shoppinggives-tag.compact .cc-skeleton-line.cc-third {\n\tdisplay: none;\n}\n\n.shoppinggives-tag.compact .cc-skeleton-line.cc-first {\n\twidth: 240px;\n\tdisplay: inline-block;\n\tmargin-right: 6px;\n}\n\n.shoppinggives-tag.compact .cc-skeleton-line.cc-second {\n\twidth: 100px;\n\tdisplay: inline-block;\n\tmargin-right: 6px;\n}\n\n.shoppinggives-tag.compact .givebackAmount {\n font-weight: bold;\n}\n\n.shoppinggives-tag.compact .givebackAmount,\n.shoppinggives-tag.compact .preamountText,\n.shoppinggives-tag.compact .postamountText,\n.shoppinggives-tag.compact .chosenCause {\n\tdisplay: inline-block;\n}\n\n.shoppinggives-tag.compact .sg-modal {\n\tfont-family: Muli, sans-serif !important;\n\tmargin-bottom: 10px;\n\tposition: absolute;\n\tdisplay: inline-block;\n\ttop: 50%;\n\tleft: 50%;\n\t-webkit-transform: translate(-50%, -50%);\n\t-ms-transform: translate(-50%, -50%);\n\ttransform: translate(-50%, -50%);\n\tz-index: 1010;\n\tborder-radius: 5px;\n\twidth: 600px;\n\tbackground-color: #FAFAFA;\n\t-webkit-box-sizing: border-box;\n\t-moz-box-sizing: border-box;\n\tbox-sizing: border-box;\n\tpadding: 40px 40px 34px 40px;\n\t-webkit-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n\t-moz-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n\tbox-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);\n}\n\n.shoppinggives-tag.compact {\n\tdisplay: -ms-flexbox;\n\tdisplay: -webkit-flex;\n\tdisplay: flex;\n\t-webkit-justify-content: space-between;\n\t-ms-flex-pack: justify;\n\tjustify-content: space-between;\n\t-webkit-flex-wrap: wrap;\n\t-ms-flex-wrap: wrap;\n\tflex-wrap: wrap;\n\tmargin-bottom: 10px;\n\t-webkit-box-sizing: border-box;\n\t-moz-box-sizing: border-box;\n\tbox-sizing: border-box;\n\tposition: relative;\n\t/* overflow-y: hidden; */\n\tz-index: 1;\n}\n\n.shoppinggives-tag.compact .cc-link-wrap {\n\tdisplay: inline-block;\n\twhite-space: nowrap;\n}\n\n.shoppinggives-tag.compact .cc-skeleton-line {\n height: 12px;\n margin-top: 5px;\n}\n\n.shoppinggives-tag.compact.cc-skeleton-wrap {\n\toverflow: hidden;\n}\n\n.shoppinggives-tag.cc-skeleton-wrap.compact #sg-main-text {\n\tline-height: 10px;\n}\n\n.shoppinggives-tag.compact.cc-skeleton-wrap .powered-by-logo {\n\tmargin: 0;\n\tvertical-align: baseline !important;\n\tmax-width: 130px;\n}\n\n.shoppinggives-tag.compact.cc-modal-overlay::-webkit-scrollbar {\n\twidth: 8px;\n}\n\n.shoppinggives-tag.compact.cc-modal-overlay::-webkit-scrollbar-thumb {\n\tbackground-color: #f2f2f2;\n\tborder-radius: 10px;\n}\n\n.shoppinggives-tag.compact #sg-main-text {\n\tdisplay: inline-block;\n\tfont-size: 12px;\n\tline-height: 18px;\n\tfont-weight: 400;\n\ttext-align: left !important;\n}\n\n.shoppinggives-tag.compact .select-text {\n\tfont-size: 12px;\n\ttext-decoration: underline;\n\tcursor: pointer;\n\twhite-space: nowrap;\n\tfont-weight: bold;\n}\n\n/* .shoppinggives-tag.compact .sg-powered-by {\n\tfont-size: 9px;\n\tline-height: 18px;\n\tfont-weight: bold;\n\tmargin-right: 2px;\n\tdisplay: inline-block;\n} */\n\n.shoppinggives-tag.compact .sg-powered-by-wrap {\n\tmargin-top: 4px;\n}\n\n.shoppinggives-tag.compact .sg-powered-by-wrap span {\n\tfont-size: 12px;\n\tline-height: 18px;\n\tfont-weight: 400;\n\tmargin-right: 4px;\n\tposition: relative;\n\tbottom: 3px;\n}\n\n.shoppinggives-tag.compact .chosenCause {\n\tfont-weight: bold;\n}\n\n.shoppinggives-tag.compact .learn-more-break,\n.shoppinggives-tag.compact .sg-open-learn-more {\n\tmargin-right: 4px;\n}\n\n.shoppinggives-tag.compact .powered-by-logo {\n\tdisplay: inline-block;\n\tvertical-align: text-top !important;\n\tmax-width: 130px;\n margin-top: 2px !important;\n}\n\n.shoppinggives-tag.compact .sg-wrapper .cc-tooltip {\n top: 30px;\n}\n\n.sg-theme-section-preview-active {\n position: relative;\n background-image: url(\"https://cdn.shoppinggives.com/cc-utilities/images/widget-preview-bg.png\")!important;\n background-size: cover!important;\n}\n\n.sg-theme-section-preview-active .shopify-theme-section-preview-popover{\n\tposition: absolute;\n\tright: 5px;\n}\n\n.shoppinggives-tag .shopify-theme-section-preview-popover.campaign-not-active{\n display: none;\n} \n\n.shoppinggives-tag .shopify-theme-section-preview-popover.campaign-active{\n display: none;\n}\n\n.main-element.sg-campaign-not-active .shoppinggives-tag.sg-theme-section-preview-active .shopify-theme-section-preview-popover.campaign-not-active {\n display: block;\n}\n\n.main-element.sg-campaign-active .shoppinggives-tag.sg-theme-section-preview-active .shopify-theme-section-preview-popover.campaign-active {\n display: block;\n}\n\n.shoppinggives-tag.sg-preview-active.compact .preview-container {\n\tdisplay: flex;\n position: absolute;\n right: 22px;\n top: 5px;\n}\n\n.shoppinggives-tag.sg-preview-active.compact {\n position: relative;\n background-image: url(\"https://cdn.shoppinggives.com/cc-utilities/images/widget-preview-bg.png\")!important;\n background-size: cover!important;\n}\n\n.shoppinggives-tag.compact.sg-theme-section-preview-active .preview-container{\n display: none!important;\n visibility: hidden;\n}",""]);const h=g},568:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=n(687),l=n(305),p=n(511),c=n(204),d=n(419),u=n(974),g=r()(i());g.i(s.default),g.i(l.Z),g.i(p.Z),g.i(c.Z),g.i(d.Z),g.i(u.Z),g.push([e.id,'.main-element.sg-excluded .shoppinggives-tag .sg-open-learn-more,\n.main-element.sg-excluded .shoppinggives-tag .sg-open-charity-select {\n\topacity: 0.3;\n\tpointer-events: none;\n}\n\n.shoppinggives-tag.contained.sg-view-causes-multiple .sg-end-text {\n font-weight: normal;\n}\n\n.shoppinggives-tag.contained.sg-view-causes-single #sg-main-text,\n.shoppinggives-tag.contained.sg-view-causes-multiple #sg-main-text {\n max-width: 100% !important;\n}\n\n.shoppinggives-tag.contained.sg-view-causes-single .sg-open-learn-more,\n.shoppinggives-tag.contained.sg-view-causes-multiple .sg-open-learn-more {\n font-weight: bold;\n}\n\n.shoppinggives-tag.contained.sg-view-causes-multiple .sg-open-charity-select,\n.shoppinggives-tag.contained.sg-view-causes-single .sg-open-charity-select,\n.shoppinggives-tag.contained.sg-single-cause .sg-open-charity-select,\n.main-element.sg-excluded .shoppinggives-tag .sg-period,\n.main-element.sg-excluded .shoppinggives-tag .unselectedText,\n.main-element.sg-excluded .shoppinggives-tag .chosenCause {\n\tdisplay: none !important;\n}\n\n.shoppinggives-tag.contained.sg-single-cause #sg-main-text {\n max-width: 100% !important;\n}\n\n.shoppinggives-tag.contained {\n background: transparent;\n border: 1px solid black;\n padding: 10px;\n position: relative;\n text-align: left;\n margin: 5px 0;\n}\n\n.shoppinggives-tag.contained #sg-main-text {\n max-width: calc(100% - 70px);\n display: inline-block;\n font-size: 12px;\n line-height: 18px;\n font-weight: 400;\n text-align: left !important;\n}\n\n.shoppinggives-tag.contained .givebackAmount,\n.shoppinggives-tag.contained .preamountText,\n.shoppinggives-tag.contained .postamountText,\n.shoppinggives-tag.contained .chosenCause {\n display: inline;\n}\n\n.shoppinggives-tag.contained .titleText {\n margin-bottom: 4px;\n}\n\n.shoppinggives-tag.contained .givebackAmount,\n.shoppinggives-tag.contained .titleText {\n font-weight: bold;\n}\n\n.shoppinggives-tag.contained .sg-open-learn-more {\n cursor: pointer;\n text-decoration: underline;\n white-space: nowrap;\n}\n\n.shoppinggives-tag.contained .powered-by-logo {\n display: block;\n margin-top: 4px;\n max-width: 130px;\n}\n\n.shoppinggives-tag.contained .chosenCause {\n font-weight: bold;\n display: inline;\n}\n\n.shoppinggives-tag.contained .sg-open-charity-select {\n box-sizing: border-box;\n position: absolute;\n top: 50%;\n right: 10px;\n -webkit-transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n text-align: center; \n border: 1px solid black;\n height: 50px;\n width: 60px;\n line-height: 50px;\n font-size: 12px;\n font-weight: bold;\n background: transparent;\n cursor: pointer;\n}\n\n/* .shoppinggives-tag.contained .sg-open-charity-select:active {\n -webkit-transform: translateY(2px);\n -ms-transform: translateY(2px);\n transform: translateY(2px);\n} */\n\n.shoppinggives-tag.contained.cc-skeleton-wrap .cc-skeleton-line {\n height: 12px;\n margin-bottom: 6px;\n}\n\n.shoppinggives-tag.contained.cc-skeleton-wrap .cc-first {\n width: 200px;\n}\n\n.shoppinggives-tag.contained.cc-skeleton-wrap .cc-second {\n width: 150px;\n}\n\n.shoppinggives-tag.contained .sg-preview {\n display: block !important;\n margin-top: 2px;\n}\n\n.shoppinggives-tag.contained .sg-wrapper .cc-tooltip {\n right: -115px !important;\n top: 30px;\n}\n\n.shoppinggives-tag.contained .sg-wrapper .cc-tooltip:after {\n right: 114px !important;\n}\n\n.shoppinggives-tag.sg-preview-active.contained .sg-preview {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n}\n\n.shoppinggives-tag.sg-preview-active.contained .preview-container {\n display: flex;\n position: absolute;\n right: 22px;\n top: 5px;\n}\n\n.shoppinggives-tag.sg-preview-active.contained {\n position: relative;\n background-image: url("https://cdn.shoppinggives.com/cc-utilities/images/widget-preview-bg.png")!important;\n background-size: cover!important;\n}\n\n.sg-theme-section-preview-active {\n position: relative;\n background-image: url("https://cdn.shoppinggives.com/cc-utilities/images/widget-preview-bg.png")!important;\n background-size: cover!important;\n}\n\n.sg-theme-section-preview-active .shopify-theme-section-preview-popover{\n position: absolute;\n right: 5px;\n}\n\n.shoppinggives-tag .shopify-theme-section-preview-popover.campaign-not-active{\n display: none;\n} \n\n.shoppinggives-tag .shopify-theme-section-preview-popover.campaign-active{\n display: none;\n}\n\n.main-element.sg-campaign-not-active .shoppinggives-tag.sg-theme-section-preview-active .shopify-theme-section-preview-popover.campaign-not-active {\n display: block;\n}\n\n.main-element.sg-campaign-active .shoppinggives-tag.sg-theme-section-preview-active .shopify-theme-section-preview-popover.campaign-active {\n display: block;\n}\n\n.shoppinggives-tag.contained.sg-theme-section-preview-active .preview-container{\n display: none!important;\n visibility: hidden;\n}',""]);const h=g},554:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=n(687),l=n(305),p=n(511),c=n(204),d=n(419),u=n(974),g=r()(i());g.i(s.default),g.i(l.Z),g.i(p.Z),g.i(c.Z),g.i(d.Z),g.i(u.Z),g.push([e.id,'.main-element.sg-excluded .shoppinggives-tag #sg-input-wrap {\n\topacity: 0.3;\n\tpointer-events: none;\n}\n\n.main-element.sg-excluded .shoppinggives-tag .sg-period,\n.main-element.sg-excluded .shoppinggives-tag .unselectedText,\n.main-element.sg-excluded .shoppinggives-tag .sg-end-text {\n\tdisplay: none;\n}\n\n.sgclass {\n\twidth: 100%;\n}\n\n.main-element.sg-excluded .shoppinggives-tag .sg-open-learn-more,\n.main-element.sg-excluded .shoppinggives-tag .sg-open-charity-select {\n\topacity: 0.3;\n\tpointer-events: none;\n}\n\n.shoppinggives-tag .sgclass .charity-input-wrap.chosen-cause-name {\n height: 35px;\n top: 40px;\n}\n\n.shoppinggives-tag .sgclass .charity-input-wrap .chosenCause {\n font-weight: bold;\n top: inherit;\n text-align: left;\n min-height: auto;\n line-height: auto;\n -webkit-transform: none;\n -ms-transform: none;\n transform: none;\n padding-right: 16px;\n position: absolute;\n top: 50%;\n left: 8px;\n -webkit-transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n\n.shoppinggives-tag.sg-view-causes-multiple #sg-plcd-full {\n display: block !important;\n}\n\n.shoppinggives-tag #sg-plcd-full,\n.shoppinggives-tag.sg-view-causes-multiple #sg-default-full,\n.shoppinggives-tag.sg-view-causes-multiple .sg-open-learn-more,\n.shoppinggives-tag.sg-view-causes-single .sg-open-learn-more,\n.shoppinggives-tag.sg-view-causes-multiple #sg-change,\n.shoppinggives-tag.sg-view-causes-single #sg-change {\n display: none !important;\n}\n\n.shoppinggives-tag.full.sg-single-cause .sgclass #sg-input-wrap {\n pointer-events: none !important;\n}\n\n.shoppinggives-tag.full.sg-single-cause .sgclass #sg-change {\n display: none !important;\n}\n\n.shoppinggives-tag .sgclass .charity-input-wrap {\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n\t-webkit-box-sizing: border-box;\n\t-moz-box-sizing: border-box;\n\tbox-sizing: border-box;\n\tfont-weight: bold;\n\twidth: 100%;\n\tcursor: pointer;\n\tborder-radius: inherit;\n\tline-height: 17px;\n\tmin-height: 22px;\n\ttext-align: center;\n}\n\n.shoppinggives-tag .sgclass .charity-selected .charity-input-wrap {\n\ttext-align: left;\n\tpadding-bottom: 0;\n\tposition: static;\n\tmargin-bottom: 0;\n}\n\n.shoppinggives-tag .sgclass .no-charity-selected .charity-input-wrap {\n\tbottom: 0px;\n}\n\n.shoppinggives-tag .widget-wrap {\n\tfont-size: 14px;\n\tcolor: #000000;\n\tdisplay: inline-block;\n\tposition: relative;\n\tpadding: 0;\n\twidth: 100%;\n\tpadding-top: 15px;\n\tz-index: 999;\n}\n\n.shoppinggives-tag .sg-main-text {\n display: inline-block;\n font-size: 12px;\n line-height: 18px;\n font-weight: 600;\n text-align: left !important;\n}\n\n.shoppinggives-tag #sg-magnifier {\n\tposition: relative;\n\ttop: 3px;\n\tleft: -4px;\n\tpointer-events: none;\n\tdisplay: inline-block;\n}\n\n.shoppinggives-tag #sg-cause-name {\n\tdisplay: inline-block;\n\tposition: relative;\n\tmargin-bottom: 0 !important;\n overflow: visible;\n line-height: 26px;\n}\n\n.shoppinggives-tag #sg-currently-selected {\n\tposition: relative;\n\twidth: 100%;\n\tcursor: pointer;\n\tfont-size: 12px;\n\tmargin-bottom: 0;\n}\n\n.shoppinggives-tag .charity-selected #sg-currently-selected {\n\tdisplay: inline-block;\n\tmargin-bottom: 0;\n\tline-height: 18px;\n}\n\n.shoppinggives-tag #sg-selected {\n\tfloat: left;\n}\n\n.shoppinggives-tag #sg-change {\n\tfont-weight: normal;\n\tfloat: right;\n\tfont-size: 12px;\n\ttext-decoration: underline;\n\tcolor: #788995;\n}\n\n.shoppinggives-tag #sg-input-wrap {\n min-width: 220px;\n\tcursor: pointer;\n\tborder: 1px solid #CBCED3;\n\ttext-align: center;\n\tpadding: 8px;\n\tborder-radius: 5px;\n\tmin-height: 65px;\n\tposition: relative;\n\tmax-width: 450px;\n\tbackground: #fff;\n\t-webkit-box-sizing: border-box;\n\t-moz-box-sizing: border-box;\n\tbox-sizing: border-box;\n\t-webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);\n\t-moz-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);\n\tbox-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);\n}\n\n.shoppinggives-tag #sg-input-wrap:hover {\n\t-webkit-box-shadow: 0 0 10px 0 rgba(68, 88, 98, 0.2);\n\t-moz-box-shadow: 0 0 10px 0 rgba(68, 88, 98, 0.2);\n\tbox-shadow: 0 0 10px 0 rgba(68, 88, 98, 0.2);\n}\n\n.shoppinggives-tag #sg-input-wrap:active {\n\t-moz-transform: translateY(2px);\n\t-o-transform: translateY(2px);\n\t-ms-transform: translateY(2px);\n\t-webkit-transform: translateY(2px);\n\ttransform: translateY(2px);\n}\n\n.shoppinggives-tag #sg-input-wrap input {\n\tpadding: 10px 36px 10px 16px;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n\toverflow: hidden;\n}\n\n.shoppinggives-tag .title-container {\n\toverflow: visible;\n\tmargin-bottom: 0;\n}\n\n.shoppinggives-tag div.title-container h2.titleText {\n\twidth: auto !important;\n\tmargin: 0 !important;\n\tfont-size: 14px;\n\tdisplay: inline-block;\n\tfont-weight: bold;\n\tpadding-bottom: 0;\n\tborder-bottom: none;\n\ttext-transform: none;\n\tcolor: #000000;\n\tletter-spacing: 0 !important;\n}\n\n.shoppinggives-tag .sg-powered-by-wrap {\n\tmargin-top: 8px;\n\tdisplay: inline-block;\n width: 100%;\n}\n\n.shoppinggives-tag .sg-powered-by-wrap img {\n\tdisplay: inline-block;\n\tmax-width: 130px;\n}\n\n.shoppinggives-tag .sg-open-learn-more {\n cursor: pointer;\n text-decoration: underline;\n white-space: nowrap;\n float: right;\n}\n\n.shoppinggives-tag.full .givebackAmount {\n font-weight: bold;\n}\n\n.shoppinggives-tag #sgclass .sg-main-text {\n\tcolor: #000000;\n}\n\n.shoppinggives-tag #sgclass .sg-text-wrap {\n margin-bottom: 10px;\n}\n\n.shoppinggives-tag .cc-skeleton {\n\tposition: relative;\n\tbackground-color: #f2f2f2;\n\toverflow: hidden;\n\tborder-radius: 10px;\n\tmargin: 0 0 7px 0;\n}\n\n.shoppinggives-tag .cc-skeleton-line {\n height: 14px;\n margin-bottom: 8px;\n}\n\n.shoppinggives-tag .cc-skeleton-line {\n height: 12px;\n}\n\n.shoppinggives-tag #cc-skeleton-line-wrap {\n margin-bottom: 20px;\n}\n\n.shoppinggives-tag .cc-skeleton-box {\n height: 65px;\n max-width: 450px;\n margin-bottom: 11px;\n margin-top: 14px;\n}\n\n.shoppinggives-tag.full .sg-wrapper {\n\tz-index: 9999;\n}\n\n.shoppinggives-tag.full .sg-wrapper .cc-tooltip {\n top: 30px;\n}\n\n.sg-theme-section-preview-active {\n position: relative;\n background-image: url("https://cdn.shoppinggives.com/cc-utilities/images/widget-preview-bg.png")!important;\n background-size: cover!important;\n}\n\n.sg-theme-section-preview-active .shopify-theme-section-preview-popover{\n\tposition: absolute;\n\tright: 5px;\n}\n\n.shoppinggives-tag .shopify-theme-section-preview-popover.campaign-not-active{\n display: none;\n} \n\n.shoppinggives-tag .shopify-theme-section-preview-popover.campaign-active{\n display: none;\n}\n\n.main-element.sg-campaign-not-active .shoppinggives-tag.sg-theme-section-preview-active .shopify-theme-section-preview-popover.campaign-not-active {\n display: block;\n}\n\n.main-element.sg-campaign-active .shoppinggives-tag.sg-theme-section-preview-active .shopify-theme-section-preview-popover.campaign-active {\n display: block;\n}\n\n.shoppinggives-tag.sg-preview-active.full .preview-container {\n\tdisplay: flex;\n position: absolute;\n right: 5px;\n top: 5px;\n}\n\n.shoppinggives-tag.sg-preview-active.full {\n position: relative;\n background-image: url("https://cdn.shoppinggives.com/cc-utilities/images/widget-preview-bg.png")!important;\n background-size: cover!important;\n}\n\n.shoppinggives-tag.full.sg-theme-section-preview-active .preview-container{\n display: none!important;\n visibility: hidden;\n}',""]);const h=g},419:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=n(974),l=r()(i());l.i(s.Z),l.push([e.id,"@media(max-width: 850px) {\n\t.shoppinggives-tag .charity-select-modal div#modal-inner-wrap {\n\t\toverflow-y: scroll;\n\t}\n}\n\n@media(max-width: 780px) {\n\t.shoppinggives-tag div.sg-modal-overlay {\n\t\toverflow: hidden;\n\t}\n\n\t.shoppinggives-tag div.charity-select-modal {\n\t\tborder-radius: 5px;\n\t\ttop: 12px;\n\t\twidth: 96% !important;\n\t}\n\n\t.shoppinggives-tag.cc-modal-overlay {\n\t\toverflow-y: hidden;\n\t}\n}\n\n@media(max-width: 768px) {\n\t.shoppinggives-tag div.charity-select-modal {\n\t\tborder-radius: 5px;\n\t\ttop: 10px;\n\t\tright: 10px;\n\t\tleft: 10px;\n\t\tbottom: 10px;\n\t\twidth: calc(100% - 20px) !important;\n\t\theight: calc(100% - 20px) !important;\n\t}\n}\n\n@media(max-width: 550px) {\n /* .shoppinggives-tag div.charity-select-modal.sg-modal.generic-error div.sg-top-wrap div.sg-error-banner {\n width: calc(100% - 30px);\n\n }\n .shoppinggives-tag div.charity-select-modal.sg-modal.generic-error div.sg-top-wrap div.sg-error-banner::before {\n width: calc(100% - 30px);\n text-align: left;\n } */\n /* .shoppinggives-tag div.charity-select-modal.sg-modal.generic-error div.sg-top-wrap div.sg-error-banner::after {\n left: 0px;\n } */\n}\n\n@media(max-width: 550px) {\n /* .shoppinggives-tag div.charity-select-modal.sg-modal.generic-error div.sg-top-wrap div.sg-error-banner {\n height: 30px;\n } */\n}\n\n.shoppinggives-tag .charity-select-modal,\n.shoppinggives-tag .charity-select-modal input,\n.shoppinggives-tag .charity-select-modal select,\n.shoppinggives-tag .charity-select-modal button,\n.shoppinggives-tag .sg-charity-select-filters,\n.shoppinggives-tag .sg-charity-select-list,\n.shoppinggives-tag .sg-charity-select-search,\n.shoppinggives-tag .sg-charity-select-featured,\n.shoppinggives-tag input {\n\tfont-family: Muli, sans-serif !important;\n\tletter-spacing: 0 !important;\n}\n\n.shoppinggives-tag .sg-charity-select-error-modal {\n border-radius: 5px;\n background: #fafafa;\n padding: 30px;\n\t-webkit-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n\t-moz-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n\tbox-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);\n position: absolute;\n\tz-index: 9999;\n\toverflow: hidden;\n\ttop: 50%;\n\tleft: 50%;\n\t-ms-transform: translate(-50%, -50%);\n\t-webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n max-width: 500px;\n width: calc(100% - 10px);\n}\n\n.shoppinggives-tag .sg-charity-select-error-modal .sg-error-modal-title {\n text-align: center;\n font-size: 24px;\n color: #445862;\n}\n\n.shoppinggives-tag .sg-charity-select-error-modal .sg-error-modal-text {\n font-weight: bold;\n font-size: 14px;\n margin: 20px 0;\n width: 100%;\n text-align: center;\n line-height: 18px;\n}\n\n.shoppinggives-tag .sg-charity-select-error-modal .sg-error-modal-button {\n background: #009581;\n color: #fff;\n border-radius: 20px;\n display: block;\n max-width: 143px;\n margin: 0 auto;\n padding: 12px 20px;\n text-align: center;\n cursor: pointer;\n}\n\n.shoppinggives-tag .sg-charity-select-error-modal .sg-close {\n right: 10px;\n}\n\n.shoppinggives-tag .charity-select-modal .sg-preview {\n\tfloat: none;\n\tposition: absolute;\n\ttop: 20px;\n\tleft: 50%;\n\t-webkit-transform: translateX(-50%);\n\t-ms-transform: translateX(-50%);\n\ttransform: translateX(-50%);\n text-align: center;\n margin-top: 0;\n}\n\n.shoppinggives-tag .charity-select-modal .sg-preview .cc-tooltip {\n\tright: -53px !important;\n}\n\n.shoppinggives-tag .charity-select-modal .sg-preview .cc-tooltip:after {\n\tright: 52px !important;\n}\n\n.shoppinggives-tag .sg-modal-load-spinner {\n\tdisplay: block;\n\tmargin: 50px auto 0 auto;\n\ttext-align: center;\n\tcolor: #9B9B9B;\n\tfont-size: 14px;\n\twidth: 100%;\n\tposition: absolute;\n\tright: 50%;\n\t-ms-transform: translateX(50%);\n\t-webkit-transform: translateX(50%);\n\ttransform: translateX(50%);\n\tz-index: -1;\n}\n\n.shoppinggives-tag .loader {\n display: block;\n border: 8px solid #f3f3f3;\n border-top: 8px solid #ccc;\n border-radius: 50%;\n width: 50px;\n height: 50px;\n animation: spin 1s linear infinite;\n margin: 0 auto;\n }\n \n@keyframes spin {\n 0% { \n -webkit-transform: rotate(0deg); \n -ms-transform: rotate(0deg); \n transform: rotate(0deg); \n }\n 100% { \n -webkit-transform: rotate(360deg); \n -ms-transform: rotate(360deg); \n transform: rotate(360deg); \n }\n}\n \n\n/* .shoppinggives-tag .sg-load-spinner {\n\theight: 50px;\n\tmax-width: 50px !important;\n\tmargin-bottom: 8px;\n\tmargin: 10px auto;\n} */\n\n.shoppinggives-tag .sg-load-text {\n\twidth: 281px;\n\tfont-size: 14px;\n\tline-height: 18px;\n\tmargin: 4px auto;\n}\n\n.shoppinggives-tag .sg-modal-load-spinner img {\n\tmargin: 0 auto;\n}\n\n.shoppinggives-tag .sg-charity-select-featured {\n\tpadding-bottom: 50px;\n}\n\n.shoppinggives-tag input {\n padding: 10px 34px 10px 16px;\n color: #445862;\n font-size: 16px;\n}\n\n/* .shoppinggives-tag .charity-select-modal.sg-modal.generic-error .sg-top-wrap .sg-title {\n margin-top: 40px;\n} */\n\n.shoppinggives-tag .charity-select-modal.sg-modal {\n background: white;\n\tborder-radius: 5px !important;\n\toverflow: hidden !important;\n\theight: calc(100vh - 90px);\n\tmax-width: 1220px;\n\twidth: calc(100% - 20px);\n\tz-index: 9999;\n\toverflow: hidden;\n}\n\n.shoppinggives-tag .charity-select-modal .modal-inner-wrap {\n -webkit-overflow-scrolling: auto;\n overflow-y: auto;\n overflow-x: hidden;\n height: 100%;\n width: 100%;\n border-radius: 5px;\n position: relative;\n}\n\n.shoppinggives-tag .charity-select-modal .sg-featured-charity-description::-webkit-scrollbar,\n.shoppinggives-tag .charity-select-modal .sg-featured-portfolio-description::-webkit-scrollbar,\n.shoppinggives-tag .charity-select-modal .modal-inner-wrap::-webkit-scrollbar {\n width: 8px;\n}\n\n.shoppinggives-tag .charity-select-modal .sg-featured-charity-description::-webkit-scrollbar-thumb,\n.shoppinggives-tag .charity-select-modal .sg-featured-portfolio-description::-webkit-scrollbar-thumb,\n.shoppinggives-tag .charity-select-modal .modal-inner-wrap::-webkit-scrollbar-thumb {\n background-color: #f2f2f2;\n border-radius: 10px;\n}\n\n.shoppinggives-tag .sg-hide {\n\tdisplay: none !important;\n}\n\n.shoppinggives-tag .back-arrow {\n display: block;\n}\n\n.shoppinggives-tag .back-arrow:before {\n content: '\\2039';\n position: absolute;\n top: -11px;\n left: 16px;\n box-sizing: content-box;\n font-size: 50px;\n color: gray;\n cursor: pointer;\n}\n\n.shoppinggives-tag .back-arrow:after {\n content: 'Back';\n position: absolute;\n top: 9px;\n left: 36px;\n box-sizing: content-box;\n font-size: 18px;\n color: gray;\n cursor: pointer;\n}\n\n.shoppinggives-tag .sg-back-action {\n position: absolute;\n top: 10px;\n left: 10px;\n box-sizing: border-box;\n z-index: 1;\n cursor: pointer;\n background: #FAFAFA;\n padding: 7px 16px;\n\tborder-radius: 20px;\n\twidth: 96px;\n}\n\n.shoppinggives-tag .sg-back-action span {\n\tposition: absolute;\n\ttop: 50%;\n\t-webkit-transform: translateY(-50%);\n\t-ms-transform: translateY(-50%);\n\ttransform: translateY(-50%);\n\tleft: 38px;\n\twidth: 100%;\n}\n\n.shoppinggives-tag .sg-close {\n background: #fafafa;\n padding: 8px;\n border-radius: 100%;\n height: 35px;\n width: 36px;\n position: absolute;\n top: 10px;\n right: 12px;\n z-index: 1;\n}\n\n.shoppinggives-tag .sg-close.sg-close-learn-more:after,\n.shoppinggives-tag .sg-close.sg-close-learn-more {\n right: 10px !important;\n} \n\n/* .shoppinggives-tag .charity-select-modal .sg-close {\n position: absolute;\n top: 10px;\n right: 12px;\n height: 36px;\n width: 36px;\n color: gray;\n cursor: pointer;\n z-index: 2;\n font-family: sans-serif !important;\n} */\n\n.shoppinggives-tag .charity-select-modal .sg-close.sg-cancel-x.sg-close-charity-select {\n align-items: center;\n background-color: #fafafa;\n color: gray;\n border-radius: 50%;\n display: flex;\n font-family: monospace !important;\n font-size: 36px;\n justify-content: center;\n padding: 0px;\n position: absolute;\n right: 12px;\n text-align: center;\n top: 10px;\n cursor: pointer;\n height: 37px;\n width: 37px;\n}\n\n/* .shoppinggives-tag .charity-select-modal .sg-cancel-icon {\n font-size: 40px !important;\n font-family: sans-serif !important;\n position: absolute;\n top: 50%;\n\tleft: 50%;\n\t-ms-transform: translate(-50%, -50%);\n\t-webkit-transform: translate(-50%, -50%);\n\ttransform: translate(-50%, -50%);\n} */\n\n/* Integration Error Banner */\n\n/* .shoppinggives-tag .charity-select-modal.sg-modal .sg-top-wrap .sg-error-banner */\n\n.shoppinggives-tag .charity-select-modal.sg-modal.generic-error .sg-top-wrap .sg-error-banner {\n display: block;\n}\n\n.shoppinggives-tag .charity-select-modal.sg-modal .sg-top-wrap .sg-error-banner {\n display: none;\n}\n\n/* .shoppinggives-tag .charity-select-modal.sg-modal.generic-error .sg-top-wrap .sg-error-banner {\n width: 440px;\n position: relative;\n margin: 40px auto 0 auto;\n height: 10px;\n} */\n\n.shoppinggives-tag .charity-select-modal.sg-modal.generic-error .sg-top-wrap .sg-error-banner {\n background: #FCF1CD;\n padding: 12px 40px 12px 40px;\n border: 2px solid #EEC200;\n margin: 0 auto;\n max-width: 590px;\n font-size: 14px;\n border-radius: 5px;\n display: block;\n font-weight: bold;\n line-height: 16px;\n text-align: center;\n letter-spacing: 0 !important;\n text-transform: none !important;\n position: relative;\n bottom: 20px;\n color: #445862;\n}\n\n.shoppinggives-tag .charity-select-modal.sg-modal.generic-error .sg-top-wrap .sg-error-banner::after {\n content: '\\0021';\n background: #FFF;\n border: 1px solid #EEC200;\n color: #EEC200;\n position: absolute;\n padding: 2px 7px 1px 7px;\n top: 10px;\n left: 12px;\n font-size: 16px;\n font-weight: bold;\n border-radius: 100%;\n /* height: 18px;\n width: 18px; */\n text-align: center;\n letter-spacing: 0 !important;\n text-transform: none !important;\n}",""]);const p=l},305:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=n(974),l=r()(i());l.i(s.Z),l.push([e.id,"@media(max-width: 620px) {\n\t.shoppinggives-tag div.sg-learn-more-modal.sg-modal {\n\t\twidth: calc(100% - 20px);\n\t\tpadding: 40px 20px;\n\t\ttop: 10px;\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\ttransform: translateX(-50%);\n\t}\n\n div.sg-learn-more-modal ul.sg-learn-more-logos li {\n\t\tfont-size: 13px;\n\t}\n}\n\n@media(max-width: 500px) {\n .shoppinggives-tag .sg-learn-more-modal div#sg-no-catch {\n font-size: 14px;\n }\n .shoppinggives-tag .sg-learn-more-modal div#sg-learn-more-title {\n margin: 14px 0 26px 0;\n }\n .shoppinggives-tag .sg-learn-more-modal ul.sg-learn-more-logos {\n display: block;\n text-align: left;\n width: 250px;\n margin: 0 auto 0 auto;\n }\n\n .shoppinggives-tag .sg-learn-more-modal ul.sg-learn-more-logos li {\n display: block;\n height: 50px;\n margin-left: 0;\n }\n\n .shoppinggives-tag .sg-learn-more-modal ul.sg-learn-more-logos img,\n .shoppinggives-tag .sg-learn-more-modal ul.sg-learn-more-logos #heart-logo {\n margin-bottom: 0;\n margin-right: 10px;\n height: auto;\n max-width: 22px;\n vertical-align: baseline;\n }\n .shoppinggives-tag .sg-learn-more-modal ul.sg-learn-more-logos li #sg-donate,\n .shoppinggives-tag .sg-learn-more-modal ul.sg-learn-more-logos li div {\n width: auto;\n display: inline-block;\n position: relative;\n bottom: 5px;\n margin-bottom: 0;\n overflow: visible;\n }\n}\n\n.sg-learn-more-modal #sg-no-catch .storeName {\n font-size: 14px !important;\n}\n\n.sg-learn-more-modal-overlay.sg-single-cause .sg-learn-more-modal .sg-learn-more-logos {\n -webkit-justify-content: space-evenly !important;\n -ms-flex-pack: justify !important;\n justify-content: space-evenly !important;\n}\n\n.sg-learn-more-modal-overlay.sg-single-cause .sg-learn-more-modal .choose-your-cause {\n display: none !important;\n}\n\n.shoppinggives-tag .sg-learn-more-modal .sg-preview {\n\tfloat: none;\n\tposition: absolute;\n\ttop: 20px;\n\tleft: 50%;\n\t-webkit-transform: translateX(-50%);\n\t-ms-transform: translateX(-50%);\n\ttransform: translateX(-50%);\n text-align: center;\n margin-top: 0;\n}\n\n.shoppinggives-tag .sg-learn-more-modal .sg-preview .cc-tooltip {\n\tright: -53px !important;\n}\n\n.shoppinggives-tag .sg-learn-more-modal .sg-preview .cc-tooltip:after {\n\tright: 52px !important;\n}\n\n.shoppinggives-tag .sg-learn-more-modal.sg-modal::-webkit-scrollbar {\n width: 8px;\n}\n\n.shoppinggives-tag .sg-learn-more-modal.sg-modal::-webkit-scrollbar-thumb {\n background-color: #e6e6e6;\n border-radius: 10px;\n}\n\n.shoppinggives-tag .sg-learn-more-modal.sg-modal {\n height: auto;\n font-family: Muli, sans-serif !important;\n margin-bottom: 10px;\n position: absolute;\n display: inline-block;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n z-index: 1010;\n -webkit-border-radius: 20px !important;\n -moz-border-radius: 20px !important;\n border-radius: 20px !important;\n max-width: 700px;\n width: 100%;\n background-color: #FAFAFA;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n padding: 40px 40px 34px 40px;\n -webkit-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n -moz-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);\n}\n\n.sg-learn-more-modal {\n font-family: helvetica, arial, sans-serif; \n color: #445862;\n letter-spacing: 0 !important;\n}\n\n.sg-learn-more-modal .sg-fine-print {\n font-size: 12px;\n text-align: center;\n margin: 0 auto;\n}\n\n.sg-learn-more-modal p {\n font-size: 12px;\n line-height: 20px;\n margin: 0;\n}\n\n.sg-learn-more-modal .sg-link {\n font-weight: 600;\n box-shadow: none !important;\n text-decoration: underline !important;\n}\n\n.sg-learn-more-modal .sg-link:hover {\n color: inherit !important;\n box-shadow: none !important;\n}\n\n.sg-learn-more-modal.cc-modal-overlay::-webkit-scrollbar {\n\twidth: 8px;\n}\n\n.sg-learn-more-modal.cc-modal-overlay::-webkit-scrollbar-thumb {\n\tbackground-color: #f2f2f2;\n\tborder-radius: 10px;\n}\n\n.sg-learn-more-modal img#sg-main-logo {\n\tmax-width: 130px !important;\n\tmargin: 30px auto 0 auto !important;\n\tdisplay: block;\n}\n\n.sg-learn-more-modal .powered-by-text {\n\tfont-size: 11px;\n\tmargin-top: 20px;\n\ttext-align: center;\n}\n\n.sg-learn-more-modal .sg-close {\n border: none !important;\n align-items: center;\n background-color: #fafafa;\n color: black;\n border-radius: 50%;\n display: flex;\n font-family: monospace !important;\n font-size: 40px;\n justify-content: center;\n padding: 0px;\n position: absolute;\n right: 10px !important;\n text-align: center;\n top: 10px !important;\n cursor: pointer;\n height: 37px;\n width: 37px;\n z-index: 9;\n}\n\n.sg-learn-more-modal .sg-learn-more-logos {\n\tmargin-bottom: 20px;\n\tpadding: 0;\n\ttext-align: center;\n\tdisplay: -ms-flexbox;\n\tdisplay: -webkit-flex;\n\tdisplay: flex;\n\t-webkit-justify-content: space-around;\n\t-ms-flex-pack: justify;\n\tjustify-content: space-around;\n}\n\n.sg-learn-more-modal .sg-learn-more-logos span:first-child {\n\tfont-weight: 700;\n}\n\n.sg-learn-more-modal .sg-learn-more-logos li {\n\tdisplay: inline-block;\n\tfont-size: 12px;\n}\n\n.sg-learn-more-modal .sg-learn-more-logos li div {\n\twidth: 92px;\n}\n\n.sg-learn-more-modal .sg-learn-more-logos li #sg-donate {\n\twidth: 99px;\n}\n\n.sg-learn-more-modal img {\n\tmax-width: 100%;\n\tmax-height: 100%;\n}\n\n.sg-learn-more-modal .sg-learn-more-logos img {\n\tmax-width: 130px;\n\tmargin-bottom: 12px;\n\tdisplay: inline-block;\n}\n\n.sg-learn-more-modal .sg-learn-more-logos #heart-logo {\n\tmargin-bottom: 13px;\n\theight: 37px;\n}\n\n.sg-learn-more-modal .sg-learn-more-logos li {\n\tfont-size: 14px;\n\tline-height: 20px;\n\tcolor: #000;\n}\n\n.sg-learn-more-modal #sg-learn-more-title {\n\tfont-size: 18px;\n\tcolor: #000;\n\tmargin: 14px 0 32px 0;\n\ttext-align: center;\n\tline-height: 28px;\n}\n\n.sg-learn-more-modal.learn-more-default #sg-no-catch {\n\tfont-size: 15px;\n\ttext-align: center;\n\tcolor: #000;\n line-height: 20px;\n margin-top: 20px;\n font-weight: bold;\n}\n\n.sg-learn-more-modal #sg-no-catch div {\n\tfont-weight: 700;\n\tmargin-bottom: 0;\n}\n\n.sg-learn-more-modal #learn-more-divider {\n\theight: 2px;\n\tbackground: #788995;\n\twidth: 100%;\n\tmargin: 18px 0 20px 0;\n\tborder: none;\n}\n\n.sg-powered-by-wrap img {\n\tdisplay: inline-block;\n vertical-align: baseline !important;\n max-width: 100%;\n}",""]);const p=l},511:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=n(974),l=r()(i());l.i(s.Z),l.push([e.id,"@media(max-width: 620px) {\n\t.shoppinggives-tag div.sg-learn-more-modal.sg-nonprofit.sg-modal {\n max-height: calc(100% - 20px) !important;\n\t\twidth: calc(100% - 20px) !important;\n\t\tpadding: 40px 20px !important;\n\t\ttop: 10px !important;\n\t\t-webkit-transform: translateX(-50%) !important;\n\t\t-ms-transform: translateX(-50%) !important;\n\t\ttransform: translateX(-50%) !important;\n\t}\n\n\t.shoppinggives-tag div.sg-learn-more-modal .sg-content-wrap {\n padding: 0 14px !important;\n }\n}\n\n@media(max-width: 500px) {\n .shoppinggives-tag .sg-learn-more-modal div#sg-no-catch {\n font-size: 14px;\n }\n .shoppinggives-tag .sg-learn-more-modal div#sg-learn-more-title {\n margin: 14px 0 26px 0;\n }\n}\n\n.sg-learn-more-modal #sg-no-catch .storeName {\n font-size: 14px !important;\n}\n\n.sg-learn-more-modal-overlay.sg-single-cause .sg-learn-more-modal .choose-your-cause {\n display: none !important;\n}\n\n.shoppinggives-tag .sg-learn-more-modal .sg-preview {\n\tfloat: none;\n\tposition: absolute;\n\ttop: 20px;\n\tleft: 50%;\n\t-webkit-transform: translateX(-50%);\n\t-ms-transform: translateX(-50%);\n\ttransform: translateX(-50%);\n text-align: center;\n margin-top: 0;\n background: #FAFAFA;\n padding: 10px 10px 6px 10px;\n border-radius: 10px;\n z-index: 10;\n}\n\n.shoppinggives-tag .sg-learn-more-modal .sg-preview .cc-tooltip {\n\tright: -53px !important;\n}\n\n.shoppinggives-tag .sg-learn-more-modal .sg-preview .cc-tooltip:after {\n\tright: 52px !important;\n}\n\n.shoppinggives-tag .sg-learn-more-modal.sg-nonprofit.sg-modal::-webkit-scrollbar {\n width: 8px;\n}\n\n.shoppinggives-tag .sg-learn-more-modal.sg-nonprofit.sg-modal::-webkit-scrollbar-thumb {\n background-color: #e6e6e6;\n border-radius: 10px;\n}\n\n.shoppinggives-tag .sg-learn-more-modal.sg-nonprofit.sg-modal {\n height: auto;\n font-family: Muli, sans-serif !important;\n margin-bottom: 10px;\n position: absolute;\n display: inline-block;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n z-index: 1010;\n border-radius: 0px !important;\n max-width: 700px;\n width: 100%;\n background-color: #FAFAFA;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n padding: 40px 40px 34px 40px;\n -webkit-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n -moz-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);\n max-height: 100vh;\n overflow: auto !important;\n}\n\n.sg-learn-more-modal {\n font-family: helvetica, arial, sans-serif; \n color: #445862;\n letter-spacing: 0 !important;\n}\n\n.sg-learn-more-modal .sg-fine-print {\n font-size: 12px;\n text-align: center;\n margin: 0 auto;\n}\n\n.sg-learn-more-modal p {\n font-size: 12px;\n line-height: 20px;\n margin: 0;\n}\n\n.sg-learn-more-modal .sg-link {\n font-weight: 600;\n box-shadow: none !important;\n text-decoration: underline !important;\n}\n\n.sg-learn-more-modal .sg-link:hover {\n color: inherit !important;\n box-shadow: none !important;\n}\n\n.sg-learn-more-modal.cc-modal-overlay::-webkit-scrollbar {\n\twidth: 8px;\n}\n\n.sg-learn-more-modal.cc-modal-overlay::-webkit-scrollbar-thumb {\n\tbackground-color: #f2f2f2;\n\tborder-radius: 10px;\n}\n\n.sg-learn-more-modal img#sg-main-logo {\n\tmax-width: 130px !important;\n\tmargin: 30px auto 0 auto !important;\n\tdisplay: block;\n}\n\n.sg-learn-more-modal .powered-by-text {\n\tfont-size: 11px;\n\tmargin-top: 20px;\n\ttext-align: center;\n}\n\n.sg-learn-more-modal .sg-close {\n border: none !important;\n align-items: center;\n background-color: #fafafa;\n color: black;\n border-radius: 50%;\n display: flex;\n font-family: monospace !important;\n font-size: 40px;\n justify-content: center;\n padding: 0px;\n position: absolute;\n right: 10px !important;\n text-align: center;\n top: 10px !important;\n cursor: pointer;\n height: 37px;\n width: 37px;\n z-index: 9;\n}\n\n.sg-learn-more-modal img {\n\tmax-width: 100%;\n\tmax-height: 100%;\n}\n\n.sg-learn-more-modal #sg-learn-more-title {\n\tfont-size: 18px;\n\tcolor: #000;\n\tmargin: 14px 0 32px 0;\n\ttext-align: center;\n\tline-height: 28px;\n}\n\n.sg-learn-more-modal #sg-no-catch {\n\tfont-size: 15px;\n\ttext-align: center;\n\tcolor: #000;\n line-height: 20px;\n margin-top: 40px;\n font-weight: bold;\n}\n\n.sg-learn-more-modal #sg-no-catch div {\n\tfont-weight: 700;\n\tmargin-bottom: 0;\n}\n\n.sg-learn-more-modal #learn-more-divider {\n\theight: 2px;\n\tbackground: #788995;\n\twidth: 100%;\n\tmargin: 18px 0 20px 0;\n\tborder: none;\n}\n\n.sg-powered-by-wrap img {\n\tdisplay: inline-block;\n vertical-align: baseline !important;\n max-width: 100%;\n}\n\n.sg-learn-more-modal.sg-nonprofit .nonprofit-logo-wrap {\n height: 90px !important;\n width: 90px !important;\n max-width: 70px !important;\n max-height: 70px !important;\n border: 2px solid #f2f2f2 !important;\n border-radius: 5px !important;\n margin: 0 auto 5px auto !important;\n position: relative !important;\n background: #fff !important;\n overflow: hidden !important;\n}\n\n.sg-learn-more-modal.sg-nonprofit .nonprofitLogo {\n width: 100% !important;\n max-width: 70px !important;\n max-height: 70px !important;\n position: absolute;\n -webkit-transform: translate(50%, -50%) !important;\n\t-ms-transform: translate(50%, -50%) !important;\n transform: translate(50%, -50%) !important;\n right: 50% !important;\n top: 50% !important;\n padding: 2px !important;\n box-sizing: border-box !important;\n}\n\n.sg-learn-more-modal.sg-nonprofit .nonprofitName {\n line-height: 22px !important;\n font-size: 18px !important;\n text-align: center !important;\n font-weight: bold !important;\n}\n\n.sg-learn-more-modal.sg-nonprofit .nonprofitAddress {\n line-height: 22px !important;\n font-size: 18px !important;\n text-align: center !important;\n font-size: 13px !important;\n color: #637381 !important;\n}\n\n.sg-learn-more-modal.sg-nonprofit .nonprofitDescription {\n font-size: 12px !important;\n line-height: 18px !important;\n color: #000 !important;\n margin-top: 30px !important;\n text-align: center !important;\n}\n\n/* .sg-learn-more-modal.sg-nonprofit .sg-read-more-less {\n font-size: 12px;\n float: right;\n cursor: pointer;\n text-decoration: underline;\n margin-top: 2px;\n} */\n\n/* .sg-learn-more-modal.sg-nonprofit .nonprofit-description-wrap.sg-read-all .nonprofitDescription {\n -webkit-line-clamp: 9999;\n -webkit-box-orient: vertical;\n overflow: visible;\n -o-text-overflow: initial;\n -ms-text-overflow: initial;\n text-overflow: initial;\n} */",""]);const p=l},204:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=n(974),l=r()(i());l.i(s.Z),l.push([e.id,"@media(max-width: 620px) {\n\t.shoppinggives-tag div.sg-learn-more-modal.sg-portfolio.sg-modal {\n max-height: calc(100% - 20px) !important;\n\t\twidth: calc(100% - 20px) !important;\n\t\tpadding: 0 0 20px 0 !important;\n\t\ttop: 10px !important;\n\t\t-webkit-transform: translateX(-50%) !important;\n\t\t-ms-transform: translateX(-50%) !important;\n\t\ttransform: translateX(-50%) !important;\n\t}\n\n\tdiv.sg-learn-more-modal.sg-portfolio .sg-content-wrap {\n padding: 0 14px !important;\n }\n}\n\n@media(max-width: 500px) {\n .shoppinggives-tag .sg-learn-more-modal div#sg-no-catch {\n font-size: 14px;\n }\n .shoppinggives-tag .sg-learn-more-modal div#sg-learn-more-title {\n margin: 14px 0 26px 0;\n }\n}\n\n.sg-learn-more-modal .sg-hide {\n display: none !important;\n}\n\n.sg-learn-more-modal.sg-portfolio .sg-content-wrap {\n padding: 0 40px;\n}\n\n.sg-learn-more-modal .end-nonprofit-string {\n position: absolute !important;\n height: 0px !important;\n width: 0px !important;\n}\n\n.sg-learn-more-modal-overlay.sg-single-cause .sg-learn-more-modal .choose-your-cause {\n display: none !important;\n}\n\n.shoppinggives-tag .sg-learn-more-modal .sg-preview {\n\tfloat: none;\n\tposition: absolute;\n\ttop: 20px;\n\tleft: 50%;\n\t-webkit-transform: translateX(-50%);\n\t-ms-transform: translateX(-50%);\n\ttransform: translateX(-50%);\n text-align: center;\n margin-top: 0;\n background: #FAFAFA;\n padding: 10px 10px 6px 10px;\n border-radius: 10px;\n z-index: 10;\n}\n\n.shoppinggives-tag .sg-learn-more-modal .sg-preview .cc-tooltip {\n\tright: -53px !important;\n}\n\n.shoppinggives-tag .sg-learn-more-modal .sg-preview .cc-tooltip:after {\n\tright: 52px !important;\n}\n\n.shoppinggives-tag .sg-learn-more-modal.sg-portfolio.sg-modal::-webkit-scrollbar {\n width: 8px;\n}\n\n.shoppinggives-tag .sg-learn-more-modal.sg-portfolio.sg-modal::-webkit-scrollbar-thumb {\n background-color: #e6e6e6;\n border-radius: 10px;\n}\n\n.shoppinggives-tag .sg-learn-more-modal.sg-portfolio.sg-modal {\n height: auto;\n font-family: Muli, sans-serif !important;\n margin-bottom: 10px;\n position: absolute;\n display: inline-block;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n z-index: 1010;\n border-radius: 0px !important;\n max-height: 550px;\n max-width: 700px;\n width: 100%;\n background-color: #FAFAFA;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0 0 34px 0 !important;\n -webkit-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n -moz-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);\n overflow: auto !important;\n}\n\n.sg-learn-more-modal {\n font-family: helvetica, arial, sans-serif; \n color: #445862;\n letter-spacing: 0 !important;\n}\n\n.sg-learn-more-modal .sg-fine-print {\n font-size: 12px;\n text-align: center;\n margin: 0 auto;\n}\n\n.sg-learn-more-modal p {\n font-size: 12px;\n line-height: 20px;\n margin: 0;\n}\n\n.sg-learn-more-modal .sg-link {\n font-weight: 600;\n box-shadow: none !important;\n text-decoration: underline !important;\n}\n\n.sg-learn-more-modal .sg-link:hover {\n color: inherit !important;\n box-shadow: none !important;\n}\n\n.sg-learn-more-modal.cc-modal-overlay::-webkit-scrollbar {\n\twidth: 8px;\n}\n\n.sg-learn-more-modal.cc-modal-overlay::-webkit-scrollbar-thumb {\n\tbackground-color: #f2f2f2;\n\tborder-radius: 10px;\n}\n\n.sg-learn-more-modal img#sg-main-logo {\n\tmax-width: 130px !important;\n\tmargin: 30px auto 0 auto !important;\n\tdisplay: block;\n}\n\n.sg-learn-more-modal .powered-by-text {\n\tfont-size: 11px;\n\tmargin-top: 20px;\n\ttext-align: center;\n}\n\n.sg-learn-more-modal-overlay .sg-learn-more-modal .sg-close.sg-close-learn-more {\n border: none !important;\n background: transparent !important;\n align-items: center;\n color: black;\n border-radius: 50%;\n font-family: monospace !important;\n font-size: 40px;\n justify-content: center;\n padding: 0px;\n position: absolute;\n right: 10px !important;\n text-align: center;\n top: 10px !important;\n cursor: pointer;\n height: 37px;\n width: 37px;\n z-index: 9;\n}\n\n.sg-learn-more-modal img {\n\tmax-width: 100%;\n\tmax-height: 100%;\n}\n\n.sg-learn-more-modal #sg-learn-more-title {\n\tfont-size: 18px;\n\tcolor: #000;\n\tmargin: 14px 0 32px 0;\n\ttext-align: center;\n\tline-height: 28px;\n}\n\n.sg-learn-more-modal #sg-no-catch {\n font-size: 15px;\n\ttext-align: center;\n\tcolor: #000;\n line-height: 20px;\n margin-top: 40px;\n font-weight: bold;\n}\n\n.sg-learn-more-modal #sg-no-catch .storeName {\n font-size: 14px !important;\n padding-top: 10px;\n display: block;\n}\n\n.sg-learn-more-modal #sg-no-catch div {\n\tfont-weight: 700;\n\tmargin-bottom: 0;\n}\n\n.sg-learn-more-modal #learn-more-divider {\n\theight: 2px;\n\tbackground: #788995;\n\twidth: 100%;\n\tmargin: 18px 0 20px 0;\n\tborder: none;\n}\n\n.sg-powered-by-wrap.sg-portfolio img {\n\tdisplay: inline-block !important;\n vertical-align: baseline !important;\n max-width: 100% !important;\n}\n\n.sg-learn-more-modal.sg-portfolio .nonprofitName {\n font-size: 14px !important;\n font-weight: bold !important;\n color: #292929 !important;\n margin-bottom: 5px !important;\n}\n\n.sg-learn-more-moda.sg-portfolio .nonprofitDescription {\n font-size: 10px !important;\n color: #445862 !important;\n line-height: 16px !important;\n}\n\n.sg-learn-more-modal.sg-portfolio .portfolioDescription {\n font-size: 10px !important;\n color: #445862 !important;\n line-height: 18px !important;\n padding: 20px 0 !important;\n font-size: 14px !important;\n}\n\n.sg-learn-more-modal.sg-portfolio .nonprofitAddress {\n font-size: 12px !important;\n color: #445862 !important;\n line-height: 16px !important;\n}\n\n.sg-learn-more-modal.sg-portfolio .nonprofit-info-wrap {\n position: relative !important;\n display: inline-block !important;\n max-width: calc(100% - 100px) !important;\n vertical-align: sub !important;\n padding-left: 20px !important;\n margin-left: 50px !important;\n width: 100% !important;\n}\n\n.sg-learn-more-modal.sg-portfolio .nonprofit-logo-wrap {\n display: inline-block !important;\n width: 50px !important;\n height: 50px !important;\n background: #fff !important;\n padding: 4px !important;\n border-radius: 5px !important;\n border: 2px solid #F2F2F2 !important;\n position: absolute !important;\n top: -6px !important;\n overflow: hidden !important;\n}\n\n.sg-learn-more-modal.sg-portfolio .showNonprofit1,\n.sg-learn-more-modal.sg-portfolio .showNonprofit2,\n.sg-learn-more-modal.sg-portfolio .showNonprofit3,\n.sg-learn-more-modal.sg-portfolio .showNonprofit4 {\n position: relative;\n}\n\n.sg-learn-more-modal.sg-portfolio .nonprofitLogo {\n width: 100% !important;\n max-height: 100% !important;\n max-height: 100% !important;\n max-width: 100% !important;\n position: absolute;\n -webkit-transform: translate(50%, -50%) !important;\n -ms-transform: translate(50%, -50%) !important;\n transform: translate(50%, -50%) !important;\n right: 50% !important;\n top: 50% !important;\n padding: 2px !important;\n box-sizing: border-box !important;\n}\n\n.sg-learn-more-modal.sg-portfolio .portfolioImageUrl {\n width: 100% !important;\n height: 100% !important;\n max-height: 100% !important;\n max-width: 100% !important;\n background-repeat: no-repeat;\n background-position: center; \n -webkit-background-size: cover;\n -moz-background-size: cover;\n -o-background-size: cover;\n background-size: cover;\n}\n\n.sg-learn-more-modal.sg-portfolio .portfolioName {\n max-height: 100% !important;\n width: 100% !important;\n max-width: 100% !important;\n color: #222B2F !important;\n font-size: 20px !important;\n font-weight: bold !important;\n position: absolute !important;\n left: 50% !important;\n top: 50% !important;\n -webkit-transform: translate(-50%, -50%) !important;\n -ms-transform: translate(-50%, -50%) !important;\n transform: translate(-50%, -50%) !important;\n z-index: 3 !important;\n text-align: center !important;\n}\n\n.sg-learn-more-modal.sg-portfolio .porfolio-image-overlay {\n position: relative !important;\n width: 100% !important;\n height: 120px !important;\n background: #fff !important;\n opacity: 0.4 !important;\n z-index: 1 !important;\n position: absolute !important;\n}\n\n.sg-learn-more-modal.sg-portfolio .portfolio-image-wrap {\n position: relative !important;\n width: 100% !important;\n height: 120px !important;\n z-index: 2 !important;\n}\n\n.sg-learn-more-modal.sg-portfolio .portfolioNonprofits li {\n margin-bottom: 30px !important;\n}\n\n.sg-learn-more-modal.sg-portfolio .nonprofitDescription {\n font-size: 12px !important;\n line-height: 18px !important;\n color: #000 !important;\n margin-top: 5px !important;\n}\n\n/* .sg-learn-more-modal.sg-portfolio .sg-read-more-less {\n font-size: 12px;\n float: right;\n cursor: pointer;\n text-decoration: underline;\n} */\n\n/* .sg-learn-more-modal.sg-portfolio .nonprofit-description-wrap.sg-read-all .nonprofitDescription {\n -webkit-line-clamp: 9999;\n -webkit-box-orient: vertical;\n overflow: visible;\n -o-text-overflow: initial;\n -ms-text-overflow: initial;\n text-overflow: initial;\n} */",""]);const p=l},974:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(81),i=n.n(o),a=n(645),r=n.n(a)()(i());r.push([e.id,'\n\n.shoppinggives-charity-widget.sg-preview-active.sg-test-mode .sg-preview .shopify-preview,\n.shoppinggives-tag.sg-preview-active.sg-test-mode .sg-preview .shopify-preview,\n.shoppinggives-charity-widget.sg-preview-active.sg-test-mode .sg-preview .tooltip-shopify,\n.shoppinggives-tag.sg-preview-active.sg-test-mode .sg-preview .tooltip-shopify {\n display: none;\n}\n\n.shoppinggives-charity-widget.sg-preview-active:not(.sg-test-mode) .sg-preview .magento-test-mode,\n.shoppinggives-tag.sg-preview-active:not(.sg-test-mode) .sg-preview .magento-test-mode,\n.shoppinggives-charity-widget.sg-preview-active:not(.sg-test-mode) .sg-preview .tooltip-magento,\n.shoppinggives-tag.sg-preview-active:not(.sg-test-mode) .sg-preview .tooltip-magento {\n display: none;\n}\n\n.shoppinggives-charity-widget {\n margin: 0 !important;\n}\n\n.shoppinggives-charity-widget.sg-preview-active.sg-test-mode .sg-wrapper .cc-tooltip, .shoppinggives-tag .sg-wrapper .cc-tooltip,\n.shoppinggives-tag.sg-preview-active.sg-test-mode .sg-wrapper .cc-tooltip, .shoppinggives-tag .sg-wrapper .cc-tooltip {\n bottom: -152px;\n}\n\n.shoppinggives-charity-widget.sg-preview-active.sg-test-mode .sg-wrapper .cc-tooltip:after,\n.shoppinggives-tag.sg-preview-active.sg-test-mode .sg-wrapper .cc-tooltip:after {\n bottom: 123px;\n}\n\n.shoppinggives-charity-widget.sg-preview-active .sg-preview,\n.shoppinggives-tag.sg-preview-active .sg-preview {\n opacity: 1;\n margin-bottom: 10px;\n pointer-events: all;\n width: auto;\n height: auto;\n overflow: initial;\n}\n\n.shoppinggives-charity-widget .sg-preview,\n.shoppinggives-tag .sg-preview {\n display: inline-block;\n font-weight: bold;\n color: salmon;\n font-size: 12px;\n opacity: 0;\n pointer-events: none;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\n.shoppinggives-charity-widget .sg-wrapper,\n.shoppinggives-tag .sg-wrapper {\n display: inline-block;\n position: relative;\n background: gray;\n padding: 0px 6px;\n font-size: 12px;\n border-radius: 100%;\n color: #FFF;\n bottom: 2px;\n background: gray;\n cursor: pointer;\n position: relative;\n line-height: 18px;\n -webkit-transform: translateZ(0);\n -webkit-font-smoothing: antialiased;\n z-index: 9;\n }\n\n.shoppinggives-charity-widget hr,\n.shoppinggives-tag hr {\n border-top-color: #ececec;\n border-left: none;\n border-right: none;\n border-bottom: none;\n margin: 6px 0 !important;\n }\n\n.shoppinggives-charity-widget .sg-wrapper .cc-tooltip,\n.shoppinggives-tag .sg-wrapper .cc-tooltip {\n pointer-events: none;\n cursor: default;\n font-weight: normal;\n text-align: left;\n background: #fff;\n bottom: -124px;\n color: black;\n display: block;\n right: -5px;\n margin-bottom: 15px;\n opacity: 0;\n border-radius: 4px;\n padding: 10px 10px 6px 10px;\n position: absolute;\n width: 100%;\n min-width: 250px;\n -webkit-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n -moz-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);\n -webkit-transform: translateY(10px);\n -moz-transform: translateY(10px);\n -ms-transform: translateY(10px);\n -o-transform: translateY(10px);\n transform: translateY(10px);\n -webkit-transition: all .25s ease-out;\n -moz-transition: all .25s ease-out;\n -ms-transition: all .25s ease-out;\n -o-transition: all .25s ease-out;\n transition: all .25s ease-out;\n }\n\n.shoppinggives-charity-widget .sg-wrapper .cc-tooltip:before,\n.shoppinggives-tag .sg-wrapper .cc-tooltip:before {\n bottom: -14px;\n content: " ";\n display: block;\n height: 152px;\n left: -24px;\n position: absolute;\n width: 118%;\n z-index: -1;\n }\n\n.shoppinggives-charity-widget .sg-wrapper .cc-tooltip:after,\n.shoppinggives-tag .sg-wrapper .cc-tooltip:after {\n border-left: solid transparent 10px;\n border-right: solid transparent 10px;\n border-bottom: solid #fff 10px;\n bottom: 96px;\n content: " ";\n height: 0;\n right: 4px;\n margin-left: -13px;\n position: absolute;\n width: 0;\n }\n\n.shoppinggives-charity-widget .sg-wrapper:hover .cc-tooltip,\n.shoppinggives-tag .sg-wrapper:hover .cc-tooltip {\n opacity: 1;\n pointer-events: auto;\n -webkit-transform: translateY(0px);\n -moz-transform: translateY(0px);\n -ms-transform: translateY(0px);\n -o-transform: translateY(0px);\n transform: translateY(0px);\n }\n\n.shoppinggives-charity-widget .sg-deactivate-preview,\n.shoppinggives-tag .sg-deactivate-preview {\n float: right;\n font-weight: bold;\n cursor: pointer;\n display: inline-block;\n}\n\n.shoppinggives-charity-widget .sg-app-manager,\n.shoppinggives-tag .sg-app-manager,\n.shoppinggives-tag .sg-enable-theme-sections-roundup,\n.shoppinggives-tag .sg-app-manager-roundups,\n.shoppinggives-tag .sg-enable-theme-sections-dop,\n.shoppinggives-tag .sg-app-manager-dop{\n text-decoration: underline;\n cursor: pointer;\n}',""]);const s=r},231:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=n(974),l=r()(i());l.i(s.Z),l.push([e.id,"@media(max-width: 850px) {\n\t.shoppinggives-tag .view-causes-modal div#modal-inner-wrap {\n\t\toverflow-y: scroll;\n\t}\n}\n\n@media(max-width: 780px) {\n\t.shoppinggives-tag div.view-causes-modal {\n\t\ttop: 12px;\n\t\twidth: 96% !important;\n\t}\n\n\t.shoppinggives-tag.cc-modal-overlay {\n\t\toverflow-y: hidden;\n\t}\n}\n\n@media(max-width: 768px) {\n\t.shoppinggives-tag div.view-causes-modal {\n\t\tborder-radius: 0px;\n\t\ttop: 10px;\n\t\tright: 10px;\n\t\tleft: 10px;\n\t\tbottom: 10px;\n\t\twidth: calc(100% - 20px) !important;\n\t\theight: calc(100% - 20px) !important;\n\t}\n}\n\n@media(max-width: 550px) {\n .shoppinggives-tag .view-causes-modal .privacy-policy p {\n line-height: 12px;\n }\n \n .shoppinggives-tag .view-causes-modal .close-view-causes-modal {\n width: 115px !important;\n }\n\n .shoppinggives-tag .view-causes-modal .sg-multiple-causes .sg-nonprofit-container.sg-cause-container .nonprofit-logo-wrap {\n width: 30px !important;\n height: 30px !important;\n top: 10px !important;\n }\n\n .shoppinggives-tag .view-causes-modal .sg-multiple-causes .sg-nonprofit-container.sg-cause-container .nonprofit-info-wrap {\n margin-left: 40px !important;\n }\n\n .shoppinggives-tag .view-causes-modal .sg-multiple-causes .sg-nonprofit-container.sg-cause-container .nonprofitName {\n font-size: 14px !important;\n }\n\n .shoppinggives-tag .view-causes-modal .sg-multiple-causes .sg-nonprofit-container.sg-cause-container .sg-cause-donation-amount {\n font-size: 20px !important;\n }\n\n .shoppinggives-tag .view-causes-modal .sg-multiple-causes .sg-nonprofit-container.sg-cause-container .sg-cause-donation-text {\n margin-bottom: 0 !important;\n }\n\n .shoppinggives-tag .view-causes-modal .sg-multiple-causes .sg-nonprofit .sg-nonprofit-container {\n padding: 0 10px !important;\n }\n\n .shoppinggives-tag .view-causes-modal .sg-multiple-causes .redemption-info {\n margin-top: 0px !important;\n }\n\n .shoppinggives-tag .view-causes-modal .sg-cause-donation {\n top: inherit !important;\n bottom: 4px !important;\n right: 10px !important;\n }\n\n .shoppinggives-tag .sg-multiple-causes .sg-nonprofit-container.sg-cause-container .nonprofitAddress,\n .shoppinggives-tag .sg-multiple-causes .sg-nonprofit-container.sg-cause-container .nonprofitName {\n max-width: 100% !important;\n }\n\n .shoppinggives-tag .sg-multiple-causes .portfolioNonprofits li {\n padding: 10px !important;\n }\n\n .shoppinggives-tag .view-causes-modal .sg-portfolio .redemption-info {\n padding: 0 30px !important;\n }\n\n .shoppinggives-tag .view-causes-modal.sg-modal.sg-charity,\n .shoppinggives-tag .view-causes-modal.sg-modal.sg-portfolio {\n height: calc(100% - 20px) !important;\n max-height: -webkit-fill-available !important;\n }\n\n .shoppinggives-tag .view-causes-modal.sg-modal .sg-close {\n position: fixed;\n }\n\n .shoppinggives-tag div.view-causes-modal div.redemption-info {\n font-size: 18px;\n line-height: 22px;\n top: 58%;\n padding: 0 20px;\n }\n\n .shoppinggives-tag div.view-causes-modal .sg-button-wrap {\n /* position: relative;\n top: 15px;\n right: initial; */\n }\n\n .shoppinggives-tag div.view-causes-modal div.sg-view-causes-footer {\n /* text-align: center;\n height: 88px; */\n }\n\n .shoppinggives-tag div.view-causes-modal #sg-main-logo {\n /* float: none;\n margin: 22px auto 0 0;\n display: inline-block;\n position: static; */\n }\n\n .shoppinggives-tag div.view-causes-modal div.modal-inner-wrap {\n padding-bottom: 88px;\n }\n\n .shoppinggives-tag div.view-causes-modal .sg-portfolio .portfolioDescription {\n padding: 0 20px !important;\n }\n\n .shoppinggives-tag div.view-causes-modal.sg-charity .redemption-info {\n top: 62%;\n }\n\n .shoppinggives-tag div.view-causes-modal.sg-charity .sg-close {\n background: #fafafa;\n }\n\n .shoppinggives-tag div.view-causes-modal .sg-multiple-causes .portfolioNonprofits li {\n padding: 10px !important;\n min-height: 94px !important;\n }\n}\n\n@media(max-width: 350px) {\n .shoppinggives-tag .view-causes-modal .privacy-policy .link-group {\n font-size: 10px;\n }\n\n .shoppinggives-tag div.view-causes-modal .close-view-causes-modal,\n .shoppinggives-tag div.view-causes-modal .sg-change-cause-button {\n width: 130px;\n }\n}\n\n.shoppinggives-tag .view-causes-modal {\n\tfont-family: Muli, sans-serif !important;\n\tletter-spacing: 0 !important;\n}\n\n.shoppinggives-tag .view-causes-modal .portfolio-banner {\n height: 190px;\n padding: 20px 0;\n margin-bottom: 6px;\n background-repeat: no-repeat;\n background-position: 50%;\n -webkit-background-size: cover;\n -moz-background-size: cover;\n -o-background-size: cover;\n background-size: cover;\n}\n\n.shoppinggives-tag .view-causes-modal.sg-modal {\n background: white;\n\tborder-radius: 0px !important;\n\toverflow: hidden !important;\n min-height: 450px;\n\tposition: absolute;\n\tmax-width: 600px;\n\twidth: calc(100% - 20px);\n\tz-index: 9999;\n\toverflow: hidden;\n\ttop: 50%;\n\tleft: 50%;\n\t-ms-transform: translate(-50%, -50%);\n\t-webkit-transform: translate(-50%, -50%);\n\ttransform: translate(-50%, -50%);\n}\n\n.shoppinggives-tag .view-causes-modal.sg-modal.sg-charity {\n max-height: 550px;\n height: calc(100vh - 90px);\n}\n\n.shoppinggives-tag .view-causes-modal.sg-modal.sg-portfolio {\n height: calc(100vh - 90px);\n max-height: 800px;\n}\n\n.shoppinggives-tag .view-causes-modal .modal-inner-wrap {\n -webkit-overflow-scrolling: auto;\n overflow-y: auto;\n overflow-x: hidden;\n height: 100%;\n width: 100%;\n border-radius: 0px;\n padding-bottom: 120px;\n box-sizing: border-box;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-portfolio-container::-webkit-scrollbar,\n.shoppinggives-tag .view-causes-modal .modal-inner-wrap::-webkit-scrollbar {\n width: 8px;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-portfolio-container::-webkit-scrollbar-thumb,\n.shoppinggives-tag .view-causes-modal .modal-inner-wrap::-webkit-scrollbar-thumb {\n background-color: #f2f2f2;\n border-radius: 10px;\n}\n\n/* .shoppinggives-tag .view-causes-modal .sg-close {\n position: absolute;\n top: 10px;\n right: 12px;\n height: 36px;\n width: 36px;\n color: gray;\n cursor: pointer;\n z-index: 2;\n font-family: sans-serif !important;\n} */\n\n.shoppinggives-tag .view-causes-modal .sg-close.sg-cancel-x.sg-close-charity-select {\n align-items: center;\n background-color: #fafafa;\n color: gray;\n border-radius: 50%;\n display: flex;\n font-family: monospace !important;\n font-size: 36px;\n justify-content: center;\n padding: 0px;\n position: absolute;\n right: 12px;\n text-align: center;\n top: 10px;\n cursor: pointer;\n height: 37px;\n width: 37px;\n}\n\n/* .shoppinggives-tag .view-causes-modal .sg-cancel-icon {\n font-size: 40px !important;\n font-family: sans-serif !important;\n position: absolute;\n top: 50%;\n\tleft: 50%;\n\t-ms-transform: translate(-50%, -50%);\n\t-webkit-transform: translate(-50%, -50%);\n\ttransform: translate(-50%, -50%);\n} */\n\n.shoppinggives-tag .close-view-causes-modal,\n.shoppinggives-tag .sg-change-cause-button {\n /* line-height: 40px !important; */\n text-transform: none !important;\n border: 1px solid #009581;\n border-radius: 50px;\n height: 40px;\n font-weight: 700;\n text-align: center;\n margin: 0;\n cursor: pointer;\n font-size: 16px;\n box-shadow: none;\n width: 145px;\n}\n\n.shoppinggives-tag .close-view-causes-modal {\n border: none !important;\n color: #fff;\n background: linear-gradient(313.34deg, #44A2CA 0%, #009581 100%);\n margin-left: 10px;\n height: 41px;\n font-family: Arial !important;\n}\n\n.shoppinggives-tag .sg-change-cause-button {\n color: #009581;\n background: #fff;\n line-height: 38px !important\n}\n\n.shoppinggives-tag .view-causes-modal.hide-change-cause-button .sg-change-cause-button {\n display: none;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-portfolio .redemption-banner {\n height: 120px !important;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-multiple-causes .redemption-banner,\n.shoppinggives-tag .view-causes-modal .sg-nonprofit-multiple .redemption-banner {\n background-color: #fafafa !important;\n margin-bottom: 10px;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-portfolio .redemption-banner {\n background: #fafafa;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-portfolio .redemption-banner,\n.shoppinggives-tag .view-causes-modal .redemption-banner {\n height: 150px;\n width: 100%;\n position: relative;\n background-repeat: no-repeat;\n background-position: 50%;\n -webkit-background-size: cover;\n -moz-background-size: cover;\n -o-background-size: cover;\n background-size: cover;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-portfolio .redemption-info {\n box-sizing: border-box;\n padding: 0 56px;\n}\n\n.shoppinggives-tag .view-causes-modal .redemption-info {\n font-size: 24px;\n color: #445862;\n text-align: center;\n font-weight: normal;\n line-height: 29px;\n padding: 0 40px;\n position: absolute;\n width: 100%;\n top: 50%;\n\tleft: 50%;\n\t-webkit-transform: translate(-50%, -50%);\n\t-ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n box-sizing: border-box;\n}\n\n.shoppinggives-tag .view-causes-modal .bold-blue {\n font-weight: bold;\n color: #009581;\n}\n\n.charity-select-modal .sg-capitalize,\n.shoppinggives-tag .view-causes-modal .sg-capitalize {\n text-transform: capitalize !important;\n}\n\n.charity-select-modal .sg-lower-case,\n.shoppinggives-tag .view-causes-modal .sg-lower-case {\n text-transform: lowercase !important;\n}\n\n.view-causes-modal #sg-main-logo {\n display: block;\n margin-bottom: 5px;\n max-width: 130px;\n}\n\n.view-causes-modal .privacy-policy .link-group {\n margin-top: 8px;\n font-size: 11px;\n}\n\n.view-causes-modal .privacy-policy .link-group a {\n text-decoration: underline;\n}\n\n.view-causes-modal .privacy-policy p {\n font-size: 11px;\n margin-bottom: 2px;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-view-causes-footer {\n background: #fff;\n height: 95px;\n width: 100%;\n position: absolute;\n bottom: 0;\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 1em;\n justify-content: space-between;\n -webkit-box-shadow: 2px 0 4p 0 rgba(0, 0, 0, 0.2);\n -moz-box-shadow: 2px 0 4p 0 rgba(0, 0, 0, 0.2);\n box-shadow: 2px 0 4px 0 rgb(0 0 0 / 20%);\n z-index: 999;\n box-sizing: border-box !important;\n}\n\n\n/*** NONPROFIT CSS ***/\n\n.shoppinggives-tag .view-causes-modal.sg-charity .sg-close {\n background: transparent;\n}\n\n.shoppinggives-tag .view-causes-modal.sg-charity .redemption-info {\n top: 60%;\n}\n\n.shoppinggives-tag .view-causes-modal.sg-charity .redemption-banner {\n height: 120px;\n}\n\n.view-causes-modal p {\n font-size: 12px;\n line-height: 14px;\n margin: 0;\n}\n\n.view-causes-modal img {\n\tmax-width: 100%;\n\tmax-height: 100%;\n}\n\n.view-causes-modal #sg-learn-more-title {\n\tfont-size: 18px;\n\tcolor: #000;\n\tmargin: 14px 0 32px 0;\n\ttext-align: center;\n\tline-height: 28px;\n}\n.sg-powered-by-wrap img {\n\tdisplay: inline-block;\n vertical-align: baseline !important;\n max-width: 100%;\n}\n\n.view-causes-modal .sg-nonprofit .nonprofit-logo-wrap {\n height: 90px !important;\n width: 90px !important;\n border: 2px solid #f2f2f2 !important;\n border-radius: 5px !important;\n margin: 0 auto 20px auto !important;\n position: relative !important;\n background-color: #fff !important;\n overflow: hidden !important;\n background-repeat: no-repeat;\n background-position: center;\n background-size: 70.7%;\n display: block !important;\n}\n\n.view-causes-modal .sg-nonprofit .nonprofitLogo {\n width: 100% !important;\n position: absolute;\n -webkit-transform: translate(50%, -50%) !important;\n\t-ms-transform: translate(50%, -50%) !important;\n transform: translate(50%, -50%) !important;\n right: 50% !important;\n top: 50% !important;\n padding: 2px !important;\n box-sizing: border-box !important;\n}\n\n.view-causes-modal .sg-nonprofit .nonprofitName {\n color: #263034 !important;\n line-height: 22px !important;\n font-size: 22px !important;\n text-align: center !important;\n font-weight: normal !important;\n}\n\n.view-causes-modal .sg-nonprofit .nonprofitAddress {\n line-height: 22px !important;\n font-size: 18px !important;\n text-align: center !important;\n font-size: 13px !important;\n color: #637381 !important;\n margin-top: 14px;\n}\n\n.view-causes-modal .sg-nonprofit .sg-nonprofit-container {\n padding: 0 30px;\n}\n\n.view-causes-modal .sg-nonprofit .nonprofitDescription {\n font-size: 12px !important;\n line-height: 18px !important;\n color: #000 !important;\n margin-top: 15px !important;\n margin-bottom: 50px !important;\n text-align: left !important;\n}\n\n/*** END NONPROFIT CSS ***/\n\n\n\n/*** PORTFOLIO CSS ***/\n\n.shoppinggives-tag .view-causes-modal.sg-portfolio .sg-portfolio-container {\n overflow: auto;\n height: calc(100% - 160px);\n}\n\n.shoppinggives-tag .view-causes-modal.sg-portfolio .redemption-infor {\n color: black;\n}\n\n.view-causes-modal .sg-portfolio .portfolio-logo-wrap {\n height: 70px !important;\n width: 70px !important;\n border: 2px solid #f2f2f2 !important;\n border-radius: 5px !important;\n margin: 0 auto 10px auto !important;\n position: relative !important;\n background-color: #fff !important;\n overflow: hidden !important;\n background-repeat: no-repeat;\n background-position: center;\n background-size: 70.7%;\n display: block !important;\n}\n\n.view-causes-modal .sg-nonprofit-multiple .sg-cause-list .charity-logo-wrap,\n.view-causes-modal .sg-portfolio .sg-cause-list .charity-logo-wrap {\n height: 90px !important;\n width: 90px !important;\n border: 2px solid #f2f2f2 !important;\n border-radius: 5px !important;\n margin: 20px auto 10px auto !important;\n position: relative !important;\n background-color: #fff !important;\n overflow: hidden !important;\n background-repeat: no-repeat;\n background-position: center;\n background-size: 70.7%;\n display: block !important;\n}\n\n.view-causes-modal .sg-portfolio .portfolioLogo {\n width: 100% !important;\n position: absolute;\n -webkit-transform: translate(50%, -50%) !important;\n\t-ms-transform: translate(50%, -50%) !important;\n transform: translate(50%, -50%) !important;\n right: 50% !important;\n top: 50% !important;\n padding: 2px !important;\n box-sizing: border-box !important;\n}\n\n.view-causes-modal .sg-portfolio .portfolioName {\n color: #263034 !important;\n line-height: 29px !important;\n font-size: 24px !important;\n text-align: center !important;\n font-weight: normal !important;\n margin-bottom: 12px;\n}\n\n.view-causes-modal .sg-nonprofit-multiple .charityName,\n.view-causes-modal .sg-portfolio .charityName {\n color: #445862 !important;\n line-height: 22px !important;\n font-size: 18px !important;\n text-align: center !important;\n font-weight: normal !important;\n padding: 0 10px;\n}\n\n.view-causes-modal .sg-portfolio .portfolioAddress {\n line-height: 22px !important;\n font-size: 18px !important;\n text-align: center !important;\n font-size: 13px !important;\n color: gray !important;\n margin-top: 14px;\n}\n\n.view-causes-modal .sg-portfolio .portfolioDescription {\n font-size: 14px !important;\n line-height: 16px !important;\n color: #000 !important;\n margin-top: 10px !important;\n margin-bottom: 14px !important;\n text-align: center !important;\n padding: 0 30px !important;\n margin: 20px auto 20px auto !important\n}\n\n.view-causes-modal .sg-portfolio .portfolioHeadline {\n font-size: 14px !important;\n line-height: 16px !important;\n color: #000 !important;\n margin-top: 10px !important;\n margin-bottom: 14px !important;\n text-align: center !important;\n padding: 0 30px !important;\n margin: 0 auto !important;\n}\n\n.view-causes-modal .sg-portfolio .portfolioFinePrint {\n font-size: 12px !important;\n line-height: 18px !important;\n color: #000 !important;\n margin-top: 10px !important;\n margin-bottom: 14px !important;\n text-align: center !important;\n padding: 0 30px !important;\n margin: 0px auto 20px auto !important\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-charity-location {\n font-size: 13px;\n color: #9B9B9B;\n line-height: 18px;\n overflow: hidden;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n -o-text-overflow: ellipsis;\n -ms-text-overflow: ellipsis;\n text-overflow: ellipsis;\n display: block;\n width: 100%;\n margin-top: 20px;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container {\n position: relative;\n box-sizing: border-box;\n overflow: hidden;\n height: 265px;\n width: 280px;\n display: inline-block;\n margin: 8px;\n border-radius: 10px;\n text-align: center;\n background-color: #FFFFFF;\n -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);\n -moz-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);\n -webkit-transition: all .2s ease;\n -moz-transition: all .2s ease;\n -o-transition: all .2s ease;\n -ms-transition: all .2s ease;\n transition: all .2s ease;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-learn-more {\n margin-top: 20px;\n width: 100%;\n bottom: 16px;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-show-less,\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-learn-more {\n background: transparent;\n border: none;\n font-size: 12px;\n color: #9B9B9B;\n text-align: center;\n text-decoration: underline;\n cursor: pointer;\n}\n\n.shoppinggives-tag #sg-featured-wrap .fc-portfolio-container .sg-featured-portfolio-description,\n.shoppinggives-tag #sg-featured-wrap .fc-charity-container .sg-featured-charity-description {\n background: rgba(255, 255, 255, 0.95);\n position: absolute;\n padding: 12px 0 0 0;\n height: 267px;\n overflow-x: hidden;\n overflow-y: auto;\n width: 100%;\n}\n\n.shoppinggives-tag #sg-featured-wrap .fc-portfolio-container .sg-featured-portfolio-description-wrap.open-learn-more,\n.shoppinggives-tag #sg-featured-wrap .fc-charity-container .sg-featured-charity-description-wrap.open-learn-more {\n bottom: 0;\n}\n\n.shoppinggives-tag #sg-featured-wrap .fc-portfolio-container .sg-featured-portfolio-description-wrap,\n.shoppinggives-tag #sg-featured-wrap .fc-charity-container .sg-featured-charity-description-wrap {\n bottom: 355px;\n display: inline-block;\n position: absolute;\n width: 100%;\n left: 0;\n text-align: left;\n height: 265px;\n -webkit-transition: all .4s ease;\n -moz-transition: all .4s ease;\n -o-transition: all .4s ease;\n -ms-transition: all .4s ease;\n transition: all .4s ease;\n}\n\n\n\n.shoppinggives-tag .view-causes-modal .sg-cause-list {\n max-width: 920px;\n margin: 0 auto;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-justify-content: center;\n -ms-flex-pack: justify;\n justify-content: center;\n -webkit-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-cause-list.two-wide {\n max-width: 880px;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container:hover {\n -webkit-box-shadow: 0 0 10px 0 rgba(68, 88, 98, 0.2);\n -moz-box-shadow: 0 0 10px 0 rgba(68, 88, 98, 0.2);\n box-shadow: 0 0 10px 0 rgba(68, 88, 98, 0.2);\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .fc-portfolio-logo {\n height: 55px;\n width: 55px;\n position: absolute;\n left: 12px;\n top: 54%;\n -webkit-transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-banner {\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n position: relative;\n height: 100px;\n width: 100%;\n background-repeat: no-repeat;\n background-position: center;\n -webkit-background-size: cover;\n -moz-background-size: cover;\n -o-background-size: cover;\n background-size: cover;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .fc-portfolio-title {\n color: #FFFFFF;\n padding-right: 6px;\n font-size: 15px;\n font-weight: 600;\n line-height: 20px;\n text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);\n position: absolute;\n left: 80px;\n top: 54%;\n -webkit-transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .fc-portfolio-headline-wrapper {\n height: 82px;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .fc-portfolio-headline {\n color: #445862;\n font-size: 16px;\n line-height: 18px;\n text-align: center;\n margin: 8px 0 8px 0;\n display: table-cell;\n height: 82px;\n width: 290px;\n vertical-align: middle;\n padding: 15px 10px;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .fc-portfolio-charities-list {\n padding: 0 6px;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-justify-content: space-around;\n -ms-flex-pack: justify;\n justify-content: space-around;\n -webkit-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .fc-portfolio-charities-list li {\n height: 60px;\n width: 60px;\n}\n\n.shoppinggives-tag .view-causes-modal #charity-select-list .sc-charity-container .sc-charity-logo-container {\n height: 45px;\n width: 45px;\n border-radius: 5px;\n border: 2px solid #F2F2F2;\n background-color: #FFFFFF;\n overflow: hidden;\n position: relative;\n box-sizing: border-box;\n float: left;\n margin-right: 10px;\n bottom: 1px;\n margin: 19px 10px 10px 14px;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .fc-portfolio-charities-list li {\n overflow: hidden;\n position: relative;\n border: 2px solid #F2F2F2;\n border-radius: 5px;\n background-color: #FFFFFF;\n}\n\n.shoppinggives-tag .view-causes-modal #charity-select-list .sc-charity-container .sc-charity-logo-container img,\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .fc-portfolio-charities-list li img {\n max-height: 100%;\n max-width: 100%;\n position: absolute;\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-select:active {\n -moz-transform: translateY(2px);\n -o-transform: translateY(2px);\n -ms-transform: translateY(2px);\n -webkit-transform: translateY(2px);\n transform: translateY(2px);\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-select {\n color: #445862;\n font-size: 16px;\n font-weight: 700;\n text-align: center;\n cursor: pointer;\n text-decoration: underline;\n display: inline-block;\n background: none;\n height: 20px;\n min-height: 20px !important;\n max-height: 20px !important;\n text-transform: none !important;\n box-shadow: none;\n padding: 0;\n margin: 0;\n border: none;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-select.selected {\n pointer-events: none;\n color: #CBCED3;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-show-less {\n position: absolute;\n bottom: 0%;\n width: 100%;\n background: #fff;\n padding: 5px 0 15px 0;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-divider {\n height: 1px;\n width: calc(100% - 20px);\n margin: 15px auto 12px auto;\n display: block;\n background: #f8f8f8;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-portfolio-description {\n background: rgba(255, 255, 255, 0.95);\n position: absolute;\n padding: 12px 0 0 0;\n height: 220px;\n overflow-x: hidden;\n overflow-y: auto;\n width: 100%;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-portfolio-description-wrap.open-learn-more {\n bottom: 0;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-portfolio-description-wrap {\n bottom: 355px;\n display: inline-block;\n position: absolute;\n width: 100%;\n left: 0;\n text-align: left;\n height: 265px;\n background: rgba(255, 255, 255, 0.95);\n /* -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);\n -moz-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1); */\n -webkit-transition: all .4s ease;\n -moz-transition: all .4s ease;\n -o-transition: all .4s ease;\n -ms-transition: all .4s ease;\n transition: all .4s ease;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-portfolio-learn-more-charities,\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-learn-more-text {\n font-size: 12px;\n color: #445862;\n line-height: 18px;\n padding: 0 14px 8px 14px;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-portfolio-learn-more-charities {\n margin-top: 7px;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-portfolio-learn-more-charities li {\n margin-bottom: 10px;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-portfolio-learn-more-text {\n display: block;\n color: #445862;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-cause-container .sg-multiplier-banner {\n height: 20px;\n width: 100%;\n text-align: center;\n background: linear-gradient(313.34deg, #44A2CA 0%, #009581 100%);\n font-size: 11px;\n color: #FFFFFF;\n font-weight: bold;\n line-height: 21px;\n font-style: italic;\n position: absolute;\n}\n\n.shoppinggives-tag .view-causes-modal #sg-search-wrap.hide-search {\n display: none !important;\n}\n\n.shoppinggives-tag .view-causes-modal {\n height: calc(100vh - 90px);\n max-height: 800px;\n}\n\n.shoppinggives-tag .view-causes-modal.sg-view-cause-single .sg-close.sg-cancel-x.sg-close-charity-select {\n background: #fff !important;\n}\n\n.shoppinggives-tag .view-causes-modal.sg-view-cause-single {\n max-height: 550px !important;\n height: calc(100vh - 90px) !important;\n}\n\n.shoppinggives-tag .view-causes-modal .charity-select-list {\n color: #445862;\n background: #fff;\n padding-bottom: 10px\n}\n\n\n\n\n\n\n\n\n\n\n\n\n/* Cart modal */\n\n@media(max-width: 620px) {\n\t.shoppinggives-tag div.shoppinggives-tag .sg-multiple-causes.sg-modal {\n max-height: calc(100% - 20px) !important;\n\t\twidth: calc(100% - 20px) !important;\n\t\tpadding: 0 0 20px 0 !important;\n\t\ttop: 10px !important;\n\t\t-webkit-transform: translateX(-50%) !important;\n\t\t-ms-transform: translateX(-50%) !important;\n\t\ttransform: translateX(-50%) !important;\n\t}\n\n\tdiv.shoppinggives-tag .sg-multiple-causes .sg-content-wrap {\n padding: 0 14px !important;\n }\n}\n\n@media(max-width: 500px) {\n .shoppinggives-tag .sg-learn-more-modal div#sg-no-catch {\n font-size: 14px;\n }\n .shoppinggives-tag .sg-learn-more-modal div#sg-learn-more-title {\n margin: 14px 0 26px 0;\n }\n}\n\n.sg-learn-more-modal .sg-hide {\n display: none !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .sg-content-wrap {\n padding: 0 40px;\n}\n\n.sg-learn-more-modal .end-nonprofit-string {\n position: absolute !important;\n height: 0px !important;\n width: 0px !important;\n}\n\n.sg-learn-more-modal-overlay.sg-single-cause .sg-learn-more-modal .choose-your-cause {\n display: none !important;\n}\n\n.shoppinggives-tag .sg-learn-more-modal .sg-preview {\n\tfloat: none;\n\tposition: absolute;\n\ttop: 20px;\n\tleft: 50%;\n\t-webkit-transform: translateX(-50%);\n\t-ms-transform: translateX(-50%);\n\ttransform: translateX(-50%);\n text-align: center;\n margin-top: 0;\n background: #FAFAFA;\n padding: 10px 10px 6px 10px;\n border-radius: 10px;\n z-index: 10;\n}\n\n.shoppinggives-tag .sg-learn-more-modal .sg-preview .cc-tooltip {\n\tright: -53px !important;\n}\n\n.shoppinggives-tag .sg-learn-more-modal .sg-preview .cc-tooltip:after {\n\tright: 52px !important;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-portfolio-description::-webkit-scrollbar,\n.shoppinggives-tag .shoppinggives-tag .sg-multiple-causes.sg-modal::-webkit-scrollbar {\n width: 8px;\n}\n\n.shoppinggives-tag .view-causes-modal .fc-portfolio-container .sg-featured-portfolio-description::-webkit-scrollbar-thumb,\n.shoppinggives-tag .shoppinggives-tag .sg-multiple-causes.sg-modal::-webkit-scrollbar-thumb {\n background-color: #e6e6e6;\n border-radius: 10px;\n}\n\n.shoppinggives-tag .shoppinggives-tag .sg-multiple-causes.sg-modal {\n height: auto;\n font-family: Muli, sans-serif !important;\n margin-bottom: 10px;\n position: absolute;\n display: inline-block;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n z-index: 1010;\n border-radius: 0px !important;\n max-height: 550px;\n max-width: 700px;\n width: 100%;\n background-color: #FAFAFA;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0 0 34px 0 !important;\n -webkit-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n -moz-box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);\n overflow: auto !important;\n}\n\n.sg-learn-more-modal {\n font-family: helvetica, arial, sans-serif; \n color: #445862;\n letter-spacing: 0 !important;\n}\n\n.sg-learn-more-modal .sg-fine-print {\n font-size: 12px;\n text-align: center;\n margin: 0 auto;\n}\n\n.sg-learn-more-modal p {\n font-size: 12px;\n line-height: 20px;\n margin: 0;\n}\n\n.sg-learn-more-modal .sg-link {\n font-weight: 600;\n box-shadow: none !important;\n text-decoration: underline !important;\n}\n\n.sg-learn-more-modal .sg-link:hover {\n color: inherit !important;\n box-shadow: none !important;\n}\n\n.sg-learn-more-modal.cc-modal-overlay::-webkit-scrollbar {\n\twidth: 8px;\n}\n\n.sg-learn-more-modal.cc-modal-overlay::-webkit-scrollbar-thumb {\n\tbackground-color: #f2f2f2;\n\tborder-radius: 10px;\n}\n\n.sg-learn-more-modal #sg-main-logo {\n\tmax-width: 130px !important;\n\tmargin: 0 auto;\n\tdisplay: block;\n}\n\n.sg-learn-more-modal .powered-by-text {\n\tfont-size: 11px;\n\tmargin-top: 20px;\n\ttext-align: center;\n}\n\n.sg-learn-more-modal-overlay .sg-learn-more-modal .sg-close.sg-close-learn-more {\n background: transparent !important;\n z-index: 4 !important;\n top: -4px !important;\n right: 4px !important;\n display: block !important;\n}\n\n.sg-learn-more-modal img {\n\tmax-width: 100%;\n\tmax-height: 100%;\n}\n\n.sg-learn-more-modal #sg-learn-more-title {\n\tfont-size: 18px;\n\tcolor: #000;\n\tmargin: 14px 0 32px 0;\n\ttext-align: center;\n\tline-height: 28px;\n}\n\n.sg-learn-more-modal #sg-no-catch {\n font-size: 15px;\n\ttext-align: center;\n\tcolor: #000;\n line-height: 20px;\n margin-top: 40px;\n font-weight: bold;\n}\n\n.sg-learn-more-modal #sg-no-catch .storeName {\n font-size: 14px !important;\n padding-top: 10px;\n display: block;\n}\n\n.sg-learn-more-modal #sg-no-catch div {\n\tfont-weight: 700;\n\tmargin-bottom: 0;\n}\n\n.sg-learn-more-modal #learn-more-divider {\n\theight: 2px;\n\tbackground: #788995;\n\twidth: 100%;\n\tmargin: 18px 0 20px 0;\n\tborder: none;\n}\n\n.sg-powered-by-wrap.sg-portfolio img {\n\tdisplay: inline-block !important;\n vertical-align: baseline !important;\n max-width: 100% !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .nonprofitName {\n font-size: 18px !important;\n font-weight: bold !important;\n color: #292929 !important;\n margin-bottom: 5px !important;\n text-overflow: ellipsis !important;\n white-space: nowrap !important;\n overflow: hidden !important;\n max-width: calc(100% - 90px) !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .sg-charity-objects .nonprofitName {\n font-size: 14px !important;\n margin-bottom: 2px !important;\n}\n\n.sg-learn-more-moda.sg-portfolio .nonprofitDescription {\n font-size: 10px !important;\n color: #445862 !important;\n line-height: 16px !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .portfolioDescription {\n font-size: 10px !important;\n color: #445862 !important;\n line-height: 18px !important;\n padding: 20px 0 !important;\n font-size: 14px !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .nonprofitAddress {\n font-size: 12px !important;\n color: #445862 !important;\n line-height: 16px !important;\n max-width: calc(100% - 90px) !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .nonprofit-info-wrap {\n position: relative !important;\n display: inline-block !important;\n max-width: calc(100% - 60px) !important;\n vertical-align: sub !important;\n padding-left: 10px !important;\n margin-left: 50px !important;\n width: 100% !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .sg-charity-objects .nonprofit-info-wrap {\n margin-left: 40px !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .nonprofit-logo-wrap {\n position: absolute !important;\n top: 18px !important;\n display: inline-block !important;\n height: 40px !important;\n width: 40px !important;\n border: 2px solid #f2f2f2 !important;\n border-radius: 5px !important;\n background-color: #fff !important;\n overflow: hidden !important;\n background-repeat: no-repeat;\n background-position: center;\n background-size: 70.7%;\n}\n\n.shoppinggives-tag .sg-multiple-causes .nonprofit-logo-wrap img {\n position: absolute;\n -webkit-transform: translate(50%, -50%) !important;\n -ms-transform: translate(50%, -50%) !important;\n transform: translate(50%, -50%) !important;\n right: 50% !important;\n top: 50% !important;\n padding: 2px;\n}\n\n.shoppinggives-tag .sg-multiple-causes .sg-charity-objects .nonprofit-logo-wrap {\n width: 30px !important;\n height: 30px !important;\n top: 0px !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .showNonprofit1,\n.shoppinggives-tag .sg-multiple-causes .showNonprofit2,\n.shoppinggives-tag .sg-multiple-causes .showNonprofit3,\n.shoppinggives-tag .sg-multiple-causes .showNonprofit4 {\n position: relative;\n}\n\n.shoppinggives-tag .sg-multiple-causes .nonprofitLogo {\n width: 100% !important;\n max-height: 100% !important;\n max-height: 100% !important;\n max-width: 100% !important;\n position: absolute;\n -webkit-transform: translate(50%, -50%) !important;\n -ms-transform: translate(50%, -50%) !important;\n transform: translate(50%, -50%) !important;\n right: 50% !important;\n top: 50% !important;\n padding: 2px !important;\n box-sizing: border-box !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .portfolioImageUrl {\n width: 100% !important;\n height: 100% !important;\n max-height: 100% !important;\n max-width: 100% !important;\n background-repeat: no-repeat;\n background-position: center; \n -webkit-background-size: cover;\n -moz-background-size: cover;\n -o-background-size: cover;\n background-size: cover;\n}\n\n.shoppinggives-tag .sg-multiple-causes .portfolioName {\n max-height: 100% !important;\n width: 100% !important;\n max-width: 100% !important;\n color: #222B2F !important;\n font-size: 20px !important;\n font-weight: bold !important;\n position: absolute !important;\n left: 50% !important;\n top: 50% !important;\n -webkit-transform: translate(-50%, -50%) !important;\n -ms-transform: translate(-50%, -50%) !important;\n transform: translate(-50%, -50%) !important;\n z-index: 3 !important;\n text-align: center !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .porfolio-image-overlay {\n position: relative !important;\n width: 100% !important;\n height: 120px !important;\n background: #fff !important;\n opacity: 0.4 !important;\n z-index: 1 !important;\n position: absolute !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .portfolio-image-wrap {\n position: relative !important;\n width: 100% !important;\n height: 120px !important;\n z-index: 2 !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .portfolioNonprofits {\n padding: 10px;\n}\n\n.shoppinggives-tag .sg-multiple-causes .portfolioNonprofits li {\n margin-bottom: 10px !important;\n position: relative !important;\n border: none;\n background: #fff;\n border-radius: 0;\n margin-bottom: 12px;\n box-sizing: border-box;\n position: relative;\n width: 100%;\n border-radius: 10px;\n -webkit-transition: height .4s ease;\n -moz-transition: height .4s ease;\n -o-transition: height .4s ease;\n -ms-transition: height .4s ease;\n transition: height .4s ease;\n -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, .1);\n -moz-box-shadow: 0 0 8px 0 rgba(0, 0, 0, .1);\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, .1);\n padding: 20px;\n min-height: 80px;\n}\n\n.shoppinggives-tag .sg-multiple-causes .portfolioNonprofits li:hover {\n background: #fcfcfc;\n -webkit-box-shadow: 0 0 10px 0 rgba(68, 88, 98, .2);\n -moz-box-shadow: 0 0 10px 0 rgba(68, 88, 98, .2);\n box-shadow: 0 0 10px 0 rgba(68, 88, 98, .2)\n}\n\n.shoppinggives-tag .sg-multiple-causes .portfolioNonprofits li:hover .sg-search-charity-description {\n background: #fcfcfc;\n}\n\n/* .shoppinggives-tag #charity-select-list .sc-charity-container:hover .sg-search-charity-description {\n background: #fcfcfc\n} */\n\n.shoppinggives-tag .sg-multiple-causes .nonprofitDescription {\n font-size: 12px !important;\n line-height: 18px !important;\n color: #000 !important;\n margin-top: 5px !important;\n}\n\n.shoppinggives-tag .sg-multiple-causes .sg-search-charity-description-wrap {\n max-height: 0;\n overflow: hidden;\n -webkit-transition: max-height .4s linear;\n -moz-transition: max-height .4s linear;\n -o-transition: max-height .4s linear;\n -ms-transition: max-height .4s linear;\n transition: max-height .4s linear\n}\n\n.shoppinggives-tag .sg-multiple-causes .sg-search-charity-description-wrap.open-learn-more {\n max-height: 800px !important;\n position: static !important\n}\n\n.shoppinggives-tag .sg-multiple-causes .sg-search-charity-description {\n background: #fff;\n color: #9b9b9b;\n font-size: 12px;\n line-height: 18px;\n pointer-events: none;\n margin: 20px 0 10px 0\n}\n\n.shoppinggives-tag .sg-multiple-causes .search-learn-more {\n color: #9b9b9b;\n font-size: 12px;\n text-decoration: underline;\n cursor: pointer;\n position: relative;\n z-index: 10;\n display: inline-block;\n margin-top: 14px;\n margin-left: 0;\n background: transparent;\n border: none;\n padding: 0;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-cause-donation {\n position: absolute;\n top: 20px;\n right: 20px;\n text-align: right;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-cause-donation-text {\n font-size: 12px;\n color: gray;\n margin-bottom: 2px;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-cause-donation-amount {\n font-weight: bold;\n color: #009581;\n font-size: 24px;\n line-height: 29px;\n}\n\n.shoppinggives-tag .sg-multiple-causes .sg-charity-objects {\n position: relative;\n margin-bottom: 14px;\n}\n\n.shoppinggives-tag .sg-multiple-causes .sg-hide-button {\n height: 0 !important;\n margin-top: 0 !important;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-multiple-causes .redemption-banner {\n height: 130px;\n}\n\n.shoppinggives-tag .view-causes-modal .sg-multiple-causes .redemption-info {\n margin-top: 20px;\n}\n\n",""]);const p=l},687:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var o=n(81),i=n.n(o),a=n(645),r=n.n(a)()(i());r.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Muli:400,600,700);"]),r.push([e.id,'@media(max-width: 780px) {\n .shoppinggives-tag.contained.cc-modal-overlay,\n\t.shoppinggives-tag.compact.cc-modal-overlay {\n\t\toverflow-y: scroll;\n\t}\n}\n\n@media(max-width: 767px) {\n\n .shoppinggives-tag ::placeholder,\n .shoppinggives-charity-widget ::placeholder {\n font-size: 16px;\n }\n\n .shoppinggives-tag :-ms-input-placeholder,\n .shoppinggives-charity-widget :-ms-input-placeholder {\n font-size: 16px;\n }\n\n .shoppinggives-tag ::-ms-input-placeholder,\n .shoppinggives-charity-widget ::-ms-input-placeholder {\n font-size: 16px;\n }\n}\n\n@media(max-width: 620px) {\n div.shoppinggives-tag.contained .sg-modal,\n\tdiv.shoppinggives-tag.compact .sg-modal {\n\t\twidth: calc(100% - 20px);\n\t\tpadding: 40px 20px;\n\t\ttop: 10px;\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\ttransform: translateX(-50%);\n\t}\n}\n\n.shoppinggives-tag div,\n.shoppinggives-tag span,\n.shoppinggives-tag iframe,\n.shoppinggives-tag h3,\n.shoppinggives-tag h4,\n.shoppinggives-tag h5,\n.shoppinggives-tag h6,\n.shoppinggives-tag p,\n.shoppinggives-tag blockquote,\n.shoppinggives-tag pre,\n.shoppinggives-tag a,\n.shoppinggives-tag ol,\n.shoppinggives-tag ul,\n.shoppinggives-tag li,\n.shoppinggives-tag fieldset,\n.shoppinggives-tag form,\n.shoppinggives-tag label,\n.shoppinggives-tag legend,\n.shoppinggives-tag table,\n.shoppinggives-tag tbody,\n.shoppinggives-tag tfoot,\n.shoppinggives-tag thead,\n.shoppinggives-tag tr,\n.shoppinggives-tag th,\n.shoppinggives-tag td {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n font-family: inherit;\n color: inherit;\n vertical-align: baseline;\n}\n\n.shoppinggives-tag:not(.cc-centered),\n.sg-roundup-title,\n.shoppinggives-tag.roundup {\n text-align: left !important;\n}\n\n.shoppinggives-tag ul li::before,\n.shoppinggives-charity-widget ul li::before {\n content: none !important;\n}\n\n.shoppinggives-charity-widget img {\n vertical-align: baseline;\n}\n\n.shoppinggives-charity-widget #charity-select-modal {\n -webkit-transition: height .4s ease;\n -moz-transition: height .4s ease;\n -o-transition: height .4s ease;\n -ms-transition: height .4s ease;\n transition: height .4s ease;\n}\n\n.shoppinggives-tag {\n line-height: 1;\n cursor: default;\n font-family: Muli, sans-serif !important;\n letter-spacing: 0 !important;\n}\n\n.shoppinggives-tag ol,\n.shoppinggives-tag ul {\n list-style: none;\n}\n\n.shoppinggives-charity-widget table {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\n.shoppinggives-charity-widget input {\n padding: 10px 34px 10px 16px;\n border-radius: 20px;\n border: 1px solid #9B9B9B;\n height: 40px;\n color: #445862;\n}\n\n.shoppinggives-charity-widget p {\n font-size: 14px;\n margin-bottom: 15px;\n}\n\n.shoppinggives-charity-widget .terms {\n margin-bottom: 0;\n}\n\n.shoppinggives-charity-widget .title {\n font-size: 24px;\n margin-bottom: 20px;\n text-align: center;\n}\n\n.shoppinggives-charity-widget .sub-title {\n font-size: 18px;\n color: #445862;\n}\n\n.shoppinggives-charity-widget #postconversion-modal.sg-modal {\n top: 20px !important;\n}\n\n.shoppinggives-charity-widget .sg-modal {\n font-family: Muli, sans-serif !important;\n background: white;\n display: inline-block;\n position: relative;\n top: 30px;\n margin-bottom: 4px;\n left: 50%;\n -webkit-transform: translateX(-50%);\n -ms-transform: translateX(-50%);\n transform: translateX(-50%);\n width: calc(100% - 8px);\n z-index: 1010;\n border-radius: 5px;\n max-width: 900px;\n -webkit-box-shadow: 0 0px 35px 0 rgba(0, 0, 0, 0.2);\n -moz-box-shadow: 0 0px 35px 0 rgba(0, 0, 0, 0.2);\n box-shadow: 0 0px 35px 0 rgba(0, 0, 0, 0.2);\n}\n\n.shoppinggives-charity-widget .orange-button {\n padding: 0 !important;\n cursor: pointer !important;\n display: block;\n font-size: 16px;\n border: none;\n height: 40px;\n width: 220px !important;\n border-radius: 50px;\n color: white;\n background: linear-gradient(270deg, #F8B90A 0%, #EE8304 100%);\n}\n\n.shoppinggives-charity-widget .orange-button:active,\n.shoppinggives-charity-widget #sg-facebook-button:active,\n.shoppinggives-charity-widget #sg-my-contributions {\n -webkit-transform: translateY(2px);\n -ms-transform: translateY(2px);\n transform: translateY(2px);\n}\n\n.shoppinggives-charity-widget .orange-button:focus {\n outline: 0 !important;\n}\n\n.shoppinggives-charity-widget .gray-button {\n padding: 0 !important;\n cursor: pointer !important;\n display: block;\n font-size: 16px;\n border: none;\n height: 40px;\n width: 220px !important;\n border-radius: 50px;\n color: white;\n background-color: #9B9B9B;\n}\n\n.shoppinggives-charity-widget .orange-button:active,\n.shoppinggives-charity-widget .orange-button:focus,\n.shoppinggives-charity-widget .gray-button:active,\n.shoppinggives-charity-widget .gray-button:focus {\n outline: none !important;\n}\n\n.sg-modal .modal-body,\n.sg-modal .modal-body {\n display: flex;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n /* spacing as needed */\n padding: 20px 50px 20px 20px;\n /* let it scroll */\n overflow: auto;\n}\n\n.shoppinggives-tag.closed,\n.shoppinggives-tag .closed {\n visibility: hidden !important;\n position: absolute !important;\n left: -2000px !important;\n display: none !important;\n}\n\n.shoppinggives-tag.cc-modal-overlay {\n display: flex;\n justify-content: center;\n align-items: center;\n background: rgba(69, 89, 99, 0.9) !important;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: hidden;\n z-index: 9999999999999999 !important;;\n}\n\n.sg-modal-open .page-container {\n -webkit-transform: none;\n -ms-transform: none;\n transform: none;\n -webkit-transition: all 0s;\n -moz-transition: all 0s;\n -o-transition: all 0s;\n -ms-transition: all 0s;\n transition: all 0s;\n}\n\n#postconversion-iframe {\n margin: 0 !important;\n}\n\n.sg-modal-open {\n position: fixed;\n left: 0;\n width: 100%;\n overflow: hidden;\n z-index: 0;\n}\n\n.shoppinggives-tag .clear-fix {\n content: "";\n clear: both;\n display: table;\n}\n\n.shoppinggives-tag .blue {\n color: #009581;\n text-decoration: none;\n -webkit-box-shadow: none;\n -moz-box-shadow: none;\n box-shadow: none;\n}\n\n.shoppinggives-tag .clear-fix::after {\n content: "";\n clear: both;\n display: table;\n}\n\n.shoppinggives-tag ::placeholder,\n.shoppinggives-charity-widget ::placeholder {\n /* Chrome, Firefox, Opera, Safari 10.1+ */\n font-size: 14px;\n color: #9B9B9B;\n opacity: 1;\n /* Firefox */\n}\n\n.shoppinggives-tag :-ms-input-placeholder,\n.shoppinggives-charity-widget :-ms-input-placeholder {\n /* Internet Explorer 10-11 */\n font-size: 14px;\n color: #9B9B9B;\n}\n\n.shoppinggives-tag ::-ms-input-placeholder,\n.shoppinggives-charity-widget ::-ms-input-placeholder {\n /* Microsoft Edge */\n font-size: 14px;\n color: #9B9B9B;\n}\n\n/* Skeleton Loading Styles */\n\n.shoppinggives-tag .cc-skeleton {\n position: relative;\n background-color: #f2f2f2;\n overflow: hidden;\n border-radius: 10px;\n margin: 0 0 7px 0;\n}\n\n.shoppinggives-tag .cc-skeleton-line {\n height: 14px;\n}\n\n.shoppinggives-charity-widget #cc-skeleton-line-wrap {\n margin-bottom: 20px;\n}\n\n.shoppinggives-charity-widget .cc-skeleton-box {\n height: 65px;\n max-width: 450px;\n margin-bottom: 11px;\n margin-top: 20px;\n}\n\n.shoppinggives-tag .cc-skeleton::after {\n display: block;\n content: \'\';\n position: absolute;\n width: 100%;\n height: 100%;\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);\n -webkit-animation: cc-skeleton 1.5s infinite;\n animation: cc-skeleton 1.5s infinite;\n}\n\n@-webkit-keyframes cc-skeleton {\n 100% {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n}\n\n@keyframes cc-skeleton {\n 100% {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n}\n\n.shoppinggives-tag .cc-spacer {\n height: 0px;\n opacity: 0;\n}\n\n/* End Skeleton Loading Styles */\n\n.shoppinggives-tag .sg-modal {\n border-radius: 10px !important;\n overflow: hidden !important;\n height: calc(100vh - 110px);\n max-width: 1220px;\n width: calc(100% - 20px);\n z-index: 99999999999999999999999 !important;;\n overflow: hidden;\n}\n\n\n.shoppinggives-tag .blue {\n text-decoration: none !important;\n}\n\n.shoppinggives-tag .close-view-causes-modal {\n line-height: normal !important;\n}\n\n.shoppinggives-tag .sg-top-wrap .sg-search-bar,\n.shoppinggives-tag .sg-learn-more-modal .sg-learn-more-logos img,\n.shoppinggives-tag .powered-by-logo,\n.shoppinggives-tag #sg-main-logo {\n width: auto !important;\n}\n\n.sg-addon-title-placeholder,\n.sg-roundup-title-placeholder,\n.sg-text-placeholder-1,\n.sg-text-placeholder-2,\n.sg-text-placeholder-3,\n.sg-text-placeholder-4,\n.sg-text-placeholder-5 {\n display: none;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',""]);const s=r},74:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=n(687),l=n(305),p=n(511),c=n(204),d=n(419),u=n(974),g=r()(i());g.i(s.default),g.i(l.Z),g.i(p.Z),g.i(c.Z),g.i(d.Z),g.i(u.Z),g.push([e.id,'.shoppinggives-tag.roundup{\n padding: 10px;\n background: transparent;\n border: 1px solid black;\n margin: 10px 0px 10px auto;\n}\n\n.shoppinggives-tag.roundup-product-page{\n max-width: none;\n width: inherit;\n}\n\n.shoppinggives-tag.roundup .sg-roundup-title{\n margin: 0px;\n font: inherit;\n font-family: inherit;\n font-size: 14px;\n font-weight: bold;\n letter-spacing: 0;\n line-height: 20.4px;\n margin-bottom: 5px;\n}\n.shoppinggives-tag.roundup .sg-roundup-main-text{\n font-family: inherit;\n font-size: inherit;\n font-size: 12px;\n letter-spacing: 0;\n line-height: 20.4px;\n}\n\n.shoppinggives-tag.roundup .sg-roundup-powered-by-logo{\n margin:0px;\n align-self: center;\n}\n\n.shoppinggives-tag.roundup .sg-roundup-powered-by-logo img{\n margin:0px;\n width: 128px;\n height: 14px;\n}\n\n.shoppinggives-tag.roundup .sg-roundup-cause{\n font-weight: bold;\n}\n\n.shoppinggives-tag.roundup .select-text{\n cursor: pointer;\n white-space: nowrap;\n margin-top: 10px;\n font-family: inherit;\n font-size: inherit;\n font-size: 12px;\n font-weight: bold;\n letter-spacing: 0;\n line-height: 20.4px;\n text-decoration: underline;\n float: none !important;\n}\n\n.shoppinggives-tag.roundup .roundup-link-wrap .select-text{\n text-decoration: underline;\n}\n\n.shoppinggives-tag.roundup .sg-roundup-checkbox-wrapper{\n display: flex;\n flex-direction: row-reverse;\n flex-wrap: wrap;\n justify-content: space-between;\n margin-top: 5px;\n}\n\n.shoppinggives-tag.roundup .roundup-checkbox-container {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n height: 18px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.shoppinggives-tag.roundup .roundup-checkbox-container span{\n margin-right: 10px;\n font-weight: bold;\n white-space: nowrap;\n}\n\n.shoppinggives-tag.roundup .roundup-checkbox-container input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n}\n\n.shoppinggives-tag.roundup .sg-roundup-checkbox-design {\n display: block;\n height: 18px;\n width: 18px;\n min-width: 18px;\n min-height: 18px;\n border: 2px solid #009581;\n border-radius: 2px;\n}\n\n.shoppinggives-tag.roundup .checkbox-subdued{\n border: 2px solid #9B9B9B;\n}\n\n.shoppinggives-tag.roundup .sg-roundup-checkbox-disabled{\n display: block;\n height: 18px;\n width: 18px;\n border: 2px solid #009581;\n border-radius: 2px;\n}\n\n.shoppinggives-tag.roundup .sg-roundup-checkbox-design:after {\n content: "";\n position: absolute;\n display: none;\n}\n\n.shoppinggives-tag.roundup .roundup-checkbox-container input:checked ~ .sg-roundup-checkbox-design:after {\n display: block;\n position: relative;\n}\n\n.shoppinggives-tag.roundup .roundup-checkbox-container .sg-roundup-checkbox-design:after {\n left: 5px;\n top: 1px;\n width: 5px;\n height: 10px;\n border: solid #009581;\n border-width: 0 3px 3px 0;\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n\n.shoppinggives-tag.roundup .roundup-button-text{\n font-family: inherit;\n font-size: inherit;\n font-size: 12px;\n font-weight: bold;\n letter-spacing: 0;\n line-height: 16px;\n}\n\n.shoppinggives-tag.roundup .roundup-button-text-subdued{\n color: #9b9b9b;\n}\n\n\n.shoppinggives-tag.roundup .sg-preview {\n position: absolute;\n right: 5px;\n}\n\n.shoppinggives-tag.roundup .sg-wrapper .cc-tooltip {\n right: -115px !important;\n top: 30px;\n}\n\n.shoppinggives-tag.roundup .sg-wrapper .cc-tooltip:after {\n right: 114px !important;\n}\n\n.shoppinggives-tag.sg-theme-section-preview-active.roundup .sg-preview {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n}\n\n.shoppinggives-tag.sg-theme-section-preview-active.roundup .preview-container {\n display: block;\n position: relative;\n min-width: 140px;\n}\n\n@media (min-width:320px) { \n .shoppinggives-tag.roundup .sg-roundup-checkbox-wrapper{\n display: block;\n }\n\n}\n\n@media (min-width:481px) { \n .shoppinggives-tag.roundup .sg-roundup-checkbox-wrapper{\n display: flex;\n }\n}\n\n.sg-theme-section-preview-active {\n position: relative;\n background-image: url("https://cdn.shoppinggives.com/cc-utilities/images/widget-preview-bg.png")!important;\n background-size: cover!important;\n}\n\n.shoppinggives-tag.sg-preview-active.roundup {\n position: relative;\n background-image: url("https://cdn.shoppinggives.com/cc-utilities/images/widget-preview-bg.png")!important;\n background-size: cover!important;\n}\n\n.sg-theme-section-preview-active .shopify-theme-section-preview-popover{\n position: absolute;\n right: 5px;\n}\n\n.roundup-preview-container{\n position: absolute;\n right: 22px;\n}',""]);const h=g},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,i,a){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(o)for(var s=0;s0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=a),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),t.push(c))}},t}},81:e=>{"use strict";e.exports=function(e){return e[1]}},541:function(e,t){var n,o,i;!function(a){"use strict";var r=a.setTimeout,s=a.clearTimeout,l=a.XMLHttpRequest,p=a.XDomainRequest,c=a.ActiveXObject,d=a.EventSource,u=a.document,g=a.Promise,h=a.fetch,m=a.Response,f=a.TextDecoder,v=a.TextEncoder,w=a.AbortController;if("undefined"==typeof window||void 0===u||"readyState"in u||null!=u.body||(u.readyState="loading",window.addEventListener("load",(function(e){u.readyState="complete"}),!1)),null==l&&null!=c&&(l=function(){return new c("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),Date.now||(Date.now=function(){return(new Date).getTime()}),null==w){var b=h;h=function(e,t){var n=t.signal;return b(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then((function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}}))},w=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function y(){this.bitsNeeded=0,this.codePoint=0}y.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<=2048>>t&&e<=57344>>t&&e<=65536>>t&&e<>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var o=65533,i="",a=this.bitsNeeded,r=this.codePoint,s=0;s191||!t(r<<6|63&l,a-6,n(a,r)))&&(a=0,r=o,i+=String.fromCharCode(r)),0===a?(l>=0&&l<=127?(a=0,r=l):l>=192&&l<=223?(a=6,r=31&l):l>=224&&l<=239?(a=12,r=15&l):l>=240&&l<=247?(a=18,r=7&l):(a=0,r=o),0===a||t(r,a,n(a,r))||(a=0,r=o)):(a-=6,r=r<<6|63&l),0===a&&(r<=65535?i+=String.fromCharCode(r):(i+=String.fromCharCode(55296+(r-65535-1>>10)),i+=String.fromCharCode(56320+(r-65535-1&1023))))}return this.bitsNeeded=a,this.codePoint=r,i},null!=f&&null!=v&&function(){try{return"test"===(new f).decode((new v).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(f=y);var x=function(){};function C(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=x,this.onload=x,this.onerror=x,this.onreadystatechange=x,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=x}function k(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function S(e){for(var t=Object.create(null),n=e.split("\r\n"),o=0;o= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var c="[object Object]";function d(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},r.registerDefaultHelpers(this),s.registerDefaultDecorators(this)}d.prototype={constructor:d,logger:l.default,log:l.default.log,registerHelper:function(e,t){if(i.toString.call(e)===c){if(t)throw new a.default("Arg not supported with multiple helpers");i.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(i.toString.call(e)===c)i.extend(this.partials,e);else{if(void 0===t)throw new a.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(i.toString.call(e)===c){if(t)throw new a.default("Arg not supported with multiple decorators");i.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){p.resetLoggedProperties()}};var u=l.default.log;t.log=u,t.createFrame=i.createFrame,t.logger=l.default},function(e,t){"use strict";t.__esModule=!0,t.extend=r,t.indexOf=function(e,t){for(var n=0,o=e.length;n":">",'"':""","'":"'","`":"`","=":"="},o=/[&<>"'`=]/g,i=/[&<>"'`=]/;function a(e){return n[e]}function r(e){for(var t=1;t0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):i(this);if(n.data&&n.ids){var r=o.createFrame(n.data);r.contextPath=o.appendContextPath(n.data.contextPath,n.name),n={data:r}}return a(t,n)}))},e.exports=t.default},function(e,t,n){(function(o){"use strict";var i=n(12).default,a=n(2).default;t.__esModule=!0;var r=n(4),s=a(n(5));t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new s.default("Must pass iterator to #each");var n,a=t.fn,l=t.inverse,p=0,c="",d=void 0,u=void 0;function g(t,n,o){d&&(d.key=t,d.index=n,d.first=0===n,d.last=!!o,u&&(d.contextPath=u+t)),c+=a(e[t],{data:d,blockParams:r.blockParams([e[t],t],[u+t,null])})}if(t.data&&t.ids&&(u=r.appendContextPath(t.data.contextPath,t.ids[0])+"."),r.isFunction(e)&&(e=e.call(this)),t.data&&(d=r.createFrame(t.data)),e&&"object"==typeof e)if(r.isArray(e))for(var h=e.length;p=0?t:parseInt(e,10)}return e},log:function(e){if(e=i.lookupLevel(e),"undefined"!=typeof console&&i.lookupLevel(i.level)<=e){var t=i.methodMap[e];console[t]||(t="log");for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a=p.LAST_COMPATIBLE_COMPILER_REVISION&&t<=p.COMPILER_REVISION)){if(t{var o=n(982),i=o.template;(o.templates=o.templates||{})["view-causes.min.html"]=i({1:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=s(n,"if").call(r,null!=t?s(t,"singleNonprofit"):t,{name:"if",hash:{},fn:e.program(2,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:31},end:{line:1,column:1916}}}))?a:"")+" "+(null!=(a=s(n,"if").call(r,null!=t?s(t,"portfolios"):t,{name:"if",hash:{},fn:e.program(27,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:1917},end:{line:1,column:4811}}}))?a:"")+" "+(null!=(a=s(n,"if").call(r,null!=t?s(t,"nonprofits"):t,{name:"if",hash:{},fn:e.program(46,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:4812},end:{line:1,column:6996}}}))?a:"")+" "},2:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.lambda,l=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+(null!=(a=p(n,"if").call(r,null!=t?p(t,"onPost"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:140},end:{line:1,column:454}}}))?a:"")+" "+(null!=(a=p(n,"unless").call(r,null!=t?p(t,"onPost"):t,{name:"unless",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:455},end:{line:1,column:1173}}}))?a:"")+'
'+(null!=(a=p(n,"if").call(r,null!=(a=null!=t?p(t,"singleNonprofit"):t)?p(a,"logoUrl"):a,{name:"if",hash:{},fn:e.program(21,i,0),inverse:e.program(23,i,0),data:i,loc:{start:{line:1,column:1221},end:{line:1,column:1567}}}))?a:"")+'
'+l(s(null!=(a=null!=t?p(t,"singleNonprofit"):t)?p(a,"name"):a,t))+'
'+l(s(null!=(a=null!=t?p(t,"singleNonprofit"):t)?p(a,"city"):a,t))+(null!=(a=p(n,"if").call(r,null!=(a=null!=t?p(t,"singleNonprofit"):t)?p(a,"state"):a,{name:"if",hash:{},fn:e.program(25,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:1678},end:{line:1,column:1716}}}))?a:"")+" "+l(s(null!=(a=null!=t?p(t,"singleNonprofit"):t)?p(a,"state"):a,t))+". "+l(s(null!=(a=null!=t?p(t,"singleNonprofit"):t)?p(a,"zip"):a,t))+" | EIN: "+l(s(null!=(a=null!=t?p(t,"singleNonprofit"):t)?p(a,"displayEin"):a,t))+'
'},3:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",p=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
Thank You!
Your purchase on '+p(typeof(a=null!=(a=c(n,"storeName")||(null!=t?c(t,"storeName"):t))?a:s)===l?a.call(r,{name:"storeName",hash:{},data:i,loc:{start:{line:1,column:336},end:{line:1,column:349}}}):a)+" donated "+p(typeof(a=null!=(a=c(n,"donationAmount")||(null!=t?c(t,"donationAmount"):t))?a:s)===l?a.call(r,{name:"donationAmount",hash:{},data:i,loc:{start:{line:1,column:375},end:{line:1,column:393}}}):a)+" to support the following causes:
"},5:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onCart"):t,{name:"if",hash:{},fn:e.program(6,i,0),inverse:e.program(14,i,0),data:i,loc:{start:{line:1,column:474},end:{line:1,column:1161}}}))?a:"")+" "},6:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onRoundUp"):t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.program(9,i,0),data:i,loc:{start:{line:1,column:489},end:{line:1,column:789}}}))?a:"")+" "},7:function(e,t,n,o,i){return" Your round up donates to support the following cause "},9:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onAddOn"):t,{name:"if",hash:{},fn:e.program(10,i,0),inverse:e.program(12,i,0),data:i,loc:{start:{line:1,column:569},end:{line:1,column:781}}}))?a:"")+" "},10:function(e,t,n,o,i){return" Your add on donates to support the following cause "},12:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",p=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' '+p(typeof(a=null!=(a=c(n,"donationAmount")||(null!=t?c(t,"donationAmount"):t))?a:s)===l?a.call(r,{name:"donationAmount",hash:{},data:i,loc:{start:{line:1,column:669},end:{line:1,column:687}}}):a)+' of your '+p(typeof(a=null!=(a=c(n,"storeName")||(null!=t?c(t,"storeName"):t))?a:s)===l?a.call(r,{name:"storeName",hash:{},data:i,loc:{start:{line:1,column:727},end:{line:1,column:740}}}):a)+" purchase will be donated! "},14:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onRoundUp"):t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.program(15,i,0),data:i,loc:{start:{line:1,column:799},end:{line:1,column:1153}}}))?a:"")+" "},15:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onAddOn"):t,{name:"if",hash:{},fn:e.program(10,i,0),inverse:e.program(16,i,0),data:i,loc:{start:{line:1,column:879},end:{line:1,column:1145}}}))?a:"")+" "},16:function(e,t,n,o,i){var a,r,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=l(n,"if").call(s,null!=t?l(t,"fixedDollarDonation"):t,{name:"if",hash:{},fn:e.program(17,i,0),inverse:e.program(19,i,0),data:i,loc:{start:{line:1,column:955},end:{line:1,column:1057}}}))?a:"")+''+e.escapeExpression("function"==typeof(r=null!=(r=l(n,"donationAmount")||(null!=t?l(t,"donationAmount"):t))?r:e.hooks.helperMissing)?r.call(s,{name:"donationAmount",hash:{},data:i,loc:{start:{line:1,column:1081},end:{line:1,column:1099}}}):r)+" to support the following cause "},17:function(e,t,n,o,i){return"Your purchase donates "},19:function(e,t,n,o,i){return"Your purchase of this product donates "},21:function(e,t,n,o,i){var a,r=e.lambda,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''},23:function(e,t,n,o,i){var a,r=e.lambda,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''},25:function(e,t,n,o,i){return", "},27:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+(null!=(a=s(n,"if").call(r,null!=t?s(t,"onPost"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:2021},end:{line:1,column:2335}}}))?a:"")+" "+(null!=(a=s(n,"unless").call(r,null!=t?s(t,"onPost"):t,{name:"unless",hash:{},fn:e.program(28,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:2336},end:{line:1,column:3070}}}))?a:"")+"
"+(null!=(a=s(n,"each").call(r,null!=t?s(t,"portfolios"):t,{name:"each",hash:{},fn:e.program(40,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:3082},end:{line:1,column:4798}}}))?a:"")+"
"},28:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onCart"):t,{name:"if",hash:{},fn:e.program(29,i,0),inverse:e.program(35,i,0),data:i,loc:{start:{line:1,column:2355},end:{line:1,column:3058}}}))?a:"")+" "},29:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onRoundUp"):t,{name:"if",hash:{},fn:e.program(30,i,0),inverse:e.program(32,i,0),data:i,loc:{start:{line:1,column:2370},end:{line:1,column:2678}}}))?a:"")+" "},30:function(e,t,n,o,i){return" Your round up donates evenly across the following causes "},32:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onAddOn"):t,{name:"if",hash:{},fn:e.program(33,i,0),inverse:e.program(12,i,0),data:i,loc:{start:{line:1,column:2454},end:{line:1,column:2670}}}))?a:"")+" "},33:function(e,t,n,o,i){return" Your add on donates evenly across the following causes "},35:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onRoundUp"):t,{name:"if",hash:{},fn:e.program(36,i,0),inverse:e.program(38,i,0),data:i,loc:{start:{line:1,column:2688},end:{line:1,column:3050}}}))?a:"")+" "},36:function(e,t,n,o,i){return" Your round up will donate to support the following cause "},38:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onAddOn"):t,{name:"if",hash:{},fn:e.program(33,i,0),inverse:e.program(16,i,0),data:i,loc:{start:{line:1,column:2772},end:{line:1,column:3042}}}))?a:"")+" "},40:function(e,t,n,o,i){var a,r,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,p="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+c(typeof(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===p?r.call(s,{name:"name",hash:{},data:i,loc:{start:{line:1,column:3385},end:{line:1,column:3393}}}):r)+'
'+c(typeof(r=null!=(r=d(n,"headline")||(null!=t?d(t,"headline"):t))?r:l)===p?r.call(s,{name:"headline",hash:{},data:i,loc:{start:{line:1,column:3467},end:{line:1,column:3479}}}):r)+'
'+c(typeof(r=null!=(r=d(n,"description")||(null!=t?d(t,"description"):t))?r:l)===p?r.call(s,{name:"description",hash:{},data:i,loc:{start:{line:1,column:3576},end:{line:1,column:3591}}}):r)+'
This portfolio directly supports the following nonprofits. The donation will be split evenly amongst each nonprofit.
'+(null!=(a=d(n,"each").call(s,null!=t?d(t,"charityObjects"):t,{name:"each",hash:{},fn:e.program(41,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:3826},end:{line:1,column:4777}}}))?a:"")+"
"},41:function(e,t,n,o,i){var a,r,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,p="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+(null!=(a=d(n,"if").call(s,null!=t?d(t,"logoUrl"):t,{name:"if",hash:{},fn:e.program(42,i,0),inverse:e.program(44,i,0),data:i,loc:{start:{line:1,column:3905},end:{line:1,column:4167}}}))?a:"")+'
'+c(typeof(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===p?r.call(s,{name:"name",hash:{},data:i,loc:{start:{line:1,column:4192},end:{line:1,column:4200}}}):r)+'
'+c(typeof(r=null!=(r=d(n,"city")||(null!=t?d(t,"city"):t))?r:l)===p?r.call(s,{name:"city",hash:{},data:i,loc:{start:{line:1,column:4239},end:{line:1,column:4247}}}):r)+(null!=(a=d(n,"if").call(s,null!=t?d(t,"state"):t,{name:"if",hash:{},fn:e.program(25,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:4247},end:{line:1,column:4269}}}))?a:"")+" "+c(typeof(r=null!=(r=d(n,"state")||(null!=t?d(t,"state"):t))?r:l)===p?r.call(s,{name:"state",hash:{},data:i,loc:{start:{line:1,column:4270},end:{line:1,column:4279}}}):r)+" "+c(typeof(r=null!=(r=d(n,"zip")||(null!=t?d(t,"zip"):t))?r:l)===p?r.call(s,{name:"zip",hash:{},data:i,loc:{start:{line:1,column:4280},end:{line:1,column:4287}}}):r)+' | EIN: '+c(typeof(r=null!=(r=d(n,"displayEin")||(null!=t?d(t,"displayEin"):t))?r:l)===p?r.call(s,{name:"displayEin",hash:{},data:i,loc:{start:{line:1,column:4328},end:{line:1,column:4342}}}):r)+'
'},42:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",p=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''},44:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",p=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''},46:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+(null!=(a=s(n,"if").call(r,null!=t?s(t,"onPost"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:4938},end:{line:1,column:5252}}}))?a:"")+" "+(null!=(a=s(n,"unless").call(r,null!=t?s(t,"onPost"):t,{name:"unless",hash:{},fn:e.program(47,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:5253},end:{line:1,column:5991}}}))?a:"")+'
'+(null!=(a=s(n,"each").call(r,null!=t?s(t,"nonprofits"):t,{name:"each",hash:{},fn:e.program(41,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:6030},end:{line:1,column:6977}}}))?a:"")+"
"},47:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onCart"):t,{name:"if",hash:{},fn:e.program(29,i,0),inverse:e.program(48,i,0),data:i,loc:{start:{line:1,column:5272},end:{line:1,column:5979}}}))?a:"")+" "},48:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onRoundUp"):t,{name:"if",hash:{},fn:e.program(30,i,0),inverse:e.program(49,i,0),data:i,loc:{start:{line:1,column:5605},end:{line:1,column:5971}}}))?a:"")+" "},49:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"onAddOn"):t,{name:"if",hash:{},fn:e.program(33,i,0),inverse:e.program(50,i,0),data:i,loc:{start:{line:1,column:5689},end:{line:1,column:5963}}}))?a:"")+" "},50:function(e,t,n,o,i){var a,r,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=l(n,"if").call(s,null!=t?l(t,"fixedDollarDonation"):t,{name:"if",hash:{},fn:e.program(17,i,0),inverse:e.program(19,i,0),data:i,loc:{start:{line:1,column:5769},end:{line:1,column:5871}}}))?a:"")+''+e.escapeExpression("function"==typeof(r=null!=(r=l(n,"donationAmount")||(null!=t?l(t,"donationAmount"):t))?r:e.hooks.helperMissing)?r.call(s,{name:"donationAmount",hash:{},data:i,loc:{start:{line:1,column:5895},end:{line:1,column:5913}}}):r)+" evenly across the following causes "},52:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+(null!=(a=s(n,"if").call(r,null!=t?s(t,"onPost"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.program(29,i,0),data:i,loc:{start:{line:1,column:7154},end:{line:1,column:7786}}}))?a:"")+'
    '+(null!=(a=s(n,"each").call(r,null!=t?s(t,"nonprofits"):t,{name:"each",hash:{},fn:e.program(53,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:7872},end:{line:1,column:8900}}}))?a:"")+" "+(null!=(a=s(n,"each").call(r,null!=t?s(t,"portfolios"):t,{name:"each",hash:{},fn:e.program(60,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:8901},end:{line:1,column:10398}}}))?a:"")+"
"},53:function(e,t,n,o,i){var a,r,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,p="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
  • '+(null!=(a=d(n,"if").call(s,null!=t?d(t,"logoUrl"):t,{name:"if",hash:{},fn:e.program(54,i,0),inverse:e.program(56,i,0),data:i,loc:{start:{line:1,column:7951},end:{line:1,column:8217}}}))?a:"")+'
    '+c(typeof(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===p?r.call(s,{name:"name",hash:{},data:i,loc:{start:{line:1,column:8277},end:{line:1,column:8285}}}):r)+'
    '+c(typeof(r=null!=(r=d(n,"city")||(null!=t?d(t,"city"):t))?r:l)===p?r.call(s,{name:"city",hash:{},data:i,loc:{start:{line:1,column:8321},end:{line:1,column:8329}}}):r)+(null!=(a=d(n,"if").call(s,null!=t?d(t,"state"):t,{name:"if",hash:{},fn:e.program(25,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:8329},end:{line:1,column:8351}}}))?a:"")+" "+c(typeof(r=null!=(r=d(n,"state")||(null!=t?d(t,"state"):t))?r:l)===p?r.call(s,{name:"state",hash:{},data:i,loc:{start:{line:1,column:8352},end:{line:1,column:8361}}}):r)+" "+c(typeof(r=null!=(r=d(n,"zipCode")||(null!=t?d(t,"zipCode"):t))?r:l)===p?r.call(s,{name:"zipCode",hash:{},data:i,loc:{start:{line:1,column:8362},end:{line:1,column:8373}}}):r)+'| EIN: '+c(typeof(r=null!=(r=d(n,"displayEin")||(null!=t?d(t,"displayEin"):t))?r:l)===p?r.call(s,{name:"displayEin",hash:{},data:i,loc:{start:{line:1,column:8401},end:{line:1,column:8415}}}):r)+'
    Donation
    '+c(typeof(r=null!=(r=d(n,"donation")||(null!=t?d(t,"donation"):t))?r:l)===p?r.call(s,{name:"donation",hash:{},data:i,loc:{start:{line:1,column:8856},end:{line:1,column:8868}}}):r)+"
  • "},54:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",p=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''},56:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",p=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''},58:function(e,t,n,o,i){return"sg-hide-button"},60:function(e,t,n,o,i){var a,r,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,p="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
  • '+(null!=(a=d(n,"if").call(s,null!=t?d(t,"logoUrl"):t,{name:"if",hash:{},fn:e.program(54,i,0),inverse:e.program(56,i,0),data:i,loc:{start:{line:1,column:8980},end:{line:1,column:9246}}}))?a:"")+'
    '+c(typeof(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===p?r.call(s,{name:"name",hash:{},data:i,loc:{start:{line:1,column:9306},end:{line:1,column:9314}}}):r)+'
    This portfolio donates evenly across '+c(typeof(r=null!=(r=d(n,"charityCount")||(null!=t?d(t,"charityCount"):t))?r:l)===p?r.call(s,{name:"charityCount",hash:{},data:i,loc:{start:{line:1,column:9387},end:{line:1,column:9403}}}):r)+' nonprofits.
    '+(null!=(a=d(n,"each").call(s,null!=t?d(t,"charityObjects"):t,{name:"each",hash:{},fn:e.program(61,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:9550},end:{line:1,column:10104}}}))?a:"")+'
    Donation
    '+c(typeof(r=null!=(r=d(n,"donation")||(null!=t?d(t,"donation"):t))?r:l)===p?r.call(s,{name:"donation",hash:{},data:i,loc:{start:{line:1,column:10354},end:{line:1,column:10366}}}):r)+"
  • "},61:function(e,t,n,o,i){var a,r,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,p="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
    '+(null!=(a=d(n,"if").call(s,null!=t?d(t,"logoUrl"):t,{name:"if",hash:{},fn:e.program(54,i,0),inverse:e.program(56,i,0),data:i,loc:{start:{line:1,column:9606},end:{line:1,column:9872}}}))?a:"")+'
    '+c(typeof(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===p?r.call(s,{name:"name",hash:{},data:i,loc:{start:{line:1,column:9932},end:{line:1,column:9940}}}):r)+'
    '+c(typeof(r=null!=(r=d(n,"city")||(null!=t?d(t,"city"):t))?r:l)===p?r.call(s,{name:"city",hash:{},data:i,loc:{start:{line:1,column:9976},end:{line:1,column:9984}}}):r)+(null!=(a=d(n,"if").call(s,null!=t?d(t,"state"):t,{name:"if",hash:{},fn:e.program(25,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:9984},end:{line:1,column:10006}}}))?a:"")+" "+c(typeof(r=null!=(r=d(n,"state")||(null!=t?d(t,"state"):t))?r:l)===p?r.call(s,{name:"state",hash:{},data:i,loc:{start:{line:1,column:10007},end:{line:1,column:10016}}}):r)+" "+c(typeof(r=null!=(r=d(n,"zipCode")||(null!=t?d(t,"zipCode"):t))?r:l)===p?r.call(s,{name:"zipCode",hash:{},data:i,loc:{start:{line:1,column:10017},end:{line:1,column:10028}}}):r)+'| EIN: '+c(typeof(r=null!=(r=d(n,"displayEin")||(null!=t?d(t,"displayEin"):t))?r:l)===p?r.call(s,{name:"displayEin",hash:{},data:i,loc:{start:{line:1,column:10056},end:{line:1,column:10070}}}):r)+"
    "},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(a=s(n,"unless").call(r,null!=t?s(t,"multipleCartCauses"):t,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:0},end:{line:1,column:7008}}}))?a:"")+" "+(null!=(a=s(n,"if").call(r,null!=t?s(t,"multipleCartCauses"):t,{name:"if",hash:{},fn:e.program(52,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:7009},end:{line:1,column:10416}}}))?a:"")},useData:!0})},342:(e,t,n)=>{var o=n(982),i=o.template;(o.templates=o.templates||{})["roundup-widget.min.html"]=i({1:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"themeSectionPreview"):t,{name:"if",hash:{},fn:e.program(2,i,0),inverse:e.program(4,i,0),data:i,loc:{start:{line:1,column:23},end:{line:1,column:220}}}))?a:"")+" "},2:function(e,t,n,o,i){return'
    '},4:function(e,t,n,o,i){return'
    '},6:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"themeSectionPreview"):t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.program(9,i,0),data:i,loc:{start:{line:1,column:230},end:{line:1,column:385}}}))?a:"")+" "},7:function(e,t,n,o,i){return'
    '},9:function(e,t,n,o,i){return'
    '},11:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"campaignActive"):t,{name:"if",hash:{},fn:e.program(12,i,0),inverse:e.program(14,i,0),data:i,loc:{start:{line:1,column:427},end:{line:1,column:1191}}}))?a:"")+" "},12:function(e,t,n,o,i){return''},14:function(e,t,n,o,i){return''},16:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"isPreviewActive"):t,{name:"if",hash:{},fn:e.program(17,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:1233},end:{line:1,column:1942}}}))?a:"")+" "},17:function(e,t,n,o,i){return'
    ?
    Your customers will not see this widget until you select Start Giving on the Change Commerce App Manager
    Deactivate Preview
    When test mode is activated, your customers will be able to see that test mode is on. For this reason, it is recommended that you use test mode in staging environments. When you activate the Change Commerce app, remember to turn off test mode.
    '},19:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=s(n,"if").call(r,null!=t?s(t,"activeStateTitle"):t,{name:"if",hash:{},fn:e.program(20,i,0),inverse:e.program(22,i,0),data:i,loc:{start:{line:1,column:1973},end:{line:1,column:2243}}}))?a:"")+" "+(null!=(a=s(n,"if").call(r,null!=t?s(t,"isProductPage"):t,{name:"if",hash:{},fn:e.program(24,i,0),inverse:e.program(29,i,0),data:i,loc:{start:{line:1,column:2244},end:{line:1,column:3053}}}))?a:"")+' '+(null!=(a=s(n,"if").call(r,null!=t?s(t,"letCustomerChoose"):t,{name:"if",hash:{},fn:e.program(31,i,0),inverse:e.program(36,i,0),data:i,loc:{start:{line:1,column:3089},end:{line:1,column:3815}}}))?a:"")+" "},20:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'

    '+e.escapeExpression("function"==typeof(a=null!=(a=r(n,"activeStateTitle")||(null!=t?r(t,"activeStateTitle"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"activeStateTitle",hash:{},data:i,loc:{start:{line:1,column:2027},end:{line:1,column:2047}}}):a)+'

    '},22:function(e,t,n,o,i){return'

    Thanks for Making an Impact

    '},24:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' Every penny makes a difference. Thank you for rounding up your purchase to support '+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"multipleCauses"):t,{name:"if",hash:{},fn:e.program(25,i,0),inverse:e.program(27,i,0),data:i,loc:{start:{line:1,column:2520},end:{line:1,column:2590}}}))?a:"")+" "},25:function(e,t,n,o,i){return"Multiple Causes"},27:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(a=null!=(a=r(n,"selectedCause")||(null!=t?r(t,"selectedCause"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"selectedCause",hash:{},data:i,loc:{start:{line:1,column:2566},end:{line:1,column:2583}}}):a)},29:function(e,t,n,o,i){var a,r,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' Every penny makes a difference. Thank you for donating '+e.escapeExpression("function"==typeof(r=null!=(r=l(n,"roundUpAmount")||(null!=t?l(t,"roundUpAmount"):t))?r:e.hooks.helperMissing)?r.call(s,{name:"roundUpAmount",hash:{},data:i,loc:{start:{line:1,column:2847},end:{line:1,column:2864}}}):r)+' to support '+(null!=(a=l(n,"if").call(s,null!=t?l(t,"multipleCauses"):t,{name:"if",hash:{},fn:e.program(25,i,0),inverse:e.program(27,i,0),data:i,loc:{start:{line:1,column:2961},end:{line:1,column:3031}}}))?a:"")+" "},31:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"causeSelected"):t,{name:"if",hash:{},fn:e.program(32,i,0),inverse:e.program(34,i,0),data:i,loc:{start:{line:1,column:3116},end:{line:1,column:3549}}}))?a:"")+" "},32:function(e,t,n,o,i){return' Update Cause | Learn More '},34:function(e,t,n,o,i){return' Select Cause | Learn More '},36:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"multipleCauses"):t,{name:"if",hash:{},fn:e.program(37,i,0),inverse:e.program(39,i,0),data:i,loc:{start:{line:1,column:3561},end:{line:1,column:3807}}}))?a:"")+" "},37:function(e,t,n,o,i){return' View Causes '},39:function(e,t,n,o,i){return' Learn More '},41:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=s(n,"if").call(r,null!=t?s(t,"availableStateTitle"):t,{name:"if",hash:{},fn:e.program(42,i,0),inverse:e.program(44,i,0),data:i,loc:{start:{line:1,column:3832},end:{line:1,column:4116}}}))?a:"")+'
    Every penny makes a difference. '+(null!=(a=s(n,"if").call(r,null!=t?s(t,"isProductPage"):t,{name:"if",hash:{},fn:e.program(46,i,0),inverse:e.program(52,i,0),data:i,loc:{start:{line:1,column:4239},end:{line:1,column:5722}}}))?a:"")+' '+(null!=(a=s(n,"if").call(r,null!=t?s(t,"letCustomerChoose"):t,{name:"if",hash:{},fn:e.program(31,i,0),inverse:e.program(36,i,0),data:i,loc:{start:{line:1,column:5758},end:{line:1,column:6484}}}))?a:"")+"
    "},42:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'

    '+e.escapeExpression("function"==typeof(a=null!=(a=r(n,"availableStateTitle")||(null!=t?r(t,"availableStateTitle"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"availableStateTitle",hash:{},data:i,loc:{start:{line:1,column:3902},end:{line:1,column:3925}}}):a)+'

    '},44:function(e,t,n,o,i){return'

    Round Up Your Purchase

    '},46:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"letCustomerChoose"):t,{name:"if",hash:{},fn:e.program(47,i,0),inverse:e.program(48,i,0),data:i,loc:{start:{line:1,column:4262},end:{line:1,column:4771}}}))?a:"")+" "},47:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"causeSelected"):t,{name:"if",hash:{},fn:e.program(48,i,0),inverse:e.program(50,i,0),data:i,loc:{start:{line:1,column:4289},end:{line:1,column:4583}}}))?a:"")+" "},48:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' Round up your purchase to support '+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"multipleCauses"):t,{name:"if",hash:{},fn:e.program(25,i,0),inverse:e.program(27,i,0),data:i,loc:{start:{line:1,column:4396},end:{line:1,column:4466}}}))?a:"")+" "},50:function(e,t,n,o,i){return' Round up your purchase to support the cause of your choice. '},52:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"letCustomerChoose"):t,{name:"if",hash:{},fn:e.program(53,i,0),inverse:e.program(54,i,0),data:i,loc:{start:{line:1,column:4781},end:{line:1,column:5714}}}))?a:"")+" "},53:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"causeSelected"):t,{name:"if",hash:{},fn:e.program(54,i,0),inverse:e.program(56,i,0),data:i,loc:{start:{line:1,column:4808},end:{line:1,column:5386}}}))?a:"")+" "},54:function(e,t,n,o,i){var a,r,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' Donate '+e.escapeExpression("function"==typeof(r=null!=(r=l(n,"roundUpAmount")||(null!=t?l(t,"roundUpAmount"):t))?r:e.hooks.helperMissing)?r.call(s,{name:"roundUpAmount",hash:{},data:i,loc:{start:{line:1,column:4943},end:{line:1,column:4960}}}):r)+' to support '+(null!=(a=l(n,"if").call(s,null!=t?l(t,"multipleCauses"):t,{name:"if",hash:{},fn:e.program(25,i,0),inverse:e.program(27,i,0),data:i,loc:{start:{line:1,column:5057},end:{line:1,column:5127}}}))?a:"")+" "},56:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' Donate '+e.escapeExpression("function"==typeof(a=null!=(a=r(n,"roundUpAmount")||(null!=t?r(t,"roundUpAmount"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"roundUpAmount",hash:{},data:i,loc:{start:{line:1,column:5263},end:{line:1,column:5280}}}):a)+' to support the cause of your choice. '},58:function(e,t,n,o,i){return' Donate My Round Up '},60:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' Donate '+e.escapeExpression("function"==typeof(a=null!=(a=r(n,"roundUpAmount")||(null!=t?r(t,"roundUpAmount"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"roundUpAmount",hash:{},data:i,loc:{start:{line:1,column:6757},end:{line:1,column:6774}}}):a)+" "},62:function(e,t,n,o,i){var a,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(a=r(n,"if").call(null!=t?t:e.nullContext||{},null!=t?r(t,"isActive"):t,{name:"if",hash:{},fn:e.program(63,i,0),inverse:e.program(65,i,0),data:i,loc:{start:{line:1,column:6813},end:{line:1,column:7101}}}))?a:"")+" "},63:function(e,t,n,o,i){return'
    '},65:function(e,t,n,o,i){return'
    '},67:function(e,t,n,o,i){return'
    '},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var a,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(a=s(n,"if").call(r,null!=t?s(t,"isProductPage"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(6,i,0),data:i,loc:{start:{line:1,column:0},end:{line:1,column:393}}}))?a:"")+"
    "+(null!=(a=s(n,"if").call(r,null!=t?s(t,"themeSectionPreview"):t,{name:"if",hash:{},fn:e.program(11,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:398},end:{line:1,column:1199}}}))?a:"")+" "+(null!=(a=s(n,"unless").call(r,null!=t?s(t,"themeSectionPreview"):t,{name:"unless",hash:{},fn:e.program(16,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:1200},end:{line:1,column:1954}}}))?a:"")+" "+(null!=(a=s(n,"if").call(r,null!=t?s(t,"isActive"):t,{name:"if",hash:{},fn:e.program(19,i,0),inverse:e.program(41,i,0),data:i,loc:{start:{line:1,column:1955},end:{line:1,column:6504}}}))?a:"")+'
    '},useData:!0})}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var a=t[o]={id:o,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e,t=function(e,t,n){this.status=e,this.responseText=t,this.responseHeaders=n||[]},o=function(){function e(e,t,n){void 0===t&&(t=null),void 0===n&&(n=null),this.onSuccess=e,this.onErrorFunc=t,this.onCompletedFunc=n,this.onSuccessFunctions=[],this.onErrorFunctions=[],this.onCompletedFunctions=[],this.finalResult=null,this.onSuccessFunctions.push(e),this.onErrorFunctions.push(t),this.onCompletedFunctions.push(n)}return e.prototype.addFunction=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=null),this.onSuccessFunctions.push(e),this.onErrorFunctions.push(t),this.onCompletedFunctions.push(n)},e.prototype.onNext=function(e){this.finalResult=e;var t=[];this.onSuccessFunctions.forEach((function(n){try{n(e)}catch(e){t.push(e)}})),t.length>0&&this.onError(1==t.length?t[0]:t)},e.prototype.onCompleted=function(){var e=[];this.onCompletedFunctions.forEach((function(t){try{t&&t()}catch(t){e.push(t)}if(e.length>0)throw 1==e.length?e[0]:e}))},e.prototype.onError=function(e){var t=[];this.onErrorFunctions.forEach((function(n){try{n&&n(e)}catch(e){t.push(e)}if(t.length>0)throw 1==t.length?t[0]:t}))},e}(),i=function(){function e(e){this.result=null,this.observableFunc=e}return e.prototype.subscribeObservable=function(e){this.observableFunc(e)},e.prototype.subscribe=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=null),this.functionObserver&&this.functionObserver.finalResult?e(this.functionObserver.finalResult):this.functionObserver?this.functionObserver.addFunction(e,t,n):(this.functionObserver=new o(e,t,n),this.observableFunc(this.functionObserver))},e.prototype.map=function(t){var n=this;return new e((function(e){var i=new o((function(n){try{e.onNext(t(n))}catch(t){e.onError(t)}}),(function(t){e.onError(t)}),(function(){e.onCompleted()}));n.subscribeObservable(i)}))},e.of=function(t){return new e((function(e){e.onNext(t),e.onCompleted()}))},e}(),a=function(){return a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n=200&&c.status<400)return void i.onNext(n);p.logger&&p.logger.error("("+n.status+') Error in call to "'+e+'"',n),i.onError(n)}catch(e){return void i.onError(e)}},c.open(n,e,!0);var r=a(a({},{"Content-Type":"application/json",Accept:"application/json"}),o);Object.keys(r).forEach((function(e){c.setRequestHeader(e,r[e])})),s?"application/json"==r["Content-Type"]?c.send(JSON.stringify(s)):c.send(s):c.send()}))},e}(),s=function(){this.entity=new r(null)},l=function(){function e(e,t){this._charityBaseUrl=t,this.http=e}return e.prototype.searchCharities=function(e,t,n,o,i,a){var r=this;void 0===t&&(t=1),void 0===i&&(i=20);var s=(t-1)*i;n=n.toLowerCase();var l=isNaN(Number(o))||0==Number(o)?null:Number(o),p=isNaN(Number(o))?o.toLowerCase():null,c=this._charityBaseUrl+"/search?skip="+s+"&take="+i+"&eligibleForDonation=true";return e&&(c+="&q="+e),n&&(c+="&state="+n),p?c+="&city="+p:l&&(c+="&zip="+l),window.sgObservables.getCharities.searchedCharities[c]||(window.sgObservables.getCharities.searchedCharities[c]=this.http.Get(c,{"x-store-id":a},!1).map((function(e){if(200==e.status){var t=JSON.parse(e.responseText);return t.map((function(e){e.state&&"-1"!=e.state||(e.state=null),e.city=r.titleCase(e.city);for(var t=e.ein.toString();t.length<9;)t="0"+t;e.displayEin=t.slice(0,2)+"-"+t.slice(2)})),t}throw"Error retrieving charities from search: "+e.responseText}))),window.sgObservables.getCharities.searchedCharities[c]},e.prototype.getByEins=function(e,t){var n=this,o=this._charityBaseUrl+"/search-by-eins?eins="+e;return window.sgObservables.getCharities.charities[o]||(window.sgObservables.getCharities.charities[o]=this.http.Get(o,{"x-store-id":t},!1).map((function(e){if(200==e.status){var t=JSON.parse(e.responseText);return t.map((function(e){e.state&&"-1"!=e.state||(e.state=null),e.zip||(e.zip=null),e.city=n.titleCase(e.city);for(var t=e.ein.toString();t.length<9;)t="0"+t;e.displayEin=t.slice(0,2)+"-"+t.slice(2)})),t}throw"Error retrieving charities: "+e.responseText}))),window.sgObservables.getCharities.charities[o]},e.prototype.titleCase=function(e){if(e)return e.toLowerCase().split(" ").map((function(e){if(e)return e.replace(e[0],e[0].toUpperCase())})).join(" ")},e}(),p="change-commerce",c=function(){this.entity=new l((new s).entity,"https://charities.api.shoppinggives.com")},d=function(){return d=Object.assign||function(e){for(var t,n=1,o=arguments.length;n=1)if((null===(t=p.causes)||void 0===t?void 0:t.length)>1){var d=(c=p.causes.map((function(e){return e.name})).join(", ")).lastIndexOf(","),u=c.substr(0,d),g=c.substr(d+1);c=u+" and"+g}else c=p.causes[0].name;a=JSON.stringify({id:p.id,embedActive:p.embedded,store:p.storeName,donation:p.totalDonationAmount,causeNames:null===(o=null===(n=p.causes)||void 0===n?void 0:n.map((function(e){return e.name})))||void 0===o?void 0:o.join(", "),causeIds:null===(i=p.causes)||void 0===i?void 0:i.map((function(e){return e.id?e.id:e.ein})),causeNamesShort:null!=c?c:"",customCss:p.customCss,embedTarget:p.embedTarget,lineItems:null==p?void 0:p.lineItems,causeObjects:null==p?void 0:p.causeObjects})}}}return a||null}catch(e){this.logger.error("Error getting confirmation data from session storage",e)}return null},e.prototype.setExperimentCohort=function(e){try{e?sessionStorage.setItem("sg-cohort",JSON.stringify(e)):sessionStorage.removeItem("sg-cohort")}catch(e){this.logger.error("Error setting cause object to session storage",e)}},e.prototype.getExperimentCohort=function(){try{var e=void 0;return sessionStorage&&(e=sessionStorage.getItem("sg-cohort"))?JSON.parse(e):null}catch(e){this.logger.error("Error getting cohort experiment from session storage",e)}return null},e}(),f=function(){function t(e,t,n){void 0===e&&(e=null),void 0===n&&(n=!1),this.http=t,this.minLevelInclusive=e,this.debugMode=n}return t.setDebugModeOn=function(){t.debugMode=!0},t.prototype.debug=function(n){(t.debugMode||!this.minLevelInclusive||this.minLevelInclusive<=e.debug)&&console.log("DEBUG: "+(new Date).toISOString()+" - "+n)},t.prototype.warning=function(n,o){(t.debugMode||!this.minLevelInclusive||this.minLevelInclusive<=e.warning)&&console.log("WARNING: "+(new Date).toISOString()+" - "+n)},t.prototype.error=function(e,t){var n={};if(n.highlevelError=e,n.message=t&&t.message?t.message:JSON.stringify(t),n.stack=t&&t.stack?t.stack:null,n.sgErrorUrl=window.location.href,console.log("%c ERROR: "+(new Date).toISOString()+" - "+e+": "+JSON.stringify(n),"background: #FF0000"),navigator&&navigator.userAgent){if(navigator.userAgent.includes("ads")||navigator.userAgent.includes("bot"))return;n.userAgent=navigator.userAgent}},t.debugMode=!1,t}();!function(e){e[e.debug=0]="debug",e[e.warning=1]="warning",e[e.error=2]="error"}(e||(e={}));var v,w,b,y=function(){function e(){this.debugMode=!1,this.entity=new f(2,(new s).entity,this.debugMode)}return e.prototype.setDebugMode=function(){return this.debugMode=!0,this},e}(),x=function(){this.entity=new m((new y).entity)};!function(e){e[e.Init=0]="Init",e[e.WaitingForElement=1]="WaitingForElement",e[e.ElementNotFound=2]="ElementNotFound",e[e.FoundElement=3]="FoundElement"}(v||(v={})),function(e){e[e.loading=0]="loading",e[e.chosen=1]="chosen",e[e.unselected=2]="unselected"}(w||(w={})),function(e){e[e.default=0]="default",e[e.nonprofit=1]="nonprofit",e[e.portfolio=2]="portfolio"}(b||(b={})),window.sgObservables||(window.sgObservables={getStore:{stores:{}},getDonations:{donations:{},donationsData:{}},getCharities:{charities:{},charityData:{},searchedCharities:{}},getPortfolios:{portfolios:{},singlePortfolio:{}}});var C,k=function(){function e(e,t,n){this._storeBaseUrl=t,this.http=e}return e.prototype.getStore=function(e){var t=this;return window.sgObservables.getStore.stores[e]||(window.sgObservables.getStore.stores[e]=this.http.Get(this._storeBaseUrl+"/cc-small/none",{"x-store-id":e},!0,null).map((function(n){if(200==n.status){var o=t.toCamelCase(JSON.parse(n.responseText));return"True"===n.responseHeaders["x-preview-mode"]?o.previewWidget=!0:o.previewWidget=!1,"True"===n.responseHeaders["x-round-up-preview-mode"]?o.roundUpPreviewWidget=!0:o.roundUpPreviewWidget=!1,"true"===n.responseHeaders["x-addon-donation-preview-mode"]?o.addOnPreviewWidget=!0:o.addOnPreviewWidget=!1,o}throw"Error retrieving store w/ id "+e+" : "+n.responseText}))),window.sgObservables.getStore.stores[e]},e.prototype.removeStorePreviewCookie=function(e){return this.http.Delete(this._storeBaseUrl+"/remove-preview-mode-cookie",{"x-store-id":e},!0,{}).map((function(e){return e}))},e.prototype.removeRoundUpPreviewCookie=function(e){return this.http.Delete(this._storeBaseUrl+"/remove-round-up-preview-mode-cookie",{"x-store-id":e},!0,{}).map((function(e){return e}))},e.prototype.removeAddOnPreviewCookie=function(e){return this.http.Delete(this._storeBaseUrl+"/remove-addon-donation-preview-mode-cookie",{"x-store-id":e},!0,{}).map((function(e){return e}))},e.prototype.doesStoreHaveSingleFeaturedDefaultCauseAndSearchOff=function(e,t){return!(!t||!e.featuredCauseIds||1!==e.featuredCauseIds.length||e.featuredCauseIds[0]!==t.causeId||e.searchEnabled)},e.prototype.isCauseIdNonprofit=function(e){return!!e.match(/^[0-9/-]{1,31}$/g)},e.prototype.isCauseIdPorfolio=function(e){return!!e.match(/^[0-9a-fA-F/-]{32}$/g)},e.prototype.getLearnMoreModalType=function(e){return this.isCauseIdNonprofit(e)?b.nonprofit:this.isCauseIdPorfolio(e)?b.portfolio:void 0},e.prototype.toCamelCase=function(e){var t,n,o,i,a=this;if(e instanceof Array)return e.map((function(e){return"object"==typeof e&&(e=a.toCamelCase(e)),e}));for(n in t={},e)e.hasOwnProperty(n)&&(o=(n.charAt(0).toLowerCase()+n.slice(1)||n).toString(),((i=e[n])instanceof Array||null!==i&&i.constructor===Object)&&(i=this.toCamelCase(i)),t[o]=i);return t},e}(),S=function(){this.entity=new k((new s).entity,"https://stores.api.shoppinggives.com",(new y).entity)};!function(e){e[e.Portfolio=0]="Portfolio",e[e.Fundraiser=1]="Fundraiser",e[e.Charity=2]="Charity"}(C||(C={}));var E,I=function(){function e(e,t,n,o,i,a){void 0===e&&(e=null),void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o=null),void 0===i&&(i=null),void 0===a&&(a=null),this.causeId=e,this.causeName=t,this.causeType=n,this.categoryName=i,this.categoryId=a,o&&(this.multiplier=o)}return e.formatToCauseModel=function(t){var n=new e;return n.causeId=t.ein?t.ein:t.id.toString().replace(/-/g,""),n.causeName=t.name,t.ein?n.causeType=C.Charity:C.Portfolio,t.multiplier&&(n.multiplier=t.multiplier),n.categoryId=t.categoryId,n.categoryName=t.categoryName,n},e}(),A=function(){function e(){}return e.publishEvent=function(e,t,n){var o=new T(e,t,n),i=JSON.stringify(o);window.postMessage(i,"*")},e.subscribeToEvent=function(e,t){var n=this;return new i((function(o){n.subjectDict[e]||(n.subjectDict[e]={}),n.subjectDict[e][t]||(n.subjectDict[e][t]=[]),n.subjectDict[e][t].push(o),n.listeningStarted||(n.listeningStarted=!0,window.addEventListener("message",(function(e){var t=null;try{t=JSON.parse(e.data)}catch(e){return}t&&n.subjectDict[t.eventName]&&("*"!=t.targetWidgetId&&t.targetWidgetId?n.subjectDict[t.eventName][t.targetWidgetId].forEach((function(e){e.onNext(t.payload)})):Object.keys(n.subjectDict[t.eventName]).forEach((function(e){n.subjectDict[t.eventName][e].forEach((function(e){e.onNext(t.payload)}))})))})))}))},e.unsubscribe=function(e,t,n){this.subjectDict[e][t].indexOf(n)>=0&&this.subjectDict[e][t].splice(this.subjectDict[e][t].splice(n)),n=null},e.subjectDict={},e.listeningStarted=!1,e}(),T=function(e,t,n){this.eventName=e,this.targetWidgetId=t,this.payload=n},D=function(){function e(e,t,n,o,i,a){var r=this;this.logger=e,this.storeDataAdapter=t,this.persistenceCache=n,this.trackingDataAdapter=o,this.charitySearchAdapter=i,this.portfolioDataAdapter=a,this.previousAmountGivenBack="",this.sortCauseIds=function(e){var t=/^[0-9/-]{1,31}$/g,n={charityIds:[],portfolioIds:[]};return e.forEach((function(e){e.match(t)?n.charityIds.push(e):n.portfolioIds.push(e)})),n},this.openLearnMoreModal=function(){r.logger.warning("Learn more modal hasn't been bound so cannot open learn more modal",null)}}return e.prototype.getStore=function(e){var t=this;return new Promise((function(n,o){t.store?n(t.store):t.storeDataAdapter.getStore(e).subscribe((function(o){t.store=o,t.persistenceCache.setStoreObject(o,e),n(o)}),(function(e){o(e),t.logger.error("Error retrieving store result ",e)}))}))},e.prototype.isWidgetHidden=function(e,t,n,o){void 0===t&&(t=null),void 0===n&&(n=!1),void 0===o&&(o=null);var i=e.activeCampaigns.find((function(e){return 1===e.id}));return e.sgTrackHidden&&"false"==t?(this.logger.debug("Hiding the ".concat(o," widget since the current store is not affiliate agnostic: ").concat(JSON.stringify(e))),!0):e.isActive||e.previewWidget||n?e.isExperienceActive||e.previewWidget?!(i&&(!i||!1!==i.isActive)||e.previewWidget||n||(this.logger.debug("Hiding the ".concat(o," widget since onlinePurchaseCampaign is inactive")),0)):(this.logger.debug("Hiding the ".concat(o," widget since isExperienceActive is false")),!0):(this.logger.debug("Hiding the ".concat(o," widget, store is not active and not in preview mode or test mode ").concat(JSON.stringify(e))),!0)},e.prototype.setNewCauseTracking=function(e,t,n,o){var i=this;if(o)this.trackingDataAdapter.setCause(o,e,t).subscribe((function(e){A.publishEvent("causeUpdated","*",n)}),(function(e){i.logger.error("Error setting new cause from controller.",e)}));else var a=(new Date).getTime(),r=setInterval((function(){if(!((new Date).getTime()-a>5e3))return o?(i.trackingDataAdapter.setCause(o,e,t).subscribe((function(e){A.publishEvent("causeUpdated","*",n)}),(function(e){i.logger.error("Error setting new cause from controller.",e)})),void clearInterval(r)):void 0;clearInterval(r)}),10)},e.prototype.addEventListeners=function(e,t,n,o,i){var a=this;void 0===o&&(o=null),void 0===i&&(i=null),o&&A.subscribeToEvent("roundupUpdated",this.logger).subscribe((function(e){o(e),a.logger.debug("Roundup Updated With New Amount")}),(function(e){a.logger.error("Error handling roundupUpdated event",e)})),i&&A.subscribeToEvent("addOnUpdated",this.logger).subscribe((function(e){i(e),a.logger.debug("AddOn Updated With New Amount")}),(function(e){a.logger.error("Error handling addOnUpdated event",e)})),A.subscribeToEvent("trackingAdded",this.logger).subscribe((function(e){a.logger.debug("Retrieved tracking data from subscription"),t(e)}));var r=window.sgTracking;r&&(this.logger.debug("Retrieved tracking data from window variable"),t(r)),A.subscribeToEvent("closeCharitySelectModal",this.logger).subscribe((function(e){a.closeCharitySelectModal()})),A.subscribeToEvent("charitySelectLoaded",this.logger).subscribe((function(t){var n=Array.from(Array.from(document.querySelectorAll('[data-sg-widget-id="'+e+'"]')).map((function(e){return e.querySelector(".sg-modal-load-spinner")})).filter((function(e){return e})));n&&n.forEach((function(e){e&&(e.style.position="fixed",e.style.visibility="hidden")}))})),A.subscribeToEvent("causeUpdated",this.logger).subscribe((function(e){n(e),a.logger.debug("New Cause Selected: "+JSON.stringify(e))}),(function(e){a.logger.error("Error handling causeUpdated event",e)}))},e.prototype.handleKeyupEvent=function(e,t){e&&13==e.keyCode&&(t(),e.preventDefault(),e.stopPropagation())},e.prototype.getAddOnPLCDCauses=function(e,t){var n,o=[],i=null===(n=t.lineItems)||void 0===n?void 0:n.find((function(e){return 0==e.directDonationType}));if(i){var a=i.portfolioId?[i.portfolioId.replace(/-/g,"")]:Object.keys(i.donations);o=Object.keys(t.donationRecipients).filter((function(t){return!e.includes(t)})).filter((function(e){return a.includes(e)}))}return o},e.prototype.bindPreviewAndManagerEventListeners=function(e,t,n,o,i,a,r,s,l,c,d){var u,g=this;void 0===l&&(l=!1),void 0===c&&(c=!1),void 0===d&&(d=!1),(t||o||c)&&this.togglePreviewMode(i,a,t,null,c),i&&(u=Array.from(i.querySelectorAll(".sg-deactivate-preview"))),a&&Array.from(a).forEach((function(e){e&&Array.from(e.querySelectorAll(".sg-deactivate-preview")).forEach((function(e){u.push(e)}))})),u&&u.forEach((function(t){t.addEventListener("click",(function(){n&&(r(!1),l?g.removeRoundUpPreviewCookie(e,i,a,s):d?g.removeAddOnPreviewCookie(e,i,a,s):g.removePreviewCookie(e,i,a,s))}))}));var h=Array.from(i.querySelectorAll(".sg-app-manager"));a&&Array.from(a).forEach((function(e){Array.from(e.querySelectorAll(".sg-app-manager")).forEach((function(e){h.push(e)}))})),h&&h.forEach((function(e){e.href="".concat(window.location.origin,"/admin/apps/").concat(p,"/manager")}));var m=Array.from(i.querySelectorAll(".sg-app-manager-roundups"));a&&Array.from(a).forEach((function(e){Array.from(e.querySelectorAll(".sg-app-manager-roundups")).forEach((function(e){h.push(e)}))})),m&&m.forEach((function(e){e.href="".concat(window.location.origin,"/admin/apps/").concat(p,"/campaigns/roundups")}));var f=Array.from(i.querySelectorAll(".sg-enable-theme-sections-roundup"));a&&Array.from(a).forEach((function(e){Array.from(e.querySelectorAll(".sg-enable-theme-sections-roundup")).forEach((function(e){h.push(e)}))})),f&&f.forEach((function(e){e.href="".concat(window.location.origin,"/admin/apps/").concat(p,"/campaigns/roundups?tab=1")}));var v=Array.from(i.querySelectorAll(".sg-app-manager-addon"));a&&Array.from(a).forEach((function(e){Array.from(e.querySelectorAll(".sg-app-manager-addon")).forEach((function(e){h.push(e)}))})),v&&v.forEach((function(e){e.href="".concat(window.location.origin,"/admin/apps/").concat(p,"/campaigns/addon")}));var w=Array.from(i.querySelectorAll(".sg-enable-theme-sections-addon"));a&&Array.from(a).forEach((function(e){Array.from(e.querySelectorAll(".sg-enable-theme-sections-addon")).forEach((function(e){h.push(e)}))})),w&&w.forEach((function(e){e.href="".concat(window.location.origin,"/admin/apps/").concat(p,"/campaigns/addon?tab=1")}));var b=Array.from(i.querySelectorAll(".sg-app-manager-dop"));a&&Array.from(a).forEach((function(e){Array.from(e.querySelectorAll(".sg-app-manager-dop")).forEach((function(e){h.push(e)}))})),b&&b.forEach((function(e){e.href="".concat(window.location.origin,"/admin/apps/").concat(p,"/campaigns/purchase")}));var y=Array.from(i.querySelectorAll(".sg-enable-theme-sections-dop"));a&&Array.from(a).forEach((function(e){Array.from(e.querySelectorAll(".sg-enable-theme-sections-dop")).forEach((function(e){h.push(e)}))})),y&&y.forEach((function(e){e.href="".concat(window.location.origin,"/admin/apps/").concat(p,"/campaigns/purchase?tab=1")}))},e.prototype.bindLearnMoreModalEventListeners=function(e,t,n,o,i,a,r){var s=this,l=document.querySelector('[data-sg-widget-id="'+e+'"] .sg-learn-more-modal-overlay'),p=document.querySelector('[data-sg-widget-id="'+e+'"] .sg-learn-more-modal'),c=Array.from(t.querySelectorAll(".sg-open-learn-more")),d=Array.from(t.querySelectorAll(".sg-close-learn-more")),u=Array.from(t.querySelectorAll(".heart-logo"));n&&Array.from(n).forEach((function(e){Array.from(e.querySelectorAll(".sg-open-learn-more")).forEach((function(e){c.push(e)})),Array.from(e.querySelectorAll(".sg-close-learn-more")).forEach((function(e){d.push(e)})),Array.from(e.querySelectorAll(".heart-logo")).forEach((function(e){u.push(e)}))})),u&&u.length>0&&u.forEach((function(e){e.setAttribute("aria-label","Donate ".concat(a," at no extra cost")),e.setAttribute("alt","Donate ".concat(a," at no extra cost"))})),c&&c.length>0&&(!this.store.letShoppersChoose||this.storeDataAdapter.doesStoreHaveSingleFeaturedDefaultCauseAndSearchOff(this.store,i)?c.forEach((function(e){e.addEventListener("click",(function(){r()})),e.addEventListener("keyup",(function(e){s.handleKeyupEvent(e,(function(){return r()}))})),o&&o.isMultiple&&(e.innerHTML="View Causes")})):l&&(l.addEventListener("click",(function(e){(e.srcElement?e.srcElement:e.originalTarget).classList.contains("sg-learn-more-modal-overlay")&&s.closeLearnMoreModal()})),this.openLearnMoreModal=function(){s.addBodyModalClass(),c.forEach((function(e){e.classList.remove("closed")})),l.classList.remove("closed"),p.classList.remove("closed"),p.focus()},this.closeLearnMoreModal=function(){s.removeBodyModalClass(),l.scrollTop=0,c.forEach((function(e){e.classList.remove("closed")})),l.classList.add("closed"),p.classList.add("closed")},c.forEach((function(e){e.addEventListener("click",(function(){s.openLearnMoreModal()})),e.addEventListener("keyup",(function(e){s.handleKeyupEvent(e,(function(){return s.openLearnMoreModal()}))}))})),d&&d.forEach((function(e){e.addEventListener("click",(function(){s.closeLearnMoreModal()})),e.addEventListener("keyup",(function(e){s.handleKeyupEvent(e,(function(){return s.closeLearnMoreModal()}))}))}))))},e.prototype.bindCharitySelectModalEventListeners=function(e,t,n,o,i,a){var r=this,s=document.querySelector('[data-sg-widget-id="'+e+'"] .charity-select-modal-overlay'),l=document.querySelector('[data-sg-widget-id="'+e+'"] .charity-select-modal'),p=Array.from(n.querySelectorAll(".sg-open-charity-select"));o&&Array.from(o).forEach((function(e){Array.from(e.querySelectorAll(".sg-open-charity-select")).forEach((function(e){p.push(e)}))}));var c=Array.from(n.querySelectorAll(".sg-close-charity-select"));o&&Array.from(o).forEach((function(e){Array.from(e.querySelectorAll(".sg-close-charity-select")).forEach((function(e){c.push(e)}))})),p&&p.length>0&&(t.letShoppersChoose?s&&(this.openCharitySelectModal=function(){r.addBodyModalClass(),s.classList.remove("closed"),l.classList.remove("closed"),l.focus()},this.closeCharitySelectModal=function(){r.removeBodyModalClass(),s.scrollTop=0,s.classList.add("closed"),l.classList.add("closed")},s.addEventListener("click",(function(e){(e.srcElement?e.srcElement:e.originalTarget).classList.contains("charity-select-modal-overlay")&&r.closeCharitySelectModal()})),p.forEach((function(e){e.addEventListener("click",(function(){A.publishEvent("causeSelectClicked",null,null),r.openCharitySelectModal()})),e.addEventListener("keyup",(function(e){e&&13==e.keyCode&&(A.publishEvent("causeSelectClicked",null,null),r.openCharitySelectModal(),e.preventDefault(),e.stopPropagation())}))})),c&&c.forEach((function(e){e.addEventListener("click",(function(){r.closeCharitySelectModal()}))}))):p.forEach((function(e){e.addEventListener("click",(function(){a()})),e.addEventListener("keyup",(function(e){r.handleKeyupEvent(e,(function(){return a()}))}));var t=e.querySelector("#sg-selected"),o=n.querySelector(".cc-centered");if(i&&i.isMultiple){var s=n.querySelector(".sg-end-text");s&&(s.innerHTML=" multiple causes."),o&&(e.innerHTML="View Causes")}else t&&(e.querySelector("#sg-selected").innerHTML="Click to learn more about:"),o&&(e.innerHTML="Learn More")})))},e.prototype.togglePreviewMode=function(e,t,n,o,i){void 0===n&&(n=!1),void 0===o&&(o=!1),void 0===i&&(i=!1);var a=Array.from(e.querySelectorAll(".shoppinggives-tag")),r=[];n&&r.push("sg-preview-active"),o&&r.push("sg-test-mode"),i&&r.push("sg-theme-section-preview-active"),a.forEach((function(e){var t;(t=e.classList)[n||o||i?"add":"remove"].apply(t,r)})),t&&Array.from(t).forEach((function(e){Array.from(e.querySelectorAll(".shoppinggives-tag")).forEach((function(e){var t;(t=e.classList)[n||o||i?"add":"remove"].apply(t,r)}))}))},e.prototype.appendCharitySelectScript=function(e,t,n,o,i,a,r,s,l,p,c){return void 0===i&&(i=!1),d=this,u=void 0,h=function(){var d,u,g=this;return function(e,t){var n,o,i,a,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=2&a[0]?o.return:a[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;switch(o=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return r.label++,{value:a[1],done:!1};case 5:r.label++,o=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(!((i=(i=r.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){r=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0&&this.previousAmountGivenBack!==r?(this.logger.debug("Appending Charity Select Script"),window.sgccCharitySelectData.mId=e,window.sgccCharitySelectData.cEin=t,window.sgccCharitySelectData.cName=n,(s||l||p)&&(window.sgccCharitySelectData.contribution=r),this.previousAmountGivenBack=r,d=document.createElement("script"),u="https://cdn.shoppinggives.com/cc-utilities/choose-cause-widget-select.js?mId="+e+"&cEin="+t+"&cName="+n+"&contribution="+r+"&isSgTracking="+o+"&template-id="+a+"&trackingId="+c,l?u+="&onProduct=true":s?u+="&onRoundUp=true&multiplier=null":p&&(u+="&onAddOn=true&multiplier=null"),d.classList.add("charity-select-"+a),d.src=u,document.body.appendChild(d),this.logger.debug("Appended Charity Select Script"),[2,!0]):(this.logger.debug("Failed To Append Charity Select Script"),[2,!1])}))},new((g=void 0)||(g=Promise))((function(e,t){function n(e){try{i(h.next(e))}catch(e){t(e)}}function o(e){try{i(h.throw(e))}catch(e){t(e)}}function i(t){var i;t.done?e(t.value):(i=t.value,i instanceof g?i:new g((function(e){e(i)}))).then(n,o)}i((h=h.apply(d,u||[])).next())}));var d,u,g,h},e.prototype.getCharityAndUpdateWidget=function(e,t,n,o,i,a,r,s,l,p){var c=this;void 0===n&&(n=!1),void 0===l&&(l=!1),void 0===p&&(p=!1),this.charitySearchAdapter.getByEins(e,o).subscribe((function(e){c.handleNewCause(e[0],null,t,i,r,a,l,p),s(c.store,null,n)}),(function(e){c.logger.error("Error retrieving default charity.",e),s(c.store,null,n)}))},e.prototype.getPortfolioAndUpdateWidget=function(e,t,n,o,i,a,r,s,l){var p=this;void 0===n&&(n=!1),void 0===s&&(s=!1),void 0===l&&(l=!1),this.portfolioDataAdapter.getPortfolioById(e).subscribe((function(e){p.handleNewCause(null,e,t,o,a,i,s,l),r(p.store,null,n)}),(function(e){p.logger.error("Error retrieving default portfolio.",e),r(p.store,null,n)}))},e.prototype.handleNewCause=function(e,t,n,o,i,a,r,s){if(void 0===r&&(r=!1),void 0===s&&(s=!1),e||t){var l;l=e?new I(e.ein.toString().replace(/-/g,""),e.name,C.Charity,e.multiplier,e.categoryName,e.categoryId):new I(t.id.toString().replace(/-/g,""),t.name,C.Portfolio,t.multiplier,t.categoryName,t.categoryId),n||i(l),window.sgCurrentlySelectedCause=l,(a||r||s)&&this.setNewCauseTracking(l.causeId,l.causeName,l,o)}},e.prototype.removePreviewCookie=function(e,t,n,o){var i=this;this.storeDataAdapter.removeStorePreviewCookie(e).subscribe((function(e){i.logger.debug(e),location.reload()}),(function(e){i.logger.error("Error removing store preview cookie ",e),i.togglePreviewMode(t,n,!1),i.closeLearnMoreModal(),i.closeCharitySelectModal(),o(!1)}))},e.prototype.removeRoundUpPreviewCookie=function(e,t,n,o){var i=this;this.storeDataAdapter.removeRoundUpPreviewCookie(e).subscribe((function(e){i.logger.debug(e),location.reload()}),(function(e){i.logger.error("Error removing roundup preview cookie ",e),i.togglePreviewMode(t,n,!1),i.closeLearnMoreModal(),i.closeCharitySelectModal(),o(!1)}))},e.prototype.removeAddOnPreviewCookie=function(e,t,n,o){var i=this;this.storeDataAdapter.removeAddOnPreviewCookie(e).subscribe((function(e){i.logger.debug(e),location.reload()}),(function(e){i.logger.error("Error removing addon preview cookie ",e),i.togglePreviewMode(t,n,!1),i.closeLearnMoreModal(),i.closeCharitySelectModal(),o(!1)}))},e.prototype.checkBrowserType=function(e){navigator.userAgent.indexOf("MSIE")>=0&&e&&(e.style.padding="10px",e.innerHTML="You are currently using an outdated web browser. For security purposes, please update or switch your browser to give back on this purchase.")},e.prototype.isOnlinePurchasesActive=function(e){var t=e.activeCampaigns.find((function(e){return 1===e.id}));return e.isActive&&e.isExperienceActive&&t&&t.isActive},e.prototype.sumLineItemDonations=function(e){return e.reduce((function(e,t){return e+t.totalDonationValue}),0)},e.prototype.sumDonationRecipients=function(e){return Object.keys(e).map((function(t){return e[t]})).reduce((function(e,t){return e+t}),0)},e.prototype.addBodyModalClass=function(){this.prevScroll=window.scrollY?window.scrollY:window.pageYOffset,document.body.style.top="-"+this.prevScroll+"px",document.body.classList.add("sg-modal-open")},e.prototype.removeBodyModalClass=function(){document.body.style.top=null,document.body.classList.remove("sg-modal-open"),window.scrollTo(0,this.prevScroll)},e.prototype.closeLearnMoreModal=function(){this.logger.warning("Learn more modal hasn't been bound so cannot close learn more modal",null)},e.prototype.openCharitySelectModal=function(){this.logger.warning("Charity Select modal hasn't been bound so cannot close learn more modal",null)},e.prototype.closeCharitySelectModal=function(){this.logger.warning("Charity Select modal hasn't been bound so cannot close learn more modal",null)},e.prototype.sendEvent=function(e,t,n){A.publishEvent(e,t,n)},e.prototype.sendEventToAll=function(e,t){A.publishEvent(e,"*",t)},e}();!function(e){e.Product="Product",e.Cart="Cart",e.RoundUp="RoundUp",e.AddOn="AddOn"}(E||(E={}));var O=function(){function e(e,t,n){this._portfolioBaseUrl=t,this.http=e}return e.prototype.queryPortfolios=function(e){return window.sgObservables.getPortfolios.portfolios[e]||(window.sgObservables.getPortfolios.portfolios[e]=this.http.Get(this._portfolioBaseUrl+"/cc-query?id="+e,null,!1).map((function(e){if(200==e.status)return JSON.parse(e.responseText);throw"Error retrieving portfolios : "+e.responseText}))),window.sgObservables.getPortfolios.portfolios[e]},e.prototype.getPortfolioById=function(e){return window.sgObservables.getPortfolios.singlePortfolio[e]||(window.sgObservables.getPortfolios.singlePortfolio[e]=this.http.Get(this._portfolioBaseUrl+"/"+e,null,!1).map((function(e){if(200==e.status)return JSON.parse(e.responseText);throw"Error retrieving portfolios : "+e.responseText}))),window.sgObservables.getPortfolios.singlePortfolio[e]},e}(),M=function(){this.entity=new O((new s).entity,"https://portfolios.api.shoppinggives.com",(new y).entity)},P=function(){this.entity=new D((new y).entity,(new S).entity,(new x).entity,(new g).entity,(new c).entity,(new M).entity)},N=n(982),L=function(){function e(e,t){this.template=e,this.templateTargetId=t}return e.prototype.pageHasTarget=function(){return!0},e.prototype.applyUpdate=function(e,t){var n=this,o=this.template(e),i=null;if(i=this.getTemplateElement())return i.innerHTML=o,void t();setTimeout((function(){i?(i.innerHTML=o,t()):setTimeout((function(){(i=n.getTemplateElement())?(i.innerHTML=o,t()):setTimeout((function(){(i=n.getTemplateElement()).innerHTML=o,t()}),100)}),100)}),100)},e.prototype.getTemplateElement=function(){return"#"!=this.templateTargetId[0]&&"."!=this.templateTargetId[0]&&"["!=this.templateTargetId[0]?document.getElementById(this.templateTargetId):document.querySelector(this.templateTargetId)},e}(),U=n(231),z=(n(835),n(687)),_=function(){function e(e,t,n){this.charitySearch=e,this.portfolioDataAdapter=t,this.logger=n}return e.prototype.handleOpeningOfViewCauseModal=function(e,t,n,o){var i=this;void 0===n&&(n=null),void 0===o&&(o=!0),this.viewCausesModalElem?this.applyUpdate(e,t,n=null,o).then((function(e){o&&i.openViewCausesModal()})):this.appendViewCausesModal(e,t,n,o).then((function(e){o&&i.openViewCausesModal()}))},e.prototype.appendViewCausesModal=function(e,t,n,o){var i,a=this;return void 0===n&&(n=null),void 0===o&&(o=!0),o?((i=document.createElement("div")).innerHTML="",i.innerHTML+='
    ×
    ',i.classList.add("extra"),i.setAttribute("data-sg-widget-id","view-causes-".concat(t)),document.querySelector("body").appendChild(i)):(i=document.querySelector(".view-causes-".concat(t))).setAttribute("data-sg-widget-id","view-causes-".concat(t)),new Promise((function(i){a.applyUpdate(e,t,n=null,o).then((function(e){o&&a.openViewCausesModal()}))}))},e.prototype.applyUpdate=function(e,t,n,o){var i=this;return void 0===n&&(n=null),void 0===o&&(o=!0),new Promise((function(n){new L(N.templates["view-causes.min.html"],'[data-sg-widget-id="view-causes-'.concat(t,'"] .sg-view-causes-content')).applyUpdate(e,(function(){setTimeout((function(){if(o?(i.viewCausesModalOverlyElem=document.querySelector('[data-sg-widget-id="view-causes-'.concat(t,'"] .view-causes-modal-overlay')),i.viewCausesModalElem=document.querySelector('[data-sg-widget-id="view-causes-'.concat(t,'"] .view-causes-modal')),i.viewCausesModalCloseElem=i.viewCausesModalElem.querySelector(".sg-cancel-x"),i.viewCausesConfirmButton=i.viewCausesModalElem.querySelector(".close-view-causes-modal")):i.viewCausesModalElem=document.querySelector('[data-sg-widget-id="view-causes-'.concat(t,'"]')),i.viewCausesModalElem)if(e.singleNonprofit)i.viewCausesModalElem.classList.add("sg-view-cause-single"),e.singleNonprofit.description&&(i.viewCausesModalElem.querySelector(".nonprofitDescription").innerText=e.singleNonprofit.description);else if(e.multipleCartCauses)if(e.nonprofits&&e.portfolios){var a=e.nonprofits.concat(e.portfolios);i.setNonprofitsLearnMoreEventListeners(a,i.viewCausesModalElem,!0)}else e.nonprofits?i.setNonprofitsLearnMoreEventListeners(e.nonprofits,i.viewCausesModalElem,!0):e.portfolios&&i.setNonprofitsLearnMoreEventListeners(e.portfolios,i.viewCausesModalElem,!0);else e.nonprofits?i.setNonprofitsLearnMoreEventListeners(e.nonprofits,i.viewCausesModalElem):e.portfolios&&i.setNonprofitsLearnMoreEventListeners(e.portfolios[0].charityObjects,i.viewCausesModalElem);i.viewCausesModalCloseElem&&(i.viewCausesModalCloseElem.onclick=function(){i.closeViewCausesModal()}),i.viewCausesModalOverlyElem&&document.addEventListener("click",(function(e){e.target==i.viewCausesModalOverlyElem&&i.closeViewCausesModal()})),i.viewCausesConfirmButton&&(i.viewCausesConfirmButton.onclick=function(){i.closeViewCausesModal()}),n(!0)}),1)}))}))},e.prototype.setNonprofitsLearnMoreEventListeners=function(e,t,n){var o=this;void 0===n&&(n=!1),setTimeout((function(){for(var i,a=t.querySelector(".sg-cause-list").getElementsByClassName("sg-cause-container"),r=function(t){var r=a[t],s=r.getElementsByClassName("sg-featured-show-less"),l=r.getElementsByClassName("sg-featured-learn-more"),p=r.getElementsByClassName("sg-learn-more-wrap"),c=r.getElementsByClassName("sg-learn-more-text");if(null===(i=e[t])||void 0===i?void 0:i.ein)if(e[t].description)c[0].innerHTML=e[t].description;else{var d=r.getElementsByClassName("sg-featured-learn-more");d[0]&&(d[0].style.visibility="hidden")}l[0]&&l[0].addEventListener("click",(function(e){n?p[0].classList.contains("open-learn-more")?o.toggleCharityDescriptions(a,p[0],!1,l[0]):o.toggleCharityDescriptions(a,p[0],!0,l[0]):o.toggleCharityDescriptions(a,p[0])})),s&&s.length&&s[0].addEventListener("click",(function(e){p[0].classList.remove("open-learn-more")}))},s=0;s0?i+=" | EIN: "+o:i+="EIN: "+o,i},e.prototype.titleCase=function(e){if(e)return e.toLowerCase().split(" ").map((function(e){if(e)return e.replace(e[0],e[0].toUpperCase())})).join(" ")},e}(),pe=function(){function e(e,t,n,o,i,a,r,s,l){void 0===r&&(r=null),void 0===s&&(s=!1),this.categories=(new re).entity.getCategories(),this.baseCategoryCdnUrl="https://cdn.shoppinggives.com/charity-logos/categories/",this.showNonprofit1="-99",this.showNonprofit2="-99",this.showNonprofit3="-99",this.showNonprofit4="-99",this.storeId=e,this.storeName=t,this.preamountText=n,this.postamountText=o,this.titleText=i,this.givebackAmount=a,this.chosenCause=r,this.productsExcluded=s,this.portfolioDescription=l.description,this.portfolioName=l.name,this.portfolioImageUrl=l.imageUrl,this.numberOfNonprofitsToRemoveFromHtml=4-l.charityJson.length,this.formatNonprofits(l.charityJson)}return e.prototype.formatNonprofits=function(e){for(var t=1;t<=e.length;t++){for(var n=e[t-1],o=n.ein.toString();o.length<9;)o="0"+o;this["nonprofitEin"+t]=o.slice(0,2)+"-"+o.slice(2),this["nonprofitAddress"+t]=this.formatNonprofitAddress(n.zip,n.state,n.city,this["nonprofitEin"+t]),this["nonprofitName"+t]=n.name,this["nonprofitDescription"+t]=n.description?n.description:null,this["nonprofitLogo"+t]=n.logo?n.logo:this.baseCategoryCdnUrl+this.categories[n.categoryId],this["showNonprofit"+t]="99"}},e.prototype.formatNonprofitAddress=function(e,t,n,o){var i="";return n&&(i+=this.titleCase(n)),t&&(i+=n?", "+t+".":t),e&&(i+=" "+e),i.length>0?i+=" | EIN: "+o:i+="EIN: "+o,i},e.prototype.titleCase=function(e){if(e)return e.toLowerCase().split(" ").map((function(e){if(e)return e.replace(e[0],e[0].toUpperCase())})).join(" ")},e}();window.sgObservables||(window.sgObservables={getStore:{stores:{}},getDonations:{donations:{},donationsData:{}},getCharities:{charities:{},charityData:{},searchedCharities:{}},getPortfolios:{portfolios:{},singlePortfolio:{}}});var ce,de=function(){function e(e,t,n){this.http=e,this.productBaseUrl=t,this.createParamString=n}return e.prototype.getProductDonation=function(e,t){return window.sgObservables.getDonations.donationsData[e+JSON.stringify(t)]?i.of(window.sgObservables.getDonations.donationsData[e+JSON.stringify(t)]):(window.sgObservables.getDonations.donations[e+JSON.stringify(t)]||(window.sgObservables.getDonations.donations[e+JSON.stringify(t)]=this.http.Get(this.productBaseUrl+"/donation-by-cms-id".concat(this.createParamString.createString(t)),{"x-store-id":e},!1).map((function(n){if(200==n.status){var o=new he(JSON.parse(n.responseText));return window.sgObservables.getDonations.donationsData[e+JSON.stringify(t)]=o,o}return JSON.parse(n.responseText)}))),window.sgObservables.getDonations.donations[e+JSON.stringify(t)])},e.prototype.getCartDonation=function(e,t){return window.sgObservables.getDonations.donationsData[e+JSON.stringify(t)]?i.of(window.sgObservables.getDonations.donationsData[e+JSON.stringify(t)]):(window.sgObservables.getDonations.donations[e+JSON.stringify(t)]||(window.sgObservables.getDonations.donations[e+JSON.stringify(t)]=this.http.Post(this.productBaseUrl+"/get-multiple-donation",{"x-store-id":e},!1,t).map((function(n){if(200==n.status){var o=JSON.parse(n.responseText);return window.sgObservables.getDonations.donationsData[e+JSON.stringify(t)]=o,o}return JSON.parse(n.responseText)}))),window.sgObservables.getDonations.donations[e+JSON.stringify(t)])},e}(),ue=function(e,t,n,o){void 0===n&&(n="0"),void 0===o&&(o=""),this.cmsId=e,this.realPrice=t||null,this.providedCauseId=n,this.customerSegmentId=o},ge=function(e,t,n,o,i,a,r,s){if(void 0===n&&(n=0),void 0===o&&(o="0"),void 0===i&&(i=!1),void 0===a&&(a=""),void 0===r&&(r=!1),void 0===s&&(s=""),this.cmsIds=[],e)for(var l=0,p=e;l1||Array.isArray(t)&&t.length>1||Array.isArray(e)&&e.length>0&&Array.isArray(t)&&t.length>0)&&(this.multipleCartCauses=!0)},fe=function(){function e(){}return e.prototype.getUrlParams=function(e){if(e){for(var t=document.getElementsByTagName("script"),n=0;n=0;t--)if((document.scripts[t].src.indexOf("shoppinggives.com")>=0||document.scripts[t].src.indexOf("../")>=0||document.scripts[t].src.indexOf("http://localhost")>=0)&&(!e||document.scripts[t].src.indexOf(e)>=0))return document.scripts[t];return null},e.prototype.getCurrentScriptUrlParams=function(e){void 0===e&&(e=null);var t=this.getCurrentScript(e);return t?this.getQueryParams(t.src):null},e.prototype.getQueryParams=function(e){if(!(e=e.split("?")[1]))return{};for(var t=e.split("&"),n={},o=0;o0)&&e.isActive){var t=null;switch(e.frontEndSource){case 0:t=e.frontEndPropertyName.includes(".")?n.getWindowValueByPath(window,e.frontEndPropertyName):window[e.frontEndPropertyName],o.debug("input value: ".concat(t));break;case 1:e.frontEndPropertyName.includes(".")?(t=n.extractValue(e.frontEndPropertyName,!0),o.debug("input value: ".concat(t))):(t=n.extractValue(e.frontEndPropertyName),o.debug("input value: ".concat(t)));break;default:t=a[e.frontEndPropertyName],o.debug("input value: ".concat(t))}switch(e.valueCategory){case 0:null!=t&&null!=t&&""!=t||i.push(n.formatSegmentData(e));break;case 1:null!=t&&""!==t&&0!=t.length&&i.push(n.formatSegmentData(e));break;case 2:if(Array.isArray(t)){var r=[];t.length==e.specifiedValues.length&&(t.map((function(t){e.specifiedValues.includes(t)?(o.debug("does ".concat(e.specifiedValues," include ").concat(t,"? - true")),r.push(!0)):(o.debug("does ".concat(e.specifiedValues," include ").concat(t,"? - false")),r.push(!1))})),-1==r.indexOf(!1)&&i.push(n.formatSegmentData(e)))}else 1==e.specifiedValues.length&&e.specifiedValues[0]==(null==t?void 0:t.toString())&&i.push(n.formatSegmentData(e));break;default:if(Array.isArray(t)){var s=[];t.length==e.specifiedValues.length&&(t.map((function(t){o.debug("does ".concat(e.specifiedValues," equal ").concat(t,"?")),e.specifiedValues.includes(t)?s.push(!0):s.push(!1)})),-1==s.indexOf(!1)&&i.push(n.formatSegmentData(e)))}else 1==e.specifiedValues.length&&e.specifiedValues[0]==t&&i.push(n.formatSegmentData(e))}}}))}catch(e){o.error("unable to process customer segments",e),i=[]}return i[0]?o.debug("returning selected segment (id): ".concat(null===(t=i[0])||void 0===t?void 0:t.id)):o.debug("no segments have passed the rule checks!"),i[0]||{excludeSegment:!1}},e.prototype.formatSegmentData=function(e){return{id:e.id,excludeSegment:e.excludeSegment}},e.prototype.extractValue=function(e,t){void 0===t&&(t=!1);var n=window.dataLayer;return t?this.getNestedPropByPath(n,e):this.getNestedProp(n,e)},e.prototype.getNestedProp=function(e,t){var n=null;if(Array.isArray(e))for(var o=0;o0&&(null==n||n.forEach((function(e){var n=[];if(e.portfolioId)n.push(e.portfolioId.replace(/-/g,""));else for(var o in e.donations)n.push(o);t.forEach((function(t){var o,i;n.includes(null===(o=t.id)||void 0===o?void 0:o.toString())&&(i=t),i&&(e.directDonation?(e.portfolioId?d.customer.customerDonation+=e.totalDonationValue:d.customer.customerDonation+=e.donations[null==i?void 0:i.id.toString()],d.customer.customerCauses.push(i.name),d.customer.customerCauseIds.push(i.id)):(e.portfolioId?d.store.storeDonation+=e.totalDonationValue:d.store.storeDonation+=e.donations[null==i?void 0:i.id.toString()],d.store.storeCauses.push(i.name),d.store.storeCauseIds.push(i.id)))}))})),d.store.storeDonation=Se(null===(o=d.store)||void 0===o?void 0:o.storeDonation),d.store.storeCauses=Array.isArray(null===(i=d.store)||void 0===i?void 0:i.storeCauses)&&(null===(r=null===(a=d.store)||void 0===a?void 0:a.storeCauses)||void 0===r?void 0:r.join(", "))||"",d.customer.customerDonation=Se(null===(s=d.customer)||void 0===s?void 0:s.customerDonation),d.customer.customerCauses=Array.isArray(null===(l=d.customer)||void 0===l?void 0:l.customerCauses)&&(null===(c=null===(p=d.customer)||void 0===p?void 0:p.customerCauses)||void 0===c?void 0:c.join(", "))||""),e&&(d.causeNames=null==e?void 0:e.causeNames,d.causeIds=null==e?void 0:e.causeIds,d.donation=null==e?void 0:e.donation),window.dataLayer.push({event:"sgDonation","sg-donation-data":d})}catch(e){console.log(e)}},Se=function(e){return void 0===e&&(e=0),e>-1?"$"+e.toFixed(2):null},Ee=function(e,t,n){if(n||2===arguments.length)for(var o,i=0,a=t.length;i-1&&!this.store.searchEnabled&&!this.selectedCause?this.templateId=this.templater.initializeTemplate((function(e){i.targetElement=e,i.storeDataAdapter.isCauseIdNonprofit(i.store.defaultCauseId)?i.widgetUtilitiesService.getCharityAndUpdateWidget(i.store.defaultCauseId,i.selectedCause,i.isTestMode,i.storeId,null,!1,i.setCause.bind(i),i.updateWidget.bind(i)):i.storeDataAdapter.isCauseIdPorfolio(i.store.defaultCauseId)&&i.widgetUtilitiesService.getPortfolioAndUpdateWidget(i.store.defaultCauseId,i.selectedCause,i.isTestMode,null,!1,i.setCause.bind(i),i.updateWidget.bind(i)),i.logger.debug("Have trackingData and store, waiting on cause api call since single default cause and search off to initialize widget.")}),this.store&&this.store.customCSS?this.store.customCSS:null):this.trackingData&&this.store?(this.logger.debug("Have trackingData and store, initializing widget."),this.templateId=this.templater.initializeTemplate((function(e){i.targetElement=e,i.updateWidget(i.store,!0,i.isTestMode)}),this.store&&this.store.customCSS?this.store.customCSS:null)):this.trackingData&&!this.store?this.logger.debug("Have trackingData, waiting on store to initialize widget."):this.logger.debug("Have store, waiting on trackingData to initialize widget.")},e.prototype.productHasDonation=function(e){void 0===e&&(e={});var t=Object.keys(e).map((function(t){return e[t]}));return!!t.length&&t.reduce((function(e,t){return e+t}))>0},e.prototype.updateWidget=function(e,t,n){var o=this;if(void 0===e&&(e=null),void 0===t&&(t=!1),void 0===n&&(n=!1),this.activeSku||+this.price>0){if(this.store=e,!this.checkIfHidingWidget(this.store,this.isSgTracking,n)){if(e.previewWidget&&this.widgetUtilitiesService.isOnlinePurchasesActive(e)&&this.widgetUtilitiesService.removePreviewCookie(this.storeId,this.targetElement,document.querySelectorAll('[data-sg-widget-id="'+this.templateId+'"]'),this.toggleTemplate.bind(this)),e.previewWidget||n||e.isActive){var i=this.storeDataAdapter.doesStoreHaveSingleFeaturedDefaultCauseAndSearchOff(e,this.selectedCause);e.letShoppersChoose&&!this.storeDataAdapter.doesStoreHaveSingleFeaturedDefaultCauseAndSearchOff(e,this.selectedCause)&&this.templater.appendLearnMoreModal(i?this.storeDataAdapter.getLearnMoreModalType(this.selectedCause.causeId):b.default,t)}this.getStoreDonation(this.activeSku,this.storeId,+this.price,this.priceElementCssSelector).then((function(t){var i,a,r,s=t.result;if(t.storeDefault,o.amountGivenBack=o.formatAmountGivenBack(s.totalDonationValue,o.currency),1==s.excluded)return o.logger.debug("Product excluded, hiding product widget."),void o.toggleTemplate(!1);if(o.toggleTemplate(!0),!e.letShoppersChoose||o.storeDataAdapter.doesStoreHaveSingleFeaturedDefaultCauseAndSearchOff(e,o.selectedCause)){if(!s.donations||s.donations&&!o.productHasDonation(s.donations))return void o.logger.debug("No donations on product.");var l=[];if(s.portfolioId)l.push(s.portfolioId),o.productLevelCauseDonationData.isMultiple=!1,o.productLevelCauseDonationData.causeName=null,o.productLevelCauseDonationData.nonprofits=null,o.viewCausesModalHandler.getPortfolio(l[0],o.storeId).then((function(e){o.productLevelCauseDonationData.portfolios=e,o.productLevelCauseDonationData.causeName=e[0].name,ke({causeNames:o.productLevelCauseDonationData.causeName,causeIds:l,donation:null}),o.persistenceCache.setConfirmationData({causeIds:l,customCss:o.store.customCSS,embedTarget:o.store.targetCssSelector,embedActive:o.store.isEmbeddedConfirmation,store:o.store.name,causeNames:o.productLevelCauseDonationData.causeName,donation:o.amountGivenBack,causeNamesShort:o.productLevelCauseDonationData.causeName}),o.initializeTemplate(n)}));else{for(var p in s.donations)l.push(p);o.viewCausesModalHandler.getCharities(l.join(","),o.storeId).then((function(e){var t,i;o.productLevelCauseDonationData.portfolios=null,o.productLevelCauseDonationData.causeName=null,e&&e.length?(l.length>1?(o.productLevelCauseDonationData.isMultiple=!0,o.productLevelCauseDonationData.causeName=null):o.productLevelCauseDonationData.causeName=e[0].name,o.productLevelCauseDonationData.nonprofits=e,ke({causeNames:null===(t=null==e?void 0:e.map((function(e){return e.name})))||void 0===t?void 0:t.join(", "),causeIds:l,donation:null}),o.persistenceCache.setConfirmationData({causeIds:l,customCss:o.store.customCSS,embedTarget:o.store.targetCssSelector,embedActive:o.store.isEmbeddedConfirmation,store:o.store.name,causeNames:null===(i=e.map((function(e){return e.name})))||void 0===i?void 0:i.join(", "),donation:o.amountGivenBack,causeNamesShort:e[0].name}),o.initializeTemplate(n)):o.logger.debug("Error retrieving charity for PLCD donation.")}))}}else ke({causeNames:null===(i=o.selectedCause)||void 0===i?void 0:i.causeName,causeIds:[null===(a=o.selectedCause)||void 0===a?void 0:a.causeId],donation:null}),o.persistenceCache.setConfirmationData({causeIds:[null===(r=o.selectedCause)||void 0===r?void 0:r.causeId],customCss:o.store.customCSS,embedTarget:o.store.targetCssSelector,embedActive:o.store.isEmbeddedConfirmation,store:o.store.name,causeNames:o.selectedCause?o.selectedCause.causeName:"your cause",donation:o.amountGivenBack,causeNamesShort:o.selectedCause?o.selectedCause.causeName:null}),o.initializeTemplate(n)})).catch((function(e){o.logger.debug("Donation calculation failed, hiding product widget.")}))}}else this.logger.debug("No active sku and no price provided, not initializing product widget")},e.prototype.formatAmountGivenBack=function(e,t){return e>-1?new Intl.NumberFormat(navigator.language,{style:"currency",currency:t}).format(parseFloat(e.toFixed(2))):null},e.prototype.initializeTemplate=function(e){return void 0===e&&(e=!1),t=this,n=void 0,i=function(){var t,n;return function(e,t){var n,o,i,a,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=2&a[0]?o.return:a[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;switch(o=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return r.label++,{value:a[1],done:!1};case 5:r.label++,o=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(!((i=(i=r.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){r=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]

    Donations made to ShoppingGives Foundation - EIN: 83-1352270.
    100% of funds granted to charity. For more details on this program, visit ShoppingGives.

    Terms of Use | Privacy Policy
    ',De='
    There\'s no catch, only contributions from

    Donations made to ShoppingGives Foundation - EIN: 83-1352270.
    100% of funds granted to charity. For more details on this program, visit ShoppingGives.

    Terms of Use | Privacy Policy
    ',Oe='
    There\'s no catch, only contributions from

    Donations made to ShoppingGives Foundation - EIN: 83-1352270.
    100% of funds granted to charity. For more details on this program, visit ShoppingGives.

    Terms of Use | Privacy Policy
    ';var Me,Pe=function(){function e(e,t,n,o,i,a,r,s,l,p,c,d,u){void 0===s&&(s=!1),void 0===l&&(l=!1),void 0===p&&(p=!1),void 0===c&&(c=3e3),void 0===d&&(d=null),void 0===u&&(u=null),this.logger=e,this.templateId=t,this.targetElementCssSelector=n,this.chosenHtml=o,this.unselectedHtml=i,this.loadingHtml=a,this.css=r,this.appendAfter=s,this.appendBefore=l,this.appendInside=p,this.retryTimeoutMs=c,this.extraHtml=d,this.deeperTargeting=u,this.state=null,this.htmlState=null,this.targetElement=null,this.mainElement=null,this.extraHtmlElements=[],this.latestTemplateContract=null,this.latestTemplateUpdateCallback=null,this.latestHtmlState=null,this.isSingleCauseFeaturedDefaultAndSearchOff=!1,this.templateId||(this.templateId=this.makeid(6)),this.logger.debug("creating new html templater: "+this.templateId)}return e.prototype.resetHtmlState=function(){this.htmlState=null},e.prototype.hide=function(){this.targetElement&&(this.targetElement.style.display="none")},e.prototype.show=function(){this.targetElement&&(this.targetElement.style.display="block")},e.prototype.injectClassIntoHtml=function(e,t){return e.indexOf("shoppinggives-tag")<0?e:this.insertIntoString(e," ".concat(t," "),e.indexOf("shoppinggives-tag")+"shoppinggives-tag".length)},e.prototype.insertIntoString=function(e,t,n){return e.substr(0,n)+t+e.substr(n)},e.prototype.removeFromString=function(e,t,n){var o=e.substring(t,n);return e.replace(o,"")},e.prototype.removePortfolioNonprofitHtml=function(e,t){var n=5-t,o=e.indexOf('
  • ')),i=e.indexOf('
    ');o>0&&this.removeFromString(e,o,i+40)},e.prototype.initializeTemplate=function(e,t){var n=this;return this.logger.debug("initializing html templater: "+this.templateId),this.state=v.Init,this.targetElementCssSelector?(this.targetElement=document.querySelector(this.targetElementCssSelector),this.targetElement?(this.state=v.FoundElement,this.logger.debug("Found target element for timeplater "+this.templateId),this.appendSetup(this.targetElement,this.appendAfter,this.appendBefore,this.appendInside,this.deeperTargeting,t),null!=e&&setTimeout((function(){e(n.targetElement)}),1)):(this.state=v.WaitingForElement,this.logger.debug("Couldn't find target element for temeplater "+this.templateId+". Retrying to find it."),this.retryAppend((function(){return n.targetElement=document.querySelector(n.targetElementCssSelector),n.targetElement?n.logger.debug("Found target element for timeplater "+n.templateId):n.logger.debug("Couldn't find target element for timeplater "+n.templateId+". Retrying to find it."),null!=n.targetElement}),(function(){n.appendSetup(n.targetElement,n.appendAfter,n.appendBefore,n.appendInside,n.deeperTargeting,t),null!=e&&setTimeout((function(){e(n.targetElement)}),1)})))):(this.state=v.FoundElement,this.logger.debug("Replacing script tag with target"),this.appendSetup(null,!1,!1,!1,null,t),null!=e&&setTimeout((function(){e(n.targetElement)}),1)),this.templateId},e.prototype.retryAppend=function(e,t,n,o){var i=this;void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o=null),null==n&&(n=0),null==o&&(o=200),setTimeout((function(){var a=e();if(a)return i.state=v.FoundElement,t&&t(),void(null!=i.latestTemplateContract&&a&&i.applyUpdate(i.latestTemplateContract,i.htmlState,i.latestTemplateUpdateCallback,i.isSingleCauseFeaturedDefaultAndSearchOff));(n+=o)5e3&&(t.logger.error("Received conversion event but event wasn't acknowledged.",{}),clearInterval(s))}),100);A.subscribeToEvent("conversionAck","*").subscribe((function(){t.logger.debug("conversionAck received after "+r+"ms"),clearInterval(s)}))}}else t.logger.debug("Not appending share modal since donation is $0")}),(function(e){t.logger.error("Error listening for conversion.",e)}))},e.prototype.appendPostConversionElem=function(e,t){var n,o;if(this.domManipulator){var i="https://cdn.shoppinggives.com/cc-utilities/share_modal_entry.js?tracking-id="+e+"&sid="+this.storeId+"&test-conversion="+t;(null===(n=this.confirmationData)||void 0===n?void 0:n.embedActive)&&(null===(o=this.confirmationData)||void 0===o?void 0:o.embedTarget)?i+="&thankyou-embed-target="+this.confirmationData.embedTarget+"&embed=true":i+="&track-sale=true";var a=new Le("sg-postconv-js",[],{src:i},"script",null);this.domManipulator.append(a).asLastChildOf("body")}},e.prototype.sendEvent=function(e,t){var n={eventName:e,payload:t};this.logger.debug("Sending event: "+JSON.stringify(n)),this._window.postMessage(JSON.stringify(n),"*")},e.prototype.clearSGSession=function(){var e="sg.sid-".concat(this.storeId.replace(/-/g,"")),t="sg.sobj-".concat(this.storeId.replace(/-/g,""));sessionStorage.removeItem(e),sessionStorage.removeItem(t)},e}();!function(e){e.Klaviyo="klaviyo"}(Me||(Me={}));var _e=function(){function e(e,t,n,o,i,a){this.logger=e,this.persistenceCache=t,this.trackingDataAdapter=n,this.portfolioDataAdapter=o,this.causeDataAdapter=i,this.storeAdapter=a}return e.prototype.Load=function(e,t,n,o){var i=this;void 0===t&&(t=!1),void 0===n&&(n=!1),void 0===o&&(o=!1);var a,r=new URLSearchParams(window.location.search);r&&(a=r.get("sgcause"))&&this.persistenceCache.setUrlCause(a);var s=this.persistenceCache.getTrackingId(e);this.logger.debug("tracking id: "+s),s?this.trackingDataAdapter.getTracking(s).subscribe((function(n){n.trackingId=s,t&&(n.isTestMode=!0),window.sgTracking=new Fe(n),i.logger.debug("Found tracking, emiting trackingAdded : "+JSON.stringify(n)),A.publishEvent("trackingAdded","*",new Fe(n)),i.checkUrlParamsForCause(s,e),i.checkForKlaviyoParams(s)}),(function(a){n?i.logger.debug("Tracking is disabled."):(i.logger.warning("Error getting tracking info, starting new tracking.",a),i.trackingDataAdapter.startTracking(e,t,o).subscribe((function(n){i.persistenceCache.setTrackingId(n.trackingId,e),t&&(n.isTestMode=!0),window.sgTracking=new Fe(n),i.logger.debug("Started tracking, emiting trackingAdded : "+JSON.stringify(n)),A.publishEvent("trackingAdded","*",new Fe(n)),i.checkUrlParamsForCause(n.trackingId,e),i.checkForKlaviyoParams(n.trackingId)}),(function(e){i.logger.error("Error starting tracking after failing to get initial tracking.",e)})))})):n||this.trackingDataAdapter.startTracking(e,t,o).subscribe((function(n){i.persistenceCache.setTrackingId(n.trackingId,e),t&&(n.isTestMode=!0),window.sgTracking=new Fe(n),i.logger.debug("Started tracking, emiting trackingAdded : "+JSON.stringify(n)),A.publishEvent("trackingAdded","*",new Fe(n)),i.checkUrlParamsForCause(n.trackingId,e),i.checkForKlaviyoParams(n.trackingId)}),(function(e){i.logger.error("Error starting tracking after failing to get initial tracking.",e)}))},e.prototype.checkUrlParamsForCause=function(e,t){var n=this;this.storeAdapter.getStore(t).subscribe((function(o){if(o.hasSearchFeature){var i=n.persistenceCache.getUrlCause();i||(i=new URLSearchParams(window.location.search).get("sgcause")),i&&n.getNewCause(i,e,t)}else n.logger.debug("Not using cause from url param due to Search Enabled feature not being active")}),(function(e){n.logger.debug("Failed to retrieve store in tracking controller")}))},e.prototype.checkForKlaviyoParams=function(e){var t=this,n=this.persistenceCache.getIntegrationCache(Me.Klaviyo),o=!1;if(!n){var i=new URLSearchParams(window.location.search),a=i.get("_kx");a&&(n={_kx:a,variation:i.get("variation"),utm_content:i.get("utm_content"),utm_campaign:i.get("utm_campaign")},o=!0)}o&&this.trackingDataAdapter.setIntegrationMetadata(e,Me.Klaviyo,n).subscribe((function(){t.persistenceCache.setIntegrationCache(Me.Klaviyo,n)}))},e.prototype.getNewCause=function(e,t,n){e.match(/^[0-9/-]{1,31}$/g)?this.getNonprofit(e,t,n):e.match(/^[0-9a-fA-F/-]{32}$/g)&&this.getPortfolio(e,t)},e.prototype.getPortfolio=function(e,t){var n=this;this.portfolioDataAdapter.getPortfolioById(e).subscribe((function(e){n.setNewCause(e.id,e.name,e,t)}),(function(e){n.logger.error('Error retreiving portfolio from "sg-cause" url param',e)}))},e.prototype.getNonprofit=function(e,t,n){var o=this;this.causeDataAdapter.getByEins(e,n).subscribe((function(e){var n=e[0];n?o.setNewCause(n.ein,n.name,n,t):o.logger.error('Error retreiving nonprofit from "sg-cause" url param',null)}),(function(e){o.logger.error('Error retreiving nonprofit from "sg-cause" url param',e)}))},e.prototype.setNewCause=function(e,t,n,o){var i=this,a=I.formatToCauseModel(n);this.trackingDataAdapter.setCause(o,e,t).subscribe((function(e){i.persistenceCache.setUrlCause(null),A.publishEvent("causeUpdated","*",a)}),(function(e){i.logger.error("Error setting new cause from tracking loader.",e)}))},e}(),Fe=function(e){this.trackingId=e.TrackingId?e.TrackingId:e.trackingId?e.trackingId:null,this.isTestMode=e.IsTestMode?e.IsTestMode:e.isTestMode?e.isTestMode:null,this.causeId=e.CauseId?e.CauseId:e.causeId?e.causeId:null,this.causeName=e.CauseName?e.CauseName:e.causeName?e.causeName:null,this.causeType=e.causeType,this.categoryName=e.categoryName,this.categoryId=e.categoryId},je=function(e,t,n){if(n||2===arguments.length)for(var o,i=0,a=t.length;i-1&&!this.store.searchEnabled&&!this.selectedCause?(this.storeDataAdapter.isCauseIdNonprofit(this.store.defaultCauseId)?this.widgetUtilitiesService.getCharityAndUpdateWidget(this.store.defaultCauseId,this.selectedCause,this.isTestMode,this.storeId,this.trackingId,!0,this.setCause.bind(this),this.updateWidget.bind(this)):this.storeDataAdapter.isCauseIdPorfolio(this.store.defaultCauseId)&&this.widgetUtilitiesService.getPortfolioAndUpdateWidget(this.store.defaultCauseId,this.selectedCause,this.isTestMode,this.trackingId,!0,this.setCause.bind(this),this.updateWidget.bind(this)),this.logger.debug("Have trackingData and store, waiting on cause api call since single default cause and search off to initialize widget.")):this.trackingData&&this.store?(this.logger.debug("Have trackingData and store, initializing widget."),this.templateId=this.templater.initializeTemplate((function(e){a.targetElement=e,setTimeout((function(){window.cc_cart_items&&(a.cartSkusFull=window.cc_cart_items),a.targetElement?a.updateWidget(a.store,!0,a.isTestMode):a.logger.debug("No target element found, not initializing widget.")}),150)}),this.store&&this.store.customCSS?this.store.customCSS:null)):this.trackingData&&!this.store?this.logger.debug("Have trackingData, waiting on store to initialize widget."):this.logger.debug("Have store, waiting on trackingData to initialize widget.")},e.prototype.updateWidget=function(e,t,n,o){var i=this;if(void 0===e&&(e=null),void 0===t&&(t=!1),void 0===n&&(n=!1),void 0===o&&(o=!1),e&&(this.store=e),this.store&&!this.checkIfHidingWidget(this.store,this.isSgTracking,n)){if(e.previewWidget||n||e.isActive){var a=this.storeDataAdapter.doesStoreHaveSingleFeaturedDefaultCauseAndSearchOff(e,this.selectedCause);(e.letShoppersChoose||e.defaultDonationType===Q.Dollar&&!this.storeDataAdapter.doesStoreHaveSingleFeaturedDefaultCauseAndSearchOff(e,this.selectedCause))&&this.templater.appendLearnMoreModal(a?this.storeDataAdapter.getLearnMoreModalType(this.selectedCause.causeId):b.default,t)}e.previewWidget&&this.widgetUtilitiesService.isOnlinePurchasesActive(e)&&this.widgetUtilitiesService.removePreviewCookie(this.storeId,this.targetElement,document.querySelectorAll('[data-sg-widget-id="'+this.templateId+'"]'),this.toggleTemplate.bind(this)),this.amountGivenBack="",this.cartSkusFull&&this.cartSkusFull.length>0?this.getDonation(this.storeId,this.cartSkusFull,null,this.discount).then((function(t){var o,a,r,s,l,p,c,d;d=i.widgetUtilitiesService.sumDonationRecipients(t.donationRecipients);var u=i.formatAmountGivenBack(d,i.currency);if(!u||"$0.00"===u)return i.logger.debug("No donation found, hiding cart widget."),i.templater.hide(),void i.cache.removeConfirmationData();if(i.templater.show(),i.amountGivenBack=u,!e.letShoppersChoose||i.storeDataAdapter.doesStoreHaveSingleFeaturedDefaultCauseAndSearchOff(e,i.selectedCause))i.handlePLCDCauses(t.donationRecipients,n,e,u,t.lineItems);else{i.initializeTemplate(e,n);var g=[{name:null===(o=i.selectedCause)||void 0===o?void 0:o.causeName,id:null===(a=i.selectedCause)||void 0===a?void 0:a.causeId}];ke({causeNames:null===(r=i.selectedCause)||void 0===r?void 0:r.causeName,causeIds:[null===(s=i.selectedCause)||void 0===s?void 0:s.causeId],donation:u},g,t.lineItems),i.cache.setConfirmationData({causeIds:[null===(l=i.selectedCause)||void 0===l?void 0:l.causeId],customCss:i.store.customCSS,embedTarget:i.store.targetCssSelector,embedActive:i.store.isEmbeddedConfirmation,store:i.store.name,causeNames:null===(p=i.selectedCause)||void 0===p?void 0:p.causeName,donation:u,causeNamesShort:null===(c=i.selectedCause)||void 0===c?void 0:c.causeName,causeObjects:g,lineItems:t.lineItems})}})).catch((function(e){i.logger.debug("Donation calculation failed, hiding cart widget.")})):+this.amount>0?this.getDonation(this.storeId,null,+this.amount,this.discount).then((function(t){var o,a,r,s,l,p;p=i.widgetUtilitiesService.sumDonationRecipients(t.donationRecipients);var c=i.formatAmountGivenBack(p,i.currency);if(!c||"$0.00"===c)return i.logger.debug("No donation found, hiding cart widget."),i.templater.hide(),void i.cache.removeConfirmationData();if(i.amountGivenBack=c,i.templater.show(),e.letShoppersChoose){i.initializeTemplate(e,n);var d=[{name:null===(o=i.selectedCause)||void 0===o?void 0:o.causeName,id:null===(a=i.selectedCause)||void 0===a?void 0:a.causeId}];ke({causeNames:null===(r=i.selectedCause)||void 0===r?void 0:r.causeName,causeIds:[null===(s=i.selectedCause)||void 0===s?void 0:s.causeId],donation:c},d,t.lineItems),i.cache.setConfirmationData({causeIds:[null===(l=i.selectedCause)||void 0===l?void 0:l.causeId],customCss:i.store.customCSS,embedTarget:i.store.targetCssSelector,embedActive:i.store.isEmbeddedConfirmation,store:i.store.name,causeNames:i.selectedCause.causeName,donation:c,causeNamesShort:i.selectedCause.causeName,lineItems:t.lineItems,causeObjects:d})}else i.handlePLCDCauses(t.donationRecipients,n,e,c,t.lineItems)})).catch((function(e){i.logger.debug("Donation calculation failed, hiding cart widget.")})):this.logger.debug("No sku items or price amount given, not initializing cart widget.")}},e.prototype.handlePLCDCauses=function(e,t,n,o,i){var a=this,r=this.widgetUtilitiesService.sortCauseIds(Object.keys(e)),s=[];r.portfolioIds.length&&s.push(this.viewCausesModalHandler.getPortfolio(r.portfolioIds.join(","),this.storeId)),r.charityIds.length&&s.push(this.viewCausesModalHandler.getCharities(r.charityIds.join(","),this.storeId)),Promise.all(s).then((function(r){var s,l,p=0,c=[],d=[];r.forEach((function(t){if(p+=t.length,1===t.length&&(a.productLevelCauseDonationData.causeName=t[0].name),t[0]&&t[0].ein)for(var n=0,o=c=t;n1){var h=(u=g.map((function(e){return e.name})).join(", ")).lastIndexOf(","),m=u.substr(0,h),f=u.substr(h+1);u=m+" and"+f}else u=g.map((function(e){return e.name})).join(", ");var v=g.map((function(e){return{name:e.name,id:e.id?e.id:e.ein}}));ke({causeNames:null===(s=null==g?void 0:g.map((function(e){return e.name})))||void 0===s?void 0:s.join(", "),causeIds:g.map((function(e){return e.id?e.id:e.ein})),donation:o},v,i),a.cache.setConfirmationData({causeIds:g.map((function(e){return e.id?e.id:e.ein})),customCss:a.store.customCSS,embedTarget:a.store.targetCssSelector,embedActive:a.store.isEmbeddedConfirmation,store:a.store.name,causeNames:u,donation:o,causeNamesShort:g[0]?g[0].name:"",lineItems:i,causeObjects:v}),a.productLevelCauseDonationData.portfolios=d||null,a.productLevelCauseDonationData.nonprofits=c||null,p>1?(a.productLevelCauseDonationData.isMultiple=!0,a.productLevelCauseDonationData.causeName=null):(a.productLevelCauseDonationData.isMultiple=!1,a.productLevelCauseDonationData.causeName=null===(l=g[0])||void 0===l?void 0:l.name),a.initializeTemplate(n,t)}))},e.prototype.formatAmountGivenBack=function(e,t){return e>0?"USD"!==t?new Intl.NumberFormat(navigator.language,{style:"currency",currency:t}).format(parseFloat(e.toFixed(2))):"$"+e.toFixed(2):null},e.prototype.initializeTemplate=function(e,t){return void 0===t&&(t=!1),n=this,o=void 0,a=function(){var n,o;return function(e,t){var n,o,i,a,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=2&a[0]?o.return:a[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;switch(o=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return r.label++,{value:a[1],done:!1};case 5:r.label++,o=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(!((i=(i=r.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){r=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0){var c={};e.lineItems.forEach((function(n,o){if(1===e.lineItems[o].donationType){for(var i=0,a=Object.entries(n.donations);i0&&i[i.length-1])||6!==a[0]&&2!==a[0])){r=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=0||e.url.indexOf("/cart/add")>=0)&&((t=new XMLHttpRequest).open("GET","/cart.js"),t.send(),t.onload=function(e){})})),e}),e=this.variantId,t=this,n=XMLHttpRequest.prototype.open,$e.debug("start cart widget loading: roundups.ts"),XMLHttpRequest.prototype.open=function(){$e.debug("adding event listener for ajax calls: shopify-roundups.ts"),this.addEventListener("load",(function(){$e.debug("ajax call event triggered: shopify-roundups.ts");var n,o=this._url?this._url:this._sv_url;if(o=(o=o||this.responseUrl)||this.responseURL,this._method,o&&o.indexOf("/cart/add")>=0&&200==this.status&&((n=new XMLHttpRequest).open("GET","/cart.js"),n.send(),n.onload=function(e){}),o&&(o.indexOf("/cart/change")>=0||o.indexOf("/cart.js")>=0)&&200==this.status){if("blob"==this.responseType)return;var i=JSON.parse(this.responseText),a=i.attributes["ShoppingGives RoundUp Opt In"]?JSON.parse(i.attributes["ShoppingGives RoundUp Opt In"].toLowerCase()):null,r=t.getSubtotalWithoutDonations(i,e);if(window.sgRoundUpOptIn=a,window.sgRoundUpControllers){for(var s=0;s=200&&this.status<300?t(o.responseText):n({status:this.status,statusText:o.statusText})},o.onerror=function(){n({status:this.status,statusText:o.statusText})},o.send(e)}))},e.prototype.getCartAttribute=function(){return new Promise((function(e,t){var n=new XMLHttpRequest;n.open("GET","/cart.js",!0),n.onload=function(){this.status>=200&&this.status<300?e(n.responseText):t({status:this.status,statusText:n.statusText})},n.onerror=function(){t({status:this.status,statusText:n.statusText})},n.send()}))},e}(),Qe=function(e,t,n,o,i,a,r,s,l,p,c,d,u,g,h,m){void 0===c&&(c=null),void 0===d&&(d=null),void 0===u&&(u=null),void 0===g&&(g=null),void 0===h&&(h=!1),this.causeSelected=e,this.selectedCause=t,this.isProductPage=n,this.multipleCauses=o,this.roundUpAmount=i,this.isCartEmpty=a,this.isTestMode=r,this.isPreviewActive=s,this.isActive=l,this.letCustomerChoose=p,this.sgRoundupText=c,this.sgNoCatch=null,this.availableStateTitle=d,this.unavailableStateTitle=u,this.activeStateTitle=g,this.themeSectionPreview=h,this.campaignActive=m},et=function(e,t,n,o){return new(n||(n=Promise))((function(i,a){function r(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,s)}l((o=o.apply(e,t||[])).next())}))},tt=function(e,t){var n,o,i,a,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=2&a[0]?o.return:a[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;switch(o=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return r.label++,{value:a[1],done:!1};case 5:r.label++,o=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(!((i=(i=r.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){r=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]-1&&!this.store.searchEnabled&&!this.selectedCause)this.templateId=this.templater.initializeTemplate((function(e){a.targetElement=e,a.logger.debug("Successfully setup template"),a.targetElement?a.storeDataAdapter.isCauseIdNonprofit(a.store.defaultCauseId)?a.widgetUtilitiesService.getCharityAndUpdateWidget(a.store.defaultCauseId,a.selectedCause,a.isTestMode,a.storeId,a.trackingId,!0,a.setCause.bind(a),a.updateWidget.bind(a)):a.storeDataAdapter.isCauseIdPorfolio(a.store.defaultCauseId)&&a.widgetUtilitiesService.getPortfolioAndUpdateWidget(a.store.defaultCauseId,a.selectedCause,a.isTestMode,a.trackingId,!0,a.setCause.bind(a),a.updateWidget.bind(a)):a.logger.warning("No target element found, not initializing widget.",{})}),this.store.customCSS?this.store.customCSS:null),this.logger.debug("Have trackingData and store, waiting on cause api call since single default cause and search off to initialize widget.");else{if(!this.trackingData||!this.store)return this.trackingData&&!this.store?void this.logger.debug("Have trackingData, waiting on store to initialize widget."):void this.logger.debug("Have store, waiting on trackingData to initialize widget.");this.logger.debug("Have trackingData and store, initializing widget."),this.templateId=this.templater.initializeTemplate((function(e){a.logger.debug("Successfully setup template"),a.targetElement=e,a.targetElement?(a.logger.debug("Target Element exists"),a.updateWidget(a.store,!0,a.isTestMode)):a.logger.warning("No target element found, not initializing widget.",{})}),this.store.customCSS?this.store.customCSS:null)}this.initialized=!0}}}},e.prototype.setCause=function(e){this.selectedCause=e},e.prototype.setPreviewMode=function(e){this.previewDisabled=e},e.prototype.toggleTemplate=function(e){e?this.templater.show():this.templater.hide()},e.prototype.updateWidget=function(e,t,n){if(void 0===e&&(e=null),void 0===t&&(t=!1),void 0===n&&(n=!1),this.store)if(this.templateId)if(this.showWidget(e)){if(e&&(this.store=e,this.persistenceCache.setConfirmationData({customCss:this.store.customCSS,embedTarget:this.store.targetCssSelector,embedActive:this.store.isEmbeddedConfirmation})),e.roundUpPreviewWidget||e.isActive||this.themeSectionPreview){var o=this.storeDataAdapter.doesStoreHaveSingleFeaturedDefaultCauseAndSearchOff(e,this.selectedCause);if(e.letShoppersChoose||e.defaultDonationType===Q.Dollar&&!this.storeDataAdapter.doesStoreHaveSingleFeaturedDefaultCauseAndSearchOff(e,this.selectedCause)){var i,a=this.cartValue,r=this.productLevelCauseDonationData.isMultiple;this.logger.debug("roundUpAmount: ".concat(a));var s="$0.00"==a;i=this.productPage||"$0.00"==this.cartValue?"You Donate to make a difference":"You Donate ".concat(a," and make a difference");var l=this.roundUpsActive(e),p=new Qe(!0,null,this.productPage,r,a,s,n,null,!0,!1,i,this.availableStateTitle,this.unavailableStateTitle,this.activeStateTitle,this.themeSectionPreview,l);this.templater.appendLearnMoreModal(o?this.storeDataAdapter.getLearnMoreModalType(this.selectedCause.causeId):b.default,t,p)}}e.roundUpPreviewWidget&&this.roundUpsActive(e)&&this.widgetUtilitiesService.removeRoundUpPreviewCookie(this.storeId,this.targetElement,document.querySelectorAll('[data-sg-widget-id="'+this.templateId+'"]'),this.toggleTemplate.bind(this)),this.amountGivenBack="",this.handleCartDonation(e,n)}else this.logger.debug("Not active, not updating widget");else this.logger.debug("Tried updating widget, but no template id yet, returning.");else this.logger.debug("Tried updating widget, but no store yet, returning.")},e.prototype.handleCartDonation=function(e,t){var n=this;void 0===e&&(e=null),void 0===t&&(t=!1),this.getCartDonation(this.storeId,null,+this.amount,this.discount).then((function(o){var i;i=n.widgetUtilitiesService.sumDonationRecipients(o.donationRecipients);var a=n.formatRoundUpAmount(i);a?(n.amountGivenBack=a,e.letShoppersChoose?n.storeDataAdapter.doesStoreHaveSingleFeaturedDefaultCauseAndSearchOff(e,n.selectedCause)?n.handlePLCDCauses([n.selectedCause.causeId],t,e):n.initializeTemplate(e,t):n.handlePLCDCauses(e.defaultCauseIds,t,e)):n.logger.warning("No donation found, hiding roundup widget.",{})})).catch((function(e){n.logger.warning("Donation calculation failed, hiding roundup widget.",e)}))},e.prototype.handlePLCDCauses=function(e,t,n){var o=this,i=this.widgetUtilitiesService.sortCauseIds(e),a=[];i.portfolioIds.length&&a.push(this.viewCausesModalHandler.getPortfolio(i.portfolioIds.join(","),this.storeId)),i.charityIds.length&&a.push(this.viewCausesModalHandler.getCharities(i.charityIds.join(","),this.storeId)),Promise.all(a).then((function(e){var i,a,r=0;e.forEach((function(e){if(r+=e.length,1===e.length&&(o.productLevelCauseDonationData.causeName=e[0].name),e[0]&&e[0].ein&&(i=e),e[0]&&e[0].id)for(var t=0,n=a=e;t1&&(o.productLevelCauseDonationData.isMultiple=!0,o.productLevelCauseDonationData.causeName=null),o.initializeTemplate(n,t)}))},e.prototype.initializeTemplate=function(e,t){return void 0===t&&(t=!1),et(this,void 0,void 0,(function(){var n,o,i;return tt(this,(function(a){switch(a.label){case 0:return this.templateInitialized?[3,2]:(n=this,[4,this.widgetUtilitiesService.appendCharitySelectScript(this.storeId,this.store.defaultCauseId,this.store.defaultCauseName,this.isSgTracking,!1,this.templateId,this.cartValue,!0,!1,!1,this.trackingId)]);case 1:n.templateInitialized=a.sent(),a.label=2;case 2:return o=this.cartValue,this.logger.debug("roundUpAmount: ".concat(o)),this.store.defaultCauseId&&!this.selectedCause?(i=this.store.defaultCauseId,this.storeDataAdapter.isCauseIdNonprofit(i)?this.widgetUtilitiesService.getCharityAndUpdateWidget(i,this.selectedCause,t,this.storeId,this.trackingId,!0,this.setCause.bind(this),this.updateWidget.bind(this)):this.storeDataAdapter.isCauseIdPorfolio(i)?this.widgetUtilitiesService.getPortfolioAndUpdateWidget(i,this.selectedCause,t,this.trackingId,!0,this.setCause.bind(this),this.updateWidget.bind(this)):this.setTemplateContract(this.storeId,o,this.store.name,this.selectedCause?this.selectedCause.causeName:null,this.store.roundUpPreviewWidget,e,t)):(this.selectedCause&&(window.sgCurrentlySelectedCause=this.selectedCause),this.setTemplateContract(this.storeId,o,this.store.name,this.selectedCause?this.selectedCause.causeName:null,this.store.roundUpPreviewWidget,e,t)),[2]}}))}))},e.prototype.getCartDonation=function(e,t,n,o){var i,a=this,r=new ge(t,n,o,this.selectedCause&&this.store.letShoppersChoose?this.selectedCause.causeId:"0",!1,null===(i=this.customerSegment)||void 0===i?void 0:i.id);return new Promise((function(t,n){a.donationAdapter.getCartDonation(e,r).subscribe((function(e){t(e)}),(function(e){n(!1)}))}))},e.prototype.setTemplateContract=function(e,t,n,o,i,a,r){var s;void 0===r&&(r=!1);var l=this.storeDataAdapter.doesStoreHaveSingleFeaturedDefaultCauseAndSearchOff(a,this.selectedCause);a.letShoppersChoose||this.productLevelCauseDonationData.isMultiple||(o=this.productLevelCauseDonationData.causeName);var p=this.cartValue,c=this.roundUpOptIn,d=this.productLevelCauseDonationData.isMultiple,u=!1;(o||d)&&(u=!0);var g="$0.00"==p;this.logger.debug("roundUpAmount: ".concat(p));var h=this.roundUpsActive(a);s=new Qe(u,o,this.productPage,d,p,g,r,i,c,this.store.letShoppersChoose,null,this.availableStateTitle,this.unavailableStateTitle,this.activeStateTitle,this.themeSectionPreview,h),l&&(a.letShoppersChoose||a.defaultDonationType===Q.Dollar)?this.handleSingleCauseFeaturedAndDefault(p,o,e,a,n,i,r,""):this.applyTemplate(s,o,l,i,r,a)},e.prototype.handleSingleCauseFeaturedAndDefault=function(e,t,n,o,i,a,r,s){var l,p=this;void 0===r&&(r=!1),this.storeDataAdapter.isCauseIdNonprofit(this.selectedCause.causeId)?this.charitySearchAdapter.getByEins(this.selectedCause.causeId,this.storeId).subscribe((function(e){if(e[0]){var n=e[0],i=p.cartValue,s=p.roundUpOptIn,c=p.productLevelCauseDonationData.isMultiple,d=!1;n&&(d=!0);var u="$0.00"==i,g=p.roundUpsActive(o);l=new Qe(d,o.letShoppersChoose?n.name:t,p.productPage,c,i,u,r,a,s,!1,null,p.availableStateTitle,p.unavailableStateTitle,p.activeStateTitle,p.themeSectionPreview,g),p.applyTemplate(l,n,!0,a,r,o)}}),(function(e){p.logger.error("Error retrieving default charity.",e)})):this.storeDataAdapter.isCauseIdPorfolio(this.selectedCause.causeId)&&this.portfolioDataAdapter.getPortfolioById(this.selectedCause.causeId).subscribe((function(e){var n=p.cartValue,i=p.roundUpOptIn,s=p.productLevelCauseDonationData.isMultiple,c=!1;e&&(c=!0);var d="$0.00"==n,u=p.roundUpsActive(o);l=new Qe(c,o.letShoppersChoose?e.name:t,p.productPage,s,n,d,r,a,i,!1,null,p.availableStateTitle,p.unavailableStateTitle,p.activeStateTitle,p.themeSectionPreview,u),p.applyTemplate(l,t,!0,a,r,o)}),(function(e){p.logger.error("Error retrieving default portfolio.",e)}))},e.prototype.applyTemplate=function(e,t,n,o,i,a){var r=this;if(void 0===i&&(i=!1),this.targetElement)try{this.templater.applyUpdate(e,(function(){r.widgetUtilitiesService.checkBrowserType(r.targetElement),r.bindElementsAndClickListeners(r.targetElement,document.querySelectorAll('[data-sg-widget-id="'+r.templateId+'"]'),o,i,r.templateId,r.store,r.storeId,r.productLevelCauseDonationData,r.selectedCause,r.previewDisabled),r.elementsAndListenersBound=!0})),this.eventTracker.track("UI::Cart::Rendered",{rendered:!0})}catch(e){this.eventTracker.track("UI::Cart::Rendered",{rendered:!1,reason:e})}},e.prototype.appendViewCauseModal=function(){this.viewCausesModalHandler.handleOpeningOfViewCauseModal(new me(this.productLevelCauseDonationData.nonprofits,this.productLevelCauseDonationData.portfolios,this.cartValue,this.store.name,this.storeId,!1,!1,!0,this.store.defaultDonationType===Q.Dollar),this.templateId)},e.prototype.bindElementsAndClickListeners=function(e,t,n,o,i,a,r,s,l,p){void 0===o&&(o=!1),this.widgetUtilitiesService.bindPreviewAndManagerEventListeners(r,n,p,o,e,t,this.setPreviewMode.bind(this),this.toggleTemplate.bind(this),!0),this.widgetUtilitiesService.bindLearnMoreModalEventListeners(i,e,t,s,l,this.amountGivenBack,this.appendViewCauseModal.bind(this)),this.widgetUtilitiesService.bindCharitySelectModalEventListeners(i,a,e,t,s,this.appendViewCauseModal.bind(this)),this.bindRoundUpWidgetElements(this.targetElement)},e.prototype.handleCheckboxAction=function(){this.selectedCause||this.productLevelCauseDonationData.causeName||this.productLevelCauseDonationData.isMultiple?this.roundUpOptIn?(this.roundUpOptIn=!1,window.sgRoundUpOptIn=!1,this.updateWidget(this.store,null,this.isTestMode),this.Roundups.removeRoundUp()):(this.roundUpOptIn=!0,window.sgRoundUpOptIn=!0,this.updateWidget(this.store,null,this.isTestMode),this.Roundups.adjustRoundUp(this.roundUpQuantity)):(this.roundUpOptIn=!0,window.sgRoundUpOptIn=!0,A.publishEvent("causeSelectClicked",null,null),this.widgetUtilitiesService.openCharitySelectModal())},e.prototype.bindRoundUpWidgetElements=function(e){var t=this,n=Array.from(e.querySelectorAll(".sg-roundup-checkbox")),o=Array.from(e.querySelectorAll(".sg-roundup-checkbox-design"));n&&n.forEach((function(e){e.addEventListener("change",(function(){t.handleCheckboxAction()}))})),o&&o.forEach((function(e){e.addEventListener("keyup",(function(e){e&&13==e.keyCode&&(t.handleCheckboxAction(),e.preventDefault(),e.stopPropagation())}))}))},e.prototype.handleTrackingAddedEvent=function(e){this.trackingId=e.trackingId,this.isTestMode=e.isTestMode,this.trackingData=e,this.logger.debug("Setting isTestMode = "+this.isTestMode),this.store&&this.store.letShoppersChoose&&(e.causeId?(this.selectedCause=new I(e.causeId.toString().replace(/-/g,""),e.causeName),window.sgCurrentlySelectedCause=this.selectedCause):this.roundUpOptIn&&this.Roundups.removeRoundUp()),this.initializeWidgetIfReady()},e.prototype.handleCauseUpdatedEvent=function(e){var t,n=this,o=new I(e.causeId.toString().replace(/-/g,""),e.causeName,e.causeType,null,e.categoryName,e.categoryId),i=nt(nt([],this.store.featuredCauseIds,!0),[null!==(t=this.store.defaultCauseId)&&void 0!==t?t:""],!1),a=we(o.causeId,i,this.store.defaultCauseId);if(this.eventTracker.track(this.selectedCause?"Cause::Updated":"Cause::Set",{id:o.causeId,name:o.causeName,redemption_behavior:a,category_id:o.categoryId,category_name:o.categoryName}),this.selectedCause||(this.elementsAndListenersBound=!1),null==this.selectedCause&&this.roundUpOptIn&&this.Roundups.adjustRoundUp(this.roundUpQuantity),this.selectedCause=o,this.store)this.updateWidget(this.store,null,this.isTestMode);else var r=setInterval((function(){n.store&&(clearInterval(r),n.updateWidget(n.store,null,n.isTestMode))}),500)},e.prototype.handleRoundUpUpdatedEvent=function(e){var t=this;if(this.store)this.updateWidget(this.store,null,this.isTestMode);else var n=setInterval((function(){t.store&&(clearInterval(n),t.roundUpQuantity!=e&&(t.roundUpQuantity=e,t.cartValue=t.formatRoundUpAmount(e),t.updateWidget(t.store,null,t.isTestMode)))}),500);this.logger.debug("Roundup Updated With New Amount")},e.prototype.addWidgetEventListeners=function(){this.widgetUtilitiesService.addEventListeners(this.templateId,this.handleTrackingAddedEvent.bind(this),this.handleCauseUpdatedEvent.bind(this),this.handleRoundUpUpdatedEvent.bind(this))},e.prototype.calculateRoundUpAmount=function(e){if(0===e)return 100;var t=parseFloat(e.toFixed(2)),n=Math.ceil(t)-t,o=Math.round(100*parseFloat(n.toFixed(2)));return 0==o?100:o},e.prototype.formatRoundUpAmount=function(e){return e>-1?"$"+(e/100).toFixed(2):null},e.prototype.updateWidgetUI=function(e){var t=this.calculateRoundUpAmount(e),n=this.formatRoundUpAmount(t);this.cartValue=n,this.roundUpQuantity=t,this.roundUpOptIn=window.sgRoundUpOptIn,this.updateWidget(this.store,null,this.isTestMode)},e.prototype.setCurrentCartAmount=function(e){return et(this,void 0,void 0,(function(){var t,n,o;return tt(this,(function(i){switch(i.label){case 0:return t=this.calculateRoundUpAmount(e),n=this.formatRoundUpAmount(t),this.cartValue=n,this.roundUpQuantity=t,[4,this.Roundups.isRoundUpActive()];case 1:return o=i.sent(),window.sgRoundUpOptIn=o,this.roundUpOptIn=o,o&&this.Roundups.adjustRoundUp(this.roundUpQuantity),this.widgetUtilitiesService.sendEventToAll("roundupUpdated",t),[2]}}))}))},e}();!function(e){e[e.Init=0]="Init",e[e.WaitingForElement=1]="WaitingForElement",e[e.ElementNotFound=2]="ElementNotFound",e[e.FoundElement=3]="FoundElement"}(ot||(ot={})),function(e){e[e.default=0]="default",e[e.nonprofit=1]="nonprofit",e[e.portfolio=2]="portfolio"}(it||(it={}));var rt=function(){function e(e,t,n,o,i,a,r,s,l,p,c){void 0===i&&(i=!1),void 0===a&&(a=!1),void 0===r&&(r=!1),void 0===l&&(l=3e3),void 0===p&&(p=null),void 0===c&&(c=null),this.logger=e,this.templateId=t,this.targetElementCssSelector=n,this.css=o,this.appendAfter=i,this.appendBefore=a,this.appendInside=r,this.retryTimeoutMs=l,this.extraHtml=p,this.deeperTargeting=c,this.state=null,this.targetElement=null,this.mainElement=null,this.extraHtmlElements=[],this.latestTemplateContract=null,this.latestTemplateUpdateCallback=null,this.stateUpdated=!1,this.isSingleCauseFeaturedDefaultAndSearchOff=!1,this.templateId||(this.templateId=this.makeid(6)),this.template=s,this.logger.debug("creating new html templater: "+this.templateId)}return e.prototype.hide=function(){this.targetElement&&(this.targetElement.style.display="none")},e.prototype.show=function(){this.targetElement&&(this.targetElement.style.display="block")},e.prototype.injectClassIntoHtml=function(e,t){return e.indexOf("shoppinggives-tag")<0?e:this.insertIntoString(e," ".concat(t," "),e.indexOf("shoppinggives-tag")+"shoppinggives-tag".length)},e.prototype.insertIntoString=function(e,t,n){return e.substr(0,n)+t+e.substr(n)},e.prototype.removeFromString=function(e,t,n){var o=e.substring(t,n);return e.replace(o,"")},e.prototype.removePortfolioNonprofitHtml=function(e,t){var n=5-t,o=e.indexOf('
  • ')),i=e.indexOf('
    ');o>0&&this.removeFromString(e,o,i+40)},e.prototype.initializeTemplate=function(e,t){var n=this;return this.logger.debug("initializing html templater: "+this.templateId),this.state=ot.Init,this.targetElementCssSelector?(this.targetElement=document.querySelector(this.targetElementCssSelector),this.targetElement?(this.state=ot.FoundElement,this.logger.debug("Found target element for templater "+this.templateId),this.appendSetup(this.targetElement,this.appendAfter,this.appendBefore,this.appendInside,this.deeperTargeting,t),null!=e&&setTimeout((function(){e(n.targetElement)}),1)):(this.state=ot.WaitingForElement,this.logger.debug("Couldn't find target element for temeplater "+this.templateId+". Retrying to find it."),this.retryAppend((function(){return n.targetElement=document.querySelector(n.targetElementCssSelector),n.targetElement?n.logger.debug("Found target element for timeplater "+n.templateId):n.logger.debug("Couldn't find target element for timeplater "+n.templateId+". Retrying to find it."),null!=n.targetElement}),(function(){n.appendSetup(n.targetElement,n.appendAfter,n.appendBefore,n.appendInside,n.deeperTargeting,t),null!=e&&setTimeout((function(){e(n.targetElement)}),1)})))):(this.state=ot.FoundElement,this.logger.debug("Replacing script tag with target"),this.appendSetup(null,!1,!1,!1,null,t),null!=e&&setTimeout((function(){e(n.targetElement)}),1)),this.templateId},e.prototype.retryAppend=function(e,t,n,o){var i=this;void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o=null),null==n&&(n=0),null==o&&(o=200),setTimeout((function(){var a=e();if(a)return i.state=ot.FoundElement,t&&t(),void(null!=i.latestTemplateContract&&a&&i.applyUpdate(i.latestTemplateContract,i.latestTemplateUpdateCallback));(n+=o) We noticed you’ve recently updated your theme. Toggle on the ShoppingGives App Embed to see your new widget."),document.body.appendChild(a)}}!function(){var e,t,n,o,i,a,r,s,l;if(window.sgScriptLoaded=!0,pt.debug("shopify script loading"),localStorage&&"true"==localStorage.getItem("shoppinggives-debug")&&f.setDebugModeOn(),!window.ccShopifyInit){window.ccShopifyInit=!0,ct();try{if(String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.indexOf(e,t)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.substring(t-e.length,t)===e}),location.pathname.startsWith("/admin")||location.pathname.startsWith("/password"))return;var p=(new fe).getCurrentScriptUrlParams("shopify.js"),d=p["store-id"],u=p["thankyou-embed-target"],h=null===(e=window.Shopify)||void 0===e?void 0:e.theme.role,m=null===(t=window.Shopify)||void 0===t?void 0:t.theme.name,v=null===(n=window.Shopify)||void 0===n?void 0:n.theme.id,w=null!==(a=null===(i=null===(o=null===window||void 0===window?void 0:window.Shopify)||void 0===o?void 0:o.currency)||void 0===i?void 0:i.active)&&void 0!==a?a:"USD",b=null!==(l=null===(s=null===(r=null===window||void 0===window?void 0:window.Shopify)||void 0===r?void 0:r.currency)||void 0===s?void 0:s.rate)&&void 0!==l?l:1,y={shopifyThemeId:v,shopifyThemeName:m,shopifyThemeType:h};if(window.sgGlobalVars){if(null!=window.sgGlobalVars.error&&-1==window.location.href.indexOf("/checkouts/"))return void pt.error("sgGlobalVars error: ".concat(window.sgGlobalVars.error),y)}else if(-1==window.location.href.indexOf("/checkouts/"))return void pt.error("sgGlobalVars not found, cannot append widget without them",y);var C=window.sgGlobalVars,k=(new S).entity,E=(new g).entity,I=(new x).entity,T=(new M).entity,D=(new c).entity,O=(new Je).entity,L=(new c).entity,U=new URLSearchParams(window.location.search),z=void 0;U&&(z=U.get("sgcause"))&&I.setUrlCause(z),k.getStore(d).subscribe((function(e){(e.isActive||e.isExperienceActive||e.previewWidget||e.roundUpPreviewWidget)&&(function(){try{if(window.location.pathname.endsWith("/thank_you")||window.location.pathname.indexOf("/orders/")>=0)return;var e=I.getTrackingId(C.storeId);e&&ft(e),A.subscribeToEvent("trackingAdded",pt).subscribe((function(e){ft(e)}))}catch(e){pt.debug("SHOPIFY: Error injecting tracking into input: "+e.message)}}(),function(){try{if(window.location.pathname.endsWith("/thank_you")||window.location.pathname.indexOf("/orders/")>=0)return;var t=!1,n=!1;if(e.isActive&&e.isExperienceActive||e.previewWidget||e.roundUpPreviewWidget||(n=!0),e.isActive&&e.isExperienceActive||(t=!0),window.location.pathname.endsWith("/thank_you"))return;new _e(pt,I,E,T,D,k).Load(C.storeId,t,n)}catch(e){pt.debug("SHOPIFY: Error loading tracking: "+e.message)}}(),function(){var t,n,o,i;try{if(ct(),0!==((null===(t=C.targetInfo.product)||void 0===t?void 0:t.integration)?C.targetInfo.product.integration:0))return void pt.debug("Not loading auto placed product widget due to integration settings.");if(!e.previewWidget&&!e.isActive||!e.previewWidget&&!e.isExperienceActive)return;if(window.location.pathname.endsWith("/thank_you")||location.pathname.endsWith("/cart")||window.location.pathname.indexOf("/orders/")>=0)return;if(!C.currentProduct)return;if(!C.targetInfo.product.isOn)return void pt.debug("Product widget is turned off");var a="",r="",s="",l="";switch(C.targetInfo.product.type){case 0:a=G,r=q,s=W,l=te.Z;break;case 1:a=V,r=J,s=Y,l=ne.Z;break;case 2:a=Z,r=$,s=X,l=oe.Z;break;default:throw Error("No template added for type: "+C.targetInfo.product.type)}var p,c,d,u="";if(p=C.targetInfo.product.isAfterElem,c=C.targetInfo.product.isBeforeElem,d=!!(null===(n=C.targetInfo.product)||void 0===n?void 0:n.isInsideElem)&&C.targetInfo.product.isInsideElem,null===(o=C.targetInfo.product)||void 0===o?void 0:o.useCartButton){for(var g=!1,h=document.querySelectorAll('form[action="/cart/add"] [type="submit"]'),m=0;m=0||h[m].attributes.value&&h[m].attributes.value.value.toLowerCase().toString().indexOf("cart")>=0){g=!0,h[m].setAttribute("data-sg-product-target","");break}if(!g){var f=document.querySelectorAll('form[action="/cart/add"] button');for(m=0;m=0){g=!0,f[m].setAttribute("data-sg-product-target","");break}}u="[data-sg-product-target]"}else u=C.targetInfo.product.customSelector;history.pushState=(i=history.pushState,function(){var e=i.apply(this,arguments);return window.dispatchEvent(new CustomEvent("pushState")),window.dispatchEvent(new CustomEvent("locationchange")),e}),history.replaceState=function(e){return function(){var t=e.apply(this,arguments);return window.dispatchEvent(new CustomEvent("replaceState")),window.dispatchEvent(new CustomEvent("locationchange")),t}}(history.replaceState),window.addEventListener("popstate",(function(){window.dispatchEvent(new Event("locationchange"))}));var v=C.storeId,y=gt(),x=y?mt(y,C.currentProduct.variants):C.currentProduct.variants[0],S=(x.price/100).toString(),E=new Ie(v,S,null,k,new Pe(pt,null,u,a,r,s,l,p,c,d,2e3,[K]),pt,new Ne,I,x.id.toString(),D,T,O,(new F).entity,(new P).entity);window.addEventListener("locationchange",(function(){var e=mt(gt(),C.currentProduct.variants);E.setSubitem(e.id,(e.price/100).toString())})),w&&"USD"!==w&&(pt.debug("DEBUG: Currency set to: ".concat(w)),E.setCurrency(w,b)),E.run()}catch(e){pt.debug("SHOPIFY: Error adding product widget: "+e.message)}}(),function(){var t,n,o,i,a;try{ct();var r=void 0!==C.targetInfo.cart.integration&&C.targetInfo.cart.integration;if(!e.previewWidget&&!e.isActive||!e.previewWidget&&!e.isExperienceActive||0===r&&e.previewWidget&&!C.targetInfo.cart.isOn)return;if(window.location.pathname.endsWith("/thank_you")||window.location.pathname.indexOf("/orders/")>=0)return;if(!1===r)return void pt.debug("Store has old metafields, cart auto-placement is off by default. Not running controller");if(0!==r)return void pt.debug("Not loading auto placed cart widget due to integration settings.");if(!(0!=r||e.previewWidget||C.targetInfo.cart.isOn&&-1!==window.location.pathname.indexOf("/cart")))return void pt.debug("Auto placed Cart is off or we are not on a cart page. Not running controller");var s=function(e){window.cc_cart_items=[];for(var t=0;t=0||e.url.indexOf("/cart/add")>=0)&&((t=new XMLHttpRequest).open("GET","/cart.js"),t.send(),t.onload=function(e){})})),e}),o=XMLHttpRequest.prototype.open,XMLHttpRequest.prototype.open=function(){this.addEventListener("load",(function(){var e;if(this._url&&this._url.indexOf("/cart/add")>=0&&((e=new XMLHttpRequest).open("GET","/cart.js"),e.send(),e.onload=function(e){},pt.debug("Getting cart...")),this._url&&(this._url.startsWith("/cart/change")||this._url.startsWith("/cart.js"))&&200==this.status){if("blob"==this.responseType)return;var t=JSON.parse(this.responseText);lt(C.cart.items,t.items)?pt.debug("cart items are equal, don't update widget"):(pt.debug("cart items are not equal, updating widget"),C.cart=t,s(C.cart.items))}})),o?o.apply(this,arguments):pt.warning("origOpen is null",{})};var x=setInterval((function(){var e=document.querySelector(g);e&&(ut(e.parentElement,(function(e){for(var t=0;t0)for(var n=0;n=0||e[t].removedNodes[n].querySelector(".sg-widget"))&&setTimeout((function(){y.run()}),2e3)})),clearInterval(x))}),100);s(C.cart.items),setTimeout((function(){y.run(),null==window.sgCartControllers&&(window.sgCartControllers=[]),window.sgCartControllers.push(y)}),2e3)}catch(e){pt.debug("SHOPIFY: Error adding cart widget: "+e.message)}}(),function(){try{if(ct(),!e.previewWidget&&!e.isActive||!e.previewWidget&&!e.isExperienceActive)return;if(window.location.pathname.endsWith("/thank_you")||window.location.pathname.indexOf("/orders/")>=0)return;var t=void 0===C.targetInfo.cart.integration?0:C.targetInfo.cart.integration,n=void 0===C.targetInfo.cart.sideCartOn?C.targetInfo.cart.isOn:C.targetInfo.cart.sideCartOn;if(0!==t||!n||window.location.pathname.indexOf("/cart")>0)return void pt.debug("Auto placed Side Cart is off");var o=function(e){window.cc_cart_items=[];for(var t=0;t=0||e.url.indexOf("/cart/add")>=0)&&((t=new XMLHttpRequest).open("GET","/cart.js"),t.send(),t.onload=function(e){})})),e}),u=XMLHttpRequest.prototype.open,XMLHttpRequest.prototype.open=function(){this.addEventListener("load",(function(){var e;if(this._url&&this._url.indexOf("/cart/add")>=0&&((e=new XMLHttpRequest).open("GET","/cart.js"),e.send(),e.onload=function(e){},pt.debug("Getting cart...")),this._url&&(this._url.startsWith("/cart/change")||this._url.startsWith("/cart.js"))&&200==this.status){if("blob"==this.responseType)return;var t=JSON.parse(this.responseText);lt(C.cart.items,t.items)?pt.debug("cart items are equal, don't update widget"):(pt.debug("cart items are not equal, updating widget"),C.cart=t,o(C.cart.items))}})),u?u.apply(this,arguments):pt.warning("origOpen is null",{})};var d=setInterval((function(){var e=document.querySelector(l);e&&(ut(e.parentElement,(function(e){for(var t=0;t0)for(var n=0;n=0||e[t].removedNodes[n].querySelector(".sg-widget"))&&setTimeout((function(){w&&"USD"!==w&&(pt.debug("DEBUG: Currency set to: ".concat(w)),c.setCurrency(w,b)),c.run()}),2e3)})),clearInterval(d))}),100);o(C.cart.items),setTimeout((function(){c.run()}),2e3)}catch(e){pt.debug("SHOPIFY: Error adding side cart widget: "+e.message)}var u,g,h}(),function(){var t,n;try{if("USD"!==w)return void pt.debug("DEBUG: Hiding Round Up widget due to currency not being USD");if(ct(),!e.roundUpPreviewWidget&&!e.isActive||!e.roundUpPreviewWidget&&!e.isExperienceActive)return;if(window.location.pathname.endsWith("/thank_you")||window.location.pathname.indexOf("/orders/")>=0)return;if(!C.targetInfo.roundUp)return;var o=void 0===C.targetInfo.roundUp.integration?0:C.targetInfo.roundUp.integration;if(0!==o)return void pt.debug("Not loading auto placed roundup widget due to integration settings.");if(!(0!=o||e.roundUpPreviewWidget||0===o&&C.targetInfo.roundUp.isOn&&-1!==window.location.pathname.indexOf("/cart")))return void pt.debug("Not loading auto placed roundup widget due to integration settings or we are not on the cart page.");var i=new Ke(C.sgRoundUpId,"true"===(null===(t=null==e?void 0:e.cMSMetadata)||void 0===t?void 0:t.reloadBypass)),a=st.Z,r="",s=!0,l=!1,p=!1;C.targetInfo.roundUp&&(l=C.targetInfo.roundUp.isBeforeElem,s=C.targetInfo.roundUp.isAfterElem,p=!!(null===(n=C.targetInfo.roundUp)||void 0===n?void 0:n.isInsideElem)&&C.targetInfo.roundUp.isInsideElem),C&&C.targetInfo.roundUp&&C.targetInfo.roundUp.useCheckoutButton?r='form[action="/cart"]':C&&C.targetInfo.roundUp&&(r=C.targetInfo.roundUp.customSelector);var c=C.storeId,d=!!C.currentProduct,u=C.cart.attributes["ShoppingGives RoundUp Opt In"]?JSON.parse(C.cart.attributes["ShoppingGives RoundUp Opt In"].toLowerCase()):null;if(!(C.targetInfo.roundUp&&C.targetInfo.roundUp.isOn||e.roundUpPreviewWidget))return void(u&&(pt.debug("Not active, Opt-In = true, removing roundup product"),i.removeRoundUp()));var g=Math.round(9999999*Math.random()).toString(),h=new at(c,k,new rt(pt,g,r,a,s,l,p,N.templates["roundup-widget.min.html"],99999999,[K],C.targetInfo.roundUp&&C.targetInfo.roundUp.useCheckoutButton?vt:null),pt,new Ne,"",E,null,I,L,T,O,(new F).entity,d,i,(new P).entity);if(null==window.sgRoundUpControllers&&(window.sgRoundUpControllers={product:[],cart:[]}),d){if(window.sgRoundUpControllers.product.length>0&&0==window.Shopify.designMode)return void pt.debug("Product roundup widget already appended, returning.");window.sgRoundUpControllers.product.push(h)}else{if(window.sgRoundUpControllers.cart.length>0&&0==window.Shopify.designMode)return void pt.debug("Cart roundup widget already appended, returning.");window.sgRoundUpControllers.cart.push(h)}i.setup(),h.run()}catch(e){pt.error("SHOPIFY: Error adding roundup widget: "+e.message,e)}}())})),function(){var e,t;try{if(window.location.pathname.endsWith("/thank_you")){if(window.sgIsPostConversionRunning)return;window.sgIsPostConversionRunning=!0,pt.debug("Running Conversion Script");var n=null===(t=null===(e=window.Shopify)||void 0===e?void 0:e.checkout.order_id)||void 0===t?void 0:t.toString();new ze(pt,I,(new Be).entity,(new B).entity,(new qe).entity,d,n).run(!0)}}catch(e){pt.debug("SHOPIFY: Error listening for post conversion: "+e.message)}}()}catch(e){pt.debug("SHOPIFY: Uncaught error: "+e.message)}}}();var dt,ut=(dt=window.MutationObserver||window.WebKitMutationObserver,function(e,t){e&&1===e.nodeType&&(dt?new dt((function(e,n){t(e)})).observe(e,{childList:!0,subtree:!0}):window.addEventListener&&(e.addEventListener("DOMNodeInserted",t,!1),e.addEventListener("DOMNodeRemoved",t,!1)))});function gt(){return(e={},window.location.href.replace(/[?&,#]+([^=&,#]+)=([^&,#]*)/gi,(function(t,n,o){return e[n]=o,o})),e).variant;var e}function ht(e){var t,n;return e.indexOf("shoppinggives-tag compact")<0?e:(t=e," cc-centered ",n=e.indexOf("shoppinggives-tag compact")+"shoppinggives-tag compact".length,t.substr(0,n)+" cc-centered "+t.substr(n))}function mt(e,t){for(var n=0;n=200&&this.status<300?e(n.responseText):t({status:this.status,statusText:n.statusText})},n.onerror=function(){t({status:this.status,statusText:n.statusText})},n.send()})).then((function(t){var n=JSON.parse(t);return pt.debug("current trackingId: "+e+", cart trackingId: "+n.attributes["ShoppingGives Donation Tracking ID"]),n.attributes["ShoppingGives Donation Tracking ID"]===e})).catch((function(e){return console.error("error getting tracking on cart state",e.statusText),!1}))}(t).then((function(e){if(!e){var n=new XMLHttpRequest;n.onerror=function(e){pt.debug("SHOPIFY: Error setting ShoppingGives Donation Tracking ID attribute on cart. TrackingID: "+t)},n.open("POST","/cart/update.js",!0),n.setRequestHeader("Content-type","application/x-www-form-urlencoded; charset=UTF-8"),n.setRequestHeader("Accept","application/json"),n.send("attributes[ShoppingGives Donation Tracking ID]="+t)}}))}function vt(){var e=document.querySelectorAll('form[action="/cart"]'),t=document.querySelectorAll('button[type="submit"]'),n=document.querySelector(".cart__ctas"),o=[];if(null!==n)return n;for(var i=0;i-1&&o.push(t[i]);return(o.length>=1?o[o.length-1]:null)||e[e.length?e.length-1:0]}})()})();