@feathery/react 2.49.0 → 2.50.0

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.
Files changed (155) hide show
  1. package/cjs/Form/grid/Container/index.d.ts.map +1 -1
  2. package/cjs/elements/components/HoverTooltip.d.ts +24 -0
  3. package/cjs/elements/components/HoverTooltip.d.ts.map +1 -0
  4. package/cjs/elements/components/InlineTooltip.d.ts.map +1 -1
  5. package/cjs/elements/components/Overlay.d.ts +1 -1
  6. package/cjs/elements/components/Overlay.d.ts.map +1 -1
  7. package/cjs/elements/components/QuikFormViewer.d.ts.map +1 -1
  8. package/cjs/elements/components/TextHoverTooltip.d.ts.map +1 -1
  9. package/cjs/elements/components/Tooltip.d.ts +2 -1
  10. package/cjs/elements/components/Tooltip.d.ts.map +1 -1
  11. package/cjs/{fthry_AssistantChat.BuqbKhai.js → fthry_AssistantChat.BT32wDG3.js} +4 -4
  12. package/cjs/{fthry_FormControl.BuMQfeZ1.js → fthry_FormControl.D4ekieUI.js} +1 -1
  13. package/cjs/{fthry_InlineTooltip.D8PDRhj_.js → fthry_InlineTooltip.D5NfxKVo.js} +2 -16
  14. package/cjs/{fthry_PaymentMethodField.myalaaOZ.js → fthry_PaymentMethodField.vpxb_M9_.js} +3 -4
  15. package/cjs/{fthry_Placeholder.UOTZToMt.js → fthry_Placeholder.hq6Cgqjd.js} +1 -1
  16. package/cjs/{fthry_ShowEyeIcon.D8qDJDzZ.js → fthry_ShowEyeIcon.C-wsnI6q.js} +1 -1
  17. package/cjs/{fthry_TabsElement.BK0wFYNE.js → fthry_TabsElement.BHVCgyd9.js} +1 -1
  18. package/cjs/{fthry_auto-track.B5EtzK5A.js → fthry_auto-track.g9k-T7sJ.js} +2 -2
  19. package/cjs/{fthry_highlighted-body-TPN3WLV5.BEO11ycd.js → fthry_highlighted-body-TPN3WLV5.CaePR3vZ.js} +3 -3
  20. package/cjs/{fthry_index.BRo8czXJ.js → fthry_index.B5pgafIl.js} +2 -2
  21. package/cjs/{fthry_index.B_0S-igL.js → fthry_index.BDV7qf2C.js} +5 -6
  22. package/cjs/{fthry_index.C9AIy59J.js → fthry_index.BLKRQSHw.js} +2 -2
  23. package/cjs/{fthry_index.OwukJO9-.js → fthry_index.BcQE05aQ.js} +2 -2
  24. package/cjs/{fthry_index.B6qHn3Vr.js → fthry_index.BdAvU9aA.js} +5 -6
  25. package/cjs/{fthry_index.964D9mAK.js → fthry_index.BdOfkVzz.js} +2 -2
  26. package/cjs/{fthry_index.BFw_StvJ.js → fthry_index.BfD3esIa.js} +2 -2
  27. package/cjs/{fthry_index.e_GKEQRk.js → fthry_index.BiCUy3Q2.js} +1 -1
  28. package/cjs/{fthry_index.C-kN7c0o.js → fthry_index.BldM4IKR.js} +334 -40
  29. package/cjs/{fthry_index.DgGKGO1E.js → fthry_index.ByQJ8Db5.js} +10 -10
  30. package/cjs/{fthry_index.w9-CuoQH.js → fthry_index.C6YeHjI_.js} +5 -6
  31. package/cjs/{fthry_index.CoZzaKnE.js → fthry_index.CNXv_44w.js} +5 -6
  32. package/cjs/{fthry_index.BU9fFX-g.js → fthry_index.COg3w9c8.js} +1 -1
  33. package/cjs/{fthry_index.cpUxhiq-.js → fthry_index.CSq9ML1V.js} +2 -2
  34. package/cjs/{fthry_index.CP8jeStb.js → fthry_index.CW8fXwgP.js} +6 -7
  35. package/cjs/{fthry_index.CHLGQEBH.js → fthry_index.CX5Tx1di.js} +3 -4
  36. package/cjs/{fthry_index.DTMlYZBn.js → fthry_index.Cb-o7T3I.js} +1 -1
  37. package/cjs/{fthry_index.DKv8MgEz.js → fthry_index.ClbpUjqu.js} +8 -9
  38. package/cjs/{fthry_index.BvnQTPSY.js → fthry_index.Cn-052XC.js} +1 -1
  39. package/cjs/{fthry_index.BckiEDZJ.js → fthry_index.D3svtoqj.js} +4 -5
  40. package/cjs/{fthry_index.b8IraXmQ.js → fthry_index.D42pyZzz.js} +3 -4
  41. package/cjs/{fthry_index.DrrJo2Gf.js → fthry_index.DAY5VW01.js} +5 -6
  42. package/cjs/{fthry_index.BmILtMAD.js → fthry_index.DgVU5DPg.js} +3 -3
  43. package/cjs/{fthry_index.7ndzGWiJ.js → fthry_index.DjKuHZML.js} +4 -5
  44. package/cjs/{fthry_index.DHx_H1T3.js → fthry_index.DpQfBE8n.js} +1 -1
  45. package/cjs/{fthry_index.DPIewKZa.js → fthry_index.DqCigvUs.js} +1 -1
  46. package/cjs/{fthry_index.C2vpx_Q9.js → fthry_index.QAttsABq.js} +1 -1
  47. package/cjs/{fthry_index.C6ebZNtr.js → fthry_index.QRzfI0b4.js} +3 -18
  48. package/cjs/{fthry_index.D0My8MmY.js → fthry_index.m_XKSVM8.js} +1 -1
  49. package/cjs/{fthry_index.BcfL5ZZY.js → fthry_index.s2Ah9v4O.js} +1 -1
  50. package/cjs/{fthry_index.CrgFXYzE.js → fthry_index.u0sKUa7-.js} +1 -1
  51. package/cjs/{fthry_index.umd.YAgbegYu.js → fthry_index.umd.Cl6yVNEY.js} +1 -1
  52. package/cjs/{fthry_input.D3t8liSW.js → fthry_input.CzTMRvUa.js} +1 -1
  53. package/cjs/{fthry_mermaid-O7DHMXV3.C5wDh0Pr.js → fthry_mermaid-O7DHMXV3.1Tp00mbG.js} +3 -3
  54. package/cjs/{fthry_script.sEVfx6Kl.js → fthry_script.B2r1qN9_.js} +1 -1
  55. package/cjs/{fthry_styles.CFNJAwLy.js → fthry_styles.BcMEcBUF.js} +1 -1
  56. package/cjs/{fthry_useElementSize.yeWmUfpM.js → fthry_useElementSize.91AcUxkY.js} +1 -1
  57. package/cjs/{fthry_useSalesforceSync.C_sMWo9m.js → fthry_useSalesforceSync.BQORLqHu.js} +1 -1
  58. package/cjs/{fthry_webfontloader.DLiAwukX.js → fthry_webfontloader.DbJc3-T2.js} +1 -1
  59. package/cjs/index.js +1 -1
  60. package/cjs/thumbnail-renderer.js +1 -1
  61. package/cjs/utils/featheryClient/index.d.ts.map +1 -1
  62. package/dist/Form/grid/Container/index.d.ts.map +1 -1
  63. package/dist/elements/components/HoverTooltip.d.ts +24 -0
  64. package/dist/elements/components/HoverTooltip.d.ts.map +1 -0
  65. package/dist/elements/components/InlineTooltip.d.ts.map +1 -1
  66. package/dist/elements/components/Overlay.d.ts +1 -1
  67. package/dist/elements/components/Overlay.d.ts.map +1 -1
  68. package/dist/elements/components/QuikFormViewer.d.ts.map +1 -1
  69. package/dist/elements/components/TextHoverTooltip.d.ts.map +1 -1
  70. package/dist/elements/components/Tooltip.d.ts +2 -1
  71. package/dist/elements/components/Tooltip.d.ts.map +1 -1
  72. package/dist/{fthry_AssistantChat.BejpFcyu.js → fthry_AssistantChat.BxCe9PjE.js} +4 -4
  73. package/dist/{fthry_FormControl.C3pHyJdN.js → fthry_FormControl.BpMXWUv6.js} +1 -1
  74. package/dist/{fthry_InlineTooltip.mv-Gc2Xw.js → fthry_InlineTooltip.Brp4oi0p.js} +2 -16
  75. package/dist/{fthry_PaymentMethodField.D7ElRh4C.js → fthry_PaymentMethodField.0oIU1B6N.js} +3 -4
  76. package/dist/{fthry_Placeholder.CRBysDun.js → fthry_Placeholder.CEPxPTLL.js} +1 -1
  77. package/dist/{fthry_ShowEyeIcon.Ds0oud66.js → fthry_ShowEyeIcon.BWU3OOxh.js} +1 -1
  78. package/dist/{fthry_TabsElement.BCuhzX6e.js → fthry_TabsElement.DFuHUYUv.js} +1 -1
  79. package/dist/{fthry_auto-track.Dbu38K5j.js → fthry_auto-track.CizHo0k5.js} +2 -2
  80. package/dist/{fthry_highlighted-body-TPN3WLV5.Cuh_lSww.js → fthry_highlighted-body-TPN3WLV5.DDCKzqBt.js} +3 -3
  81. package/dist/{fthry_index.YJH2_M8x.js → fthry_index.-GpsDCwK.js} +3 -4
  82. package/dist/{fthry_index.xZSdf7ry.js → fthry_index.6wMTFMTj.js} +1 -1
  83. package/dist/{fthry_index.BnWgnMbc.js → fthry_index.BDSy9TBV.js} +4 -5
  84. package/dist/{fthry_index.B31t0UUz.js → fthry_index.BeEYTrUw.js} +2 -2
  85. package/dist/{fthry_index.C8wcBfv1.js → fthry_index.Bmr2qAQ9.js} +1 -1
  86. package/dist/{fthry_index.DeOBTZSR.js → fthry_index.Bn_DZ8s-.js} +2 -2
  87. package/dist/{fthry_index.CreqHrWa.js → fthry_index.Bs0b7fF8.js} +1 -1
  88. package/dist/{fthry_index._4LdTVJS.js → fthry_index.ByfmNWHm.js} +2 -2
  89. package/dist/{fthry_index.BEUoZUyK.js → fthry_index.C-3BwV3D.js} +1 -1
  90. package/dist/{fthry_index.B0NbPkQc.js → fthry_index.CEFYX7Cb.js} +1 -1
  91. package/dist/{fthry_index.Bb2rQlTP.js → fthry_index.CKyEKNhB.js} +3 -4
  92. package/dist/{fthry_index.Du_mis5t.js → fthry_index.CV6KaQP2.js} +3 -18
  93. package/dist/{fthry_index.0OEg6H3i.js → fthry_index.CXvBwACd.js} +1 -1
  94. package/dist/{fthry_index.YWCe9xut.js → fthry_index.CgeOgf6v.js} +7 -8
  95. package/dist/{fthry_index.Bx6S1qZa.js → fthry_index.Cl0vinm2.js} +2 -2
  96. package/dist/{fthry_index.NwQXVZvL.js → fthry_index.DD4JAsd0.js} +3 -3
  97. package/dist/{fthry_index.B-NWpaAl.js → fthry_index.DF33pFg0.js} +2 -2
  98. package/dist/{fthry_index.5jB_IKHJ.js → fthry_index.DZYRCGrF.js} +5 -6
  99. package/dist/{fthry_index.C2TazyZo.js → fthry_index.DjeCrTPA.js} +1 -1
  100. package/dist/{fthry_index.aL99gjHK.js → fthry_index.DkB3n_gE.js} +4 -5
  101. package/dist/{fthry_index.DJzR8T-r.js → fthry_index.DtEJ8UnC.js} +4 -5
  102. package/dist/{fthry_index.DEpC-Z5v.js → fthry_index.DuFXqlIh.js} +4 -5
  103. package/dist/{fthry_index.DJHFwZtE.js → fthry_index.Gk4XHc2v.js} +4 -5
  104. package/dist/{fthry_index.BgljRyhO.js → fthry_index.HfY_xMXi.js} +10 -10
  105. package/dist/{fthry_index.CWSqgxAa.js → fthry_index.Tz4wWr5G.js} +5 -6
  106. package/dist/{fthry_index.cdWJRcXS.js → fthry_index.UaQC1EFo.js} +332 -41
  107. package/dist/{fthry_index.CQaO0qYK.js → fthry_index.UqBNOqYF.js} +1 -1
  108. package/dist/{fthry_index.T_q8o1IJ.js → fthry_index.X-5RnKbv.js} +1 -1
  109. package/dist/{fthry_index.B8QhrENg.js → fthry_index.caHStIvy.js} +1 -1
  110. package/dist/{fthry_index.DS-rgCeg.js → fthry_index.l3GNavsZ.js} +5 -6
  111. package/dist/{fthry_index.umd.BYgeEgf8.js → fthry_index.umd.zD2ytPrK.js} +1 -1
  112. package/dist/{fthry_index.D4jtsTFt.js → fthry_index.wOe1Wv1J.js} +2 -2
  113. package/dist/{fthry_input.DbXz6y8m.js → fthry_input.vNAUHsdE.js} +1 -1
  114. package/dist/fthry_mermaid-O7DHMXV3.C6znNgyC.js +8 -0
  115. package/dist/{fthry_script.BORBdvL8.js → fthry_script.ClnRFan9.js} +1 -1
  116. package/dist/{fthry_styles.BfxKVFUw.js → fthry_styles.NzBPYPQ9.js} +1 -1
  117. package/dist/{fthry_useElementSize.BIz4pNfw.js → fthry_useElementSize.CGVQMCbV.js} +1 -1
  118. package/dist/{fthry_useSalesforceSync.wO8Y6yIk.js → fthry_useSalesforceSync.DDPGKOl4.js} +1 -1
  119. package/dist/{fthry_webfontloader.D4WGyNNh.js → fthry_webfontloader.BY0qufCl.js} +1 -1
  120. package/dist/index.js +2 -2
  121. package/dist/thumbnail-renderer.js +1 -1
  122. package/dist/utils/featheryClient/index.d.ts.map +1 -1
  123. package/package.json +1 -1
  124. package/umd/AddressField.4a4788a40afba5fc22d2.js +1 -0
  125. package/umd/ButtonGroupField.fcf087a9664e14da7fc5.js +1 -0
  126. package/umd/CheckboxGroupField.7b055043cbd1ef8b3787.js +1 -0
  127. package/umd/DateSelectorField.b87988253da02a40c6f7.js +1 -0
  128. package/umd/DropdownField.459ba798e2ff6a8518c2.js +1 -0
  129. package/umd/DropdownMultiField.ad59b04c5e3c1ad1a6e8.js +1 -0
  130. package/umd/MatrixField.6541a0f9570b2c56e336.js +1 -0
  131. package/umd/PasswordField.fb8f587107389274112e.js +1 -0
  132. package/umd/PaymentMethodField.f6820da8252bb2eed6b1.js +1 -0
  133. package/umd/PhoneField.a161db93d8f815ced395.js +1 -0
  134. package/umd/RadioButtonGroupField.9a43334b87129e33afd2.js +1 -0
  135. package/umd/TextArea.8341b3d302383a53175d.js +1 -0
  136. package/umd/TextField.fa9f11c4b1fab1747ae1.js +1 -0
  137. package/umd/index.js +1 -1
  138. package/cjs/fthry_Overlay.D-NnFWEe.js +0 -231
  139. package/dist/fthry_Overlay.CPbgvfMU.js +0 -228
  140. package/dist/fthry_mermaid-O7DHMXV3.BTTUMTMH.js +0 -8
  141. package/umd/277.1a33ea06f86326613fcb.js +0 -1
  142. package/umd/664.4a3ec465094a3d59c184.js +0 -1
  143. package/umd/AddressField.648b3da916171008dc9f.js +0 -1
  144. package/umd/ButtonGroupField.d39ac976a6dee9ef593a.js +0 -1
  145. package/umd/CheckboxGroupField.e495eb152c4faa000d4b.js +0 -1
  146. package/umd/DateSelectorField.e702b3e6b0a5b498c824.js +0 -1
  147. package/umd/DropdownField.d1a234d236d9989bbf20.js +0 -1
  148. package/umd/DropdownMultiField.5b4e24025035f1678c83.js +0 -1
  149. package/umd/MatrixField.bcd6f58ea1896f386988.js +0 -1
  150. package/umd/PasswordField.593d7b7d3d954634fa30.js +0 -1
  151. package/umd/PaymentMethodField.8e4fd6353793eaaa2b5b.js +0 -1
  152. package/umd/PhoneField.861b99c7e81b4b9c8648.js +0 -1
  153. package/umd/RadioButtonGroupField.7a333a6f7e578a181a98.js +0 -1
  154. package/umd/TextArea.04335be4f0f0d6c0cc1a.js +0 -1
  155. package/umd/TextField.749931ebb258bf38e007.js +0 -1
