@mindly/ui-components 1.0.3 → 1.0.4
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.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/therapist-card/TherapistCard.style.d.ts +0 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/therapist-card/TherapistCard.style.d.ts +0 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("react/jsx-runtime"),e=require("styled-components"),i=require("react"),t=require("@ionic/react");function o(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}function r(n){if(n&&n.__esModule)return n;var e=Object.create(null);return n&&Object.keys(n).forEach((function(i){if("default"!==i){var t=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(e,i,t.get?t:{enumerable:!0,get:function(){return n[i]}})}})),e.default=n,Object.freeze(e)}var a=o(e),d=r(i),s=function(){return s=Object.assign||function(n){for(var e,i=1,t=arguments.length;i<t;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n},s.apply(this,arguments)};function l(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n}var p,c,x,h,g,f,u,m,b="#21ABD2",w="#F0FBFF",v="#1D201F",y="#5B5B5B",j="#C1C1C1",k="#478862",z="#F5F9FF",C="#D6F2F9",B="#f1646f",I="#FFFFFF",F="#F2F4F7",L="#E9F7FB",S="#F5939A",T="#90D5E8",D="#E5E5E5",E="#E8ECF2",N=a.default.button(m||(m=l(["\n padding: 8px 0;\n width: 100%;\n border-radius: 4px;\n max-height: 40px;\n border: 0;\n background: ",";\n color: ",";\n\n &:hover,\n &:active {\n box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.2),\n inset 0 -4px 15px rgba(0, 0, 0, 0.2);\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n\n ","\n\n ","\n\n ","\n"],["\n padding: 8px 0;\n width: 100%;\n border-radius: 4px;\n max-height: 40px;\n border: 0;\n background: ",";\n color: ",";\n\n &:hover,\n &:active {\n box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.2),\n inset 0 -4px 15px rgba(0, 0, 0, 0.2);\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n\n ","\n\n ","\n\n ","\n"])),b,I,(function(n){return"secondary"===n.buttonType&&e.css(p||(p=l(["\n background: inherit;\n color: ",";\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n }\n "],["\n background: inherit;\n color: ",";\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n }\n "])),b,T)}),(function(n){return"secondaryWithStroke"===n.buttonType&&e.css(c||(c=l(["\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 1px solid ",";\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n background: inherit;\n border: 1px solid ",";\n }\n "],["\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 1px solid ",";\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n background: inherit;\n border: 1px solid ",";\n }\n "])),b,b,T,T)}),(function(n){return"secondaryCancel"===n.buttonType&&e.css(x||(x=l(["\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 0;\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n background: inherit;\n border: 0;\n }\n "],["\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 0;\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n background: inherit;\n border: 0;\n }\n "])),B,S)}),(function(n){return"actionButton"===n.buttonType&&e.css(h||(h=l(["\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 1px solid ",";\n\n &:hover,\n &:active {\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 1px solid ",";\n }\n "],["\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 1px solid ",";\n\n &:hover,\n &:active {\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 1px solid ",";\n }\n "])),j,j,j,j)}),(function(n){return n.isDisabled&&e.css(g||(g=l(["\n background: ",";\n color: ",";\n box-shadow: none;\n\n &:hover,\n &:active {\n box-shadow: none;\n background: ",";\n color: ",";\n }\n "],["\n background: ",";\n color: ",";\n box-shadow: none;\n\n &:hover,\n &:active {\n box-shadow: none;\n background: ",";\n color: ",";\n }\n "])),j,I,j,I)}),(function(n){return"actionButtonDisabled"===n.buttonType&&e.css(f||(f=l(["\n color: ",";\n background: inherit;\n box-shadow: none !important;\n border: 1px solid ",";\n text-decoration: line-through;\n "],["\n color: ",";\n background: inherit;\n box-shadow: none !important;\n border: 1px solid ",";\n text-decoration: line-through;\n "])),j,j)}),(function(n){return"actionButtonActive"===n.buttonType&&e.css(u||(u=l(["\n box-shadow: none;\n color: ",";\n background: ",";\n border: 1px solid ",";\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n background: ",";\n border: 1px solid ",";\n }\n "],["\n box-shadow: none;\n color: ",";\n background: ",";\n border: 1px solid ",";\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n background: ",";\n border: 1px solid ",";\n }\n "])),b,L,b,b,L,b)}));function A(n,e){void 0===e&&(e={});var i=e.insertAt;if(n&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===i&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n))}}A("@font-face {\n font-family: 'Lato Regular';\n src: url('../../fonts/Lato-Regular.ttf');\n font-weight: normal;\n font-style: normal;\n}\n\n@font-face {\n font-family: 'Lato SemiBold';\n src: url('../../fonts/Lato-Semibold.ttf');\n font-weight: 600;\n font-style: normal;\n}\n\n@font-face {\n font-family: 'Lato Bold';\n src: url('../../fonts/Lato-Bold.ttf');\n font-weight: bold;\n font-style: normal;\n}\n\n* {\n box-sizing: border-box;\n}\n\nbody {\n margin: 0;\n padding: 0;\n}\n\nspan,\np {\n font-family: 'Lato Regular', sans-serif;\n font-size: 10px;\n line-height: 14px;\n margin: 0;\n font-weight: 400;\n padding: 0;\n}\n\nh5 {\n font-family: 'Lato Regular', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 14px;\n font-weight: 400;\n line-height: 16px;\n}\n\nh4 {\n font-family: 'Lato Regular', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n}\n\nh3 {\n font-family: 'Lato Regular', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 18px;\n font-weight: 400;\n line-height: 24px;\n}\n\nh2 {\n font-family: 'Lato Regular', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 20px;\n font-weight: 400;\n line-height: 24px;\n}\n\nh1 {\n font-family: 'Lato Regular', sans-serif;\n margin: 0;\n padding: 0;\n font-weight: 400;\n font-size: 24px;\n line-height: 32px;\n}\n\nspan.semiBold,\np.semiBold {\n font-family: 'Lato SemiBold', sans-serif;\n font-size: 10px;\n line-height: 14px;\n margin: 0;\n padding: 0;\n font-weight: 600;\n}\n\nh5.semiBold {\n font-family: 'Lato SemiBold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 14px;\n line-height: 16px;\n font-weight: 600;\n}\n\nh4.semiBold {\n font-family: 'Lato SemiBold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 16px;\n line-height: 24px;\n font-weight: 600;\n}\n\nh3.semiBold {\n font-family: 'Lato SemiBold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 18px;\n line-height: 24px;\n font-weight: 600;\n}\n\nh2.semiBold {\n font-family: 'Lato SemiBold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 20px;\n line-height: 24px;\n font-weight: 600;\n}\n\nh1.semiBold {\n font-family: 'Lato SemiBold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 24px;\n line-height: 32px;\n font-weight: 600;\n}\n\nspan.bold,\np.bold {\n font-family: 'Lato Bold', sans-serif;\n font-size: 10px;\n line-height: 14px;\n margin: 0;\n padding: 0;\n font-weight: 700;\n}\n\nh5.bold {\n font-family: 'Lato Bold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 14px;\n line-height: 16px;\n font-weight: 700;\n}\n\nh4.bold {\n font-family: 'Lato Bold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n}\n\nh3.bold {\n font-family: 'Lato Bold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 18px;\n line-height: 24px;\n font-weight: 700;\n}\n\nh2.bold {\n font-family: 'Lato Bold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 20px;\n line-height: 24px;\n font-weight: 700;\n}\n\nh1.bold {\n font-family: 'Lato Bold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 24px;\n line-height: 32px;\n font-weight: 700;\n}\n");var M,R,O,P,q=function(e){return n.jsx(N,s({"data-testid":e["data-testid"],onClick:e.onClick,disabled:e.isDisabled,isDisabled:e.isDisabled,buttonType:e.buttonType},{children:n.jsx("h4",{children:e.children})}))},V=a.default.a(M||(M=l(["\n display: block;\n width: 54px;\n height: 54px;\n position: fixed;\n bottom: ","px;\n right: ","px;\n z-index: 10000000000000;\n\n img {\n background: none;\n border-radius: 50%;\n }\n"],["\n display: block;\n width: 54px;\n height: 54px;\n position: fixed;\n bottom: ","px;\n right: ","px;\n z-index: 10000000000000;\n\n img {\n background: none;\n border-radius: 50%;\n }\n"])),(function(n){return n.bottomHeight}),(function(n){return n.rightWidth})),_=a.default.div(R||(R=l(["\n padding: ",";\n box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);\n display: flex;\n position: fixed;\n z-index: 10000000000000;\n background: ",";\n bottom: -1px;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n\n @media (min-width: 600px) {\n padding-left: calc((100vw - 468px) / 2);\n padding-right: calc((100vw - 468px) / 2);\n }\n\n @media (min-width: 1024px) {\n padding-left: calc((100vw - 960px) / 2);\n padding-right: calc((100vw - 960px) / 2);\n }\n\n button {\n min-height: 44px !important;\n width: 132px;\n }\n"],["\n padding: ",";\n box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);\n display: flex;\n position: fixed;\n z-index: 10000000000000;\n background: ",";\n bottom: -1px;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n\n @media (min-width: 600px) {\n padding-left: calc((100vw - 468px) / 2);\n padding-right: calc((100vw - 468px) / 2);\n }\n\n @media (min-width: 1024px) {\n padding-left: calc((100vw - 960px) / 2);\n padding-right: calc((100vw - 960px) / 2);\n }\n\n button {\n min-height: 44px !important;\n width: 132px;\n }\n"])),(function(n){return n.isIos?"16px 24px 50px":"16px 24px"}),I),H=a.default.div(O||(O=l(["\n h4 {\n color: ",";\n }\n\n h4:first-child {\n margin-bottom: 4px;\n }\n"],["\n h4 {\n color: ",";\n }\n\n h4:first-child {\n margin-bottom: 4px;\n }\n"])),v),W=a.default(t.IonIcon)(P||(P=l(["\n // #skipcq\n margin: 0 5px -4px 0;\n font-size: 18px;\n\n &.ion-color {\n --ion-color-base: "," !important;\n }\n"],["\n // #skipcq\n margin: 0 5px -4px 0;\n font-size: 18px;\n\n &.ion-color {\n --ion-color-base: "," !important;\n }\n"])),b);const Y="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Briefcase</title><rect x='32' y='128' width='448' height='320' rx='48' ry='48' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path d='M144 128V96a32 32 0 0132-32h160a32 32 0 0132 32v32M480 240H32M320 240v24a8 8 0 01-8 8H200a8 8 0 01-8-8v-24' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",Z="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Card</title><rect x='48' y='96' width='416' height='320' rx='56' ry='56' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linejoin='round' stroke-width='60' d='M48 192h416M128 300h48v20h-48z' class='ionicon-fill-none'/></svg>",J="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Time</title><path d='M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-linejoin='round' d='M256 128v144h96' class='ionicon-fill-none ionicon-stroke-width'/></svg>";var U,G,K,Q,X,$,nn,en,tn,on,rn,an,dn,sn,ln,pn,cn,xn,hn,gn,fn,un,mn,bn=a.default.button(U||(U=l(["\n display: flex;\n justify-content: space-between;\n color: ",";\n border: 0;\n border-bottom: 1px solid ",";\n width: 100%;\n padding: 10px 16px;\n background: inherit;\n align-items: center;\n"],["\n display: flex;\n justify-content: space-between;\n color: ",";\n border: 0;\n border-bottom: 1px solid ",";\n width: 100%;\n padding: 10px 16px;\n background: inherit;\n align-items: center;\n"])),v,D),wn=a.default(t.IonIcon)(G||(G=l(["\n // #skipcq\n font-size: 24px;\n"],["\n // #skipcq\n font-size: 24px;\n"]))),vn=a.default(t.IonHeader)(Q||(Q=l(["\n padding: ",";\n background: #ffffff;\n position: fixed;\n z-index: 1000;\n min-height: ",";\n box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);\n color: ",";\n\n @media (min-width: 600px) {\n padding-left: calc((100vw - 468px) / 2);\n padding-right: calc((100vw - 468px) / 2);\n }\n\n @media (min-width: 1024px) {\n padding-left: calc((100vw - 960px) / 2);\n padding-right: calc((100vw - 960px) / 2);\n }\n\n .left {\n cursor: pointer;\n position: absolute;\n color: ",";\n left: 0;\n }\n\n .right {\n cursor: pointer;\n color: ",";\n position: absolute;\n right: 0;\n }\n\n &:after {\n background-image: none;\n }\n\n ","\n"],["\n padding: ",";\n background: #ffffff;\n position: fixed;\n z-index: 1000;\n min-height: ",";\n box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);\n color: ",";\n\n @media (min-width: 600px) {\n padding-left: calc((100vw - 468px) / 2);\n padding-right: calc((100vw - 468px) / 2);\n }\n\n @media (min-width: 1024px) {\n padding-left: calc((100vw - 960px) / 2);\n padding-right: calc((100vw - 960px) / 2);\n }\n\n .left {\n cursor: pointer;\n position: absolute;\n color: ",";\n left: 0;\n }\n\n .right {\n cursor: pointer;\n color: ",";\n position: absolute;\n right: 0;\n }\n\n &:after {\n background-image: none;\n }\n\n ","\n"])),(function(n){return n.isInternetConnected?"10px 16px":"40px 16px 16px"}),(function(n){return n.isInternetConnected?"44px":"74px"}),y,b,b,(function(n){return n.isIos&&e.css(K||(K=l(["\n padding: ",";\n min-height: ",";\n\n .left {\n position: absolute;\n left: 0;\n }\n\n .right {\n position: absolute;\n right: 0;\n }\n "],["\n padding: ",";\n min-height: ",";\n\n .left {\n position: absolute;\n left: 0;\n }\n\n .right {\n position: absolute;\n right: 0;\n }\n "])),n.isInternetConnected?"54px 16px 10px":"64px 16px 10px",n.isInternetConnected?"88px":"98px")})),yn=a.default.div(X||(X=l(["\n position: relative;\n display: flex;\n text-align: center;\n justify-content: center;\n\n @media (min-width: 600px) {\n width: 468px;\n }\n\n @media (min-width: 1024px) {\n width: 960px;\n }\n"],["\n position: relative;\n display: flex;\n text-align: center;\n justify-content: center;\n\n @media (min-width: 600px) {\n width: 468px;\n }\n\n @media (min-width: 1024px) {\n width: 960px;\n }\n"]))),jn=a.default.div($||($=l(["\n width: 100%;\n padding: 16px;\n border: 1px solid ",";\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n border-radius: 4px;\n"],["\n width: 100%;\n padding: 16px;\n border: 1px solid ",";\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n border-radius: 4px;\n"])),F),kn=a.default.div(nn||(nn=l(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 24px;\n"],["\n display: flex;\n justify-content: space-between;\n margin-bottom: 24px;\n"]))),zn=a.default.div(en||(en=l(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-right: 8px;\n\n h3 {\n color: ",";\n font-weight: 400;\n font-size: 18px;\n line-height: 24px;\n }\n\n h2.time {\n margin-top: 8px;\n font-weight: 700;\n font-size: 18px;\n line-height: 24px;\n color: ",";\n }\n\n div.is-free {\n margin-top: 12px;\n padding: 2px 7px;\n border-radius: 12px;\n max-width: max-content;\n text-align: center;\n &.greeny {\n background-color: #cfe2d7;\n }\n &.reddy {\n background-color: #ffc7c7;\n }\n h2 {\n font-weight: 700;\n font-size: 12px;\n line-height: 16px;\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-right: 8px;\n\n h3 {\n color: ",";\n font-weight: 400;\n font-size: 18px;\n line-height: 24px;\n }\n\n h2.time {\n margin-top: 8px;\n font-weight: 700;\n font-size: 18px;\n line-height: 24px;\n color: ",";\n }\n\n div.is-free {\n margin-top: 12px;\n padding: 2px 7px;\n border-radius: 12px;\n max-width: max-content;\n text-align: center;\n &.greeny {\n background-color: #cfe2d7;\n }\n &.reddy {\n background-color: #ffc7c7;\n }\n h2 {\n font-weight: 700;\n font-size: 12px;\n line-height: 16px;\n }\n }\n"])),y,v),Cn=a.default.img(tn||(tn=l(["\n width: 104px;\n height: 104px;\n border-radius: 8px;\n"],["\n width: 104px;\n height: 104px;\n border-radius: 8px;\n"]))),Bn=a.default.div(on||(on=l(["\n margin: 4px 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n div.divider {\n height: 1px;\n flex-grow: 1;\n background: ",";\n }\n\n h4 {\n color: ",";\n margin: 0 4px;\n }\n"],["\n margin: 4px 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n div.divider {\n height: 1px;\n flex-grow: 1;\n background: ",";\n }\n\n h4 {\n color: ",";\n margin: 0 4px;\n }\n"])),j,j),In=a.default.div(rn||(rn=l(["\n display: flex;\n"],["\n display: flex;\n"]))),Fn=a.default.div(an||(an=l(["\n border: 1px solid ",";\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n position: relative;\n display: flex;\n flex-direction: column;\n text-align: left;\n"],["\n border: 1px solid ",";\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n position: relative;\n display: flex;\n flex-direction: column;\n text-align: left;\n"])),F),Ln=a.default.a(dn||(dn=l(["\n width: 100%;\n min-height: 192px;\n max-height: 192px;\n display: block;\n\n img {\n border-radius: 8px 8px 0 0;\n width: 100%;\n height: 192px;\n }\n"],["\n width: 100%;\n min-height: 192px;\n max-height: 192px;\n display: block;\n\n img {\n border-radius: 8px 8px 0 0;\n width: 100%;\n height: 192px;\n }\n"]))),Sn=a.default.iframe(sn||(sn=l(["\n width: 100%;\n height: 192px;\n margin: 0;\n padding: 0;\n border-radius: 8px 8px 0 0;\n"],["\n width: 100%;\n height: 192px;\n margin: 0;\n padding: 0;\n border-radius: 8px 8px 0 0;\n"]))),Tn=a.default.h3(ln||(ln=l(["\n padding: 16px !important;\n height: 104px;\n color: ",";\n"],["\n padding: 16px !important;\n height: 104px;\n color: ",";\n"])),v),Dn=a.default.div(pn||(pn=l(["\n visibility: ",";\n position: absolute;\n width: 100%;\n top: 0;\n"],["\n visibility: ",";\n position: absolute;\n width: 100%;\n top: 0;\n"])),(function(n){return n.isLoading?"visible":"hidden"})),En=a.default(t.IonSkeletonText)(cn||(cn=l(["\n height: 192px;\n border-radius: 4px 4px 0 0;\n border: none;\n margin: 0;\n padding: 0;\n"],["\n height: 192px;\n border-radius: 4px 4px 0 0;\n border: none;\n margin: 0;\n padding: 0;\n"]))),Nn=a.default.div(xn||(xn=l(["\n cursor: pointer;\n border-radius: 8px;\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n position: relative;\n\n @media (min-width: 600px) {\n max-width: 452px;\n }\n"],["\n cursor: pointer;\n border-radius: 8px;\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n position: relative;\n\n @media (min-width: 600px) {\n max-width: 452px;\n }\n"]))),An=a.default.div(hn||(hn=l(["\n display: flex;\n flex-direction: column;\n\n img {\n width: 100%;\n height: 222px;\n object-fit: cover;\n border-radius: 8px 8px 0 0;\n\n @media (min-width: 600px) {\n height: 256px;\n }\n }\n\n h1 {\n margin: 16px 16px 0;\n color: ",";\n }\n\n h3 {\n margin: 4px 16px 0;\n color: ",";\n }\n"],["\n display: flex;\n flex-direction: column;\n\n img {\n width: 100%;\n height: 222px;\n object-fit: cover;\n border-radius: 8px 8px 0 0;\n\n @media (min-width: 600px) {\n height: 256px;\n }\n }\n\n h1 {\n margin: 16px 16px 0;\n color: ",";\n }\n\n h3 {\n margin: 4px 16px 0;\n color: ",";\n }\n"])),v,y),Mn=a.default(t.IonIcon)(gn||(gn=l(["\n // #skipcq\n color: ",";\n font-size: 20px;\n margin: 0;\n\n @media (max-width: 320px) {\n font-size: 19px;\n }\n"],["\n // #skipcq\n color: ",";\n font-size: 20px;\n margin: 0;\n\n @media (max-width: 320px) {\n font-size: 19px;\n }\n"])),b),Rn=a.default.div(fn||(fn=l(["\n display: flex;\n align-items: center;\n padding: 0;\n margin: 0;\n\n p {\n color: ",";\n font-size: 14px;\n padding-left: 4px;\n margin: 0;\n font-family: 'Lato Regular', sans-serif;\n\n @media (max-width: 320px) {\n font-size: 11.5px;\n }\n }\n"],["\n display: flex;\n align-items: center;\n padding: 0;\n margin: 0;\n\n p {\n color: ",";\n font-size: 14px;\n padding-left: 4px;\n margin: 0;\n font-family: 'Lato Regular', sans-serif;\n\n @media (max-width: 320px) {\n font-size: 11.5px;\n }\n }\n"])),v),On=a.default.div(un||(un=l(["\n display: flex;\n justify-content: space-between;\n margin: 16px;\n"],["\n display: flex;\n justify-content: space-between;\n margin: 16px;\n"]))),Pn=a.default.div(mn||(mn=l(["\n width: 100%;\n height: 350px;\n overflow-y: hidden !important;\n @media (min-width: 600px) {\n height: 384px;\n width: 452px;\n }\n border-radius: 10px;\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n div.skeleton-card-info {\n padding: 16px;\n }\n\n div.skeleton-card-info-flex {\n margin-top: 16px;\n display: flex;\n justify-content: space-between;\n }\n"],["\n width: 100%;\n height: 350px;\n overflow-y: hidden !important;\n @media (min-width: 600px) {\n height: 384px;\n width: 452px;\n }\n border-radius: 10px;\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n div.skeleton-card-info {\n padding: 16px;\n }\n\n div.skeleton-card-info-flex {\n margin-top: 16px;\n display: flex;\n justify-content: space-between;\n }\n"])));A(".toast_classes {\n color: #ffffff;\n --background: #1d201f;\n font-weight: 400;\n font-size: 14px;\n line-height: 16px;\n margin-top: 30px;\n border-radius: 4px;\n}\n\n.toast_classes_ios {\n top: -36px;\n}\n");var qn,Vn,_n,Hn,Wn=a.default.div(qn||(qn=l(["\n overflow: hidden;\n display: flex;\n justify-content: space-between;\n background: ",";\n padding: 8px;\n width: 100%;\n border-radius: 4px;\n"],["\n overflow: hidden;\n display: flex;\n justify-content: space-between;\n background: ",";\n padding: 8px;\n width: 100%;\n border-radius: 4px;\n"])),E),Yn=a.default.div(Vn||(Vn=l(["\n h3 {\n padding-top: 5px;\n font-weight: 700;\n font-size: 18px;\n line-height: 24px;\n color: ",";\n }\n\n h5 {\n color: ",";\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n }\n\n h5.isFreeStatus {\n font-weight: 700;\n font-size: 12px;\n line-height: 16px;\n text-align: center;\n padding: 2px 8px;\n color: ",";\n }\n\n .greeny-bg {\n max-width: max-content;\n background: #cfe2d7;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);\n border-radius: 12px;\n }\n\n .reddy-bg {\n max-width: max-content;\n background: #f6dfdf;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);\n border-radius: 12px;\n }\n\n h5.check {\n margin-top: 5px;\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n line-height: 16px;\n }\n\n svg {\n margin-right: 4px;\n }\n"],["\n h3 {\n padding-top: 5px;\n font-weight: 700;\n font-size: 18px;\n line-height: 24px;\n color: ",";\n }\n\n h5 {\n color: ",";\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n }\n\n h5.isFreeStatus {\n font-weight: 700;\n font-size: 12px;\n line-height: 16px;\n text-align: center;\n padding: 2px 8px;\n color: ",";\n }\n\n .greeny-bg {\n max-width: max-content;\n background: #cfe2d7;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);\n border-radius: 12px;\n }\n\n .reddy-bg {\n max-width: max-content;\n background: #f6dfdf;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);\n border-radius: 12px;\n }\n\n h5.check {\n margin-top: 5px;\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n line-height: 16px;\n }\n\n svg {\n margin-right: 4px;\n }\n"])),v,y,v,k),Zn=a.default.img(_n||(_n=l(["\n max-width: 94px;\n max-height: 94px;\n border-radius: 8px;\n"],["\n max-width: 94px;\n max-height: 94px;\n border-radius: 8px;\n"])));function Jn(){return Jn=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(n[t]=i[t])}return n},Jn.apply(this,arguments)}function Un(n){return d.createElement("svg",Jn({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),Hn||(Hn=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.624 3.67a.5.5 0 01.76.65l-.008.01-7 8a.5.5 0 01-.722.031l-.008-.007-3-3a.5.5 0 01.7-.716l.008.008 2.622 2.622 6.648-7.597z",fill:"#478862"})))}var Gn,Kn,Qn,Xn,$n,ne=a.default.div(Gn||(Gn=l(["\n padding: 16px 8px;\n border-radius: 4px;\n border: 1px solid;\n width: 100%;\n min-width: 86px;\n max-height: 108px;\n box-sizing: border-box;\n border-color: ",";\n background: ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n box-shadow: 0 5px 8px rgba(0, 0, 0, 0.04);\n\n h4 {\n margin-bottom: 4px;\n color: ",";\n }\n\n h1 {\n color: ",";\n }\n\n h5 {\n color: ",";\n }\n"],["\n padding: 16px 8px;\n border-radius: 4px;\n border: 1px solid;\n width: 100%;\n min-width: 86px;\n max-height: 108px;\n box-sizing: border-box;\n border-color: ",";\n background: ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n box-shadow: 0 5px 8px rgba(0, 0, 0, 0.04);\n\n h4 {\n margin-bottom: 4px;\n color: ",";\n }\n\n h1 {\n color: ",";\n }\n\n h5 {\n color: ",";\n }\n"])),(function(n){return n.isActive?b:F}),(function(n){return n.isActive?w:I}),(function(n){return n.isActive?b:y}),(function(n){return n.isActive?b:v}),(function(n){return n.isActive?b:y})),ee=a.default.h1(Kn||(Kn=l(["\n line-height: 76px;\n font-weight: 700;\n margin: 0;\n"],["\n line-height: 76px;\n font-weight: 700;\n margin: 0;\n"])));function ie(){return ie=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(n[t]=i[t])}return n},ie.apply(this,arguments)}function te(n){return d.createElement("svg",ie({width:14,height:14,fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),Qn||(Qn=d.createElement("path",{d:"M7 13.563A6.57 6.57 0 01.437 7 6.57 6.57 0 017 .437 6.57 6.57 0 0113.563 7 6.57 6.57 0 017 13.563z",fill:"#F1646F"})),Xn||(Xn=d.createElement("path",{d:"M7 14c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7zM7 .875A6.132 6.132 0 00.875 7 6.132 6.132 0 007 13.125 6.132 6.132 0 0013.125 7 6.132 6.132 0 007 .875z",fill:"#fff"})),$n||($n=d.createElement("path",{d:"M11.509 6.253a.437.437 0 01-.31-.127 5.925 5.925 0 00-.851-.707.436.436 0 01-.117-.607.435.435 0 01.608-.116c.347.235.676.508.98.81a.439.439 0 01-.31.747zM2.49 6.253a.437.437 0 01-.31-.747c1.611-1.617 3.851-2.33 6.187-1.87a.439.439 0 01.346.514.441.441 0 01-.514.345c-2.052-.404-3.995.22-5.399 1.63a.435.435 0 01-.31.128zM9.94 7.828a.437.437 0 01-.31-.127 3.905 3.905 0 00-.86-.651.438.438 0 01.427-.765c.383.214.738.482 1.053.795a.439.439 0 01-.31.748zM4.06 7.829a.438.438 0 01-.31-.747 4.513 4.513 0 012.23-1.233.437.437 0 01.187.855c-.67.146-1.29.49-1.797.996a.437.437 0 01-.31.129zM7 10.5a1.264 1.264 0 01-1.223-.939.438.438 0 01.847-.222c.045.17.196.286.376.286a.397.397 0 00.397-.397c0-.18-.115-.33-.286-.376a.438.438 0 01.222-.847c.552.146.939.648.939 1.223 0 .701-.57 1.272-1.272 1.272zM2.36 12.076a.438.438 0 01-.31-.747l9.28-9.278a.438.438 0 11.619.62l-9.28 9.277a.434.434 0 01-.308.128z",fill:"#fff"})))}var oe,re,ae,de,se,le,pe,ce,xe,he,ge=a.default.div(oe||(oe=l(["\n position: fixed;\n box-sizing: border-box;\n background: ",";\n width: 100%;\n display: ",";\n justify-content: center;\n align-items: center;\n padding: ",";\n\n span {\n font-size: 10px;\n line-height: 14px;\n margin-left: 8px;\n color: ",";\n }\n"],["\n position: fixed;\n box-sizing: border-box;\n background: ",";\n width: 100%;\n display: ",";\n justify-content: center;\n align-items: center;\n padding: ",";\n\n span {\n font-size: 10px;\n line-height: 14px;\n margin-left: 8px;\n color: ",";\n }\n"])),B,(function(n){return n.isInternetConnected?"none":"flex"}),(function(n){return n.isIos?"32px 0 8px":"8px 0"}),I),fe=a.default.div(re||(re=l(["\n width: 100%;\n display: flex;\n flex-direction: column;\n\n img {\n width: 100%;\n height: 222px;\n border-radius: 8px;\n object-fit: cover;\n\n @media (min-width: 600px) {\n height: auto;\n }\n\n @media (min-width: 1024px) {\n height: auto;\n }\n }\n"],["\n width: 100%;\n display: flex;\n flex-direction: column;\n\n img {\n width: 100%;\n height: 222px;\n border-radius: 8px;\n object-fit: cover;\n\n @media (min-width: 600px) {\n height: auto;\n }\n\n @media (min-width: 1024px) {\n height: auto;\n }\n }\n"]))),ue=a.default.div(ae||(ae=l(["\n display: flex;\n justify-content: space-between;\n margin-top: 16px;\n\n h3 {\n color: ",";\n display: flex;\n align-items: center;\n\n ion-icon {\n margin-right: 4px;\n font-size: 24px;\n }\n }\n"],["\n display: flex;\n justify-content: space-between;\n margin-top: 16px;\n\n h3 {\n color: ",";\n display: flex;\n align-items: center;\n\n ion-icon {\n margin-right: 4px;\n font-size: 24px;\n }\n }\n"])),v),me=a.default(t.IonIcon)(de||(de=l(["\n // skipcq JS-0323\n width: 20px;\n z-index: 3;\n height: 20px;\n position: absolute;\n top: calc(50% - 10px);\n left: 20px;\n color: "," !important;\n"],["\n // skipcq JS-0323\n width: 20px;\n z-index: 3;\n height: 20px;\n position: absolute;\n top: calc(50% - 10px);\n left: 20px;\n color: "," !important;\n"])),v),be=a.default(t.IonInput)(se||(se=l(["\n position: relative;\n border: none;\n border-radius: 4px;\n font-size: 14px;\n font-family: 'Lato Regular', sans-serif;\n --padding-start: 55px !important;\n --background: "," !important;\n min-height: 36px;\n line-height: 20px;\n color: ",";\n --placeholder-color: ",";\n --placeholder-opacity: 1;\n"],["\n position: relative;\n border: none;\n border-radius: 4px;\n font-size: 14px;\n font-family: 'Lato Regular', sans-serif;\n --padding-start: 55px !important;\n --background: "," !important;\n min-height: 36px;\n line-height: 20px;\n color: ",";\n --placeholder-color: ",";\n --placeholder-opacity: 1;\n"])),z,(function(n){return n.isActive?v:j}),j),we=a.default(t.IonSegment)(le||(le=l(["\n --background: ",";\n"],["\n --background: ",";\n"])),C),ve=a.default(t.IonSegmentButton)(pe||(pe=l(["\n --background-checked: ",";\n --background-focused: ",";\n --background-hover: ",";\n --color: ",";\n --color-checked: ",";\n --color-focused: ",";\n --color-hover: ",";\n --transition: 0;\n --indicator-transform: 0;\n"],["\n --background-checked: ",";\n --background-focused: ",";\n --background-hover: ",";\n --color: ",";\n --color-checked: ",";\n --color-focused: ",";\n --color-hover: ",";\n --transition: 0;\n --indicator-transform: 0;\n"])),I,I,I,v,v,v,v),ye=a.default.div(ce||(ce=l(["\n display: flex;\n box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.08);\n position: fixed;\n bottom: -1px;\n width: 100vw;\n border: none;\n padding-bottom: ",";\n color: ",";\n padding-top: 10px;\n justify-content: center;\n background: white;\n\n div {\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 150px;\n flex-grow: 1;\n cursor: pointer;\n }\n\n ion-icon {\n font-size: 28px;\n margin: 0;\n }\n\n ion-label {\n font-weight: 700;\n font-size: 10px;\n margin: 0;\n line-height: 14px;\n font-family: 'Lato Bold', sans-serif;\n }\n"],["\n display: flex;\n box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.08);\n position: fixed;\n bottom: -1px;\n width: 100vw;\n border: none;\n padding-bottom: ",";\n color: ",";\n padding-top: 10px;\n justify-content: center;\n background: white;\n\n div {\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 150px;\n flex-grow: 1;\n cursor: pointer;\n }\n\n ion-icon {\n font-size: 28px;\n margin: 0;\n }\n\n ion-label {\n font-weight: 700;\n font-size: 10px;\n margin: 0;\n line-height: 14px;\n font-family: 'Lato Bold', sans-serif;\n }\n"])),(function(n){return n.isIos?"34px":"10px"}),y),je=a.default.div(xe||(xe=l(["\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #d6f2f9;\n border-radius: 4px;\n"],["\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #d6f2f9;\n border-radius: 4px;\n"]))),ke=a.default.div(he||(he=l(["\n padding: 8px 0;\n overflow: hidden;\n display: flex;\n align-items: center;\n img {\n width: 20px;\n margin-right: 10px;\n }\n span {\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n max-width: 200px;\n overflow-wrap: break-word;\n }\n"],["\n padding: 8px 0;\n overflow: hidden;\n display: flex;\n align-items: center;\n img {\n width: 20px;\n margin-right: 10px;\n }\n span {\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n max-width: 200px;\n overflow-wrap: break-word;\n }\n"])));exports.ArchivedConsultationCard=function(e){return n.jsxs(Wn,s({"data-testid":e["data-testid"]},{children:[n.jsxs(Yn,{children:["boolean"==typeof e.isFree&&(e.isFree?n.jsx("div",s({className:"reddy-bg"},{children:n.jsx("h5",s({className:"isFreeStatus"},{children:"Безкоштовна"}))})):n.jsx("div",s({className:"greeny-bg"},{children:n.jsx("h5",s({className:"isFreeStatus"},{children:"Платна - ".concat(e.price," грн")}))}))),n.jsx("h3",{children:e.nameAndSurname}),n.jsx("h5",s({className:"semiBold"},{children:e.date})),n.jsxs("h5",s({className:"check"},{children:[n.jsx(Un,{}),"Завершена"]}))]}),n.jsx(Zn,{src:e.avatar,alt:"user-avatar"})]}))},exports.Button=q,exports.ConsultationCard=function(e){return n.jsxs(jn,s({"data-testid":e["data-container-testid"]},{children:[n.jsxs(kn,{children:[n.jsxs(zn,{children:[n.jsxs("h3",{children:["Консультація з ",e.consultationWith]}),n.jsxs("h2",s({className:"time"},{children:[e.day," о ",e.time]})),"boolean"==typeof e.isFree&&(e.isFree?n.jsx("div",s({className:"is-free reddy"},{children:n.jsx("h2",{children:"Безкоштовна"})})):n.jsx("div",s({className:"is-free greeny"},{children:n.jsx("h2",{children:"Платна - ".concat(e.price," грн")})})))]}),n.jsx(Cn,{src:e.avatar,alt:"avatar"})]}),n.jsx(q,s({buttonType:"primary",isDisabled:!1,"data-testid":e["data-start-testid"],onClick:e.startConsultation},{children:"Почати консультацію"})),n.jsxs(Bn,{children:[n.jsx("div",{className:"divider"}),n.jsx("h4",{children:"або"}),n.jsx("div",{className:"divider"})]}),n.jsx(In,{children:n.jsx(q,s({buttonType:"secondaryCancel",isDisabled:!1,onClick:e.handleRefund,"data-testid":e["data-refund-testid"]},{children:"Скасувати"}))})]}))},exports.ContentCard=function(e){var t,o,r,a=i.useState(!0),d=a[0],l=a[1],p=(null===(t=e.contentVideo)||void 0===t?void 0:t.title)||(null===(o=e.contentArticle)||void 0===o?void 0:o.title),c=e.contentArticle?n.jsx(Ln,s({"data-testID":e["data-testid"],href:e.contentArticle.link},{children:n.jsx("img",{src:e.contentArticle.photoURL,alt:"article-img",onLoad:function(){l(!1)}})})):n.jsx(Sn,{"data-testid":e["data-testid"],src:"https://www.youtube.com/embed/".concat(null===(r=e.contentVideo)||void 0===r?void 0:r.url),title:"YouTube video player",frameBorder:"0",onLoad:function(){l(!1)},allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0});return n.jsxs(Fn,{children:[c,n.jsx(Dn,s({isLoading:d},{children:n.jsx(En,{animated:!0})})),n.jsxs(Tn,s({className:"semiBold"},{children:[" ",p]}))]})},exports.DatePicker=function(e){return n.jsx(ne,s({"data-testid":e["data-testid"],isActive:e.isActive,onClick:function(){return e.onClick()}},{children:"weekday"===e.type?n.jsx(ee,{children:e.weekday}):n.jsxs(n.Fragment,{children:[n.jsx("h4",{children:e.day}),n.jsx("h1",s({className:"bold"},{children:e.date})),n.jsx("h5",{children:e.month})]})}))},exports.FloatingButton=function(e){return n.jsx(V,s({href:"https://t.me/MindlySupport",bottomHeight:e.bottomHeight,rightWidth:e.rightWidth},{children:n.jsx("img",{"data-testid":e["data-testid"],src:"data:image/svg+xml,%3Csvg%20width%3D%2254%22%20height%3D%2254%22%20viewBox%3D%220%200%2054%2054%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%2254%22%20height%3D%2254%22%20fill%3D%22%2321ABD2%22%2F%3E%3Cpath%20d%3D%22M27.0002%2015C21.9405%2015%2017.8237%2019.1168%2017.8237%2024.1765V32.647C17.8237%2033.8148%2018.7737%2034.7648%2019.9413%2034.7648C21.1092%2034.7648%2022.0591%2033.8148%2022.0591%2032.647V25.5883C22.0591%2024.4206%2021.1092%2023.4706%2019.9413%2023.4706C19.7037%2023.4706%2019.4788%2023.5188%2019.2651%2023.5913C19.5663%2019.5829%2022.9168%2016.4117%2027.0002%2016.4117C31.0815%2016.4117%2034.431%2019.58%2034.735%2023.5856C34.5226%2023.5129%2034.2964%2023.4706%2034.0591%2023.4706C32.8913%2023.4706%2031.9413%2024.4206%2031.9413%2025.5883V32.647C31.9413%2033.8148%2032.8913%2034.7648%2034.0591%2034.7648C34.3078%2034.7648%2034.5431%2034.7139%2034.765%2034.6348V35.4706C34.765%2035.8601%2034.4479%2036.1765%2034.0591%2036.1765H28.9879C28.6954%2035.3566%2027.9192%2034.7648%2027.0002%2034.7648C25.8326%2034.7648%2024.8826%2035.7147%2024.8826%2036.8824C24.8826%2038.05%2025.8326%2039%2027.0002%2039C27.9192%2039%2028.6954%2038.408%2028.9879%2037.5883H34.0591C35.2268%2037.5883%2036.1768%2036.6383%2036.1768%2035.4706C36.1768%2031.2248%2036.1768%2028.4269%2036.1768%2024.1765C36.1768%2019.1168%2032.06%2015%2027.0002%2015V15Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M37.5884%2025.0122V33.2227C38.4081%2032.9304%2039.0001%2032.1542%2039.0001%2031.235V26.9998C39.0001%2026.0808%2038.4081%2025.3046%2037.5884%2025.0122Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M15%2026.9998V31.235C15%2032.1542%2015.592%2032.9304%2016.4117%2033.2227V25.0122C15.592%2025.3046%2015%2026.0808%2015%2026.9998Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E",alt:"support mindly"})}))},exports.FooterForBooking=function(e){return n.jsxs(_,s({isIos:e.isIos},{children:[n.jsxs(H,{children:[n.jsxs("h4",{children:[n.jsx(W,{icon:J,color:"primary"}),n.jsxs(n.Fragment,{children:[e.duration," хв"]})]}),n.jsxs("h4",{children:[n.jsx(W,{icon:Z,color:"primary"}),e.price]})]}),n.jsx(q,s({buttonType:"primary",isDisabled:!1,"data-testid":e["data-testid"],onClick:e.eventHandler},{children:"Записатися"}))]}))},exports.Input=function(e){return n.jsx(be,s({name:e.name,placeholder:e.placeholder,value:e.value,"data-testid":e["data-testid"],onIonChange:function(n){return e.onIonChange(n)},isActive:e.isActive,type:e.type},{children:n.jsx(me,{icon:e.icon})}))},exports.ListButton=function(e){return n.jsxs(bn,s({"data-testid":e["data-testid"],onClick:e.onClick},{children:[n.jsx("h4",{children:e.children}),n.jsx(wn,{src:e.icon})]}))},exports.NavigationBar=function(e){return n.jsx(vn,s({isIos:e.isIos,isInternetConnected:e.isInternetConnected},{children:n.jsx(yn,{children:e.children})}))},exports.NoInternetConnection=function(e){return n.jsxs(ge,s({isInternetConnected:e.isInternetConnected,isIos:e.isIos},{children:[n.jsx(te,{}),n.jsx("span",{children:"Інтернет підключення відсутнє"})]}))},exports.ScrollTabs=function(e){return n.jsxs(we,s({value:e.value,mode:"ios",onIonChange:function(n){return e.setActiveTab(n.detail.value)}},{children:[n.jsx(ve,s({value:"profile","data-testid":"profile"},{children:n.jsx(t.IonLabel,{children:n.jsx("h5",{children:"Профіль"})})})),n.jsx(ve,s({value:"video","data-testid":"video"},{children:n.jsx(t.IonLabel,{children:n.jsx("h5",{children:"Відео"})})})),n.jsx(ve,s({value:"articles","data-testid":"articles"},{children:n.jsx(t.IonLabel,{children:n.jsx("h5",{children:"Статті"})})}))]}))},exports.TabBar=function(e){return n.jsx(ye,s({isIos:e.isIos},{children:e.children}))},exports.TherapistCard=function(e){var o=i.useState(!0),r=o[0],a=o[1];return n.jsx(Nn,s({"data-testid":e["data-testid"],onClick:e.handleClick},{children:r?n.jsxs(An,{children:[n.jsx("img",{src:e.psychologistPhoto,onLoad:function(){return a(!1)},alt:"psychologistPhoto"}),n.jsx("h1",s({className:"bold"},{children:"".concat(e.psychologistName," ").concat(e.psychologistLastName)})),n.jsx("h3",s({className:"semiBold"},{children:e.psychologistType})),n.jsxs(On,{children:[n.jsxs(Rn,{children:[n.jsx(Mn,{icon:J}),n.jsx("p",s({className:"semiBold"},{children:"".concat(e.psychologistDuration," хвилин")}))]}),n.jsxs(Rn,{children:[n.jsx(Mn,{icon:Z}),n.jsx("p",s({className:"semiBold"},{children:"".concat(e.psychologistPrice," грн")}))]}),n.jsxs(Rn,{children:[n.jsx(Mn,{icon:Y}),n.jsx("p",s({className:"semiBold"},{children:e.psychologistExperience>=5?"".concat(e.psychologistExperience," років досвіду"):1===e.psychologistExperience?"".concat(e.psychologistExperience," рік досвіду"):"".concat(e.psychologistExperience," роки досвіду")}))]})]})]}):n.jsxs(Pn,{children:[n.jsx(t.IonSkeletonText,{animated:!0,style:{width:"100%",height:"60%",borderRadius:"0px",margin:"0"}}),n.jsxs("div",s({className:"skeleton-card-info"},{children:[n.jsx(t.IonSkeletonText,{animated:!0,style:{width:"250px",height:"35px",borderRadius:"4px"}}),n.jsx(t.IonSkeletonText,{animated:!0,style:{width:"150px",height:"25px",borderRadius:"4px",marginTop:"16px"}}),n.jsxs("div",s({className:"skeleton-card-info-flex"},{children:[n.jsx(t.IonSkeletonText,{animated:!0,style:{width:"80px",height:"20px",borderRadius:"4px"}}),n.jsx(t.IonSkeletonText,{animated:!0,style:{width:"70px",height:"20px",borderRadius:"4px"}}),n.jsx(t.IonSkeletonText,{animated:!0,style:{width:"150px",height:"20px",borderRadius:"4px"}})]}))]}))]})}))},exports.TherapistInformationComponent=function(e){return n.jsxs(fe,s({"data-testid":e["data-testid"]},{children:[n.jsx("img",{src:e.avatar,alt:"therapist avatar"}),n.jsxs(ue,{children:[n.jsxs("h3",s({className:"semiBold"},{children:[n.jsx(t.IonIcon,{icon:Y,color:"primary"}),e.experience]})),n.jsxs("h3",s({className:"semiBold"},{children:[n.jsx(t.IonIcon,{icon:J,color:"primary"}),e.duration]})),n.jsxs("h3",s({className:"semiBold"},{children:[n.jsx(t.IonIcon,{icon:Z,color:"primary"}),e.price]}))]})]}))},exports.YourLocalTimeBlock=function(e){var i=e.text,t=void 0===i?"За Вашим місцевим часом":i;return n.jsx(je,{children:n.jsxs(ke,{children:[n.jsx("img",{src:"./YourLocalTimeBlock.png",alt:"clock"}),n.jsx("span",{children:t})]})})},exports.toast=function(n,e){var i;void 0===e&&(e=4500);var o=document.createElement("ion-toast");return o.message=n,o.duration=e,o.position="top",o.cssClass=t.isPlatform("ios")?"toast_classes toast_classes_ios":"toast_classes",null===(i=document.getElementById("root"))||void 0===i||i.appendChild(o),o.present()};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("react/jsx-runtime"),e=require("styled-components"),i=require("react"),t=require("@ionic/react");function o(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}function r(n){if(n&&n.__esModule)return n;var e=Object.create(null);return n&&Object.keys(n).forEach((function(i){if("default"!==i){var t=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(e,i,t.get?t:{enumerable:!0,get:function(){return n[i]}})}})),e.default=n,Object.freeze(e)}var a=o(e),d=r(i),s=function(){return s=Object.assign||function(n){for(var e,i=1,t=arguments.length;i<t;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n},s.apply(this,arguments)};function l(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n}var p,c,x,h,g,f,u,m,b="#21ABD2",w="#F0FBFF",v="#1D201F",y="#5B5B5B",j="#C1C1C1",k="#478862",z="#F5F9FF",C="#D6F2F9",B="#f1646f",I="#FFFFFF",F="#F2F4F7",L="#E9F7FB",D="#F5939A",E="#90D5E8",N="#E5E5E5",S="#E8ECF2",A=a.default.button(m||(m=l(["\n padding: 8px 0;\n width: 100%;\n border-radius: 4px;\n max-height: 40px;\n border: 0;\n background: ",";\n color: ",";\n\n &:hover,\n &:active {\n box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.2),\n inset 0 -4px 15px rgba(0, 0, 0, 0.2);\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n\n ","\n\n ","\n\n ","\n"],["\n padding: 8px 0;\n width: 100%;\n border-radius: 4px;\n max-height: 40px;\n border: 0;\n background: ",";\n color: ",";\n\n &:hover,\n &:active {\n box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.2),\n inset 0 -4px 15px rgba(0, 0, 0, 0.2);\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n\n ","\n\n ","\n\n ","\n"])),b,I,(function(n){return"secondary"===n.buttonType&&e.css(p||(p=l(["\n background: inherit;\n color: ",";\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n }\n "],["\n background: inherit;\n color: ",";\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n }\n "])),b,E)}),(function(n){return"secondaryWithStroke"===n.buttonType&&e.css(c||(c=l(["\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 1px solid ",";\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n background: inherit;\n border: 1px solid ",";\n }\n "],["\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 1px solid ",";\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n background: inherit;\n border: 1px solid ",";\n }\n "])),b,b,E,E)}),(function(n){return"secondaryCancel"===n.buttonType&&e.css(x||(x=l(["\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 0;\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n background: inherit;\n border: 0;\n }\n "],["\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 0;\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n background: inherit;\n border: 0;\n }\n "])),B,D)}),(function(n){return"actionButton"===n.buttonType&&e.css(h||(h=l(["\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 1px solid ",";\n\n &:hover,\n &:active {\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 1px solid ",";\n }\n "],["\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 1px solid ",";\n\n &:hover,\n &:active {\n color: ",";\n background: inherit;\n box-shadow: none;\n border: 1px solid ",";\n }\n "])),j,j,j,j)}),(function(n){return n.isDisabled&&e.css(g||(g=l(["\n background: ",";\n color: ",";\n box-shadow: none;\n\n &:hover,\n &:active {\n box-shadow: none;\n background: ",";\n color: ",";\n }\n "],["\n background: ",";\n color: ",";\n box-shadow: none;\n\n &:hover,\n &:active {\n box-shadow: none;\n background: ",";\n color: ",";\n }\n "])),j,I,j,I)}),(function(n){return"actionButtonDisabled"===n.buttonType&&e.css(f||(f=l(["\n color: ",";\n background: inherit;\n box-shadow: none !important;\n border: 1px solid ",";\n text-decoration: line-through;\n "],["\n color: ",";\n background: inherit;\n box-shadow: none !important;\n border: 1px solid ",";\n text-decoration: line-through;\n "])),j,j)}),(function(n){return"actionButtonActive"===n.buttonType&&e.css(u||(u=l(["\n box-shadow: none;\n color: ",";\n background: ",";\n border: 1px solid ",";\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n background: ",";\n border: 1px solid ",";\n }\n "],["\n box-shadow: none;\n color: ",";\n background: ",";\n border: 1px solid ",";\n\n &:hover,\n &:active {\n box-shadow: none;\n color: ",";\n background: ",";\n border: 1px solid ",";\n }\n "])),b,L,b,b,L,b)}));function T(n,e){void 0===e&&(e={});var i=e.insertAt;if(n&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===i&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n))}}T("@font-face {\n font-family: 'Lato Regular';\n src: url('../../fonts/Lato-Regular.ttf');\n font-weight: normal;\n font-style: normal;\n}\n\n@font-face {\n font-family: 'Lato SemiBold';\n src: url('../../fonts/Lato-Semibold.ttf');\n font-weight: 600;\n font-style: normal;\n}\n\n@font-face {\n font-family: 'Lato Bold';\n src: url('../../fonts/Lato-Bold.ttf');\n font-weight: bold;\n font-style: normal;\n}\n\n* {\n box-sizing: border-box;\n}\n\nbody {\n margin: 0;\n padding: 0;\n}\n\nspan,\np {\n font-family: 'Lato Regular', sans-serif;\n font-size: 10px;\n line-height: 14px;\n margin: 0;\n font-weight: 400;\n padding: 0;\n}\n\nh5 {\n font-family: 'Lato Regular', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 14px;\n font-weight: 400;\n line-height: 16px;\n}\n\nh4 {\n font-family: 'Lato Regular', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n}\n\nh3 {\n font-family: 'Lato Regular', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 18px;\n font-weight: 400;\n line-height: 24px;\n}\n\nh2 {\n font-family: 'Lato Regular', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 20px;\n font-weight: 400;\n line-height: 24px;\n}\n\nh1 {\n font-family: 'Lato Regular', sans-serif;\n margin: 0;\n padding: 0;\n font-weight: 400;\n font-size: 24px;\n line-height: 32px;\n}\n\nspan.semiBold,\np.semiBold {\n font-family: 'Lato SemiBold', sans-serif;\n font-size: 10px;\n line-height: 14px;\n margin: 0;\n padding: 0;\n font-weight: 600;\n}\n\nh5.semiBold {\n font-family: 'Lato SemiBold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 14px;\n line-height: 16px;\n font-weight: 600;\n}\n\nh4.semiBold {\n font-family: 'Lato SemiBold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 16px;\n line-height: 24px;\n font-weight: 600;\n}\n\nh3.semiBold {\n font-family: 'Lato SemiBold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 18px;\n line-height: 24px;\n font-weight: 600;\n}\n\nh2.semiBold {\n font-family: 'Lato SemiBold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 20px;\n line-height: 24px;\n font-weight: 600;\n}\n\nh1.semiBold {\n font-family: 'Lato SemiBold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 24px;\n line-height: 32px;\n font-weight: 600;\n}\n\nspan.bold,\np.bold {\n font-family: 'Lato Bold', sans-serif;\n font-size: 10px;\n line-height: 14px;\n margin: 0;\n padding: 0;\n font-weight: 700;\n}\n\nh5.bold {\n font-family: 'Lato Bold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 14px;\n line-height: 16px;\n font-weight: 700;\n}\n\nh4.bold {\n font-family: 'Lato Bold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n}\n\nh3.bold {\n font-family: 'Lato Bold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 18px;\n line-height: 24px;\n font-weight: 700;\n}\n\nh2.bold {\n font-family: 'Lato Bold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 20px;\n line-height: 24px;\n font-weight: 700;\n}\n\nh1.bold {\n font-family: 'Lato Bold', sans-serif;\n margin: 0;\n padding: 0;\n font-size: 24px;\n line-height: 32px;\n font-weight: 700;\n}\n");var M,O,R,P,q=function(e){return n.jsx(A,s({"data-testid":e["data-testid"],onClick:e.onClick,disabled:e.isDisabled,isDisabled:e.isDisabled,buttonType:e.buttonType},{children:n.jsx("h4",{children:e.children})}))},V=a.default.a(M||(M=l(["\n display: block;\n width: 54px;\n height: 54px;\n position: fixed;\n bottom: ","px;\n right: ","px;\n z-index: 10000000000000;\n\n img {\n background: none;\n border-radius: 50%;\n }\n"],["\n display: block;\n width: 54px;\n height: 54px;\n position: fixed;\n bottom: ","px;\n right: ","px;\n z-index: 10000000000000;\n\n img {\n background: none;\n border-radius: 50%;\n }\n"])),(function(n){return n.bottomHeight}),(function(n){return n.rightWidth})),_=a.default.div(O||(O=l(["\n padding: ",";\n box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);\n display: flex;\n position: fixed;\n z-index: 10000000000000;\n background: ",";\n bottom: -1px;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n\n @media (min-width: 600px) {\n padding-left: calc((100vw - 468px) / 2);\n padding-right: calc((100vw - 468px) / 2);\n }\n\n @media (min-width: 1024px) {\n padding-left: calc((100vw - 960px) / 2);\n padding-right: calc((100vw - 960px) / 2);\n }\n\n button {\n min-height: 44px !important;\n width: 132px;\n }\n"],["\n padding: ",";\n box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);\n display: flex;\n position: fixed;\n z-index: 10000000000000;\n background: ",";\n bottom: -1px;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n\n @media (min-width: 600px) {\n padding-left: calc((100vw - 468px) / 2);\n padding-right: calc((100vw - 468px) / 2);\n }\n\n @media (min-width: 1024px) {\n padding-left: calc((100vw - 960px) / 2);\n padding-right: calc((100vw - 960px) / 2);\n }\n\n button {\n min-height: 44px !important;\n width: 132px;\n }\n"])),(function(n){return n.isIos?"16px 24px 50px":"16px 24px"}),I),H=a.default.div(R||(R=l(["\n h4 {\n color: ",";\n }\n\n h4:first-child {\n margin-bottom: 4px;\n }\n"],["\n h4 {\n color: ",";\n }\n\n h4:first-child {\n margin-bottom: 4px;\n }\n"])),v),W=a.default(t.IonIcon)(P||(P=l(["\n // #skipcq\n margin: 0 5px -4px 0;\n font-size: 18px;\n\n &.ion-color {\n --ion-color-base: "," !important;\n }\n"],["\n // #skipcq\n margin: 0 5px -4px 0;\n font-size: 18px;\n\n &.ion-color {\n --ion-color-base: "," !important;\n }\n"])),b);const Y="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Briefcase</title><rect x='32' y='128' width='448' height='320' rx='48' ry='48' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path d='M144 128V96a32 32 0 0132-32h160a32 32 0 0132 32v32M480 240H32M320 240v24a8 8 0 01-8 8H200a8 8 0 01-8-8v-24' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",Z="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Card</title><rect x='48' y='96' width='416' height='320' rx='56' ry='56' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linejoin='round' stroke-width='60' d='M48 192h416M128 300h48v20h-48z' class='ionicon-fill-none'/></svg>",J="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Time</title><path d='M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-linejoin='round' d='M256 128v144h96' class='ionicon-fill-none ionicon-stroke-width'/></svg>";var U,G,K,Q,X,$,nn,en,tn,on,rn,an,dn,sn,ln,pn,cn,xn,hn,gn,fn,un,mn=a.default.button(U||(U=l(["\n display: flex;\n justify-content: space-between;\n color: ",";\n border: 0;\n border-bottom: 1px solid ",";\n width: 100%;\n padding: 10px 16px;\n background: inherit;\n align-items: center;\n"],["\n display: flex;\n justify-content: space-between;\n color: ",";\n border: 0;\n border-bottom: 1px solid ",";\n width: 100%;\n padding: 10px 16px;\n background: inherit;\n align-items: center;\n"])),v,N),bn=a.default(t.IonIcon)(G||(G=l(["\n // #skipcq\n font-size: 24px;\n"],["\n // #skipcq\n font-size: 24px;\n"]))),wn=a.default(t.IonHeader)(Q||(Q=l(["\n padding: ",";\n background: #ffffff;\n position: fixed;\n z-index: 1000;\n min-height: ",";\n box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);\n color: ",";\n\n @media (min-width: 600px) {\n padding-left: calc((100vw - 468px) / 2);\n padding-right: calc((100vw - 468px) / 2);\n }\n\n @media (min-width: 1024px) {\n padding-left: calc((100vw - 960px) / 2);\n padding-right: calc((100vw - 960px) / 2);\n }\n\n .left {\n cursor: pointer;\n position: absolute;\n color: ",";\n left: 0;\n }\n\n .right {\n cursor: pointer;\n color: ",";\n position: absolute;\n right: 0;\n }\n\n &:after {\n background-image: none;\n }\n\n ","\n"],["\n padding: ",";\n background: #ffffff;\n position: fixed;\n z-index: 1000;\n min-height: ",";\n box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);\n color: ",";\n\n @media (min-width: 600px) {\n padding-left: calc((100vw - 468px) / 2);\n padding-right: calc((100vw - 468px) / 2);\n }\n\n @media (min-width: 1024px) {\n padding-left: calc((100vw - 960px) / 2);\n padding-right: calc((100vw - 960px) / 2);\n }\n\n .left {\n cursor: pointer;\n position: absolute;\n color: ",";\n left: 0;\n }\n\n .right {\n cursor: pointer;\n color: ",";\n position: absolute;\n right: 0;\n }\n\n &:after {\n background-image: none;\n }\n\n ","\n"])),(function(n){return n.isInternetConnected?"10px 16px":"40px 16px 16px"}),(function(n){return n.isInternetConnected?"44px":"74px"}),y,b,b,(function(n){return n.isIos&&e.css(K||(K=l(["\n padding: ",";\n min-height: ",";\n\n .left {\n position: absolute;\n left: 0;\n }\n\n .right {\n position: absolute;\n right: 0;\n }\n "],["\n padding: ",";\n min-height: ",";\n\n .left {\n position: absolute;\n left: 0;\n }\n\n .right {\n position: absolute;\n right: 0;\n }\n "])),n.isInternetConnected?"54px 16px 10px":"64px 16px 10px",n.isInternetConnected?"88px":"98px")})),vn=a.default.div(X||(X=l(["\n position: relative;\n display: flex;\n text-align: center;\n justify-content: center;\n\n @media (min-width: 600px) {\n width: 468px;\n }\n\n @media (min-width: 1024px) {\n width: 960px;\n }\n"],["\n position: relative;\n display: flex;\n text-align: center;\n justify-content: center;\n\n @media (min-width: 600px) {\n width: 468px;\n }\n\n @media (min-width: 1024px) {\n width: 960px;\n }\n"]))),yn=a.default.div($||($=l(["\n width: 100%;\n padding: 16px;\n border: 1px solid ",";\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n border-radius: 4px;\n"],["\n width: 100%;\n padding: 16px;\n border: 1px solid ",";\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n border-radius: 4px;\n"])),F),jn=a.default.div(nn||(nn=l(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 24px;\n"],["\n display: flex;\n justify-content: space-between;\n margin-bottom: 24px;\n"]))),kn=a.default.div(en||(en=l(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-right: 8px;\n\n h3 {\n color: ",";\n font-weight: 400;\n font-size: 18px;\n line-height: 24px;\n }\n\n h2.time {\n margin-top: 8px;\n font-weight: 700;\n font-size: 18px;\n line-height: 24px;\n color: ",";\n }\n\n div.is-free {\n margin-top: 12px;\n padding: 2px 7px;\n border-radius: 12px;\n max-width: max-content;\n text-align: center;\n &.greeny {\n background-color: #cfe2d7;\n }\n &.reddy {\n background-color: #ffc7c7;\n }\n h2 {\n font-weight: 700;\n font-size: 12px;\n line-height: 16px;\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-right: 8px;\n\n h3 {\n color: ",";\n font-weight: 400;\n font-size: 18px;\n line-height: 24px;\n }\n\n h2.time {\n margin-top: 8px;\n font-weight: 700;\n font-size: 18px;\n line-height: 24px;\n color: ",";\n }\n\n div.is-free {\n margin-top: 12px;\n padding: 2px 7px;\n border-radius: 12px;\n max-width: max-content;\n text-align: center;\n &.greeny {\n background-color: #cfe2d7;\n }\n &.reddy {\n background-color: #ffc7c7;\n }\n h2 {\n font-weight: 700;\n font-size: 12px;\n line-height: 16px;\n }\n }\n"])),y,v),zn=a.default.img(tn||(tn=l(["\n width: 104px;\n height: 104px;\n border-radius: 8px;\n"],["\n width: 104px;\n height: 104px;\n border-radius: 8px;\n"]))),Cn=a.default.div(on||(on=l(["\n margin: 4px 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n div.divider {\n height: 1px;\n flex-grow: 1;\n background: ",";\n }\n\n h4 {\n color: ",";\n margin: 0 4px;\n }\n"],["\n margin: 4px 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n div.divider {\n height: 1px;\n flex-grow: 1;\n background: ",";\n }\n\n h4 {\n color: ",";\n margin: 0 4px;\n }\n"])),j,j),Bn=a.default.div(rn||(rn=l(["\n display: flex;\n"],["\n display: flex;\n"]))),In=a.default.div(an||(an=l(["\n border: 1px solid ",";\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n position: relative;\n display: flex;\n flex-direction: column;\n text-align: left;\n"],["\n border: 1px solid ",";\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n position: relative;\n display: flex;\n flex-direction: column;\n text-align: left;\n"])),F),Fn=a.default.a(dn||(dn=l(["\n width: 100%;\n min-height: 192px;\n max-height: 192px;\n display: block;\n\n img {\n border-radius: 8px 8px 0 0;\n width: 100%;\n height: 192px;\n }\n"],["\n width: 100%;\n min-height: 192px;\n max-height: 192px;\n display: block;\n\n img {\n border-radius: 8px 8px 0 0;\n width: 100%;\n height: 192px;\n }\n"]))),Ln=a.default.iframe(sn||(sn=l(["\n width: 100%;\n height: 192px;\n margin: 0;\n padding: 0;\n border-radius: 8px 8px 0 0;\n"],["\n width: 100%;\n height: 192px;\n margin: 0;\n padding: 0;\n border-radius: 8px 8px 0 0;\n"]))),Dn=a.default.h3(ln||(ln=l(["\n padding: 16px !important;\n height: 104px;\n color: ",";\n"],["\n padding: 16px !important;\n height: 104px;\n color: ",";\n"])),v),En=a.default.div(pn||(pn=l(["\n visibility: ",";\n position: absolute;\n width: 100%;\n top: 0;\n"],["\n visibility: ",";\n position: absolute;\n width: 100%;\n top: 0;\n"])),(function(n){return n.isLoading?"visible":"hidden"})),Nn=a.default(t.IonSkeletonText)(cn||(cn=l(["\n height: 192px;\n border-radius: 4px 4px 0 0;\n border: none;\n margin: 0;\n padding: 0;\n"],["\n height: 192px;\n border-radius: 4px 4px 0 0;\n border: none;\n margin: 0;\n padding: 0;\n"]))),Sn=a.default.div(xn||(xn=l(["\n cursor: pointer;\n border-radius: 8px;\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n position: relative;\n\n @media (min-width: 600px) {\n max-width: 452px;\n }\n"],["\n cursor: pointer;\n border-radius: 8px;\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);\n position: relative;\n\n @media (min-width: 600px) {\n max-width: 452px;\n }\n"]))),An=a.default.div(hn||(hn=l(["\n display: flex;\n flex-direction: column;\n\n img {\n width: 100%;\n height: 222px;\n object-fit: cover;\n border-radius: 8px 8px 0 0;\n\n @media (min-width: 600px) {\n height: 256px;\n }\n }\n\n h1 {\n margin: 16px 16px 0;\n color: ",";\n }\n\n h3 {\n margin: 4px 16px 0;\n color: ",";\n }\n"],["\n display: flex;\n flex-direction: column;\n\n img {\n width: 100%;\n height: 222px;\n object-fit: cover;\n border-radius: 8px 8px 0 0;\n\n @media (min-width: 600px) {\n height: 256px;\n }\n }\n\n h1 {\n margin: 16px 16px 0;\n color: ",";\n }\n\n h3 {\n margin: 4px 16px 0;\n color: ",";\n }\n"])),v,y),Tn=a.default(t.IonIcon)(gn||(gn=l(["\n // #skipcq\n color: ",";\n font-size: 20px;\n margin: 0;\n\n @media (max-width: 320px) {\n font-size: 19px;\n }\n"],["\n // #skipcq\n color: ",";\n font-size: 20px;\n margin: 0;\n\n @media (max-width: 320px) {\n font-size: 19px;\n }\n"])),b),Mn=a.default.div(fn||(fn=l(["\n display: flex;\n align-items: center;\n padding: 0;\n margin: 0;\n\n p {\n color: ",";\n font-size: 14px;\n padding-left: 4px;\n margin: 0;\n font-family: 'Lato Regular', sans-serif;\n\n @media (max-width: 320px) {\n font-size: 11.5px;\n }\n }\n"],["\n display: flex;\n align-items: center;\n padding: 0;\n margin: 0;\n\n p {\n color: ",";\n font-size: 14px;\n padding-left: 4px;\n margin: 0;\n font-family: 'Lato Regular', sans-serif;\n\n @media (max-width: 320px) {\n font-size: 11.5px;\n }\n }\n"])),v),On=a.default.div(un||(un=l(["\n display: flex;\n justify-content: space-between;\n margin: 16px;\n"],["\n display: flex;\n justify-content: space-between;\n margin: 16px;\n"])));T(".toast_classes {\n color: #ffffff;\n --background: #1d201f;\n font-weight: 400;\n font-size: 14px;\n line-height: 16px;\n margin-top: 30px;\n border-radius: 4px;\n}\n\n.toast_classes_ios {\n top: -36px;\n}\n");var Rn,Pn,qn,Vn,_n=a.default.div(Rn||(Rn=l(["\n overflow: hidden;\n display: flex;\n justify-content: space-between;\n background: ",";\n padding: 8px;\n width: 100%;\n border-radius: 4px;\n"],["\n overflow: hidden;\n display: flex;\n justify-content: space-between;\n background: ",";\n padding: 8px;\n width: 100%;\n border-radius: 4px;\n"])),S),Hn=a.default.div(Pn||(Pn=l(["\n h3 {\n padding-top: 5px;\n font-weight: 700;\n font-size: 18px;\n line-height: 24px;\n color: ",";\n }\n\n h5 {\n color: ",";\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n }\n\n h5.isFreeStatus {\n font-weight: 700;\n font-size: 12px;\n line-height: 16px;\n text-align: center;\n padding: 2px 8px;\n color: ",";\n }\n\n .greeny-bg {\n max-width: max-content;\n background: #cfe2d7;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);\n border-radius: 12px;\n }\n\n .reddy-bg {\n max-width: max-content;\n background: #f6dfdf;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);\n border-radius: 12px;\n }\n\n h5.check {\n margin-top: 5px;\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n line-height: 16px;\n }\n\n svg {\n margin-right: 4px;\n }\n"],["\n h3 {\n padding-top: 5px;\n font-weight: 700;\n font-size: 18px;\n line-height: 24px;\n color: ",";\n }\n\n h5 {\n color: ",";\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n }\n\n h5.isFreeStatus {\n font-weight: 700;\n font-size: 12px;\n line-height: 16px;\n text-align: center;\n padding: 2px 8px;\n color: ",";\n }\n\n .greeny-bg {\n max-width: max-content;\n background: #cfe2d7;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);\n border-radius: 12px;\n }\n\n .reddy-bg {\n max-width: max-content;\n background: #f6dfdf;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);\n border-radius: 12px;\n }\n\n h5.check {\n margin-top: 5px;\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n line-height: 16px;\n }\n\n svg {\n margin-right: 4px;\n }\n"])),v,y,v,k),Wn=a.default.img(qn||(qn=l(["\n max-width: 94px;\n max-height: 94px;\n border-radius: 8px;\n"],["\n max-width: 94px;\n max-height: 94px;\n border-radius: 8px;\n"])));function Yn(){return Yn=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(n[t]=i[t])}return n},Yn.apply(this,arguments)}function Zn(n){return d.createElement("svg",Yn({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),Vn||(Vn=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.624 3.67a.5.5 0 01.76.65l-.008.01-7 8a.5.5 0 01-.722.031l-.008-.007-3-3a.5.5 0 01.7-.716l.008.008 2.622 2.622 6.648-7.597z",fill:"#478862"})))}var Jn,Un,Gn,Kn,Qn,Xn=a.default.div(Jn||(Jn=l(["\n padding: 16px 8px;\n border-radius: 4px;\n border: 1px solid;\n width: 100%;\n min-width: 86px;\n max-height: 108px;\n box-sizing: border-box;\n border-color: ",";\n background: ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n box-shadow: 0 5px 8px rgba(0, 0, 0, 0.04);\n\n h4 {\n margin-bottom: 4px;\n color: ",";\n }\n\n h1 {\n color: ",";\n }\n\n h5 {\n color: ",";\n }\n"],["\n padding: 16px 8px;\n border-radius: 4px;\n border: 1px solid;\n width: 100%;\n min-width: 86px;\n max-height: 108px;\n box-sizing: border-box;\n border-color: ",";\n background: ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n box-shadow: 0 5px 8px rgba(0, 0, 0, 0.04);\n\n h4 {\n margin-bottom: 4px;\n color: ",";\n }\n\n h1 {\n color: ",";\n }\n\n h5 {\n color: ",";\n }\n"])),(function(n){return n.isActive?b:F}),(function(n){return n.isActive?w:I}),(function(n){return n.isActive?b:y}),(function(n){return n.isActive?b:v}),(function(n){return n.isActive?b:y})),$n=a.default.h1(Un||(Un=l(["\n line-height: 76px;\n font-weight: 700;\n margin: 0;\n"],["\n line-height: 76px;\n font-weight: 700;\n margin: 0;\n"])));function ne(){return ne=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(n[t]=i[t])}return n},ne.apply(this,arguments)}function ee(n){return d.createElement("svg",ne({width:14,height:14,fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),Gn||(Gn=d.createElement("path",{d:"M7 13.563A6.57 6.57 0 01.437 7 6.57 6.57 0 017 .437 6.57 6.57 0 0113.563 7 6.57 6.57 0 017 13.563z",fill:"#F1646F"})),Kn||(Kn=d.createElement("path",{d:"M7 14c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7zM7 .875A6.132 6.132 0 00.875 7 6.132 6.132 0 007 13.125 6.132 6.132 0 0013.125 7 6.132 6.132 0 007 .875z",fill:"#fff"})),Qn||(Qn=d.createElement("path",{d:"M11.509 6.253a.437.437 0 01-.31-.127 5.925 5.925 0 00-.851-.707.436.436 0 01-.117-.607.435.435 0 01.608-.116c.347.235.676.508.98.81a.439.439 0 01-.31.747zM2.49 6.253a.437.437 0 01-.31-.747c1.611-1.617 3.851-2.33 6.187-1.87a.439.439 0 01.346.514.441.441 0 01-.514.345c-2.052-.404-3.995.22-5.399 1.63a.435.435 0 01-.31.128zM9.94 7.828a.437.437 0 01-.31-.127 3.905 3.905 0 00-.86-.651.438.438 0 01.427-.765c.383.214.738.482 1.053.795a.439.439 0 01-.31.748zM4.06 7.829a.438.438 0 01-.31-.747 4.513 4.513 0 012.23-1.233.437.437 0 01.187.855c-.67.146-1.29.49-1.797.996a.437.437 0 01-.31.129zM7 10.5a1.264 1.264 0 01-1.223-.939.438.438 0 01.847-.222c.045.17.196.286.376.286a.397.397 0 00.397-.397c0-.18-.115-.33-.286-.376a.438.438 0 01.222-.847c.552.146.939.648.939 1.223 0 .701-.57 1.272-1.272 1.272zM2.36 12.076a.438.438 0 01-.31-.747l9.28-9.278a.438.438 0 11.619.62l-9.28 9.277a.434.434 0 01-.308.128z",fill:"#fff"})))}var ie,te,oe,re,ae,de,se,le,pe,ce,xe=a.default.div(ie||(ie=l(["\n position: fixed;\n box-sizing: border-box;\n background: ",";\n width: 100%;\n display: ",";\n justify-content: center;\n align-items: center;\n padding: ",";\n\n span {\n font-size: 10px;\n line-height: 14px;\n margin-left: 8px;\n color: ",";\n }\n"],["\n position: fixed;\n box-sizing: border-box;\n background: ",";\n width: 100%;\n display: ",";\n justify-content: center;\n align-items: center;\n padding: ",";\n\n span {\n font-size: 10px;\n line-height: 14px;\n margin-left: 8px;\n color: ",";\n }\n"])),B,(function(n){return n.isInternetConnected?"none":"flex"}),(function(n){return n.isIos?"32px 0 8px":"8px 0"}),I),he=a.default.div(te||(te=l(["\n width: 100%;\n display: flex;\n flex-direction: column;\n\n img {\n width: 100%;\n height: 222px;\n border-radius: 8px;\n object-fit: cover;\n\n @media (min-width: 600px) {\n height: auto;\n }\n\n @media (min-width: 1024px) {\n height: auto;\n }\n }\n"],["\n width: 100%;\n display: flex;\n flex-direction: column;\n\n img {\n width: 100%;\n height: 222px;\n border-radius: 8px;\n object-fit: cover;\n\n @media (min-width: 600px) {\n height: auto;\n }\n\n @media (min-width: 1024px) {\n height: auto;\n }\n }\n"]))),ge=a.default.div(oe||(oe=l(["\n display: flex;\n justify-content: space-between;\n margin-top: 16px;\n\n h3 {\n color: ",";\n display: flex;\n align-items: center;\n\n ion-icon {\n margin-right: 4px;\n font-size: 24px;\n }\n }\n"],["\n display: flex;\n justify-content: space-between;\n margin-top: 16px;\n\n h3 {\n color: ",";\n display: flex;\n align-items: center;\n\n ion-icon {\n margin-right: 4px;\n font-size: 24px;\n }\n }\n"])),v),fe=a.default(t.IonIcon)(re||(re=l(["\n // skipcq JS-0323\n width: 20px;\n z-index: 3;\n height: 20px;\n position: absolute;\n top: calc(50% - 10px);\n left: 20px;\n color: "," !important;\n"],["\n // skipcq JS-0323\n width: 20px;\n z-index: 3;\n height: 20px;\n position: absolute;\n top: calc(50% - 10px);\n left: 20px;\n color: "," !important;\n"])),v),ue=a.default(t.IonInput)(ae||(ae=l(["\n position: relative;\n border: none;\n border-radius: 4px;\n font-size: 14px;\n font-family: 'Lato Regular', sans-serif;\n --padding-start: 55px !important;\n --background: "," !important;\n min-height: 36px;\n line-height: 20px;\n color: ",";\n --placeholder-color: ",";\n --placeholder-opacity: 1;\n"],["\n position: relative;\n border: none;\n border-radius: 4px;\n font-size: 14px;\n font-family: 'Lato Regular', sans-serif;\n --padding-start: 55px !important;\n --background: "," !important;\n min-height: 36px;\n line-height: 20px;\n color: ",";\n --placeholder-color: ",";\n --placeholder-opacity: 1;\n"])),z,(function(n){return n.isActive?v:j}),j),me=a.default(t.IonSegment)(de||(de=l(["\n --background: ",";\n"],["\n --background: ",";\n"])),C),be=a.default(t.IonSegmentButton)(se||(se=l(["\n --background-checked: ",";\n --background-focused: ",";\n --background-hover: ",";\n --color: ",";\n --color-checked: ",";\n --color-focused: ",";\n --color-hover: ",";\n --transition: 0;\n --indicator-transform: 0;\n"],["\n --background-checked: ",";\n --background-focused: ",";\n --background-hover: ",";\n --color: ",";\n --color-checked: ",";\n --color-focused: ",";\n --color-hover: ",";\n --transition: 0;\n --indicator-transform: 0;\n"])),I,I,I,v,v,v,v),we=a.default.div(le||(le=l(["\n display: flex;\n box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.08);\n position: fixed;\n bottom: -1px;\n width: 100vw;\n border: none;\n padding-bottom: ",";\n color: ",";\n padding-top: 10px;\n justify-content: center;\n background: white;\n\n div {\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 150px;\n flex-grow: 1;\n cursor: pointer;\n }\n\n ion-icon {\n font-size: 28px;\n margin: 0;\n }\n\n ion-label {\n font-weight: 700;\n font-size: 10px;\n margin: 0;\n line-height: 14px;\n font-family: 'Lato Bold', sans-serif;\n }\n"],["\n display: flex;\n box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.08);\n position: fixed;\n bottom: -1px;\n width: 100vw;\n border: none;\n padding-bottom: ",";\n color: ",";\n padding-top: 10px;\n justify-content: center;\n background: white;\n\n div {\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 150px;\n flex-grow: 1;\n cursor: pointer;\n }\n\n ion-icon {\n font-size: 28px;\n margin: 0;\n }\n\n ion-label {\n font-weight: 700;\n font-size: 10px;\n margin: 0;\n line-height: 14px;\n font-family: 'Lato Bold', sans-serif;\n }\n"])),(function(n){return n.isIos?"34px":"10px"}),y),ve=a.default.div(pe||(pe=l(["\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #d6f2f9;\n border-radius: 4px;\n"],["\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #d6f2f9;\n border-radius: 4px;\n"]))),ye=a.default.div(ce||(ce=l(["\n padding: 8px 0;\n overflow: hidden;\n display: flex;\n align-items: center;\n img {\n width: 20px;\n margin-right: 10px;\n }\n span {\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n max-width: 200px;\n overflow-wrap: break-word;\n }\n"],["\n padding: 8px 0;\n overflow: hidden;\n display: flex;\n align-items: center;\n img {\n width: 20px;\n margin-right: 10px;\n }\n span {\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n max-width: 200px;\n overflow-wrap: break-word;\n }\n"])));exports.ArchivedConsultationCard=function(e){return n.jsxs(_n,s({"data-testid":e["data-testid"]},{children:[n.jsxs(Hn,{children:["boolean"==typeof e.isFree&&(e.isFree?n.jsx("div",s({className:"reddy-bg"},{children:n.jsx("h5",s({className:"isFreeStatus"},{children:"Безкоштовна"}))})):n.jsx("div",s({className:"greeny-bg"},{children:n.jsx("h5",s({className:"isFreeStatus"},{children:"Платна - ".concat(e.price," грн")}))}))),n.jsx("h3",{children:e.nameAndSurname}),n.jsx("h5",s({className:"semiBold"},{children:e.date})),n.jsxs("h5",s({className:"check"},{children:[n.jsx(Zn,{}),"Завершена"]}))]}),n.jsx(Wn,{src:e.avatar,alt:"user-avatar"})]}))},exports.Button=q,exports.ConsultationCard=function(e){return n.jsxs(yn,s({"data-testid":e["data-container-testid"]},{children:[n.jsxs(jn,{children:[n.jsxs(kn,{children:[n.jsxs("h3",{children:["Консультація з ",e.consultationWith]}),n.jsxs("h2",s({className:"time"},{children:[e.day," о ",e.time]})),"boolean"==typeof e.isFree&&(e.isFree?n.jsx("div",s({className:"is-free reddy"},{children:n.jsx("h2",{children:"Безкоштовна"})})):n.jsx("div",s({className:"is-free greeny"},{children:n.jsx("h2",{children:"Платна - ".concat(e.price," грн")})})))]}),n.jsx(zn,{src:e.avatar,alt:"avatar"})]}),n.jsx(q,s({buttonType:"primary",isDisabled:!1,"data-testid":e["data-start-testid"],onClick:e.startConsultation},{children:"Почати консультацію"})),n.jsxs(Cn,{children:[n.jsx("div",{className:"divider"}),n.jsx("h4",{children:"або"}),n.jsx("div",{className:"divider"})]}),n.jsx(Bn,{children:n.jsx(q,s({buttonType:"secondaryCancel",isDisabled:!1,onClick:e.handleRefund,"data-testid":e["data-refund-testid"]},{children:"Скасувати"}))})]}))},exports.ContentCard=function(e){var t,o,r,a=i.useState(!0),d=a[0],l=a[1],p=(null===(t=e.contentVideo)||void 0===t?void 0:t.title)||(null===(o=e.contentArticle)||void 0===o?void 0:o.title),c=e.contentArticle?n.jsx(Fn,s({"data-testID":e["data-testid"],href:e.contentArticle.link},{children:n.jsx("img",{src:e.contentArticle.photoURL,alt:"article-img",onLoad:function(){l(!1)}})})):n.jsx(Ln,{"data-testid":e["data-testid"],src:"https://www.youtube.com/embed/".concat(null===(r=e.contentVideo)||void 0===r?void 0:r.url),title:"YouTube video player",frameBorder:"0",onLoad:function(){l(!1)},allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0});return n.jsxs(In,{children:[c,n.jsx(En,s({isLoading:d},{children:n.jsx(Nn,{animated:!0})})),n.jsxs(Dn,s({className:"semiBold"},{children:[" ",p]}))]})},exports.DatePicker=function(e){return n.jsx(Xn,s({"data-testid":e["data-testid"],isActive:e.isActive,onClick:function(){return e.onClick()}},{children:"weekday"===e.type?n.jsx($n,{children:e.weekday}):n.jsxs(n.Fragment,{children:[n.jsx("h4",{children:e.day}),n.jsx("h1",s({className:"bold"},{children:e.date})),n.jsx("h5",{children:e.month})]})}))},exports.FloatingButton=function(e){return n.jsx(V,s({href:"https://t.me/MindlySupport",bottomHeight:e.bottomHeight,rightWidth:e.rightWidth},{children:n.jsx("img",{"data-testid":e["data-testid"],src:"data:image/svg+xml,%3Csvg%20width%3D%2254%22%20height%3D%2254%22%20viewBox%3D%220%200%2054%2054%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%2254%22%20height%3D%2254%22%20fill%3D%22%2321ABD2%22%2F%3E%3Cpath%20d%3D%22M27.0002%2015C21.9405%2015%2017.8237%2019.1168%2017.8237%2024.1765V32.647C17.8237%2033.8148%2018.7737%2034.7648%2019.9413%2034.7648C21.1092%2034.7648%2022.0591%2033.8148%2022.0591%2032.647V25.5883C22.0591%2024.4206%2021.1092%2023.4706%2019.9413%2023.4706C19.7037%2023.4706%2019.4788%2023.5188%2019.2651%2023.5913C19.5663%2019.5829%2022.9168%2016.4117%2027.0002%2016.4117C31.0815%2016.4117%2034.431%2019.58%2034.735%2023.5856C34.5226%2023.5129%2034.2964%2023.4706%2034.0591%2023.4706C32.8913%2023.4706%2031.9413%2024.4206%2031.9413%2025.5883V32.647C31.9413%2033.8148%2032.8913%2034.7648%2034.0591%2034.7648C34.3078%2034.7648%2034.5431%2034.7139%2034.765%2034.6348V35.4706C34.765%2035.8601%2034.4479%2036.1765%2034.0591%2036.1765H28.9879C28.6954%2035.3566%2027.9192%2034.7648%2027.0002%2034.7648C25.8326%2034.7648%2024.8826%2035.7147%2024.8826%2036.8824C24.8826%2038.05%2025.8326%2039%2027.0002%2039C27.9192%2039%2028.6954%2038.408%2028.9879%2037.5883H34.0591C35.2268%2037.5883%2036.1768%2036.6383%2036.1768%2035.4706C36.1768%2031.2248%2036.1768%2028.4269%2036.1768%2024.1765C36.1768%2019.1168%2032.06%2015%2027.0002%2015V15Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M37.5884%2025.0122V33.2227C38.4081%2032.9304%2039.0001%2032.1542%2039.0001%2031.235V26.9998C39.0001%2026.0808%2038.4081%2025.3046%2037.5884%2025.0122Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M15%2026.9998V31.235C15%2032.1542%2015.592%2032.9304%2016.4117%2033.2227V25.0122C15.592%2025.3046%2015%2026.0808%2015%2026.9998Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E",alt:"support mindly"})}))},exports.FooterForBooking=function(e){return n.jsxs(_,s({isIos:e.isIos},{children:[n.jsxs(H,{children:[n.jsxs("h4",{children:[n.jsx(W,{icon:J,color:"primary"}),n.jsxs(n.Fragment,{children:[e.duration," хв"]})]}),n.jsxs("h4",{children:[n.jsx(W,{icon:Z,color:"primary"}),e.price]})]}),n.jsx(q,s({buttonType:"primary",isDisabled:!1,"data-testid":e["data-testid"],onClick:e.eventHandler},{children:"Записатися"}))]}))},exports.Input=function(e){return n.jsx(ue,s({name:e.name,placeholder:e.placeholder,value:e.value,"data-testid":e["data-testid"],onIonChange:function(n){return e.onIonChange(n)},isActive:e.isActive,type:e.type},{children:n.jsx(fe,{icon:e.icon})}))},exports.ListButton=function(e){return n.jsxs(mn,s({"data-testid":e["data-testid"],onClick:e.onClick},{children:[n.jsx("h4",{children:e.children}),n.jsx(bn,{src:e.icon})]}))},exports.NavigationBar=function(e){return n.jsx(wn,s({isIos:e.isIos,isInternetConnected:e.isInternetConnected},{children:n.jsx(vn,{children:e.children})}))},exports.NoInternetConnection=function(e){return n.jsxs(xe,s({isInternetConnected:e.isInternetConnected,isIos:e.isIos},{children:[n.jsx(ee,{}),n.jsx("span",{children:"Інтернет підключення відсутнє"})]}))},exports.ScrollTabs=function(e){return n.jsxs(me,s({value:e.value,mode:"ios",onIonChange:function(n){return e.setActiveTab(n.detail.value)}},{children:[n.jsx(be,s({value:"profile","data-testid":"profile"},{children:n.jsx(t.IonLabel,{children:n.jsx("h5",{children:"Профіль"})})})),n.jsx(be,s({value:"video","data-testid":"video"},{children:n.jsx(t.IonLabel,{children:n.jsx("h5",{children:"Відео"})})})),n.jsx(be,s({value:"articles","data-testid":"articles"},{children:n.jsx(t.IonLabel,{children:n.jsx("h5",{children:"Статті"})})}))]}))},exports.TabBar=function(e){return n.jsx(we,s({isIos:e.isIos},{children:e.children}))},exports.TherapistCard=function(e){return n.jsx(Sn,s({"data-testid":e["data-testid"],onClick:e.handleClick},{children:n.jsxs(An,{children:[n.jsx("img",{src:e.psychologistPhoto,alt:"psychologistPhoto"}),n.jsx("h1",s({className:"bold"},{children:"".concat(e.psychologistName," ").concat(e.psychologistLastName)})),n.jsx("h3",s({className:"semiBold"},{children:e.psychologistType})),n.jsxs(On,{children:[n.jsxs(Mn,{children:[n.jsx(Tn,{icon:J}),n.jsx("p",s({className:"semiBold"},{children:"".concat(e.psychologistDuration," хвилин")}))]}),n.jsxs(Mn,{children:[n.jsx(Tn,{icon:Z}),n.jsx("p",s({className:"semiBold"},{children:"".concat(e.psychologistPrice," грн")}))]}),n.jsxs(Mn,{children:[n.jsx(Tn,{icon:Y}),n.jsx("p",s({className:"semiBold"},{children:e.psychologistExperience>=5?"".concat(e.psychologistExperience," років досвіду"):1===e.psychologistExperience?"".concat(e.psychologistExperience," рік досвіду"):"".concat(e.psychologistExperience," роки досвіду")}))]})]})]})}))},exports.TherapistInformationComponent=function(e){return n.jsxs(he,s({"data-testid":e["data-testid"]},{children:[n.jsx("img",{src:e.avatar,alt:"therapist avatar"}),n.jsxs(ge,{children:[n.jsxs("h3",s({className:"semiBold"},{children:[n.jsx(t.IonIcon,{icon:Y,color:"primary"}),e.experience]})),n.jsxs("h3",s({className:"semiBold"},{children:[n.jsx(t.IonIcon,{icon:J,color:"primary"}),e.duration]})),n.jsxs("h3",s({className:"semiBold"},{children:[n.jsx(t.IonIcon,{icon:Z,color:"primary"}),e.price]}))]})]}))},exports.YourLocalTimeBlock=function(e){var i=e.text,t=void 0===i?"За Вашим місцевим часом":i;return n.jsx(ve,{children:n.jsxs(ye,{children:[n.jsx("img",{src:"./YourLocalTimeBlock.png",alt:"clock"}),n.jsx("span",{children:t})]})})},exports.toast=function(n,e){var i;void 0===e&&(e=4500);var o=document.createElement("ion-toast");return o.message=n,o.duration=e,o.position="top",o.cssClass=t.isPlatform("ios")?"toast_classes toast_classes_ios":"toast_classes",null===(i=document.getElementById("root"))||void 0===i||i.appendChild(o),o.present()};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|