@yext/pages-components 1.2.1 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- .address-line abbr{text-decoration:none}._yext-default-richtextv2-theme__ul1_13v3w_17{padding:0;margin:0 0 0 16px;list-style-type:disc;list-style-position:inside}._yext-default-richtextv2-theme__ul2_13v3w_25{padding:0;margin:0 0 0 16px;list-style-type:circle;list-style-position:inside}._yext-default-richtextv2-theme__ul3_13v3w_33{padding:0;margin:0 0 0 16px;list-style-type:square;list-style-position:inside}._yext-default-richtextv2-theme__ltr_13v3w_55{text-align:left}._yext-default-richtextv2-theme__rtl_13v3w_58{text-align:right}._yext-default-richtextv2-theme__paragraph_13v3w_61{font-size:14.67px;font-weight:400;line-height:18.67px;color:#000;margin:0;padding:3px 2px;position:relative}._yext-default-richtextv2-theme__quote_13v3w_70{margin:0 0 10px 20px;font-size:15px;color:#65676b;border-left-color:#ced0d4;border-left-width:4px;border-left-style:solid;padding-left:16px}._yext-default-richtextv2-theme__h1_13v3w_81{font-size:26.67px;font-weight:700;line-height:30.67px;color:#000;margin:0;padding:3px 2px}._yext-default-richtextv2-theme__h2_13v3w_89{font-size:21.33px;font-weight:700;line-height:25.33px;color:#000;margin:0;padding:3px 2px}._yext-default-richtextv2-theme__h3_13v3w_97{font-size:18.67px;font-weight:400;line-height:22.67px;color:#434343;margin:0;padding:3px 2px}._yext-default-richtextv2-theme__h4_13v3w_105{font-size:16px;font-weight:400;line-height:20px;color:#666;margin:0;padding:3px 2px}._yext-default-richtextv2-theme__h5_13v3w_113{font-size:14.67px;font-weight:400;line-height:18.67px;color:#666;margin:0;padding:3px 2px}._yext-default-richtextv2-theme__h6_13v3w_121{font-size:14.67px;font-weight:400;font-style:italic;line-height:18.67px;color:#666;margin:0;padding:3px 2px}._yext-default-richtextv2-theme__textBold_13v3w_130{font-weight:700}._yext-default-richtextv2-theme__textItalic_13v3w_133{font-style:italic}._yext-default-richtextv2-theme__textUnderline_13v3w_136{text-decoration:underline}._yext-default-richtextv2-theme__textStrikethrough_13v3w_139{text-decoration:line-through}._yext-default-richtextv2-theme__textUnderlineStrikethrough_13v3w_142{text-decoration:underline line-through}._yext-default-richtextv2-theme__textSubscript_13v3w_145{font-size:.8em;vertical-align:sub!important}._yext-default-richtextv2-theme__textSuperscript_13v3w_149{font-size:.8em;vertical-align:super}._yext-default-richtextv2-theme__textCode_13v3w_153{background-color:#f0f2f5;padding:1px .25rem;font-family:Menlo,Consolas,Monaco,monospace;font-size:94%}._yext-default-richtextv2-theme__hashtag_13v3w_159{background-color:#5890ff26;border-bottom:1px solid rgba(88,144,255,.3)}._yext-default-richtextv2-theme__link_13v3w_163{color:#216fdb;text-decoration:none}._yext-default-richtextv2-theme__link_13v3w_163:hover{text-decoration:underline;cursor:pointer}._yext-default-richtextv2-theme__code_13v3w_171{background-color:#f0f2f5;font-family:Menlo,Consolas,Monaco,monospace;display:block;padding:8px 8px 8px 52px;line-height:1.53;font-size:13px;margin:8px 0;-moz-tab-size:2;tab-size:2;overflow-x:auto;position:relative}._yext-default-richtextv2-theme__code_13v3w_171:before{content:attr(data-gutter);position:absolute;background-color:#eee;left:0;top:0;border-right:1px solid #ccc;padding:8px;color:#777;white-space:pre-wrap;text-align:right;min-width:25px}._yext-default-richtextv2-theme__table_13v3w_199{border-collapse:collapse;border-spacing:0;max-width:100%;overflow-y:scroll;table-layout:fixed;width:calc(100% - 25px);margin:30px 0}._yext-default-richtextv2-theme__tableCell_13v3w_208{border:1px solid #bbb;min-width:75px;vertical-align:top;text-align:start;padding:6px 8px;position:relative;cursor:default;outline:none}._yext-default-richtextv2-theme__tableCellHeader_13v3w_218{background-color:#f2f3f5;text-align:start}._yext-default-richtextv2-theme__characterLimit_13v3w_222{display:inline;background-color:#fbb!important}._yext-default-richtextv2-theme__ol1_13v3w_226{padding:0;margin:0 0 0 16px;list-style-type:decimal;list-style-position:inside}._yext-default-richtextv2-theme__ol2_13v3w_233{padding:0;margin:0 0 0 16px;list-style-type:upper-alpha;list-style-position:inside}._yext-default-richtextv2-theme__ol3_13v3w_240{padding:0;margin:0 0 0 16px;list-style-type:lower-alpha;list-style-position:inside}._yext-default-richtextv2-theme__ol4_13v3w_247{padding:0;margin:0 0 0 16px;list-style-type:upper-roman;list-style-position:inside}._yext-default-richtextv2-theme__ol5_13v3w_254{padding:0;margin:0 0 0 16px;list-style-type:lower-roman;list-style-position:inside}._yext-default-richtextv2-theme__ul_13v3w_17{padding:0;margin:0 0 0 16px;list-style-position:inside}._yext-default-richtextv2-theme__listItem_13v3w_267{margin:0 32px}._yext-default-richtextv2-theme__listItemChecked_13v3w_270,._yext-default-richtextv2-theme__listItemUnchecked_13v3w_271{position:relative;margin-left:8px;margin-right:8px;padding-left:24px;padding-right:24px;list-style-type:none;outline:none}._yext-default-richtextv2-theme__listItemChecked_13v3w_270{text-decoration:line-through}._yext-default-richtextv2-theme__listItemUnchecked_13v3w_271:before,._yext-default-richtextv2-theme__listItemChecked_13v3w_270:before{content:"";width:16px;height:16px;top:2px;left:0;cursor:pointer;display:block;background-size:cover;position:absolute}._yext-default-richtextv2-theme__listItemUnchecked_13v3w_271._rtl_13v3w_295:before,._yext-default-richtextv2-theme__listItemChecked_13v3w_270._rtl_13v3w_295:before{left:auto;right:0}._yext-default-richtextv2-theme__listItemUnchecked_13v3w_271:focus:before,._yext-default-richtextv2-theme__listItemChecked_13v3w_270:focus:before{box-shadow:0 0 0 2px #a6cdfe;border-radius:2px}._yext-default-richtextv2-theme__listItemUnchecked_13v3w_271:before{border:1px solid #999;border-radius:2px}._yext-default-richtextv2-theme__listItemChecked_13v3w_270:before{border:1px solid rgb(61,135,245);border-radius:2px;background-color:#3d87f5;background-repeat:no-repeat}._yext-default-richtextv2-theme__listItemChecked_13v3w_270:after{content:"";cursor:pointer;border-color:#fff;border-style:solid;position:absolute;display:block;top:6px;width:3px;left:7px;right:7px;height:6px;transform:rotate(45deg);border-width:0 2px 2px 0}._yext-default-richtextv2-theme__nestedListItem_13v3w_330{list-style-type:none}._yext-default-richtextv2-theme__nestedListItem_13v3w_330:before,._yext-default-richtextv2-theme__nestedListItem_13v3w_330:after{display:none}._yext-default-richtextv2-theme__tokenComment_13v3w_337{color:#708090}._yext-default-richtextv2-theme__tokenPunctuation_13v3w_340{color:#999}._yext-default-richtextv2-theme__tokenProperty_13v3w_343{color:#905}._yext-default-richtextv2-theme__tokenSelector_13v3w_346{color:#690}._yext-default-richtextv2-theme__tokenOperator_13v3w_349{color:#9a6e3a}._yext-default-richtextv2-theme__tokenAttr_13v3w_352{color:#07a}._yext-default-richtextv2-theme__tokenVariable_13v3w_355{color:#e90}._yext-default-richtextv2-theme__tokenFunction_13v3w_358{color:#dd4a68}._yext-default-richtextv2-theme__mark_13v3w_361{background:#ffd40024;border-bottom:2px solid rgba(255,212,0,.3);padding-bottom:2px}._yext-default-richtextv2-theme__markOverlap_13v3w_366{background:#ffd4004d;border-bottom:2px solid rgba(255,212,0,.7)}._yext-default-richtextv2-theme__mark_13v3w_361._selected_13v3w_370{background:#ffd40080;border-bottom:2px solid rgba(255,212,0,1)}._yext-default-richtextv2-theme__markOverlap_13v3w_366._selected_13v3w_370{background:#ffd400b3;border-bottom:2px solid rgba(255,212,0,.7)}._yext-default-richtextv2-theme__embedBlock_13v3w_378{-webkit-user-select:none;user-select:none}._yext-default-richtextv2-theme__embedBlockFocus_13v3w_381{outline:2px solid rgb(60,132,244)}span._yext-default-richtextv2-theme__image_13v3w_385{cursor:default;display:inline-block;position:relative;-webkit-user-select:none;user-select:none}._editor-inner_1mmqo_6{position:relative}._no-border_1mmqo_10{border:none}html{--yxt-hoursTable-col1-width: 128px;--yxt-hoursTable-col2-width: 256px}.HoursTable-row{display:flex}.HoursTable-day{flex:0 0 var(--yxt-hoursTable-col1-width)}.HoursTable-intervals{display:flex;flex-direction:column;flex:0 0 var(--yxt-hoursTable-col2-width)}.xYextDebug{@keyframes pulse{0%{background:transparent}50%{background:#00000026}to{background:transparent}}}.xYextDebug [data-ya-track]{outline:1px dashed blue;scroll-margin:32px}.xYextDebug [data-ya-track].analytics-event-highlight{animation-name:pulse;animation-duration:2s;animation-iteration-count:infinite;outline:2px dashed black;padding:8px 16px}.xYextDebug [data-ya-scope]{outline:1px dashed green;position:relative}.xYextDebug [data-ya-scope]:after{content:attr(data-ya-scope);top:0;left:0;color:#000;display:block;position:absolute;padding:10px;outline:1px solid #178acd;background:#00000073;color:#fff;z-index:2147483647}.xYextDebug .analytics-debugger{position:fixed;height:80%;top:10%;bottom:10%;right:0;transition:right .3s ease-out;color:#fff;display:flex!important;z-index:99999}.xYextDebug .analytics-debugger-toggles{width:100px;border-top-left-radius:4px;border-bottom-left-radius:4px;background:#000000bf;margin:auto;display:flex;flex-direction:column;border-right:1px solid white}.xYextDebug .analytics-debugger-toggle{outline:none;text-align:center;padding:10px;cursor:pointer}.xYextDebug .analytics-debugger-toggle.is-active{background:#178acd}.xYextDebug .analytics-debugger-toggle:first-child{border-top-left-radius:4px}.xYextDebug .analytics-debugger-toggle:last-child{border-bottom-left-radius:4px}.xYextDebug .analytics-debugger-toggle:not(:last-child){border-bottom:1px solid white}.xYextDebug .analytics-debugger-toggle:hover{background:#178acd}.xYextDebug .analytics-debugger-tabs{width:250px;border-top-left-radius:4px;border-bottom-left-radius:4px;background:#000000bf}.xYextDebug .analytics-debugger-tab{display:flex;flex-direction:column;height:100%}.xYextDebug .analytics-debugger-tab-title{background:#178acd;color:#fff;padding:20px;border-bottom:1px solid white;border-top-left-radius:4px}.xYextDebug .analytics-debugger-list{overflow-y:auto;flex-grow:1}.xYextDebug .analytics-debugger-listItem{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center}.xYextDebug .analytics-debugger-listItem:not(:last-child){border-bottom:1px solid white}.xYextDebug .analytics-debugger-button{padding:10px 20px;text-align:left;width:100%}.xYextDebug .analytics-debugger-button.is-active{background:#178acd}.xYextDebug .analytics-debugger-button:hover:not(.is-active){background:#ffffff4d;cursor:pointer}.xYextDebug .analytics-debugger-tooltip{background:#178acd;border:1px solid #178acd;color:#fff;position:absolute;padding:5px 10px;border-radius:4px;font-size:12px;z-index:99998}.xYextDebug .analytics-debugger-tooltip:hover{z-index:99999;border:1px solid black}
1
+ .address-line abbr{text-decoration:none}._yext-default-richtextv2-theme__ul1_13v3w_17{padding:0;margin:0 0 0 16px;list-style-type:disc;list-style-position:inside}._yext-default-richtextv2-theme__ul2_13v3w_25{padding:0;margin:0 0 0 16px;list-style-type:circle;list-style-position:inside}._yext-default-richtextv2-theme__ul3_13v3w_33{padding:0;margin:0 0 0 16px;list-style-type:square;list-style-position:inside}._yext-default-richtextv2-theme__ltr_13v3w_55{text-align:left}._yext-default-richtextv2-theme__rtl_13v3w_58{text-align:right}._yext-default-richtextv2-theme__paragraph_13v3w_61{font-size:14.67px;font-weight:400;line-height:18.67px;color:#000;margin:0;padding:3px 2px;position:relative}._yext-default-richtextv2-theme__quote_13v3w_70{margin:0 0 10px 20px;font-size:15px;color:#65676b;border-left-color:#ced0d4;border-left-width:4px;border-left-style:solid;padding-left:16px}._yext-default-richtextv2-theme__h1_13v3w_81{font-size:26.67px;font-weight:700;line-height:30.67px;color:#000;margin:0;padding:3px 2px}._yext-default-richtextv2-theme__h2_13v3w_89{font-size:21.33px;font-weight:700;line-height:25.33px;color:#000;margin:0;padding:3px 2px}._yext-default-richtextv2-theme__h3_13v3w_97{font-size:18.67px;font-weight:400;line-height:22.67px;color:#434343;margin:0;padding:3px 2px}._yext-default-richtextv2-theme__h4_13v3w_105{font-size:16px;font-weight:400;line-height:20px;color:#666;margin:0;padding:3px 2px}._yext-default-richtextv2-theme__h5_13v3w_113{font-size:14.67px;font-weight:400;line-height:18.67px;color:#666;margin:0;padding:3px 2px}._yext-default-richtextv2-theme__h6_13v3w_121{font-size:14.67px;font-weight:400;font-style:italic;line-height:18.67px;color:#666;margin:0;padding:3px 2px}._yext-default-richtextv2-theme__textBold_13v3w_130{font-weight:700}._yext-default-richtextv2-theme__textItalic_13v3w_133{font-style:italic}._yext-default-richtextv2-theme__textUnderline_13v3w_136{text-decoration:underline}._yext-default-richtextv2-theme__textStrikethrough_13v3w_139{text-decoration:line-through}._yext-default-richtextv2-theme__textUnderlineStrikethrough_13v3w_142{text-decoration:underline line-through}._yext-default-richtextv2-theme__textSubscript_13v3w_145{font-size:.8em;vertical-align:sub!important}._yext-default-richtextv2-theme__textSuperscript_13v3w_149{font-size:.8em;vertical-align:super}._yext-default-richtextv2-theme__textCode_13v3w_153{background-color:#f0f2f5;padding:1px .25rem;font-family:Menlo,Consolas,Monaco,monospace;font-size:94%}._yext-default-richtextv2-theme__hashtag_13v3w_159{background-color:#5890ff26;border-bottom:1px solid rgba(88,144,255,.3)}._yext-default-richtextv2-theme__link_13v3w_163{color:#216fdb;text-decoration:none}._yext-default-richtextv2-theme__link_13v3w_163:hover{text-decoration:underline;cursor:pointer}._yext-default-richtextv2-theme__code_13v3w_171{background-color:#f0f2f5;font-family:Menlo,Consolas,Monaco,monospace;display:block;padding:8px 8px 8px 52px;line-height:1.53;font-size:13px;margin:8px 0;-moz-tab-size:2;tab-size:2;overflow-x:auto;position:relative}._yext-default-richtextv2-theme__code_13v3w_171:before{content:attr(data-gutter);position:absolute;background-color:#eee;left:0;top:0;border-right:1px solid #ccc;padding:8px;color:#777;white-space:pre-wrap;text-align:right;min-width:25px}._yext-default-richtextv2-theme__table_13v3w_199{border-collapse:collapse;border-spacing:0;max-width:100%;overflow-y:scroll;table-layout:fixed;width:calc(100% - 25px);margin:30px 0}._yext-default-richtextv2-theme__tableCell_13v3w_208{border:1px solid #bbb;min-width:75px;vertical-align:top;text-align:start;padding:6px 8px;position:relative;cursor:default;outline:none}._yext-default-richtextv2-theme__tableCellHeader_13v3w_218{background-color:#f2f3f5;text-align:start}._yext-default-richtextv2-theme__characterLimit_13v3w_222{display:inline;background-color:#fbb!important}._yext-default-richtextv2-theme__ol1_13v3w_226{padding:0;margin:0 0 0 16px;list-style-type:decimal;list-style-position:inside}._yext-default-richtextv2-theme__ol2_13v3w_233{padding:0;margin:0 0 0 16px;list-style-type:upper-alpha;list-style-position:inside}._yext-default-richtextv2-theme__ol3_13v3w_240{padding:0;margin:0 0 0 16px;list-style-type:lower-alpha;list-style-position:inside}._yext-default-richtextv2-theme__ol4_13v3w_247{padding:0;margin:0 0 0 16px;list-style-type:upper-roman;list-style-position:inside}._yext-default-richtextv2-theme__ol5_13v3w_254{padding:0;margin:0 0 0 16px;list-style-type:lower-roman;list-style-position:inside}._yext-default-richtextv2-theme__ul_13v3w_17{padding:0;margin:0 0 0 16px;list-style-position:inside}._yext-default-richtextv2-theme__listItem_13v3w_267{margin:0 32px}._yext-default-richtextv2-theme__listItemChecked_13v3w_270,._yext-default-richtextv2-theme__listItemUnchecked_13v3w_271{position:relative;margin-left:8px;margin-right:8px;padding-left:24px;padding-right:24px;list-style-type:none;outline:none}._yext-default-richtextv2-theme__listItemChecked_13v3w_270{text-decoration:line-through}._yext-default-richtextv2-theme__listItemUnchecked_13v3w_271:before,._yext-default-richtextv2-theme__listItemChecked_13v3w_270:before{content:"";width:16px;height:16px;top:2px;left:0;cursor:pointer;display:block;background-size:cover;position:absolute}._yext-default-richtextv2-theme__listItemUnchecked_13v3w_271._rtl_13v3w_295:before,._yext-default-richtextv2-theme__listItemChecked_13v3w_270._rtl_13v3w_295:before{left:auto;right:0}._yext-default-richtextv2-theme__listItemUnchecked_13v3w_271:focus:before,._yext-default-richtextv2-theme__listItemChecked_13v3w_270:focus:before{box-shadow:0 0 0 2px #a6cdfe;border-radius:2px}._yext-default-richtextv2-theme__listItemUnchecked_13v3w_271:before{border:1px solid #999;border-radius:2px}._yext-default-richtextv2-theme__listItemChecked_13v3w_270:before{border:1px solid rgb(61,135,245);border-radius:2px;background-color:#3d87f5;background-repeat:no-repeat}._yext-default-richtextv2-theme__listItemChecked_13v3w_270:after{content:"";cursor:pointer;border-color:#fff;border-style:solid;position:absolute;display:block;top:6px;width:3px;left:7px;right:7px;height:6px;transform:rotate(45deg);border-width:0 2px 2px 0}._yext-default-richtextv2-theme__nestedListItem_13v3w_330{list-style-type:none}._yext-default-richtextv2-theme__nestedListItem_13v3w_330:before,._yext-default-richtextv2-theme__nestedListItem_13v3w_330:after{display:none}._yext-default-richtextv2-theme__tokenComment_13v3w_337{color:#708090}._yext-default-richtextv2-theme__tokenPunctuation_13v3w_340{color:#999}._yext-default-richtextv2-theme__tokenProperty_13v3w_343{color:#905}._yext-default-richtextv2-theme__tokenSelector_13v3w_346{color:#690}._yext-default-richtextv2-theme__tokenOperator_13v3w_349{color:#9a6e3a}._yext-default-richtextv2-theme__tokenAttr_13v3w_352{color:#07a}._yext-default-richtextv2-theme__tokenVariable_13v3w_355{color:#e90}._yext-default-richtextv2-theme__tokenFunction_13v3w_358{color:#dd4a68}._yext-default-richtextv2-theme__mark_13v3w_361{background:#ffd40024;border-bottom:2px solid rgba(255,212,0,.3);padding-bottom:2px}._yext-default-richtextv2-theme__markOverlap_13v3w_366{background:#ffd4004d;border-bottom:2px solid rgba(255,212,0,.7)}._yext-default-richtextv2-theme__mark_13v3w_361._selected_13v3w_370{background:#ffd40080;border-bottom:2px solid rgba(255,212,0,1)}._yext-default-richtextv2-theme__markOverlap_13v3w_366._selected_13v3w_370{background:#ffd400b3;border-bottom:2px solid rgba(255,212,0,.7)}._yext-default-richtextv2-theme__embedBlock_13v3w_378{-webkit-user-select:none;user-select:none}._yext-default-richtextv2-theme__embedBlockFocus_13v3w_381{outline:2px solid rgb(60,132,244)}span._yext-default-richtextv2-theme__image_13v3w_385{cursor:default;display:inline-block;position:relative;-webkit-user-select:none;user-select:none}._editor-inner_1mmqo_6{position:relative}._no-border_1mmqo_10{border:none}html{--yxt-hoursTable-col1-width: 128px;--yxt-hoursTable-col2-width: 256px}.HoursTable-row{display:flex}.HoursTable-day{flex:0 0 var(--yxt-hoursTable-col1-width)}.HoursTable-intervals{display:flex;flex-direction:column;flex:0 0 var(--yxt-hoursTable-col2-width)}@keyframes pulse{0%{background:transparent}50%{background:#00000026}to{background:transparent}}.xYextDebug [data-ya-track]{outline:1px dashed blue;scroll-margin:32px}.xYextDebug [data-ya-track].analytics-event-highlight{animation-name:pulse;animation-duration:2s;animation-iteration-count:infinite;outline:2px dashed black;padding:8px 16px}.xYextDebug [data-ya-scope]{outline:1px dashed green;position:relative}.xYextDebug [data-ya-scope]:after{content:attr(data-ya-scope);top:0;left:0;color:#000;display:block;position:absolute;padding:10px;outline:1px solid #178acd;background:#00000073;color:#fff;z-index:2147483647}.xYextDebug .analytics-debugger{position:fixed;height:80%;top:10%;bottom:10%;right:0;transition:right .3s ease-out;color:#fff;display:flex!important;z-index:99999}.xYextDebug .analytics-debugger-toggles{width:100px;border-top-left-radius:4px;border-bottom-left-radius:4px;background:#000000bf;margin:auto;display:flex;flex-direction:column;border-right:1px solid white}.xYextDebug .analytics-debugger-toggle{outline:none;text-align:center;padding:10px;cursor:pointer}.xYextDebug .analytics-debugger-toggle.is-active{background:#178acd}.xYextDebug .analytics-debugger-toggle:first-child{border-top-left-radius:4px}.xYextDebug .analytics-debugger-toggle:last-child{border-bottom-left-radius:4px}.xYextDebug .analytics-debugger-toggle:not(:last-child){border-bottom:1px solid white}.xYextDebug .analytics-debugger-toggle:hover{background:#178acd}.xYextDebug .analytics-debugger-tabs{width:250px;border-top-left-radius:4px;border-bottom-left-radius:4px;background:#000000bf}.xYextDebug .analytics-debugger-tab{display:flex;flex-direction:column;height:100%}.xYextDebug .analytics-debugger-tab-title{background:#178acd;color:#fff;padding:20px;border-bottom:1px solid white;border-top-left-radius:4px}.xYextDebug .analytics-debugger-list{overflow-y:auto;flex-grow:1}.xYextDebug .analytics-debugger-listItem{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center}.xYextDebug .analytics-debugger-listItem:not(:last-child){border-bottom:1px solid white}.xYextDebug .analytics-debugger-button{padding:10px 20px;text-align:left;width:100%}.xYextDebug .analytics-debugger-button.is-active{background:#178acd}.xYextDebug .analytics-debugger-button:hover:not(.is-active){background:#ffffff4d;cursor:pointer}.xYextDebug .analytics-debugger-tooltip{background:#178acd;border:1px solid #178acd;color:#fff;position:absolute;padding:5px 10px;border-radius:4px;font-size:12px;z-index:99998}.xYextDebug .analytics-debugger-tooltip:hover{z-index:99999;border:1px solid black}
package/dist/index.d.ts CHANGED
@@ -1607,7 +1607,7 @@ declare function LexicalRichText({ serializedAST, nodeClassNames, }: LexicalRich
1607
1607
  */
1608
1608
  declare const LegacyRichText: (props: {
1609
1609
  markdown: string;
1610
- }) => ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | null;
1610
+ }) => ReactElement<any, string | React$1.JSXElementConstructor<any>> | null;
1611
1611
 
1612
1612
  declare class HoursInterval {
1613
1613
  end: DateTime;
@@ -1893,11 +1893,23 @@ declare const LocationSchema: (location?: Location) => false | {
1893
1893
  name: string | undefined;
1894
1894
  };
1895
1895
 
1896
+ type OpeningHoursSpecification = {
1897
+ "@type": "OpeningHoursSpecification";
1898
+ dayOfWeek?: string | string[];
1899
+ opens?: string;
1900
+ closes?: string;
1901
+ validFrom?: string;
1902
+ validThrough?: string;
1903
+ };
1896
1904
  declare const OpeningHoursSchema: (hours?: HoursType) => {
1897
1905
  openingHours?: undefined;
1898
1906
  } | {
1899
1907
  openingHours: string[];
1900
1908
  };
1909
+ declare const OpeningHoursSpecificationSchema: (hours?: HoursType) => {
1910
+ openingHoursSpecification?: OpeningHoursSpecification[];
1911
+ specialOpeningHoursSpecification?: OpeningHoursSpecification[];
1912
+ };
1901
1913
 
1902
1914
  type Offer = {
1903
1915
  url?: string;
@@ -1994,4 +2006,4 @@ declare const LeafletMaps: MapProvider;
1994
2006
 
1995
2007
  declare const MapQuestMaps: MapProvider;
1996
2008
 
1997
- export { Address, type AddressLine, type AddressLineProps, type AddressProps, AddressSchema, type AddressType, type AggregateRating, AggregateRatingSchema, Analytics, AnalyticsContext, AnalyticsProvider, AnalyticsScopeProvider, BaiduMaps, BaseSchema, BingMaps, type CTA, type CTAWithChildrenLinkProps, type CTAWithoutChildrenLinkProps, type ClusterTemplateProps, Clusterer, type ClustererContextType, type ClustererProps, type ComplexImageType, type Coordinate, Coordinate$1 as CoordinateClass, Day, type DayOfWeekNames, type DayType, type DirectionCoordinate, Event, FAQPage, type GetDirectionsConfig, GoogleMaps, type HREFLinkProps, type HolidayType, HoursStatus, type HoursStatusProps, HoursTable, type HoursTableDayData, type HoursTableIntervalTranslations, type HoursTableProps, type HoursType, Image, type ImageLayout, ImageLayoutOption, type ImageProps, type ImageTransformations, type ImageType, type IntervalType, LeafletMaps, LegacyRichText, LexicalRichText, type LexicalRichTextProps, Link, type LinkProps, type LinkType, type ListingPublisher, ListingPublisherOption, type ListingType, LocalBusiness, type Location, LocationMap, type LocationMapProps, LocationSchema, Map, type MapContextType, type MapProps, type MapProvider$1 as MapProvider, MapProviderOption, MapQuestMaps, MapboxMaps, Marker, type MarkerProps, type Offer, OfferSchema, OpeningHoursSchema, type Organization, OrganizationSchema, PerformerSchema, type PhotoGallery, PhotoGallerySchema, PhotoSchema, type PinStoreType, Product, type Review, ReviewSchema, SchemaWrapper, type StatusParams, type StatusTemplateParams, type TemplateParams, type ThumbnailType, type WeekType, debuggingParamDetected, getDirections, getImageUrl, getRichTextContent, useAnalytics, useClusterContext, useIdentify, useMapContext, usePageView, useScope, useTrack };
2009
+ export { Address, type AddressLine, type AddressLineProps, type AddressProps, AddressSchema, type AddressType, type AggregateRating, AggregateRatingSchema, Analytics, AnalyticsContext, AnalyticsProvider, AnalyticsScopeProvider, BaiduMaps, BaseSchema, BingMaps, type CTA, type CTAWithChildrenLinkProps, type CTAWithoutChildrenLinkProps, type ClusterTemplateProps, Clusterer, type ClustererContextType, type ClustererProps, type ComplexImageType, type Coordinate, Coordinate$1 as CoordinateClass, Day, type DayOfWeekNames, type DayType, type DirectionCoordinate, Event, FAQPage, type GetDirectionsConfig, GoogleMaps, type HREFLinkProps, type HolidayType, HoursStatus, type HoursStatusProps, HoursTable, type HoursTableDayData, type HoursTableIntervalTranslations, type HoursTableProps, type HoursType, Image, type ImageLayout, ImageLayoutOption, type ImageProps, type ImageTransformations, type ImageType, type IntervalType, LeafletMaps, LegacyRichText, LexicalRichText, type LexicalRichTextProps, Link, type LinkProps, type LinkType, type ListingPublisher, ListingPublisherOption, type ListingType, LocalBusiness, type Location, LocationMap, type LocationMapProps, LocationSchema, Map, type MapContextType, type MapProps, type MapProvider$1 as MapProvider, MapProviderOption, MapQuestMaps, MapboxMaps, Marker, type MarkerProps, type Offer, OfferSchema, OpeningHoursSchema, OpeningHoursSpecificationSchema, type Organization, OrganizationSchema, PerformerSchema, type PhotoGallery, PhotoGallerySchema, PhotoSchema, type PinStoreType, Product, type Review, ReviewSchema, SchemaWrapper, type StatusParams, type StatusTemplateParams, type TemplateParams, type ThumbnailType, type WeekType, debuggingParamDetected, getDirections, getImageUrl, getRichTextContent, useAnalytics, useClusterContext, useIdentify, useMapContext, usePageView, useScope, useTrack };
package/dist/index.js ADDED
@@ -0,0 +1,57 @@
1
+ import { A as e, N as t, Y as i, e as o, f as r, l as c, o as n, _ as p, E as g, $ as u, C as h, a4 as m, D as l, F as S, J as d, a0 as M, H as P, B as y, I as x, q as A, a2 as L, z as C, y as f, r as O, L as v, G as R, x as T, O as B, s as H, M as I, a3 as b, a1 as k, v as D, T as w, Q as G, R as Q, V as z, U as E, W as F, X as U, P as V, Z as W, S as q, m as J, d as K, p as N, K as X, u as Y, w as Z, k as _, t as $, i as j, n as aa, h as sa } from "./index-3y1PqoZ5.js";
2
+ export {
3
+ e as Address,
4
+ t as AddressSchema,
5
+ i as AggregateRatingSchema,
6
+ o as Analytics,
7
+ r as AnalyticsContext,
8
+ c as AnalyticsProvider,
9
+ n as AnalyticsScopeProvider,
10
+ p as BaiduMaps,
11
+ g as BaseSchema,
12
+ u as BingMaps,
13
+ h as Clusterer,
14
+ m as CoordinateClass,
15
+ l as Day,
16
+ S as Event,
17
+ d as FAQPage,
18
+ M as GoogleMaps,
19
+ P as HoursStatus,
20
+ y as HoursTable,
21
+ x as Image,
22
+ A as ImageLayoutOption,
23
+ L as LeafletMaps,
24
+ C as LegacyRichText,
25
+ f as LexicalRichText,
26
+ O as Link,
27
+ v as ListingPublisherOption,
28
+ R as LocalBusiness,
29
+ T as LocationMap,
30
+ B as LocationSchema,
31
+ H as Map,
32
+ I as MapProviderOption,
33
+ b as MapQuestMaps,
34
+ k as MapboxMaps,
35
+ D as Marker,
36
+ w as OfferSchema,
37
+ G as OpeningHoursSchema,
38
+ Q as OpeningHoursSpecificationSchema,
39
+ z as OrganizationSchema,
40
+ E as PerformerSchema,
41
+ F as PhotoGallerySchema,
42
+ U as PhotoSchema,
43
+ V as Product,
44
+ W as ReviewSchema,
45
+ q as SchemaWrapper,
46
+ J as debuggingParamDetected,
47
+ K as getDirections,
48
+ N as getImageUrl,
49
+ X as getRichTextContent,
50
+ Y as useAnalytics,
51
+ Z as useClusterContext,
52
+ _ as useIdentify,
53
+ $ as useMapContext,
54
+ j as usePageView,
55
+ aa as useScope,
56
+ sa as useTrack
57
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yext/pages-components",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "A React component library that supports Yext Pages development",
5
5
  "author": "sumo@yext.com",
6
6
  "license": "BSD-3-Clause",
@@ -12,67 +12,75 @@
12
12
  "type": "git",
13
13
  "url": "https://github.com/yext/js.git"
14
14
  },
15
- "sideEffects": false,
15
+ "sideEffects": [
16
+ "**/*.css"
17
+ ],
16
18
  "type": "module",
17
19
  "files": [
18
20
  "dist",
19
21
  "THIRD-PARTY-NOTICES"
20
22
  ],
21
- "module": "./dist/pages-components.js",
23
+ "module": "./dist/index.js",
22
24
  "exports": {
23
25
  ".": {
24
26
  "import": {
25
27
  "types": "./dist/index.d.ts",
26
- "default": "./dist/pages-components.js"
28
+ "default": "./dist/index.js"
27
29
  }
28
30
  },
29
- "./style.css": "./dist/style.css"
31
+ "./style.css": "./dist/index.css"
30
32
  },
31
33
  "types": "dist/index.d.ts",
32
34
  "engines": {
33
- "node": "^18 || ^20 || ^22"
35
+ "node": "^18 || ^20 || ^22 || ^24"
34
36
  },
35
37
  "peerDependencies": {
36
- "react": "^17.0.2 || ^18.2.0 || ^19.0.0",
37
- "react-dom": "^17.0.2 || ^18.2.0 || ^19.0.0",
38
- "mapbox-gl": "^2.9.2"
38
+ "lexical": "~0.38.2",
39
+ "mapbox-gl": "^2.9.2",
40
+ "react": "^17.0.2 || ^18.2.0",
41
+ "react-dom": "^17.0.2 || ^18.2.0"
39
42
  },
40
43
  "devDependencies": {
41
- "@storybook/addon-a11y": "^8.5.8",
42
- "@storybook/addon-essentials": "^8.5.8",
43
- "@storybook/addon-interactions": "^8.5.8",
44
- "@storybook/addon-links": "^8.5.8",
45
- "@storybook/blocks": "^8.5.8",
46
- "@storybook/react": "^8.5.8",
47
- "@storybook/react-vite": "^8.5.8",
48
- "@storybook/test-runner": "^0.21.3",
44
+ "@playwright/test": "^1.55.1",
45
+ "@storybook/addon-a11y": "^8.6.14",
46
+ "@storybook/addon-essentials": "^8.6.14",
47
+ "@storybook/addon-interactions": "^8.6.14",
48
+ "@storybook/addon-links": "^8.6.14",
49
+ "@storybook/blocks": "^8.6.14",
50
+ "@storybook/react": "^8.6.14",
51
+ "@storybook/react-vite": "^8.6.14",
52
+ "@storybook/test-runner": "^0.23.0",
49
53
  "@storybook/testing-library": "^0.2.2",
50
- "@testing-library/dom": "^10.0.0",
51
- "@testing-library/react": "^16.1.0",
54
+ "@testing-library/react": "^14.1.2",
52
55
  "@testing-library/user-event": "^14.5.1",
53
56
  "@types/bingmaps": "^0.0.1",
54
57
  "@types/google.maps": "^3.58.1",
55
58
  "@types/jest-image-snapshot": "^6.4.0",
56
59
  "@types/leaflet": "^1.9.12",
60
+ "@types/luxon": "^3.7.1",
57
61
  "@types/mapbox-gl": "^3.4.0",
58
62
  "@types/mdast": "3.0.10",
59
63
  "@types/node": "^20.10.4",
60
- "@types/react": "^19.0.0",
61
- "@types/react-dom": "^19.0.0",
64
+ "@types/react": "^18.2.45",
65
+ "@types/react-dom": "^18.2.17",
62
66
  "@vitejs/plugin-react": "^4.2.1",
67
+ "autoprefixer": "^10.4.22",
63
68
  "axe-core": "^4.8.2",
64
69
  "axe-playwright": "^1.2.3",
65
70
  "generate-license-file": "^3.0.1",
66
71
  "jest-image-snapshot": "^6.4.0",
67
72
  "jsdom": "^24.1.0",
68
- "@playwright/test": "^1.55.1",
73
+ "lightningcss-cli": "^1.30.2",
74
+ "picocolors": "^1.1.1",
69
75
  "playwright-core": "^1.55.1",
76
+ "postcss": "^8.5.6",
70
77
  "prop-types": "^15.8.1",
71
- "react": "^19.0.0",
72
- "react-dom": "^19.0.0",
73
- "storybook": "^8.5.8",
78
+ "react": "^18.2.0",
79
+ "react-dom": "^18.2.0",
80
+ "storybook": "^8.6.14",
74
81
  "tsup": "^8.0.1",
75
82
  "typescript": "^5.3.3",
83
+ "unified": "11.0.4",
76
84
  "vite": "^5.4.11",
77
85
  "vite-tsconfig-paths": "^4.2.2",
78
86
  "vitest": "^3.0.5"
@@ -89,7 +97,7 @@
89
97
  "@yext/analytics": "^1.0.0",
90
98
  "browser-or-node": "^3.0.0",
91
99
  "classnames": "^2.5.1",
92
- "lexical": "~0.38.2",
100
+ "luxon": "^3.7.2",
93
101
  "mdast-util-from-markdown": "1.2.0",
94
102
  "mdast-util-to-hast": "12.3.0",
95
103
  "micromark-util-chunked": "1.0.0",
@@ -98,15 +106,14 @@
98
106
  "micromark-util-resolve-all": "1.0.0",
99
107
  "micromark-util-symbol": "1.0.1",
100
108
  "micromark-util-types": "1.0.2",
101
- "picocolors": "^1.1.1",
102
109
  "react-markdown": "^9.0.2",
103
- "remark-rehype": "10.1.0",
104
- "unified": "11.0.4",
105
- "uvu": "0.5.6"
110
+ "remark-rehype": "10.1.0"
106
111
  },
107
112
  "scripts": {
108
113
  "dev": "pnpm run storybook",
109
114
  "build": "tsc && vite build",
115
+ "build:tsup": "tsup && pnpm build:css",
116
+ "build:css": "lightningcss --minify --bundle --targets \">= 0.25%\" src/index.css -o dist/index.css",
110
117
  "storybook": "storybook dev -p 6006",
111
118
  "build-storybook": "storybook build",
112
119
  "test": "vitest run",
@@ -1,317 +0,0 @@
1
- import { jsx as r, jsxs as b, Fragment as C } from "react/jsx-runtime";
2
- import { useState as E, useEffect as O, useRef as S } from "react";
3
- import { createPortal as Y } from "react-dom";
4
- import { g as T, c as N } from "./index-GeO8DZvj.js";
5
- function M() {
6
- return T().name !== "browser" || window.hasOwnProperty("debuggerInitialized") ? null : (window.debuggerInitialized = !0, Y(/* @__PURE__ */ r($, {}), document.body));
7
- }
8
- const A = (e, s) => {
9
- const n = e.dataset.yaAction, t = e.dataset.yaScopeoverride, l = e.dataset.yaEventname, a = t || s;
10
- return {
11
- action: n,
12
- originalEventName: a ? `${a}_${l}` : l,
13
- scope: a
14
- };
15
- }, R = (e, s) => {
16
- const n = [];
17
- let t = e;
18
- for (; t != null && t.parentElement; )
19
- t = t.parentElement.closest(s), t && n.push(t);
20
- return n;
21
- }, h = {}, D = "YA_NO_SCOPE", B = (e, s, n, t) => {
22
- h.hasOwnProperty(e) ? h[e].events.map((l) => l.el).includes(t) || (h[e].events = [
23
- ...h[e].events,
24
- {
25
- eventData: s,
26
- el: t
27
- }
28
- ]) : h[e] = {
29
- scopeEl: n || t,
30
- // overidden scopes still need an element
31
- events: [
32
- {
33
- eventData: s,
34
- el: t
35
- }
36
- ]
37
- };
38
- };
39
- function $() {
40
- const [e, s] = E(), [n, t] = E([]), [l, a] = E(!1), i = (o) => {
41
- s(e === o ? void 0 : o);
42
- };
43
- return O(() => {
44
- let o = null;
45
- const u = () => {
46
- o && o.abort(), o = new AbortController();
47
- const c = o.signal;
48
- document.documentElement.classList.add("xYextDebug"), document.querySelectorAll(
49
- "[data-ya-eventname]"
50
- ).forEach((d, y) => {
51
- const m = d.closest("[data-ya-scope]"), f = m == null ? void 0 : m.dataset.yaScope, p = A(d, f);
52
- d.addEventListener(
53
- "mouseenter",
54
- () => {
55
- t([
56
- {
57
- elem: d,
58
- key: `${p.originalEventName}_${y}`,
59
- action: p.action,
60
- originalEventName: p.originalEventName,
61
- scope: p.scope
62
- }
63
- ]);
64
- },
65
- { signal: c }
66
- ), d.addEventListener(
67
- "mouseleave",
68
- () => {
69
- t([]);
70
- },
71
- { signal: c }
72
- );
73
- const w = d.dataset.yaScopeoverride;
74
- w ? B(w, p, m, d) : [
75
- f,
76
- ...R(d, "[data-ya-scope]").map(
77
- (x) => x.dataset.yaScope
78
- )
79
- ].forEach((x) => {
80
- B(x || D, p, m, d);
81
- });
82
- }), a(!0);
83
- };
84
- u();
85
- const g = new MutationObserver(u);
86
- return g.observe(document, {
87
- childList: !0,
88
- subtree: !0
89
- }), () => {
90
- document.documentElement.classList.remove("xYextDebug"), g.disconnect(), o == null || o.abort();
91
- };
92
- }, []), l ? /* @__PURE__ */ b(C, { children: [
93
- /* @__PURE__ */ b("div", { className: "analytics-debugger", children: [
94
- /* @__PURE__ */ b("div", { className: "analytics-debugger-toggles", children: [
95
- /* @__PURE__ */ r(
96
- "button",
97
- {
98
- className: N("analytics-debugger-toggle", {
99
- "is-active": e === "Events"
100
- }),
101
- onClick: () => i("Events"),
102
- children: "Events"
103
- }
104
- ),
105
- /* @__PURE__ */ r(
106
- "button",
107
- {
108
- className: N("analytics-debugger-toggle", {
109
- "is-active": e === "Scopes"
110
- }),
111
- onClick: () => i("Scopes"),
112
- children: "Scopes"
113
- }
114
- )
115
- ] }),
116
- e && /* @__PURE__ */ r("div", { className: "analytics-debugger-tabs", children: e === "Events" ? /* @__PURE__ */ r(j, { data: h, setTooltips: t }) : /* @__PURE__ */ r(_, { data: h, setTooltips: t }) })
117
- ] }),
118
- /* @__PURE__ */ r(I, { tooltips: n })
119
- ] }) : null;
120
- }
121
- const L = () => {
122
- const e = {};
123
- return Object.values(h).forEach((s) => {
124
- s.events.forEach((n) => {
125
- const { originalEventName: t } = n.eventData;
126
- e[t] || (e[t] = []), !e[t].find(
127
- (l) => l.el === n.el
128
- ) && e[t].push(n);
129
- });
130
- }), e;
131
- };
132
- function j(e) {
133
- const { setTooltips: s } = e, [n, t] = E([]), [l, a] = E(""), i = (o, u) => {
134
- n.forEach(
135
- (c) => c.classList.remove("analytics-event-highlight")
136
- );
137
- const g = o.map((c) => (c.el.scrollIntoView({ behavior: "smooth", block: "nearest" }), c.el.classList.add("analytics-event-highlight"), c.el));
138
- t(g), a(u), s(
139
- o.map((c, v) => ({
140
- elem: c.el,
141
- key: `${c.eventData.originalEventName}_${v}`,
142
- action: c.eventData.action,
143
- originalEventName: c.eventData.originalEventName,
144
- scope: c.eventData.scope
145
- }))
146
- );
147
- };
148
- return /* @__PURE__ */ b("div", { className: "analytics-debugger-tab", children: [
149
- /* @__PURE__ */ r("h2", { className: "analytics-debugger-tab-title", children: "Event Names" }),
150
- /* @__PURE__ */ r("ul", { className: "analytics-debugger-list", children: Object.entries(L()).map(
151
- ([o, u], g) => {
152
- const c = `${o}_${g}`;
153
- return /* @__PURE__ */ r("li", { className: "analytics-debugger-listItem", children: /* @__PURE__ */ r(
154
- "button",
155
- {
156
- className: N("analytics-debugger-button", {
157
- "is-active": c === l
158
- }),
159
- onClick: () => i(u, c),
160
- children: o
161
- }
162
- ) }, c);
163
- }
164
- ) })
165
- ] });
166
- }
167
- function _(e) {
168
- const { data: s, setTooltips: n } = e, [t, l] = E(""), a = (i) => {
169
- const o = s[i];
170
- o.scopeEl && (o.scopeEl.scrollIntoView({
171
- behavior: "smooth",
172
- block: "nearest"
173
- }), l(i), n(
174
- o.events.map((u, g) => {
175
- const c = u.eventData;
176
- return {
177
- elem: u.el,
178
- key: `${c.originalEventName}_${g}`,
179
- action: c.action,
180
- originalEventName: c.originalEventName,
181
- scope: c.scope
182
- };
183
- })
184
- ));
185
- };
186
- return /* @__PURE__ */ b("div", { className: "analytics-debugger-tab", children: [
187
- /* @__PURE__ */ r("h2", { className: "analytics-debugger-tab-title", children: "Scope Names" }),
188
- /* @__PURE__ */ r("ul", { className: "analytics-debugger-list", children: Object.keys(s).map((i, o) => {
189
- if (i !== D)
190
- return /* @__PURE__ */ r("li", { className: "analytics-debugger-listItem", children: /* @__PURE__ */ r(
191
- "button",
192
- {
193
- className: N("analytics-debugger-button", {
194
- "is-active": i === t
195
- }),
196
- onClick: () => a(i),
197
- children: i
198
- }
199
- ) }, i + o);
200
- }) })
201
- ] });
202
- }
203
- function I(e) {
204
- const s = S({});
205
- return O(() => {
206
- if (s.current)
207
- for (const n of Object.values(s.current)) {
208
- const t = Object.values(s.current).map((l) => l.el).filter((l) => l !== n.el);
209
- P(n, t), n.el.style.visibility = "visible";
210
- }
211
- }, [e.tooltips]), /* @__PURE__ */ r(C, { children: e.tooltips.map((n) => /* @__PURE__ */ b(
212
- "div",
213
- {
214
- style: { visibility: "hidden" },
215
- className: "analytics-debugger-tooltip",
216
- ref: (t) => {
217
- t ? s.current[n.key] = {
218
- el: t,
219
- tooltip: n
220
- } : delete s.current[n.key];
221
- },
222
- children: [
223
- /* @__PURE__ */ b("span", { children: [
224
- "Action: ",
225
- n.action
226
- ] }),
227
- /* @__PURE__ */ r("br", {}),
228
- /* @__PURE__ */ b("span", { children: [
229
- "Scope: ",
230
- n.scope
231
- ] }),
232
- /* @__PURE__ */ r("br", {}),
233
- /* @__PURE__ */ b("span", { children: [
234
- "Original Event Name: ",
235
- n.originalEventName
236
- ] })
237
- ]
238
- },
239
- n.key
240
- )) });
241
- }
242
- function P(e, s) {
243
- for (let n = 0; n < 9; n++) {
244
- const t = q(
245
- e.tooltip.elem.getBoundingClientRect(),
246
- e.el,
247
- n
248
- );
249
- if (e.el.style.inset = `${t.top} auto auto ${t.left}`, !!W(
250
- e.el.getBoundingClientRect().left,
251
- e.el.getBoundingClientRect().top + window.scrollY,
252
- e.el.getBoundingClientRect().right,
253
- e.el.getBoundingClientRect().bottom + window.scrollY
254
- )) continue;
255
- let a = !0;
256
- for (let i = 0; i < s.length; i++) {
257
- const o = s[i];
258
- H(e.el, o) && (a = !1);
259
- }
260
- if (a) break;
261
- }
262
- }
263
- function H(e, s) {
264
- const n = e.getBoundingClientRect().top + window.scrollY, t = e.getBoundingClientRect().left, l = n + e.clientHeight, a = t + e.clientWidth, i = s.getBoundingClientRect().top + window.scrollY, o = s.getBoundingClientRect().left, u = i + s.clientHeight, g = o + s.clientWidth, c = (v, d, y, m, f, p, w, k) => y <= f && f <= w && m <= p && p <= k || y <= v && v <= w && m <= d && d <= k || y <= v && v <= w && m <= p && p <= k || y <= f && f <= w && m <= d && d <= k;
265
- return c(t, n, o, i, a, l, g, u) || c(o, i, t, n, g, u, a, l);
266
- }
267
- function W(e, s, n, t) {
268
- return e < 0 || n > window.innerWidth || s < 0 || t > document.documentElement.scrollHeight;
269
- }
270
- function q(e, s, n) {
271
- const t = s.clientHeight, l = s.clientWidth;
272
- let a, i;
273
- switch (n) {
274
- case 0: {
275
- i = window.scrollY + e.top - t + "px", a = e.left - l + "px";
276
- break;
277
- }
278
- case 1: {
279
- i = window.scrollY + e.top - t + "px", a = e.left + "px";
280
- break;
281
- }
282
- case 2: {
283
- i = window.scrollY + e.top - t + "px", a = e.right + "px";
284
- break;
285
- }
286
- case 3: {
287
- i = window.scrollY + e.top - t + "px", a = e.right - l + "px";
288
- break;
289
- }
290
- case 4: {
291
- i = window.scrollY + e.bottom + "px", a = e.left - l + "px";
292
- break;
293
- }
294
- case 5: {
295
- i = window.scrollY + e.bottom + "px", a = e.left + "px";
296
- break;
297
- }
298
- case 6: {
299
- i = window.scrollY + e.bottom + "px", a = e.right - l + "px";
300
- break;
301
- }
302
- case 7: {
303
- i = window.scrollY + e.bottom + "px", a = e.right + "px";
304
- break;
305
- }
306
- default:
307
- i = 0, a = 0;
308
- }
309
- return {
310
- top: i,
311
- left: a
312
- };
313
- }
314
- export {
315
- $ as AnalyticsDebuggerInternal,
316
- M as default
317
- };
@@ -1,56 +0,0 @@
1
- import { A as e, K as t, W as o, e as i, f as r, k as c, n, Y as p, B as g, Z as u, C as h, a2 as m, D as l, E as S, G as d, _ as M, H as P, z as y, I as x, p as A, a0 as L, y as C, x as f, q as O, L as v, F as R, w as T, N as B, r as I, M as b, a1 as k, $ as D, t as H, Q as w, O as G, T as Q, R as z, U as E, V as F, P as U, X as V, S as W, l as j, d as q, o as J, J as K, u as N, v as X, j as Y, s as Z, i as _, m as $, h as aa } from "./index-GeO8DZvj.js";
2
- export {
3
- e as Address,
4
- t as AddressSchema,
5
- o as AggregateRatingSchema,
6
- i as Analytics,
7
- r as AnalyticsContext,
8
- c as AnalyticsProvider,
9
- n as AnalyticsScopeProvider,
10
- p as BaiduMaps,
11
- g as BaseSchema,
12
- u as BingMaps,
13
- h as Clusterer,
14
- m as CoordinateClass,
15
- l as Day,
16
- S as Event,
17
- d as FAQPage,
18
- M as GoogleMaps,
19
- P as HoursStatus,
20
- y as HoursTable,
21
- x as Image,
22
- A as ImageLayoutOption,
23
- L as LeafletMaps,
24
- C as LegacyRichText,
25
- f as LexicalRichText,
26
- O as Link,
27
- v as ListingPublisherOption,
28
- R as LocalBusiness,
29
- T as LocationMap,
30
- B as LocationSchema,
31
- I as Map,
32
- b as MapProviderOption,
33
- k as MapQuestMaps,
34
- D as MapboxMaps,
35
- H as Marker,
36
- w as OfferSchema,
37
- G as OpeningHoursSchema,
38
- Q as OrganizationSchema,
39
- z as PerformerSchema,
40
- E as PhotoGallerySchema,
41
- F as PhotoSchema,
42
- U as Product,
43
- V as ReviewSchema,
44
- W as SchemaWrapper,
45
- j as debuggingParamDetected,
46
- q as getDirections,
47
- J as getImageUrl,
48
- K as getRichTextContent,
49
- N as useAnalytics,
50
- X as useClusterContext,
51
- Y as useIdentify,
52
- Z as useMapContext,
53
- _ as usePageView,
54
- $ as useScope,
55
- aa as useTrack
56
- };