@@ -23573,21 +23573,277 @@ var StyledContainer = forwardRef(function (_a, ref) {
23573
23573
  return (jsxs(Fragment, { children: [isFixed && (jsx$1("div", __assign({ className: classNames('styled-container', type, className) }, props, { css: __assign(__assign({}, styles), { position: 'fixed', zIndex: FORM_Z_INDEX + 1 }), ref: fixedContainerRef, "data-feathery-id": node.key, "data-element": elementType }, { children: jsx$1("div", __assign({ className: 'inner-container', css: innerStyles }, { children: children })) }), "".concat(node.id, "-fixed"))), jsx$1("div", __assign({ ref: ref, css: isFixed ? __assign(__assign({}, styles), { visibility: 'hidden' }) : styles, className: classNames('styled-container', type, className) }, props, { "data-id": node.id, "data-feathery-id": node.key, "data-element": elementType }, { children: jsx$1("div", __assign({ className: 'inner-container', css: innerStyles }, { children: isFixed ? null : children })) }), node.id)] }));
23574
23574
  });
23575
23575
 
23576
+ var Tooltip = function (_a) {
23577
+ var children = _a.children, css = _a.css, _b = _a.maxWidth, maxWidth = _b === void 0 ? '200px' : _b, props = __rest$1(_a, ["children", "css", "maxWidth"]);
23578
+ return (jsx$1("div", __assign({ css: __assign({ zIndex: FORM_Z_INDEX + 1, padding: '.4rem 0', transition: 'opacity .10s linear', '.tooltip-inner': {
23579
+ maxWidth: maxWidth,
23580
+ padding: '.25rem .5rem',
23581
+ color: '#fff',
23582
+ textAlign: 'center',
23583
+ backgroundColor: '#000',
23584
+ borderRadius: '.25rem',
23585
+ fontSize: 'smaller',
23586
+ // break long unbroken words so they wrap instead of overflowing
23587
+ overflowWrap: 'anywhere'
23588
+ } }, css) }, props, { children: jsx$1("div", __assign({ className: 'tooltip-inner' }, { children: children })) })));
23589
+ };
23590
+
23591
+ var Overlay = function (_a) {
23592
+ var show = _a.show, targetRef = _a.targetRef, children = _a.children, onHide = _a.onHide, _b = _a.placement, placement = _b === void 0 ? 'bottom-start' : _b, _c = _a.offset, offset = _c === void 0 ? 0 : _c, _d = _a.zIndex, zIndex = _d === void 0 ? 1000 : _d, containerRef = _a.containerRef;
23593
+ var ref = useRef(null);
23594
+ var _e = __read(useState(null), 2), position = _e[0], setPosition = _e[1];
23595
+ var getContainer = useCallback(function () {
23596
+ return (containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) || featheryDoc().body;
23597
+ }, [containerRef]);
23598
+ var recalcPosition = useCallback(function () {
23599
+ var _a;
23600
+ if (!show || !targetRef.current || !ref.current)
23601
+ return;
23602
+ var window = featheryWindow();
23603
+ var container = getContainer();
23604
+ if (!container)
23605
+ return;
23606
+ var targetRect = targetRef.current.getBoundingClientRect();
23607
+ var overlayRect = ref.current.getBoundingClientRect();
23608
+ var containerRect = container.getBoundingClientRect();
23609
+ var _b = calcPosition(placement, targetRect, overlayRect, offset), top = _b.top, left = _b.left;
23610
+ // Flip if it doesn’t fit
23611
+ var overlayBottom = top + overlayRect.height;
23612
+ var overlayRight = left + overlayRect.width;
23613
+ var fitsVertically = top >= 0 && overlayBottom <= window.innerHeight;
23614
+ var fitsHorizontally = left >= 0 && overlayRight <= window.innerWidth;
23615
+ if (!fitsVertically || !fitsHorizontally) {
23616
+ var flipped = getFlippedPlacement(placement, !fitsVertically, !fitsHorizontally);
23617
+ if (flipped !== placement) {
23618
+ (_a = calcPosition(flipped, targetRect, overlayRect, offset), top = _a.top, left = _a.left);
23619
+ }
23620
+ }
23621
+ var isBodyContainer = container === featheryDoc().body;
23622
+ var finalTop = isBodyContainer
23623
+ ? top + window.scrollY
23624
+ : top - containerRect.top;
23625
+ var finalLeft = isBodyContainer
23626
+ ? left + window.scrollX
23627
+ : left - containerRect.left;
23628
+ setPosition(function (prev) {
23629
+ if (!prev || prev.top !== finalTop || prev.left !== finalLeft) {
23630
+ return { top: finalTop, left: finalLeft };
23631
+ }
23632
+ return prev;
23633
+ });
23634
+ }, [show, placement, offset, getContainer, targetRef]);
23635
+ var throttledRecalc = useCallback(function () {
23636
+ var ticking = false;
23637
+ return function () {
23638
+ if (!ticking) {
23639
+ ticking = true;
23640
+ requestAnimationFrame(function () {
23641
+ recalcPosition();
23642
+ ticking = false;
23643
+ });
23644
+ }
23645
+ };
23646
+ }, [recalcPosition])();
23647
+ useLayoutEffect(function () {
23648
+ if (show)
23649
+ recalcPosition();
23650
+ }, [show, recalcPosition]);
23651
+ useEffect(function () {
23652
+ if (!show)
23653
+ return;
23654
+ var window = featheryWindow();
23655
+ var container = getContainer();
23656
+ if (!container)
23657
+ return;
23658
+ window.addEventListener('resize', throttledRecalc);
23659
+ window.addEventListener('scroll', throttledRecalc, true);
23660
+ if (container !== featheryDoc().body) {
23661
+ container.addEventListener('scroll', throttledRecalc);
23662
+ }
23663
+ var resizeObserver = new ResizeObserver(function () { return throttledRecalc(); });
23664
+ if (targetRef.current)
23665
+ resizeObserver.observe(targetRef.current);
23666
+ if (container !== featheryDoc().body)
23667
+ resizeObserver.observe(container);
23668
+ return function () {
23669
+ window.removeEventListener('resize', throttledRecalc);
23670
+ window.removeEventListener('scroll', throttledRecalc, true);
23671
+ if (container !== featheryDoc().body) {
23672
+ container.removeEventListener('scroll', throttledRecalc);
23673
+ }
23674
+ resizeObserver.disconnect();
23675
+ };
23676
+ }, [show, throttledRecalc, getContainer, targetRef]);
23677
+ useEffect(function () {
23678
+ if (!show)
23679
+ return;
23680
+ var handleKeyDown = function (event) {
23681
+ if (event.key === 'Escape') {
23682
+ setPosition(null);
23683
+ onHide === null || onHide === void 0 ? void 0 : onHide();
23684
+ }
23685
+ };
23686
+ var handleClickOutside = function (event) {
23687
+ var target = event.target;
23688
+ if (ref.current &&
23689
+ !ref.current.contains(target) &&
23690
+ targetRef.current &&
23691
+ !targetRef.current.contains(target)) {
23692
+ setPosition(null);
23693
+ onHide === null || onHide === void 0 ? void 0 : onHide();
23694
+ }
23695
+ };
23696
+ var doc = featheryDoc();
23697
+ doc.addEventListener('mousedown', handleClickOutside);
23698
+ doc.addEventListener('keydown', handleKeyDown);
23699
+ return function () {
23700
+ doc.removeEventListener('mousedown', handleClickOutside);
23701
+ doc.removeEventListener('keydown', handleKeyDown);
23702
+ };
23703
+ }, [show, onHide, targetRef]);
23704
+ if (!show)
23705
+ return null;
23706
+ var container = getContainer();
23707
+ if (!container)
23708
+ return jsx$1(Fragment, { children: children });
23709
+ return createPortal(jsx$1("div", __assign({ ref: ref, style: __assign(__assign({ position: 'absolute' }, (position || { top: -9999, left: -9999 })), { zIndex: zIndex }) }, { children: children })), container);
23710
+ };
23711
+ var getFlippedPlacement = function (original, needsVerticalFlip, needsHorizontalFlip) {
23712
+ if (needsVerticalFlip) {
23713
+ if (original.includes('top')) {
23714
+ return original.replace('top', 'bottom');
23715
+ }
23716
+ if (original.includes('bottom')) {
23717
+ return original.replace('bottom', 'top');
23718
+ }
23719
+ }
23720
+ if (needsHorizontalFlip) {
23721
+ if (original.includes('left')) {
23722
+ return original.replace('left', 'right');
23723
+ }
23724
+ if (original.includes('right')) {
23725
+ return original.replace('right', 'left');
23726
+ }
23727
+ }
23728
+ return original;
23729
+ };
23730
+ var calcPosition = function (pl, targetRect, overlayRect, offset) {
23731
+ if (offset === void 0) { offset = 0; }
23732
+ switch (pl) {
23733
+ case 'top':
23734
+ return {
23735
+ top: targetRect.top - overlayRect.height - offset,
23736
+ left: targetRect.left + (targetRect.width - overlayRect.width) / 2
23737
+ };
23738
+ case 'top-start':
23739
+ return {
23740
+ top: targetRect.top - overlayRect.height - offset,
23741
+ left: targetRect.left
23742
+ };
23743
+ case 'top-end':
23744
+ return {
23745
+ top: targetRect.top - overlayRect.height - offset,
23746
+ left: targetRect.right - overlayRect.width
23747
+ };
23748
+ case 'left':
23749
+ return {
23750
+ top: targetRect.top + (targetRect.height - overlayRect.height) / 2,
23751
+ left: targetRect.left - overlayRect.width - offset
23752
+ };
23753
+ case 'left-start':
23754
+ return {
23755
+ top: targetRect.top,
23756
+ left: targetRect.left - overlayRect.width - offset
23757
+ };
23758
+ case 'left-end':
23759
+ return {
23760
+ top: targetRect.bottom - overlayRect.height,
23761
+ left: targetRect.left - overlayRect.width - offset
23762
+ };
23763
+ case 'bottom':
23764
+ return {
23765
+ top: targetRect.bottom + offset,
23766
+ left: targetRect.left + (targetRect.width - overlayRect.width) / 2
23767
+ };
23768
+ case 'bottom-start':
23769
+ return {
23770
+ top: targetRect.bottom + offset,
23771
+ left: targetRect.left
23772
+ };
23773
+ case 'bottom-end':
23774
+ return {
23775
+ top: targetRect.bottom + offset,
23776
+ left: targetRect.right - overlayRect.width
23777
+ };
23778
+ case 'right':
23779
+ return {
23780
+ top: targetRect.top + (targetRect.height - overlayRect.height) / 2,
23781
+ left: targetRect.right + offset
23782
+ };
23783
+ case 'right-start':
23784
+ return {
23785
+ top: targetRect.top,
23786
+ left: targetRect.right + offset
23787
+ };
23788
+ case 'right-end':
23789
+ return {
23790
+ top: targetRect.bottom - overlayRect.height,
23791
+ left: targetRect.right + offset
23792
+ };
23793
+ default:
23794
+ return {
23795
+ top: targetRect.bottom + offset,
23796
+ left: targetRect.left + (targetRect.width - overlayRect.width) / 2
23797
+ };
23798
+ }
23799
+ };
23800
+
23801
+ /**
23802
+ * Shared overlay-anchored tooltip used by InlineTooltip (field help icon),
23803
+ * TextHoverTooltip (hoverable text), and container hover tooltips. Renders the
23804
+ * styled Tooltip inside an Overlay anchored to the provided trigger ref. The
23805
+ * caller owns the show state and the trigger element + its event handlers.
23806
+ */
23807
+ function HoverTooltip(_a) {
23808
+ var show = _a.show, triggerRef = _a.triggerRef, text = _a.text, id = _a.id, onHide = _a.onHide, containerRef = _a.containerRef, _b = _a.placement, placement = _b === void 0 ? 'top' : _b, _c = _a.offset, offset = _c === void 0 ? 4 : _c, css = _a.css, maxWidth = _a.maxWidth;
23809
+ if (!text)
23810
+ return null;
23811
+ return (jsx$1(Overlay, __assign({ show: show, targetRef: triggerRef, containerRef: containerRef, placement: placement, onHide: onHide, offset: offset }, { children: jsx$1(Tooltip, __assign({ id: "tooltip-".concat(id), css: css, maxWidth: maxWidth }, { children: text })) })));
23812
+ }
23813
+
23576
23814
  /**
23577
23815
  * Container
23578
23816
  * This component adds additional logic to the StyledContainer that is unique
23579
23817
  * to rendering containers on hosted forms (not the editor).
23580
23818
  */
