System.register(["./p-343b3b10.system.js","./p-4ec8ba7a.system.js","./p-ed24a902.system.js","./p-ece63a69.system.js","./p-5f7bc72e.system.js","./p-a56cdd14.system.js","./p-da593370.system.js","./p-b3db1eb6.system.js","./p-6e679e9d.system.js","./p-abcb59d4.system.js","./p-ebdd1444.system.js","./p-6c3e6bdc.system.js","./p-356c131c.system.js","./p-0aeb0fcc.system.js","./p-dd468f04.system.js","./p-97c19fd0.system.js","./p-a6ad0410.system.js","./p-d254e73a.system.js","./p-86f17250.system.js","./p-fa86b497.system.js","./p-9817db3f.system.js","./p-90b7d919.system.js","./p-7e6f8eaa.system.js","./p-27f59a1b.system.js","./p-9e2e7feb.system.js","./p-d6a7761b.system.js","./p-629394a0.system.js","./p-8d8b20dc.system.js","./p-82bf1e2d.system.js","./p-cd60ed59.system.js"],(function(e){"use strict";var t,n,i,s,o,r,c;return{setters:[function(e){t=e.r;n=e.c;i=e.h;s=e.H;o=e.g},function(e){r=e.a},function(e){c=e.g},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var a="mentornity-schedule-meeting-button-on-card{height:326px;background:var(--color-background-secondary);padding:calc(2 * var(--spacing-unit)) 0 0 calc(3 * var(--spacing-unit));border-bottom-left-radius:var(--card-corner-radius);border-bottom-right-radius:var(--card-corner-radius)}mentornity-schedule-meeting-button-on-card .title{font-size:var(--font-size-small);margin-left:calc(1 * var(--spacing-unit));color:var(--color-text-secondary)}mentornity-schedule-meeting-button-on-card takvim-available-time-picker>dvn-card{--color-elevated-item-background:var(--color-background-secondary)}mentornity-schedule-meeting-button-on-card takvim-available-time-picker>dvn-date-picker>.calendar-container{--color-elevated-item-background:var(--color-background-secondary)}mentornity-schedule-meeting-button-on-card takvim-available-time-picker-selected-day>dvn-card{--color-elevated-item-background:var(--color-background-secondary)}";var u=e("mentornity_schedule_meeting_button_on_card",function(){function e(e){t(this,e);this.action=n(this,"action",7);this.shouldShow=false}e.prototype.componentWillLoad=function(){var e=this;this.shouldShow=d(this.el);this.currentTimePositionUpdater=setInterval((function(){if(e.shouldShow){return}e.shouldShow=d(e.el)}),1e3)};e.prototype.disconnectedCallback=function(){clearInterval(this.currentTimePositionUpdater)};e.prototype.render=function(){var e;if(!this.shouldShow){return i(s,{class:"d-flex flex-grow-1 align-items-center justify-content-center"},i("dvn-progress",{indefinite:true,tint:"primary"}))}var t=this.item;var n=((e=this.meta)===null||e===void 0?void 0:e.language)||"en";var o=this.meta||{},a=o.mentornityBridgeApi,u=o.apiSozluk,d=o.guestToPassToAvailableTimePickerAsCurrentUser,m=o.userSettings,l=o.membership;return i(s,{class:"d-flex flex-column flex-grow-1"},i("div",{class:"title"},r(n,"getMeeting").toLocaleUpperCase()),i("dvn-app-view-takvim-available-time-picker-view",{apiData:a,apiSozluk:u,apiTakvim:a,apiUye:a,user:d,userSettings:m,membership:l,params:{viewedUserMembership:t},view:c(a.organisationConfig)}))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());function d(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}u.style=a}}}));