@timum/booking 1.2.5 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { T as t, f as p, t as y } from "./index-8e9f603b.js";
1
+ import { T as t, f as p, t as y } from "./index-e8f87b0c.js";
2
2
  export {
3
3
  t as default,
4
4
  p as getTypographyUtilityClass,
@@ -1,4 +1,4 @@
1
- import { h as e, j as l, i as t } from "./index-8e9f603b.js";
1
+ import { h as e, j as l, i as t } from "./index-e8f87b0c.js";
2
2
  export {
3
3
  e as default,
4
4
  l as getTableUtilityClass,
@@ -1,4 +1,4 @@
1
- import { r as b, s as f, u as m, v as F, w as d, _ as C, x as l, y as n, z as T, A as v, C as x } from "./index-8e9f603b.js";
1
+ import { r as b, s as f, u as m, v as F, w as d, _ as C, x as l, y as n, z as T, A as v, C as x } from "./index-e8f87b0c.js";
2
2
  function y(o) {
3
3
  return b("MuiTableFooter", o);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { b as a, B as e, g as l } from "./index-8e9f603b.js";
1
+ import { b as a, B as e, g as l } from "./index-e8f87b0c.js";
2
2
  export {
3
3
  a as buttonClasses,
4
4
  e as default,
@@ -1,4 +1,4 @@
1
- import { k as e, n as l, m as t } from "./index-8e9f603b.js";
1
+ import { k as e, n as l, m as t } from "./index-e8f87b0c.js";
2
2
  export {
3
3
  e as default,
4
4
  l as getTableBodyUtilityClass,
@@ -1,4 +1,4 @@
1
- import { L as l, a as t, l as e } from "./index-8e9f603b.js";
1
+ import { L as l, a as t, l as e } from "./index-e8f87b0c.js";
2
2
  export {
3
3
  l as default,
4
4
  t as getLinkUtilityClass,
@@ -1,4 +1,4 @@
1
- import { c as e, e as a, d as l } from "./index-8e9f603b.js";
1
+ import { c as e, e as a, d as l } from "./index-e8f87b0c.js";
2
2
  export {
3
3
  e as default,
4
4
  a as getListItemTextUtilityClass,
@@ -43669,27 +43669,27 @@ function pN(e, t) {
43669
43669
  return n;
43670
43670
  }
43671
43671
  var UT = le.lazy(function() {
43672
- return import("./index-def0c4c7.js");
43672
+ return import("./index-692a9cd6.js");
43673
43673
  }), jT = le.lazy(function() {
43674
- return import("./index-62b568a2.js");
43674
+ return import("./index-abb71c4f.js");
43675
43675
  });
43676
43676
  le.lazy(function() {
43677
- return import("./index-d31e9f7d.js");
43677
+ return import("./index-b32bda34.js");
43678
43678
  });
43679
43679
  var bl = le.lazy(function() {
43680
- return import("./index-081027d0.js");
43680
+ return import("./index-012d3d3c.js");
43681
43681
  }), mwe = le.lazy(function() {
43682
- return import("./index-e2e24c25.js");
43682
+ return import("./index-29c6af5b.js");
43683
43683
  }), vwe = le.lazy(function() {
43684
- return import("./index-accfc02c.js");
43684
+ return import("./index-9429d686.js");
43685
43685
  }), VT = le.lazy(function() {
43686
- return import("./index-98ce1b3d.js");
43686
+ return import("./index-ebd60da2.js");
43687
43687
  }), ywe = le.lazy(function() {
43688
- return import("./index-84550eba.js");
43688
+ return import("./index-367d599a.js");
43689
43689
  }), bwe = le.lazy(function() {
43690
- return import("./index-3e5257de.js");
43690
+ return import("./index-ebf6867f.js");
43691
43691
  }), wwe = le.lazy(function() {
43692
- return import("./index-98344dca.js");
43692
+ return import("./index-ed0443db.js");
43693
43693
  }), xwe = le.lazy(function() {
43694
43694
  return Promise.resolve().then(function() {
43695
43695
  return $we;
@@ -44094,8 +44094,8 @@ function bN({
44094
44094
  const E = await S({
44095
44095
  channelOrResourceId: d,
44096
44096
  body: {
44097
- start: e.start.toISO(),
44098
- end: e.end.toISO(),
44097
+ start: e.start.toISO({ suppressMilliseconds: !0 }),
44098
+ end: e.end.toISO({ suppressMilliseconds: !0 }),
44099
44099
  product_uuid: m.uuid,
44100
44100
  timeslot_uuid: e.uuid,
44101
44101
  customer_id: v ? v.personId + "@" + v.platform : void 0,
@@ -1,4 +1,4 @@
1
- import { o as e, q as s, p as t } from "./index-8e9f603b.js";
1
+ import { o as e, q as s, p as t } from "./index-e8f87b0c.js";
2
2
  export {
3
3
  e as default,
4
4
  s as getTableCellUtilityClass,
@@ -1,4 +1,4 @@
1
- import { r as p, s as b, u as m, v as H, w as C, _ as T, x as r, y as n, z as f, A as h, C as v } from "./index-8e9f603b.js";
1
+ import { r as p, s as b, u as m, v as H, w as C, _ as T, x as r, y as n, z as f, A as h, C as v } from "./index-e8f87b0c.js";
2
2
  function x(e) {
3
3
  return p("MuiTableHead", e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { D as e, F as l, E as t } from "./index-8e9f603b.js";
1
+ import { D as e, F as l, E as t } from "./index-e8f87b0c.js";
2
2
  export {
3
3
  e as default,
4
4
  l as getTableRowUtilityClass,
@@ -1,4 +1,4 @@
1
- import { R as s, H as o, J as t, G as e, I as m } from "./index-8e9f603b.js";
1
+ import { R as s, H as o, J as t, G as e, I as m } from "./index-e8f87b0c.js";
2
2
  export {
3
3
  s as React,
4
4
  o as TimumBooking,
@@ -312,7 +312,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
312
312
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
313
313
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
314
314
  PERFORMANCE OF THIS SOFTWARE.
315
- ***************************************************************************** */var hn=function(){return hn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},hn.apply(this,arguments)};function pO(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function"){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}var gO=oe.lazy(function(){return Promise.resolve().then(()=>yQ)}),mO=oe.lazy(function(){return Promise.resolve().then(()=>Y1e)});oe.lazy(function(){return Promise.resolve().then(()=>EK)});var Yl=oe.lazy(function(){return Promise.resolve().then(()=>TZ)}),bve=oe.lazy(function(){return Promise.resolve().then(()=>e0e)}),wve=oe.lazy(function(){return Promise.resolve().then(()=>o0e)}),vO=oe.lazy(function(){return Promise.resolve().then(()=>c0e)}),xve=oe.lazy(function(){return Promise.resolve().then(()=>x0e)}),Sve=oe.lazy(function(){return Promise.resolve().then(()=>T0e)}),Cve=oe.lazy(function(){return Promise.resolve().then(()=>R0e)}),$ve=oe.lazy(function(){return Promise.resolve().then(function(){return Tve})}),Eve=oe.lazy(function(){return Promise.resolve().then(function(){return Rve})}),kve=oe.lazy(function(){return Promise.resolve().then(function(){return Dve})}),yO=function(e){var t=e.disableTableContainer,n=t!==void 0&&t,r=e.blockquoteBorderColor,i=e.inlineCodeBgColor,a=i===void 0?"rgba(126, 126, 126, 0.1)":i,o=e.inlineCodeColor,s=o===void 0?"currentcolor":o,l=e.codeBlockTheme;return{a:{component:mO},blockquote:{component:$ve,props:{borderColor:r}},button:{component:gO},Button:{component:gO},code:{component:"code",props:{style:{backgroundColor:a,borderRadius:"4px",color:s,margin:"0 0.2rem",padding:"0.5rem 0.5rem"}}},h1:{component:Yl,props:{variant:"h1",gutterBottom:!0}},h2:{component:Yl,props:{variant:"h2",gutterBottom:!0}},h3:{component:Yl,props:{variant:"h3",gutterBottom:!0}},h4:{component:Yl,props:{variant:"h4",gutterBottom:!0}},h5:{component:Yl,props:{variant:"h5",gutterBottom:!0}},h6:{component:Yl,props:{variant:"h6",gutterBottom:!0}},li:{component:"li"},Link:{component:mO},ol:{component:"ol"},p:{component:Yl,props:{variant:"body1",gutterBottom:!0}},pre:{component:Eve,props:{theme:l}},table:{component:n?bve:kve},tbody:{component:wve},td:{component:vO},tfoot:{component:xve},thead:{component:Sve},th:{component:vO},tr:{component:Cve},ul:{component:"ul"}}},Uc=function(e){return M(A.Suspense,hn({fallback:M("div",{children:"..."},void 0)},{children:function(t){var n=t.children,r=t.key,i=t.options,a=t.overrides,o=t.disableTableContainer,s=t.blockquoteBorderColor,l=t.inlineCodeBgColor,c=t.inlineCodeColor,d=t.codeBlockTheme,p=yO({disableTableContainer:o,blockquoteBorderColor:s,inlineCodeBgColor:l,inlineCodeColor:c,codeBlockTheme:d}),g=n||"";if(i){var h=i.overrides,m=pO(i,["overrides"]);return M(cO,h?hn({options:hn({overrides:hn(hn({},p),h)},m)},{children:g}):hn({options:hn({overrides:hn({},p)},m)},{children:g}),r&&r)}return M(cO,hn(a?{options:{overrides:hn(hn({},p),a)}}:{options:{overrides:hn({},p)}},{children:g}),r&&r)}(e)}),void 0)};yO({});var Tve=Object.freeze({__proto__:null,default:function(e){var t=e.children,n=e.borderColor,r=us().palette,i=r.background,a=r.info,o=function(l){var c=l;(c=c.replaceAll("#","")).length===3&&(c=c.split("").map(function(p){return p+p}).join(""));var d=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(c);return d?{r:parseInt(d[1],16),g:parseInt(d[2],16),b:parseInt(d[3],16)}:null}(i.paper),s=o?"rgba(".concat(o.r,", ").concat(o.g,", ").concat(o.b,", 0.5)"):i.paper;return M(Il,hn({sx:{padding:"1rem",backgroundColor:s,borderLeft:"4px solid ".concat(n||a.main)}},{children:t}),void 0)}}),Ave=fe(ki,{name:"PreContainer"})(function(e){return{borderRadius:e.theme.shape.borderRadius,padding:"1rem"}}),Mve=fe("pre")({overflowX:"auto"}),_ve=function(e){var t=e.code,n=t===void 0?"const sayHello = (name:string) => console.log(`Hello${name}`);":t,r=e.language,i=r===void 0?"tsx":r,a=e.theme;return M(yve,hn({},hve,{theme:a===void 0?fve:a,code:n,language:i},{children:function(o){var s=o.className,l=o.style,c=o.tokens,d=o.getLineProps,p=o.getTokenProps;return M(Ave,hn({className:s,style:l},{children:M(Mve,{children:c.map(function(g,h){return M("div",hn({},d({line:g,key:h}),{children:g.map(function(m,v){return M("span",hn({},p({token:m,key:v})),v)})}),h)})},void 0)}),void 0)}}),void 0)},Rve=Object.freeze({__proto__:null,default:function(e){var t=e.children,n=e.theme;if(t&&t.type&&t.type==="code"){var r=t.props.className?t.props.className.replace("lang-",""):"tsx";return M(_ve,{code:t.props.children,language:r,theme:n&&n},void 0)}return M(ki,hn({component:"pre",sx:{whiteSpace:"pre-wrap"}},{children:t}),void 0)}}),Dve=Object.freeze({__proto__:null,default:function(e){var t=e.children,n=pO(e,["children"]);return M(g0e,hn({component:Il},{children:M(p8,hn({},n,{children:t}),void 0)}),void 0)}});function Ove({name:e,children:t,namespace:n,rhfProps:r,disableEmptyErrorText:i}){const a=c=>n?`${n}.${c}`:c;if(oe.Children.toArray(t).length>1)throw"RHFTextfield may only have a single child component";const s=c=>c?c.message:i?void 0:" ",l={name:a(e),render:({field:c,fieldState:d})=>{const p=d==null?void 0:d.error;return c.value=c.value??"",t(!!p,s(p),c)}};return r!=null&&r.control&&(l.control=r.control),M(FQ,{...l})}const bO=e=>{const t={};for(const[n,r]of Object.entries(e))r.type==="phoneNumber"?t[n]=$s().test({name:`${n}-required-test`,test:i=>!(r.isRequired&&!i),message:"Notwendig"}).test({name:`${n}-number-test`,test:i=>i?ime(i,"DE"):!0,message:"Nummer is nicht valide"}):t[n]=r.validation;return t},wO=e=>{const t={};for(const[n,r]of Object.entries(e))t[n]=r.prefilled;return t};function $6({fields:e,containerProps:t={},textFieldProps:n={},telFieldProps:r={},selectFieldProps:i={},textAreaProps:a={},disableEmptyErrorText:o,rhfProps:s}){const{t:l}=wr();return M(nt,{container:!0,item:!0,sx:{maxHeight:"250px",overflowY:"auto",overflowX:"hidden",width:"100%"},...t,children:Object.entries(e).map(([c,d])=>M(nt,{item:!0,xs:12,my:1,sx:{display:d.preventRendering?"none":"flex"},children:M(Ove,{name:c,rhfProps:s,disableEmptyErrorText:o,children:(p,g,h)=>{if(!d.type||d.type==="text")return M(_c,{fullWidth:!0,size:"small",label:qn.isString(d.title)?M(Uc,{children:l(d.title)}):d.title,type:d.format,error:p,helperText:l(g),...h,...n});if(d.type==="phoneNumber")return M(ID,{fullWidth:!0,size:"small",label:qn.isString(d.title)?M(Uc,{children:l(d.title)}):d.title,error:p,splitCallingCode:!0,defaultCountry:"DE",preferredCountries:["DE","CH","AT"],helperText:l(g)||g,...h,...r});if(d.type==="checkbox")return xe(XA,{component:"fieldset",variant:"standard",error:p,children:[M(c1e,{children:M(a1e,{control:M(lde,{...h}),label:qn.isString(d.title)?M(Uc,{children:l(d.title)}):d.title})}),M(tM,{children:l(g)||g})]});if(d.type==="textarea"){const m=()=>{var x;let v="";return g&&(v=l(g)||g),d.limit&&(v+=` ${((x=h==null?void 0:h.value)==null?void 0:x.length)??0}/${d.limit}`),v};return M(_c,{fullWidth:!0,multiline:!0,size:"small",label:qn.isString(d.title)?M(Uc,{children:l(d.title)}):d.title,type:d.format,error:p,helperText:m(),inputProps:{maxLength:d.limit??99999},...h,...a})}if(d.type==="select"&&d.options)return M(_c,{fullWidth:!0,select:!0,size:"small",label:qn.isString(d.title)?M(Uc,{children:l(d.title)}):d.title,type:d.format,error:p,helperText:l(g)||g,...h,...i,children:d.options.map(m=>M(yM,{value:m.key,children:l(m.title)},m.key))})}})},c))})}$6.propTypes={fields:Me.object.isRequired,textFieldProps:Me.object,telFieldProps:Me.object,selectFieldProps:Me.object,textAreaProps:Me.object};function xO({timeslot:e,productName:t,productMinDuration:n,resourceName:r,placeholderId:i,onBookingSuccessfull:a,onBookingFailed:o,bookingProcess:s}){const{t:l}=wr(),c=Ge(E=>et(E,"ref")),d=Ge(E=>et(E,"sendCustomValuesInMessage")),p=Ge(E=>et(E,"channelKey")),g=Ge(q5),h=Ge(E=>et(E,"fields")),m=Ge(E=>et(E,"callbacks.createBookingStarted")),v=Ge(E=>et(E,"callbacks.createBookingSuccessful")),x=Ge(E=>et(E,"callbacks.createBookingFailed")),w=Ge(E=>et(E,"auth2")),b=Yk({defaultValues:wO(h),resolver:LA(Rh().shape(bO(h)))});console.debug(b.formState.errors);const[S,{isLoading:C}]=xE(),k=async E=>{console.table(E),m&&m({timeslot:e,data:{...E}});let T=E.message;if(d){T="";for(const O of Object.keys(h))O!=="firstName"&&O!=="lastName"&&O!=="email"&&O!=="mobile"&&O!=="agbs"&&E[O]&&(T+=E[O]+", ");T=T.slice(0,-3)}const R=await S({channelOrResourceId:c,body:{start:e.start.toISO({suppressMilliseconds:!0}),end:e.end.toISO({suppressMilliseconds:!0}),product_uuid:g.uuid,timeslot_uuid:e.uuid,placeholder_id:i,email:E.email,firstname:E.firstName,lastname:E.lastName,locale:E.locale,mobile:E.mobile,message:T,channelId:p},headers:w?{auth2:w}:void 0});R.error?(console.log("Caught error while creating booking:"+R.error),x&&x({timeslot:e,response:R,data:{...E}}),o&&o({timeslot:e,response:R,data:{...E}})):(v&&v({timeslot:e,response:R,data:{...E}}),a&&a({timeslot:e,response:R,data:{...E}}))};return M("form",{onSubmit:b.handleSubmit(k),children:xe(nt,{container:!0,direction:"column",justifyContent:"center",alignItems:"center",spacing:1,pt:1,children:[M(rp,{start:e==null?void 0:e.start,end:e==null?void 0:e.end,productName:t,productMinDuration:n,resourceName:r}),M($6,{fields:h,containerProps:{spacing:0,sx:{maxHeight:"calc(100vh - 180px)",overflowY:"auto",overflowX:"hidden",width:"100%"}},disableEmptyErrorText:!0,rhfProps:{control:b.control}}),M(nt,{item:!0,children:M(rh,{variant:"contained",color:"primary",type:"submit",loading:C,children:s.toLowerCase()==="immediate"?l("submit_button_book"):l("submit_button_request")})})]})})}xO.propTypes={onProductSelected:Me.func};function SO({timeslot:e,productName:t,productMinDuration:n,resourceName:r,placeholderId:i,onBookingSuccessfull:a,onBookingFailed:o,bookingProcess:s,customerData:l}){const{t:c}=wr(),d=Ge(E=>et(E,"ref")),[p,g]=oe.useState(),h=Ge(E=>et(E,"channelKey")),m=Ge(q5),v=Ge(E=>et(E,"pData")),x=Ge(E=>et(E,"createBookingStarted")),w=Ge(E=>et(E,"createBookingSuccessful")),b=Ge(E=>et(E,"createBookingFailed")),[S,{isLoading:C}]=xE(),k=async()=>{x&&x({timeslot:e,...v});const E=await S({channelOrResourceId:d,body:{start:e.start.toISO(),end:e.end.toISO(),product_uuid:m.uuid,timeslot_uuid:e.uuid,customer_id:v?v.personId+"@"+v.platform:void 0,placeholder_id:i,channelId:h},params:{message:p}});E.error?(b&&b({timeslot:e,resonse:E,pData:v}),o&&o({timeslot:e,resonse:E,pData:v})):(w&&w({timeslot:e,response:E,...v}),a&&a({timeslot:e,response:E,...v}))};return xe(nt,{container:!0,direction:"column",justifyContent:"center",alignItems:"center",mt:2,mx:"auto",children:[M(rp,{start:e==null?void 0:e.start,end:e==null?void 0:e.end,productMinDuration:n,productName:t,resourceName:r}),M(nt,{item:!0,borderBottom:"1px solid #ddd",width:"100%",alignSelf:"center",mt:2,mb:2}),((l==null?void 0:l.name)||(l==null?void 0:l.email))&&M(nt,{item:!0,xs:12,sm:8,children:M(p8,{size:"small",children:xe(zM,{children:[xe(m8,{sx:{border:"none"},children:[M(uf,{sx:{border:"none",pl:0},children:c("fields.name")}),M(uf,{sx:{border:"none"},children:`*** ${l.name}***`})]}),xe(m8,{children:[M(uf,{sx:{border:"none",pl:0},children:c("fields.email")}),M(uf,{sx:{border:"none"},children:l.email})]})]})})}),M(nt,{mt:2,children:M(Ze,{paragraph:!0,variant:"body1",children:c("identified_customer_hint")})}),M(nt,{item:!0,children:M(_c,{fullWidth:!0,multiline:!0,size:"small",value:p,onChange:E=>{g(E.target.value)},variant:"outlined",label:c("fields.message"),type:"textarea",helperText:(()=>`${(p==null?void 0:p.length)??"0"}/1024`)(),inputProps:{maxLength:1024}})}),M(nt,{item:!0,children:M(rh,{variant:"contained",color:"primary",onClick:k,loading:C,children:s.toLowerCase()==="immediate"?c("submit_button_book"):c("submit_button_request")})})]})}SO.propTypes={timeslot:Me.object,productName:Me.string,resourceName:Me.string,placeholderId:Me.string,onBookingSuccessfull:Me.func,onBookingFailed:Me.func,bookingProcess:Me.string,confirmationComponent:Me.func};function CO({visible:e,backdropSx:t,circleSx:n,size:r,children:i}){return xe(ki,{sx:{position:"relative"},children:[M(r8,{sx:{height:"100%",width:"100%",position:"absolute",pointerEvents:e?"all":"none",backgroundColor:"#ffffffc5",zIndex:a=>a.zIndex.drawer+1,...t},open:e,children:M(Ck,{color:"secondary",size:r,sx:{zIndex:a=>a.zIndex.drawer+2,...n}})}),i]})}CO.propTypes={visible:Me.bool.isRequired,color:Me.string,area:Me.string};function $O(){return M(ki,{sx:{mt:"8px",height:"20px",width:"100%",zIndex:e=>e.zIndex.drawer+1},children:M(nt,{container:!0,justifyContent:"flex-end",sx:{height:"inherit"},children:M(nt,{item:!0,children:xe(u8,{color:"text.secondary",variant:"caption",underline:"none",href:`http://timum.de?utm_medium=link&utm_source=${window.location.hostname.replace(/\./g,"-")}&utm_campaign=bookingjs2&utm_content=powered-by`,sx:{pr:1,fontSize:"10px",lineHeight:"20px",position:"static!important",display:"block!important",visibility:"visible!important",opacity:"1.0!important"},children:["powered by"," ",M(ki,{fontWeight:900,display:"inline",children:"timum"})]})})})})}$O.propTypes={};var E6={},zve=Ln;Object.defineProperty(E6,"__esModule",{value:!0});var EO=E6.default=void 0,Ive=zve(cr()),Pve=dr,Nve=(0,Ive.default)((0,Pve.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Event");EO=E6.default=Nve;var k6={},Lve=Ln;Object.defineProperty(k6,"__esModule",{value:!0});var kO=k6.default=void 0,Fve=Lve(cr()),Hve=dr,Bve=(0,Fve.default)((0,Hve.jsx)("path",{d:"M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4V6zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-1 9h-4v-7h4v7z"}),"Phonelink");kO=k6.default=Bve;var T6={},Uve=Ln;Object.defineProperty(T6,"__esModule",{value:!0});var TO=T6.default=void 0,jve=Uve(cr()),Vve=dr,Wve=(0,jve.default)((0,Vve.jsx)("path",{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"}),"Forum");TO=T6.default=Wve;var A6={},Gve=Ln;Object.defineProperty(A6,"__esModule",{value:!0});var AO=A6.default=void 0,Yve=Gve(cr()),qve=dr,Zve=(0,Yve.default)((0,qve.jsx)("path",{d:"M16 1H8C6.34 1 5 2.34 5 4v16c0 1.66 1.34 3 3 3h8c1.66 0 3-1.34 3-3V4c0-1.66-1.34-3-3-3zm-2 20h-4v-1h4v1zm3.25-3H6.75V4h10.5v14z"}),"PhoneAndroid");AO=A6.default=Zve;var M6={},Kve=Ln;Object.defineProperty(M6,"__esModule",{value:!0});var MO=M6.default=void 0,Qve=Kve(cr()),Xve=dr,Jve=(0,Qve.default)((0,Xve.jsx)("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3-8c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3z"}),"Adjust");MO=M6.default=Jve;var _6={},e4e=Ln;Object.defineProperty(_6,"__esModule",{value:!0});var _O=_6.default=void 0,t4e=e4e(cr()),n4e=dr,r4e=(0,t4e.default)((0,n4e.jsx)("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),"Place");_O=_6.default=r4e;var R6={},i4e=Ln;Object.defineProperty(R6,"__esModule",{value:!0});var RO=R6.default=void 0,a4e=i4e(cr()),o4e=dr,s4e=(0,a4e.default)((0,o4e.jsx)("path",{d:"M12 1c-4.97 0-9 4.03-9 9v7c0 1.66 1.34 3 3 3h3v-8H5v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h4v1h-7v2h6c1.66 0 3-1.34 3-3V10c0-4.97-4.03-9-9-9z"}),"HeadsetMic");RO=R6.default=s4e;var D6={},l4e=Ln;Object.defineProperty(D6,"__esModule",{value:!0});var DO=D6.default=void 0,u4e=l4e(cr()),c4e=dr,d4e=(0,u4e.default)((0,c4e.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"InfoOutlined");DO=D6.default=d4e;var f4e=["color","size","title"];function O6(){return O6=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O6.apply(this,arguments)}function h4e(e,t){if(e==null)return{};var n=p4e(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function p4e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var z6=A.forwardRef(function(e,t){var n=e.color,r=e.size,i=e.title,a=h4e(e,f4e);return oe.createElement("svg",O6({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),i?oe.createElement("title",null,i):null,oe.createElement("path",{d:"M8 7a.5.5 0 0 1 .5.5V9H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V10H6a.5.5 0 0 1 0-1h1.5V7.5A.5.5 0 0 1 8 7z"}),oe.createElement("path",{d:"M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"}))});z6.propTypes={color:Me.string,size:Me.oneOfType([Me.string,Me.number]),title:Me.string},z6.defaultProps={color:"currentColor",size:"1em",title:null};const g4e=z6;/*!
315
+ ***************************************************************************** */var hn=function(){return hn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},hn.apply(this,arguments)};function pO(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function"){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}var gO=oe.lazy(function(){return Promise.resolve().then(()=>yQ)}),mO=oe.lazy(function(){return Promise.resolve().then(()=>Y1e)});oe.lazy(function(){return Promise.resolve().then(()=>EK)});var Yl=oe.lazy(function(){return Promise.resolve().then(()=>TZ)}),bve=oe.lazy(function(){return Promise.resolve().then(()=>e0e)}),wve=oe.lazy(function(){return Promise.resolve().then(()=>o0e)}),vO=oe.lazy(function(){return Promise.resolve().then(()=>c0e)}),xve=oe.lazy(function(){return Promise.resolve().then(()=>x0e)}),Sve=oe.lazy(function(){return Promise.resolve().then(()=>T0e)}),Cve=oe.lazy(function(){return Promise.resolve().then(()=>R0e)}),$ve=oe.lazy(function(){return Promise.resolve().then(function(){return Tve})}),Eve=oe.lazy(function(){return Promise.resolve().then(function(){return Rve})}),kve=oe.lazy(function(){return Promise.resolve().then(function(){return Dve})}),yO=function(e){var t=e.disableTableContainer,n=t!==void 0&&t,r=e.blockquoteBorderColor,i=e.inlineCodeBgColor,a=i===void 0?"rgba(126, 126, 126, 0.1)":i,o=e.inlineCodeColor,s=o===void 0?"currentcolor":o,l=e.codeBlockTheme;return{a:{component:mO},blockquote:{component:$ve,props:{borderColor:r}},button:{component:gO},Button:{component:gO},code:{component:"code",props:{style:{backgroundColor:a,borderRadius:"4px",color:s,margin:"0 0.2rem",padding:"0.5rem 0.5rem"}}},h1:{component:Yl,props:{variant:"h1",gutterBottom:!0}},h2:{component:Yl,props:{variant:"h2",gutterBottom:!0}},h3:{component:Yl,props:{variant:"h3",gutterBottom:!0}},h4:{component:Yl,props:{variant:"h4",gutterBottom:!0}},h5:{component:Yl,props:{variant:"h5",gutterBottom:!0}},h6:{component:Yl,props:{variant:"h6",gutterBottom:!0}},li:{component:"li"},Link:{component:mO},ol:{component:"ol"},p:{component:Yl,props:{variant:"body1",gutterBottom:!0}},pre:{component:Eve,props:{theme:l}},table:{component:n?bve:kve},tbody:{component:wve},td:{component:vO},tfoot:{component:xve},thead:{component:Sve},th:{component:vO},tr:{component:Cve},ul:{component:"ul"}}},Uc=function(e){return M(A.Suspense,hn({fallback:M("div",{children:"..."},void 0)},{children:function(t){var n=t.children,r=t.key,i=t.options,a=t.overrides,o=t.disableTableContainer,s=t.blockquoteBorderColor,l=t.inlineCodeBgColor,c=t.inlineCodeColor,d=t.codeBlockTheme,p=yO({disableTableContainer:o,blockquoteBorderColor:s,inlineCodeBgColor:l,inlineCodeColor:c,codeBlockTheme:d}),g=n||"";if(i){var h=i.overrides,m=pO(i,["overrides"]);return M(cO,h?hn({options:hn({overrides:hn(hn({},p),h)},m)},{children:g}):hn({options:hn({overrides:hn({},p)},m)},{children:g}),r&&r)}return M(cO,hn(a?{options:{overrides:hn(hn({},p),a)}}:{options:{overrides:hn({},p)}},{children:g}),r&&r)}(e)}),void 0)};yO({});var Tve=Object.freeze({__proto__:null,default:function(e){var t=e.children,n=e.borderColor,r=us().palette,i=r.background,a=r.info,o=function(l){var c=l;(c=c.replaceAll("#","")).length===3&&(c=c.split("").map(function(p){return p+p}).join(""));var d=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(c);return d?{r:parseInt(d[1],16),g:parseInt(d[2],16),b:parseInt(d[3],16)}:null}(i.paper),s=o?"rgba(".concat(o.r,", ").concat(o.g,", ").concat(o.b,", 0.5)"):i.paper;return M(Il,hn({sx:{padding:"1rem",backgroundColor:s,borderLeft:"4px solid ".concat(n||a.main)}},{children:t}),void 0)}}),Ave=fe(ki,{name:"PreContainer"})(function(e){return{borderRadius:e.theme.shape.borderRadius,padding:"1rem"}}),Mve=fe("pre")({overflowX:"auto"}),_ve=function(e){var t=e.code,n=t===void 0?"const sayHello = (name:string) => console.log(`Hello${name}`);":t,r=e.language,i=r===void 0?"tsx":r,a=e.theme;return M(yve,hn({},hve,{theme:a===void 0?fve:a,code:n,language:i},{children:function(o){var s=o.className,l=o.style,c=o.tokens,d=o.getLineProps,p=o.getTokenProps;return M(Ave,hn({className:s,style:l},{children:M(Mve,{children:c.map(function(g,h){return M("div",hn({},d({line:g,key:h}),{children:g.map(function(m,v){return M("span",hn({},p({token:m,key:v})),v)})}),h)})},void 0)}),void 0)}}),void 0)},Rve=Object.freeze({__proto__:null,default:function(e){var t=e.children,n=e.theme;if(t&&t.type&&t.type==="code"){var r=t.props.className?t.props.className.replace("lang-",""):"tsx";return M(_ve,{code:t.props.children,language:r,theme:n&&n},void 0)}return M(ki,hn({component:"pre",sx:{whiteSpace:"pre-wrap"}},{children:t}),void 0)}}),Dve=Object.freeze({__proto__:null,default:function(e){var t=e.children,n=pO(e,["children"]);return M(g0e,hn({component:Il},{children:M(p8,hn({},n,{children:t}),void 0)}),void 0)}});function Ove({name:e,children:t,namespace:n,rhfProps:r,disableEmptyErrorText:i}){const a=c=>n?`${n}.${c}`:c;if(oe.Children.toArray(t).length>1)throw"RHFTextfield may only have a single child component";const s=c=>c?c.message:i?void 0:" ",l={name:a(e),render:({field:c,fieldState:d})=>{const p=d==null?void 0:d.error;return c.value=c.value??"",t(!!p,s(p),c)}};return r!=null&&r.control&&(l.control=r.control),M(FQ,{...l})}const bO=e=>{const t={};for(const[n,r]of Object.entries(e))r.type==="phoneNumber"?t[n]=$s().test({name:`${n}-required-test`,test:i=>!(r.isRequired&&!i),message:"Notwendig"}).test({name:`${n}-number-test`,test:i=>i?ime(i,"DE"):!0,message:"Nummer is nicht valide"}):t[n]=r.validation;return t},wO=e=>{const t={};for(const[n,r]of Object.entries(e))t[n]=r.prefilled;return t};function $6({fields:e,containerProps:t={},textFieldProps:n={},telFieldProps:r={},selectFieldProps:i={},textAreaProps:a={},disableEmptyErrorText:o,rhfProps:s}){const{t:l}=wr();return M(nt,{container:!0,item:!0,sx:{maxHeight:"250px",overflowY:"auto",overflowX:"hidden",width:"100%"},...t,children:Object.entries(e).map(([c,d])=>M(nt,{item:!0,xs:12,my:1,sx:{display:d.preventRendering?"none":"flex"},children:M(Ove,{name:c,rhfProps:s,disableEmptyErrorText:o,children:(p,g,h)=>{if(!d.type||d.type==="text")return M(_c,{fullWidth:!0,size:"small",label:qn.isString(d.title)?M(Uc,{children:l(d.title)}):d.title,type:d.format,error:p,helperText:l(g),...h,...n});if(d.type==="phoneNumber")return M(ID,{fullWidth:!0,size:"small",label:qn.isString(d.title)?M(Uc,{children:l(d.title)}):d.title,error:p,splitCallingCode:!0,defaultCountry:"DE",preferredCountries:["DE","CH","AT"],helperText:l(g)||g,...h,...r});if(d.type==="checkbox")return xe(XA,{component:"fieldset",variant:"standard",error:p,children:[M(c1e,{children:M(a1e,{control:M(lde,{...h}),label:qn.isString(d.title)?M(Uc,{children:l(d.title)}):d.title})}),M(tM,{children:l(g)||g})]});if(d.type==="textarea"){const m=()=>{var x;let v="";return g&&(v=l(g)||g),d.limit&&(v+=` ${((x=h==null?void 0:h.value)==null?void 0:x.length)??0}/${d.limit}`),v};return M(_c,{fullWidth:!0,multiline:!0,size:"small",label:qn.isString(d.title)?M(Uc,{children:l(d.title)}):d.title,type:d.format,error:p,helperText:m(),inputProps:{maxLength:d.limit??99999},...h,...a})}if(d.type==="select"&&d.options)return M(_c,{fullWidth:!0,select:!0,size:"small",label:qn.isString(d.title)?M(Uc,{children:l(d.title)}):d.title,type:d.format,error:p,helperText:l(g)||g,...h,...i,children:d.options.map(m=>M(yM,{value:m.key,children:l(m.title)},m.key))})}})},c))})}$6.propTypes={fields:Me.object.isRequired,textFieldProps:Me.object,telFieldProps:Me.object,selectFieldProps:Me.object,textAreaProps:Me.object};function xO({timeslot:e,productName:t,productMinDuration:n,resourceName:r,placeholderId:i,onBookingSuccessfull:a,onBookingFailed:o,bookingProcess:s}){const{t:l}=wr(),c=Ge(E=>et(E,"ref")),d=Ge(E=>et(E,"sendCustomValuesInMessage")),p=Ge(E=>et(E,"channelKey")),g=Ge(q5),h=Ge(E=>et(E,"fields")),m=Ge(E=>et(E,"callbacks.createBookingStarted")),v=Ge(E=>et(E,"callbacks.createBookingSuccessful")),x=Ge(E=>et(E,"callbacks.createBookingFailed")),w=Ge(E=>et(E,"auth2")),b=Yk({defaultValues:wO(h),resolver:LA(Rh().shape(bO(h)))});console.debug(b.formState.errors);const[S,{isLoading:C}]=xE(),k=async E=>{console.table(E),m&&m({timeslot:e,data:{...E}});let T=E.message;if(d){T="";for(const O of Object.keys(h))O!=="firstName"&&O!=="lastName"&&O!=="email"&&O!=="mobile"&&O!=="agbs"&&E[O]&&(T+=E[O]+", ");T=T.slice(0,-3)}const R=await S({channelOrResourceId:c,body:{start:e.start.toISO({suppressMilliseconds:!0}),end:e.end.toISO({suppressMilliseconds:!0}),product_uuid:g.uuid,timeslot_uuid:e.uuid,placeholder_id:i,email:E.email,firstname:E.firstName,lastname:E.lastName,locale:E.locale,mobile:E.mobile,message:T,channelId:p},headers:w?{auth2:w}:void 0});R.error?(console.log("Caught error while creating booking:"+R.error),x&&x({timeslot:e,response:R,data:{...E}}),o&&o({timeslot:e,response:R,data:{...E}})):(v&&v({timeslot:e,response:R,data:{...E}}),a&&a({timeslot:e,response:R,data:{...E}}))};return M("form",{onSubmit:b.handleSubmit(k),children:xe(nt,{container:!0,direction:"column",justifyContent:"center",alignItems:"center",spacing:1,pt:1,children:[M(rp,{start:e==null?void 0:e.start,end:e==null?void 0:e.end,productName:t,productMinDuration:n,resourceName:r}),M($6,{fields:h,containerProps:{spacing:0,sx:{maxHeight:"calc(100vh - 180px)",overflowY:"auto",overflowX:"hidden",width:"100%"}},disableEmptyErrorText:!0,rhfProps:{control:b.control}}),M(nt,{item:!0,children:M(rh,{variant:"contained",color:"primary",type:"submit",loading:C,children:s.toLowerCase()==="immediate"?l("submit_button_book"):l("submit_button_request")})})]})})}xO.propTypes={onProductSelected:Me.func};function SO({timeslot:e,productName:t,productMinDuration:n,resourceName:r,placeholderId:i,onBookingSuccessfull:a,onBookingFailed:o,bookingProcess:s,customerData:l}){const{t:c}=wr(),d=Ge(E=>et(E,"ref")),[p,g]=oe.useState(),h=Ge(E=>et(E,"channelKey")),m=Ge(q5),v=Ge(E=>et(E,"pData")),x=Ge(E=>et(E,"createBookingStarted")),w=Ge(E=>et(E,"createBookingSuccessful")),b=Ge(E=>et(E,"createBookingFailed")),[S,{isLoading:C}]=xE(),k=async()=>{x&&x({timeslot:e,...v});const E=await S({channelOrResourceId:d,body:{start:e.start.toISO({suppressMilliseconds:!0}),end:e.end.toISO({suppressMilliseconds:!0}),product_uuid:m.uuid,timeslot_uuid:e.uuid,customer_id:v?v.personId+"@"+v.platform:void 0,placeholder_id:i,channelId:h},params:{message:p}});E.error?(b&&b({timeslot:e,resonse:E,pData:v}),o&&o({timeslot:e,resonse:E,pData:v})):(w&&w({timeslot:e,response:E,...v}),a&&a({timeslot:e,response:E,...v}))};return xe(nt,{container:!0,direction:"column",justifyContent:"center",alignItems:"center",mt:2,mx:"auto",children:[M(rp,{start:e==null?void 0:e.start,end:e==null?void 0:e.end,productMinDuration:n,productName:t,resourceName:r}),M(nt,{item:!0,borderBottom:"1px solid #ddd",width:"100%",alignSelf:"center",mt:2,mb:2}),((l==null?void 0:l.name)||(l==null?void 0:l.email))&&M(nt,{item:!0,xs:12,sm:8,children:M(p8,{size:"small",children:xe(zM,{children:[xe(m8,{sx:{border:"none"},children:[M(uf,{sx:{border:"none",pl:0},children:c("fields.name")}),M(uf,{sx:{border:"none"},children:`*** ${l.name}***`})]}),xe(m8,{children:[M(uf,{sx:{border:"none",pl:0},children:c("fields.email")}),M(uf,{sx:{border:"none"},children:l.email})]})]})})}),M(nt,{mt:2,children:M(Ze,{paragraph:!0,variant:"body1",children:c("identified_customer_hint")})}),M(nt,{item:!0,children:M(_c,{fullWidth:!0,multiline:!0,size:"small",value:p,onChange:E=>{g(E.target.value)},variant:"outlined",label:c("fields.message"),type:"textarea",helperText:(()=>`${(p==null?void 0:p.length)??"0"}/1024`)(),inputProps:{maxLength:1024}})}),M(nt,{item:!0,children:M(rh,{variant:"contained",color:"primary",onClick:k,loading:C,children:s.toLowerCase()==="immediate"?c("submit_button_book"):c("submit_button_request")})})]})}SO.propTypes={timeslot:Me.object,productName:Me.string,resourceName:Me.string,placeholderId:Me.string,onBookingSuccessfull:Me.func,onBookingFailed:Me.func,bookingProcess:Me.string,confirmationComponent:Me.func};function CO({visible:e,backdropSx:t,circleSx:n,size:r,children:i}){return xe(ki,{sx:{position:"relative"},children:[M(r8,{sx:{height:"100%",width:"100%",position:"absolute",pointerEvents:e?"all":"none",backgroundColor:"#ffffffc5",zIndex:a=>a.zIndex.drawer+1,...t},open:e,children:M(Ck,{color:"secondary",size:r,sx:{zIndex:a=>a.zIndex.drawer+2,...n}})}),i]})}CO.propTypes={visible:Me.bool.isRequired,color:Me.string,area:Me.string};function $O(){return M(ki,{sx:{mt:"8px",height:"20px",width:"100%",zIndex:e=>e.zIndex.drawer+1},children:M(nt,{container:!0,justifyContent:"flex-end",sx:{height:"inherit"},children:M(nt,{item:!0,children:xe(u8,{color:"text.secondary",variant:"caption",underline:"none",href:`http://timum.de?utm_medium=link&utm_source=${window.location.hostname.replace(/\./g,"-")}&utm_campaign=bookingjs2&utm_content=powered-by`,sx:{pr:1,fontSize:"10px",lineHeight:"20px",position:"static!important",display:"block!important",visibility:"visible!important",opacity:"1.0!important"},children:["powered by"," ",M(ki,{fontWeight:900,display:"inline",children:"timum"})]})})})})}$O.propTypes={};var E6={},zve=Ln;Object.defineProperty(E6,"__esModule",{value:!0});var EO=E6.default=void 0,Ive=zve(cr()),Pve=dr,Nve=(0,Ive.default)((0,Pve.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Event");EO=E6.default=Nve;var k6={},Lve=Ln;Object.defineProperty(k6,"__esModule",{value:!0});var kO=k6.default=void 0,Fve=Lve(cr()),Hve=dr,Bve=(0,Fve.default)((0,Hve.jsx)("path",{d:"M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4V6zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-1 9h-4v-7h4v7z"}),"Phonelink");kO=k6.default=Bve;var T6={},Uve=Ln;Object.defineProperty(T6,"__esModule",{value:!0});var TO=T6.default=void 0,jve=Uve(cr()),Vve=dr,Wve=(0,jve.default)((0,Vve.jsx)("path",{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"}),"Forum");TO=T6.default=Wve;var A6={},Gve=Ln;Object.defineProperty(A6,"__esModule",{value:!0});var AO=A6.default=void 0,Yve=Gve(cr()),qve=dr,Zve=(0,Yve.default)((0,qve.jsx)("path",{d:"M16 1H8C6.34 1 5 2.34 5 4v16c0 1.66 1.34 3 3 3h8c1.66 0 3-1.34 3-3V4c0-1.66-1.34-3-3-3zm-2 20h-4v-1h4v1zm3.25-3H6.75V4h10.5v14z"}),"PhoneAndroid");AO=A6.default=Zve;var M6={},Kve=Ln;Object.defineProperty(M6,"__esModule",{value:!0});var MO=M6.default=void 0,Qve=Kve(cr()),Xve=dr,Jve=(0,Qve.default)((0,Xve.jsx)("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3-8c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3z"}),"Adjust");MO=M6.default=Jve;var _6={},e4e=Ln;Object.defineProperty(_6,"__esModule",{value:!0});var _O=_6.default=void 0,t4e=e4e(cr()),n4e=dr,r4e=(0,t4e.default)((0,n4e.jsx)("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),"Place");_O=_6.default=r4e;var R6={},i4e=Ln;Object.defineProperty(R6,"__esModule",{value:!0});var RO=R6.default=void 0,a4e=i4e(cr()),o4e=dr,s4e=(0,a4e.default)((0,o4e.jsx)("path",{d:"M12 1c-4.97 0-9 4.03-9 9v7c0 1.66 1.34 3 3 3h3v-8H5v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h4v1h-7v2h6c1.66 0 3-1.34 3-3V10c0-4.97-4.03-9-9-9z"}),"HeadsetMic");RO=R6.default=s4e;var D6={},l4e=Ln;Object.defineProperty(D6,"__esModule",{value:!0});var DO=D6.default=void 0,u4e=l4e(cr()),c4e=dr,d4e=(0,u4e.default)((0,c4e.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"InfoOutlined");DO=D6.default=d4e;var f4e=["color","size","title"];function O6(){return O6=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O6.apply(this,arguments)}function h4e(e,t){if(e==null)return{};var n=p4e(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function p4e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var z6=A.forwardRef(function(e,t){var n=e.color,r=e.size,i=e.title,a=h4e(e,f4e);return oe.createElement("svg",O6({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),i?oe.createElement("title",null,i):null,oe.createElement("path",{d:"M8 7a.5.5 0 0 1 .5.5V9H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V10H6a.5.5 0 0 1 0-1h1.5V7.5A.5.5 0 0 1 8 7z"}),oe.createElement("path",{d:"M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"}))});z6.propTypes={color:Me.string,size:Me.oneOfType([Me.string,Me.number]),title:Me.string},z6.defaultProps={color:"currentColor",size:"1em",title:null};const g4e=z6;/*!
316
316
  * @preserve
317
317
  *
318
318
  * ++++++++++++++++++++++++++++++++++++++
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timum/booking",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "license": "CC-BY-ND-4.0",
5
5
  "type": "module",
6
6
  "main": "build/timum-booking.umd.cjs",