23581
23819
  var Container = function (_a) {
23582
- var _b, _c;
23583
- var node = _a.node, _d = _a.runElementActions, runElementActions = _d === void 0 ? function () { } : _d, selected = _a.selected, viewport = _a.viewport, form = _a.form, children = _a.children;
23820
+ var _b, _c, _d;
23821
+ var node = _a.node, _e = _a.runElementActions, runElementActions = _e === void 0 ? function () { } : _e, selected = _a.selected, viewport = _a.viewport, form = _a.form, children = _a.children;
23584
23822
  var ref = useRef(null);
23823
+ var _f = __read(useState(false), 2), showTooltip = _f[0], setShowTooltip = _f[1];
23585
23824
  var additionalCss = {};
23586
23825
  var handleClick;
23826
+ // Container-level hover tooltips apply only to actual containers. Field
23827
+ // elements share the same `tooltipText` property but render their own
23828
+ // icon-based InlineTooltip, so they must be excluded here.
23829
+ var tooltipText = !node.isElement && ((_b = node.properties) === null || _b === void 0 ? void 0 : _b.tooltipText)
23830
+ ? replaceTextVariables(node.properties.tooltipText, node.repeat)
23831
+ : '';
23832
+ var isMobile$1 = isMobile();
23833
+ var tooltipHoverProps = tooltipText
23834
+ ? {
23835
+ // mouse hover is the primary trigger; disabled on mobile where a tap is
23836
+ // ambiguous (containers commonly carry click actions)
23837
+ onMouseEnter: isMobile$1 ? undefined : function () { return setShowTooltip(true); },
23838
+ onMouseLeave: isMobile$1 ? undefined : function () { return setShowTooltip(false); },
23839
+ onFocus: function () { return setShowTooltip(true); },
23840
+ onBlur: function () { return setShowTooltip(false); }
23841
+ }
23842
+ : {};
23587
23843
  if (!node.isElement) {
23588
- var properties = (_b = node.properties) !== null && _b !== void 0 ? _b : {};
23589
- var actions_1 = (_c = properties.actions) !== null && _c !== void 0 ? _c : [];
23590
- var _e = __read(getCellStyle(node, undefined, form.formSettings.mobileBreakpoint), 3), _f = _e[1], cellHoverStyle = _f === void 0 ? {} : _f, _g = _e[2], cellActiveStyle = _g === void 0 ? {} : _g;
23844
+ var properties = (_c = node.properties) !== null && _c !== void 0 ? _c : {};
23845
+ var actions_1 = (_d = properties.actions) !== null && _d !== void 0 ? _d : [];
23846
+ var _g = __read(getCellStyle(node, undefined, form.formSettings.mobileBreakpoint), 3), _h = _g[1], cellHoverStyle = _h === void 0 ? {} : _h, _j = _g[2], cellActiveStyle = _j === void 0 ? {} : _j;
23591
23847
  var selectableStyles = actions_1.length > 0
23592
23848
  ? __assign(__assign({ cursor: 'pointer', transition: '0.2s ease opacity, color, background-color, border-width, border-color, outline, box-shadow' }, (selected ? cellActiveStyle : {})), { '&:hover': cellHoverStyle }) : {};
23593
23849
  handleClick = function (e) {
@@ -23608,7 +23864,7 @@ var Container = function (_a) {
23608
23864
  };
23609
23865
  Object.assign(additionalCss, selectableStyles);
23610
23866
  }
23611
- return (jsx$1(StyledContainer, __assign({ ref: ref, node: node, css: additionalCss, onClick: handleClick, viewport: viewport, breakpoint: form.formSettings.mobileBreakpoint }, { children: children })));
23867
+ return (jsxs(Fragment, { children: [jsx$1(StyledContainer, __assign({ ref: ref, node: node, css: additionalCss, onClick: handleClick, viewport: viewport, breakpoint: form.formSettings.mobileBreakpoint }, tooltipHoverProps, { children: children })), tooltipText && (jsx$1(HoverTooltip, { show: showTooltip, triggerRef: ref, text: tooltipText, id: node.id, onHide: function () { return setShowTooltip(false); }, maxWidth: '320px' }))] }));
23612
23868
  };
23613
23869
 
23614
23870
  function transformCalendlyParams(config) {
@@ -24244,7 +24500,24 @@ function QuikFormViewer(_a) {
24244
24500
  };
24245
24501
  }, [setShow]);
24246
24502
  if (!htmlContent)
24247
- return jsx$1("div", { children: "Loading..." });
24503
+ return (jsx$1("div", __assign({ css: {
24504
+ display: 'flex',
24505
+ alignItems: 'center',
24506
+ justifyContent: 'center',
24507
+ width: '100%',
24508
+ height: '100%',
24509
+ minHeight: 200
24510
+ } }, { children: jsxs("div", __assign({ css: {
24511
+ display: 'flex',
24512
+ flexDirection: 'column',
24513
+ alignItems: 'center',
24514
+ gap: 16
24515
+ } }, { children: [jsx$1("div", __assign({ css: { fontSize: 28 } }, { children: jsx$1(FeatherySpinner$1, {}) })), jsx$1("span", __assign({ css: {
24516
+ fontFamily: "'Helvetica Neue', helvetica, arial, sans-serif",
24517
+ fontSize: 16,
24518
+ fontWeight: 400,
24519
+ color: '#414859'
24520
+ } }, { children: "Generating your paperwork. Please wait..." }))] })) })));
24248
24521
  return (jsx$1("div", __assign({ css: inline
24249
24522
  ? { width: '100%', height: '100%', overflow: 'auto' }
24250
24523
  : {
@@ -41074,7 +41347,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
41074
41347
  }, [activeStep, stepKey, formName]);
41075
41348
  }
41076
41349
 
41077
- var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.BejpFcyu.js').then(function (n) { return n.A; }); });
41350
+ var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.BxCe9PjE.js').then(function (n) { return n.A; }); });
41078
41351
  var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
41079
41352
 
41080
41353
  var AssistantClient = /** @class */ (function () {
@@ -45115,7 +45388,7 @@ function loadSegment(segmentConfig, queue) {
45115
45388
  case 0:
45116
45389
  _a.trys.push([0, 2, , 3]);
45117
45390
  return [4 /*yield*/, import(
45118
- /* webpackChunkName: "segment" */ './fthry_index.BgljRyhO.js').then(function (n) { return n.q; })];
45391
+ /* webpackChunkName: "segment" */ './fthry_index.HfY_xMXi.js').then(function (n) { return n.q; })];
45119
45392
  case 1:
45120
45393
  (AnalyticsBrowserClass = (_a.sent()).AnalyticsBrowser);
45121
45394
  return [3 /*break*/, 3];
@@ -47139,7 +47412,7 @@ var FeatheryClient = /** @class */ (function (_super) {
47139
47412
  */
47140
47413
  FeatheryClient.prototype._debouncedSubmitCustom = function (override) {
47141
47414
  return __awaiter$2(this, void 0, void 0, function () {
47142
- var customKeyValues, userId, url, jsonKeyVals, formData, options, uniqueId, req;
47415
+ var customKeyValues, userId, url, jsonKeyVals, formData, options, uniqueId, req, removeInFlight;
47143
47416
  var _this = this;
47144
47417
  return __generator(this, function (_a) {
47145
47418
  switch (_a.label) {
@@ -47152,6 +47425,13 @@ var FeatheryClient = /** @class */ (function (_super) {
47152
47425
  if (!isInteractionDetected()) {
47153
47426
  return [2 /*return*/];
47154
47427
  }
47428
+ // If the previous flush hasn't finished yet, skip this cycle. The pending
47429
+ // updates stay queued and a new debounced cycle is scheduled so they get
47430
+ // submitted once the in-flight request completes.
47431
+ if (Object.keys(this.customSubmitInFlight).length) {
47432
+ this.debouncedSubmitCustom(override);
47433
+ return [2 /*return*/];
47434
+ }
47155
47435
  customKeyValues = __assign({}, this.pendingCustomFieldUpdates);
47156
47436
  this.pendingCustomFieldUpdates = {}; // Clear pending updates after copying them
47157
47437
  userId = initInfo().userId;
@@ -47214,7 +47494,8 @@ var FeatheryClient = /** @class */ (function (_super) {
47214
47494
  this._removeCustomFieldListener();
47215
47495
  uniqueId = v4$1();
47216
47496
  req = this.offlineRequestHandler.runOrSaveRequest(function () { return _this._fetch(url, options, true, true); }, url, options, 'submit');
47217
- this.customSubmitInFlight[uniqueId] = req.then(function () { return delete _this.customSubmitInFlight[uniqueId]; });
47497
+ removeInFlight = function () { return delete _this.customSubmitInFlight[uniqueId]; };
47498
+ this.customSubmitInFlight[uniqueId] = req.then(removeInFlight, removeInFlight);
47218
47499
  return [4 /*yield*/, req];
47219
47500
  case 2: return [2 /*return*/, _a.sent()];
47220
47501
  }
@@ -47237,10 +47518,20 @@ var FeatheryClient = /** @class */ (function (_super) {
47237
47518
  return [4 /*yield*/, this.debouncedSubmitCustom.flush()];
47238
47519
  case 1:
47239
47520
  ret = _a.sent();
47240
- return [4 /*yield*/, Promise.all(Object.values(this.customSubmitInFlight))];
47521
+ _a.label = 2;
47241
47522
  case 2:
47523
+ if (!Object.keys(this.customSubmitInFlight).length) return [3 /*break*/, 5];
47524
+ return [4 /*yield*/, Promise.all(Object.values(this.customSubmitInFlight))];
47525
+ case 3:
47242
47526
  _a.sent();
47243
- return [2 /*return*/, ret];
47527
+ if (!Object.keys(this.pendingCustomFieldUpdates).length)
47528
+ return [3 /*break*/, 5];
47529
+ this.debouncedSubmitCustom(override);
47530
+ return [4 /*yield*/, this.debouncedSubmitCustom.flush()];
47531
+ case 4:
47532
+ ret = _a.sent();
47533
+ return [3 /*break*/, 2];
47534
+ case 5: return [2 /*return*/, ret];
47244
47535
  }
47245
47536
  });
47246
47537
  });
@@ -47750,9 +48041,9 @@ function init(sdkKey, options) {
47750
48041
  if (runningInClient()) {
47751
48042
  // Dynamically load libraries that must be client side
47752
48043
  global.scriptjsLoadPromise = import(
47753
- /* webpackChunkName: "scriptjs" */ './fthry_script.BORBdvL8.js').then(function (n) { return n.s; });
48044
+ /* webpackChunkName: "scriptjs" */ './fthry_script.ClnRFan9.js').then(function (n) { return n.s; });
47754
48045
  global.webfontloaderPromise = import(
47755
- /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.D4WGyNNh.js').then(function (n) { return n.w; });
48046
+ /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.BY0qufCl.js').then(function (n) { return n.w; });
47756
48047
  // Client-side tracking logic
47757
48048
  if (initState.userTracking === 'cookie') {
47758
48049
  var cookieKey = "feathery-user-id-".concat(sdkKey);
@@ -47939,7 +48230,7 @@ function loadCompletedSteps(client) {
47939
48230
  });
47940
48231
  }
47941
48232
  function logFeatheryBadge() {
47942
- console.log('%c Feathery %c v' + "2.49.0" + ' ', // replaced with real version during build
48233
+ console.log('%c Feathery %c v' + "2.50.0" + ' ', // replaced with real version during build
47943
48234
  'background: #e2626e; color: white; padding: 2px 6px; border-radius: 3px 0 0 3px; font-weight: bold;', 'background: #fce7e9; color: #c5495a; padding: 2px 6px; border-radius: 0 3px 3px 0;');
47944
48235
  }
47945
48236
 
@@ -49535,64 +49826,64 @@ function resolveLabelStyle(style, opts) {
49535
49826
 
49536
49827
  var fieldLoaders = {
49537
49828
  AddressLine1: function () {
49538
- return import(/* webpackChunkName: "AddressField" */ './fthry_index.BnWgnMbc.js');
49829
+ return import(/* webpackChunkName: "AddressField" */ './fthry_index.BDSy9TBV.js');
49539
49830
  },
49540
49831
  ButtonGroupField: function () {
49541
- return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.YJH2_M8x.js');
49832
+ return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.-GpsDCwK.js');
49542
49833
  },
49543
49834
  CheckboxField: function () {
49544
- return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.T_q8o1IJ.js');
49835
+ return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.X-5RnKbv.js');
49545
49836
  },
49546
49837
  CheckboxGroupField: function () {
49547
- return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.CWSqgxAa.js');
49838
+ return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.Tz4wWr5G.js');
49548
49839
  },
49549
49840
  ColorPickerField: function () {
49550
- return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.CreqHrWa.js');
49841
+ return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.Bs0b7fF8.js');
49551
49842
  },
49552
49843
  CustomField: function () {
49553
- return import(/* webpackChunkName: "CustomField" */ './fthry_index.CQaO0qYK.js');
49844
+ return import(/* webpackChunkName: "CustomField" */ './fthry_index.UqBNOqYF.js');
49554
49845
  },
49555
49846
  DateSelectorField: function () {
49556
- return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.DS-rgCeg.js');
49847
+ return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.l3GNavsZ.js');
49557
49848
  },
49558
49849
  DropdownField: function () {
49559
- return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DEpC-Z5v.js');
49850
+ return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DuFXqlIh.js');
49560
49851
  },
49561
49852
  DropdownMultiField: function () {
49562
- return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.DJHFwZtE.js');
49853
+ return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.Gk4XHc2v.js');
49563
49854
  },
49564
49855
  FileUploadField: function () {
49565
- return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.BEUoZUyK.js');
49856
+ return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.C-3BwV3D.js');
49566
49857
  },
49567
49858
  MatrixField: function () {
49568
- return import(/* webpackChunkName: "MatrixField" */ './fthry_index.Du_mis5t.js');
49859
+ return import(/* webpackChunkName: "MatrixField" */ './fthry_index.CV6KaQP2.js');
49569
49860
  },
49570
49861
  PasswordField: function () {
49571
- return import(/* webpackChunkName: "PasswordField" */ './fthry_index.aL99gjHK.js');
49862
+ return import(/* webpackChunkName: "PasswordField" */ './fthry_index.DkB3n_gE.js');
49572
49863
  },
49573
49864
  PaymentMethodField: function () {
49574
- return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.D7ElRh4C.js');
49865
+ return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.0oIU1B6N.js');
49575
49866
  },
49576
- PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.DJzR8T-r.js'); },
49867
+ PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.DtEJ8UnC.js'); },
49577
49868
  PinInputField: function () {
49578
- return import(/* webpackChunkName: "PinInputField" */ './fthry_index.C8wcBfv1.js');
49869
+ return import(/* webpackChunkName: "PinInputField" */ './fthry_index.Bmr2qAQ9.js');
49579
49870
  },
49580
- QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.DeOBTZSR.js'); },
49871
+ QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.Bn_DZ8s-.js'); },
49581
49872
  RadioButtonGroupField: function () {
49582
49873
  return import(
49583
- /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.5jB_IKHJ.js');
49874
+ /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.DZYRCGrF.js');
49584
49875
  },
49585
49876
  RatingField: function () {
49586
- return import(/* webpackChunkName: "RatingField" */ './fthry_index.0OEg6H3i.js');
49877
+ return import(/* webpackChunkName: "RatingField" */ './fthry_index.CXvBwACd.js');
49587
49878
  },
49588
49879
  SignatureField: function () {
49589
- return import(/* webpackChunkName: "SignatureField" */ './fthry_index.NwQXVZvL.js');
49880
+ return import(/* webpackChunkName: "SignatureField" */ './fthry_index.DD4JAsd0.js');
49590
49881
  },
49591
49882
  SliderField: function () {
49592
- return import(/* webpackChunkName: "SliderField" */ './fthry_index.Bx6S1qZa.js');
49883
+ return import(/* webpackChunkName: "SliderField" */ './fthry_index.Cl0vinm2.js');
49593
49884
  },
49594
- TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.YWCe9xut.js'); },
49595
- TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.Bb2rQlTP.js'); }
49885
+ TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.CgeOgf6v.js'); },
49886
+ TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.CKyEKNhB.js'); }
49596
49887
  };
49597
49888
  var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
49598
49889
  // Share the resolved component between preload and render. A separate
@@ -50844,8 +51135,8 @@ function ElementSkeleton(_a) {
50844
51135
  }
50845
51136
  var templateObject_1;
50846
51137
 
50847
- var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.xZSdf7ry.js'); });
50848
- var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.BCuhzX6e.js'); });
51138
+ var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.6wMTFMTj.js'); });
51139
+ var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.DFuHUYUv.js'); });
50849
51140
  var Basic = {
50850
51141
  ImageElement: ImageElement,
50851
51142
  VideoElement: VideoElement,
@@ -50875,4 +51166,4 @@ Object.entries(Elements).map(function (_a) {
50875
51166
  });
50876
51167
  });
50877
51168
 
50878
- export { __values as $, getStripe as A, filterKeys as B, ERROR_COLOR as C, DEFAULT_MOBILE_BREAKPOINT as D, ErrorInput as E, FeatheryCacheProvider as F, Grid as G, DROPDOWN_Z_INDEX as H, getFieldValue$1 as I, stringifyWithNull as J, emailPatternStr as K, replaceTextVariables as L, getDefaultExportFromCjs as M, debounce as N, isEmptyArray as O, toList as P, useThumbnailData as Q, __spreadArray as R, downloadFile as S, CloseIcon as T, justRemove as U, isNum as V, phoneLib as W, authState as X, firebaseSMSCountries as Y, phoneLibPromise as Z, __assign as _, calculateGlobalCSS as a, loadQRScanner as a0, throttle as a1, qrPromise as a2, AuthContext as a3, getFieldValues as a4, setFieldValues as a5, updateTheme as a6, updateUserId as a7, init as a8, Elements as a9, DECLARATION as aA, dealloc as aB, alloc as aC, hash as aD, charat as aE, strlen as aF, indexof as aG, next as aH, token as aI, from as aJ, peek as aK, delimit as aL, slice as aM, position as aN, compile as aO, __extends as aP, formatDateString as aQ, internalState as aR, getPositionKey$1 as aS, initState as aT, getRepeatedContainers as aU, getRepeatedContainer as aV, getDefaultFieldValue as aW, isButtonDisabled as aX, loadPhoneValidator as aY, initInfo as aZ, getCookie as a_, ReactForm as aa, v4$1 as ab, LoginForm as ac, JSForm as ad, getFormContext as ae, resolveLabelStyle as af, AssistantChat as ag, StyledContainer as ah, devicePixelRatio as ai, toBase64 as aj, MODAL_Z_INDEX as ak, dataURLToFile as al, stringify$2 as am, rulesheet as an, COMMENT as ao, middleware as ap, RULESET as aq, combine as ar, match as as, serialize as at, copy as au, replace as av, WEBKIT as aw, MOZ as ax, MS as ay, KEYFRAMES as az, jsxs as b, calculateStepCSS as c, iosScrollOnFocus as d, __read as e, fieldValues as f, getVisiblePositions as g, hoverStylesGuard as h, imgMaxSizeStyles as i, jsx$1 as j, countryData as k, css as l, __makeTemplateObject as m, noTextSelectStyles as n, Global as o, FORM_Z_INDEX as p, __rest$1 as q, resetStyles as r, __awaiter$2 as s, __generator as t, useBorder as u, FeatheryClient as v, featheryWindow as w, Fragment as x, isMobile as y, featheryDoc as z };
51169
+ export { firebaseSMSCountries as $, getStripe as A, filterKeys as B, ERROR_COLOR as C, DEFAULT_MOBILE_BREAKPOINT as D, ErrorInput as E, FeatheryCacheProvider as F, Grid as G, HoverTooltip as H, DROPDOWN_Z_INDEX as I, getFieldValue$1 as J, stringifyWithNull as K, emailPatternStr as L, replaceTextVariables as M, getDefaultExportFromCjs as N, Overlay as O, debounce as P, isEmptyArray as Q, toList as R, useThumbnailData as S, __spreadArray as T, downloadFile as U, CloseIcon as V, justRemove as W, isNum as X, phoneLib as Y, authState as Z, __assign as _, calculateGlobalCSS as a, loadPhoneValidator as a$, phoneLibPromise as a0, __values as a1, loadQRScanner as a2, throttle as a3, qrPromise as a4, AuthContext as a5, getFieldValues as a6, setFieldValues as a7, updateTheme as a8, updateUserId as a9, MS as aA, KEYFRAMES as aB, DECLARATION as aC, dealloc as aD, alloc as aE, hash as aF, charat as aG, strlen as aH, indexof as aI, next as aJ, token as aK, from as aL, peek as aM, delimit as aN, slice as aO, position as aP, compile as aQ, Tooltip as aR, __extends as aS, formatDateString as aT, internalState as aU, getPositionKey$1 as aV, initState as aW, getRepeatedContainers as aX, getRepeatedContainer as aY, getDefaultFieldValue as aZ, isButtonDisabled as a_, init as aa, Elements as ab, ReactForm as ac, v4$1 as ad, LoginForm as ae, JSForm as af, getFormContext as ag, resolveLabelStyle as ah, AssistantChat as ai, StyledContainer as aj, devicePixelRatio as ak, toBase64 as al, MODAL_Z_INDEX as am, dataURLToFile as an, stringify$2 as ao, rulesheet as ap, COMMENT as aq, middleware as ar, RULESET as as, combine as at, match as au, serialize as av, copy as aw, replace as ax, WEBKIT as ay, MOZ as az, jsxs as b, initInfo as b0, getCookie as b1, calculateStepCSS as c, iosScrollOnFocus as d, __read as e, fieldValues as f, getVisiblePositions as g, hoverStylesGuard as h, imgMaxSizeStyles as i, jsx$1 as j, countryData as k, css as l, __makeTemplateObject as m, noTextSelectStyles as n, Global as o, FORM_Z_INDEX as p, __rest$1 as q, resetStyles as r, __awaiter$2 as s, __generator as t, useBorder as u, FeatheryClient as v, featheryWindow as w, Fragment as x, isMobile as y, featheryDoc as z };
@@ -1,4 +1,4 @@
1
- import { j as jsx, _ as __assign, b as jsxs, e as __read, s as __awaiter, t as __generator, w as featheryWindow, x as Fragment, E as ErrorInput } from './fthry_index.cdWJRcXS.js';
1
+ import { j as jsx, _ as __assign, b as jsxs, e as __read, s as __awaiter, t as __generator, w as featheryWindow, x as Fragment, E as ErrorInput } from './fthry_index.UaQC1EFo.js';
2
2
  import { useRef, useState, useEffect, memo, useMemo } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'jszip';
@@ -1,4 +1,4 @@
1
- import { _ as __assign, h as hoverStylesGuard, b as jsxs, j as jsx, d as iosScrollOnFocus } from './fthry_index.cdWJRcXS.js';
1
+ import { _ as __assign, h as hoverStylesGuard, b as jsxs, j as jsx, d as iosScrollOnFocus } from './fthry_index.UaQC1EFo.js';
2
2
  import { useMemo } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'jszip';
@@ -1,4 +1,4 @@
1
- import { M as getDefaultExportFromCjs } from './fthry_index.cdWJRcXS.js';
1
+ import { N as getDefaultExportFromCjs } from './fthry_index.UaQC1EFo.js';
2
2
 
3
3
  var propTypes = {exports: {}};
4
4
 
@@ -1,16 +1,15 @@
1
- import { j as jsx, o as Global, l as css, m as __makeTemplateObject, _ as __assign, e as __read, y as isMobile, w as featheryWindow, z as featheryDoc, u as useBorder, b as jsxs$1, h as hoverStylesGuard, r as resetStyles, q as __rest, aQ as formatDateString } from './fthry_index.cdWJRcXS.js';
1
+ import { j as jsx, o as Global, l as css, m as __makeTemplateObject, _ as __assign, e as __read, y as isMobile, w as featheryWindow, z as featheryDoc, u as useBorder, b as jsxs$1, h as hoverStylesGuard, r as resetStyles, q as __rest, aT as formatDateString } from './fthry_index.UaQC1EFo.js';
2
2
  import * as React from 'react';
3
3
  import React__default, { useMemo, useLayoutEffect, cloneElement, createRef, Component, useRef, useCallback, useEffect, createElement, memo, useState } from 'react';
4
- import { P as Placeholder } from './fthry_Placeholder.CRBysDun.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.mv-Gc2Xw.js';
4
+ import { P as Placeholder } from './fthry_Placeholder.CEPxPTLL.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.Brp4oi0p.js';
6
6
  import { c as clsx } from './fthry_clsx.ChV9xqsO.js';
7
7
  import { jsxs, jsx as jsx$1 } from 'react/jsx-runtime';
8
8
  import * as ReactDOM from 'react-dom';
9
9
  import ReactDOM__default from 'react-dom';
10
- import { a as IMask, I as IMaskInput } from './fthry_input.DbXz6y8m.js';
10
+ import { a as IMask, I as IMaskInput } from './fthry_input.vNAUHsdE.js';
11
11
  import 'jszip';
12
- import './fthry_Overlay.CPbgvfMU.js';
13
- import './fthry_index.B8QhrENg.js';
12
+ import './fthry_index.caHStIvy.js';
14
13
 
15
14
  var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
16
15
  var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
@@ -1,4 +1,4 @@
1
- import { M as getDefaultExportFromCjs } from './fthry_index.cdWJRcXS.js';
1
+ import { N as getDefaultExportFromCjs } from './fthry_index.UaQC1EFo.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -1,4 +1,4 @@
1
- import { s as __awaiter, t as __generator } from './fthry_index.cdWJRcXS.js';
1
+ import { s as __awaiter, t as __generator } from './fthry_index.UaQC1EFo.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'jszip';
@@ -11,7 +11,7 @@ function loadLegacyVideoPlugins(analytics) {
11
11
  switch (_a.label) {
12
12
  case 0: return [4 /*yield*/, import(
13
13
  // @ts-expect-error
14
- './fthry_index.umd.BYgeEgf8.js').then(function (n) { return n.i; })
14
+ './fthry_index.umd.zD2ytPrK.js').then(function (n) { return n.i; })
15
15
  // This is super gross, but we need to support the `window.analytics.plugins` namespace
16
16
  // that is linked in the segment docs in order to be backwards compatible with ajs-classic
17
17
  // @ts-expect-error
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { P as PropTypes } from './fthry_index.B8QhrENg.js';
2
+ import { P as PropTypes } from './fthry_index.caHStIvy.js';
3
3
 
4
4
  /** Checks if value is string */
5
5
  function isString(str) {
@@ -0,0 +1,8 @@
1
+ export { u as Mermaid } from './fthry_AssistantChat.BxCe9PjE.js';
2
+ import './fthry_index.UaQC1EFo.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
5
+ import 'jszip';
6
+ import 'react-dom';
7
+ import './fthry_clsx.ChV9xqsO.js';
8
+ import './fthry_index.DjeCrTPA.js';
@@ -1,4 +1,4 @@
1
- import { M as getDefaultExportFromCjs } from './fthry_index.cdWJRcXS.js';
1
+ import { N as getDefaultExportFromCjs } from './fthry_index.UaQC1EFo.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { useState, useMemo } from 'react';
3
- import { M as getDefaultExportFromCjs, b as jsxs, x as Fragment, j as jsx, o as Global, l as css, m as __makeTemplateObject } from './fthry_index.cdWJRcXS.js';
3
+ import { N as getDefaultExportFromCjs, b as jsxs, x as Fragment, j as jsx, o as Global, l as css, m as __makeTemplateObject } from './fthry_index.UaQC1EFo.js';
4
4
  import { flushSync } from 'react-dom';
5
5
 
6
6
  function canUseDom() {
@@ -1,4 +1,4 @@
1
- import { e as __read, w as featheryWindow } from './fthry_index.cdWJRcXS.js';
1
+ import { e as __read, w as featheryWindow } from './fthry_index.UaQC1EFo.js';
2
2
  import { useState, useLayoutEffect } from 'react';
3
3
 
4
4
  function useElementSize(anchorRef) {