Skip to content

Commit

Permalink
code
Browse files Browse the repository at this point in the history
  • Loading branch information
SkipperQ93 committed Aug 20, 2023
1 parent 99dcb2c commit 5b1137f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2377,7 +2377,7 @@ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.a
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.UPDATE_DIAL_IN_NUMBERS_SUCCESS=e.UPDATE_DIAL_IN_NUMBERS_FAILED=e.SET_CALLEE_INFO_VISIBLE=e.REMOVE_PENDING_INVITE_REQUESTS=e.HIDE_ADD_PEOPLE_DIALOG=e.BEGIN_ADD_PEOPLE=e.ADD_PENDING_INVITE_REQUEST=void 0;e.ADD_PENDING_INVITE_REQUEST='ADD_PENDING_INVITE_REQUEST';e.BEGIN_ADD_PEOPLE='BEGIN_ADD_PEOPLE';e.REMOVE_PENDING_INVITE_REQUESTS='REMOVE_PENDING_INVITE_REQUESTS';e.SET_CALLEE_INFO_VISIBLE='SET_CALLEE_INFO_VISIBLE';e.HIDE_ADD_PEOPLE_DIALOG='HIDE_ADD_PEOPLE_DIALOG';e.UPDATE_DIAL_IN_NUMBERS_FAILED='UPDATE_DIAL_IN_NUMBERS_FAILED';e.UPDATE_DIAL_IN_NUMBERS_SUCCESS='UPDATE_DIAL_IN_NUMBERS_SUCCESS'},2371,[]);
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.inviteVideoRooms=function(o,n){return{type:r(d[0]).SIP_GW_INVITE_ROOMS,conference:o,rooms:n}}},2372,[2059]);
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getInviteOthersControl=function(t){var l=t['features/share-room'].shareDialogVisible,n=o.default.palette,s=n.icon01,u=n.icon03;return{color:l?u:s,shareDialogVisible:l}};var o=r(d[0])(r(d[1]))},2373,[2,765]);
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),l=r(d[2]),n=r(d[0])(r(d[3])),u=(r(d[0])(r(d[4])),r(d[0])(r(d[5])),r(d[0])(r(d[6]))),f=(r(d[0])(r(d[7])),r(d[0])(r(d[8])),r(d[0])(r(d[9])));var o=(0,r(d[14]).connect)(function(t){var l=t['features/base/config'],n=l.hideConferenceTimer,u=l.hideConferenceSubject,f=(0,r(d[10]).getConferenceTimestamp)(t);return{_conferenceTimerEnabled:Boolean((0,r(d[11]).getFeatureFlag)(t,r(d[12]).CONFERENCE_TIMER_ENABLED,!0)&&!n&&f),_meetingName:(0,r(d[10]).getConferenceName)(t),_meetingNameEnabled:(0,r(d[11]).getFeatureFlag)(t,r(d[12]).MEETING_NAME_ENABLED,!0)&&!u,_visible:(0,r(d[13]).isToolboxVisible)(t)}})(function(o){return o._visible?t.default.createElement(l.View,{style:f.default.titleBarWrapper},t.default.createElement(l.View,{style:f.default.titleBarButtonContainer},t.default.createElement(u.default,{styles:f.default.titleBarButton})),t.default.createElement(l.View,{style:f.default.titleBarButtonContainer},t.default.createElement(n.default,{styles:f.default.titleBarButton}))):null});e.default=o},2374,[2,18,21,2375,2378,2381,2382,2383,2386,1441,1242,1257,1259,2116,773]);
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[2]),l=(r(d[0])(r(d[3])),r(d[0])(r(d[4])),r(d[0])(r(d[5])),r(d[0])(r(d[6]))),u=(r(d[0])(r(d[7])),r(d[0])(r(d[8])),r(d[0])(r(d[9])));var o=(0,r(d[14]).connect)(function(t){var n=t['features/base/config'],l=n.hideConferenceTimer,u=n.hideConferenceSubject,o=(0,r(d[10]).getConferenceTimestamp)(t);return{_conferenceTimerEnabled:Boolean((0,r(d[11]).getFeatureFlag)(t,r(d[12]).CONFERENCE_TIMER_ENABLED,!0)&&!l&&o),_meetingName:(0,r(d[10]).getConferenceName)(t),_meetingNameEnabled:(0,r(d[11]).getFeatureFlag)(t,r(d[12]).MEETING_NAME_ENABLED,!0)&&!u,_visible:(0,r(d[13]).isToolboxVisible)(t)}})(function(o){return o._visible?t.default.createElement(n.View,{style:u.default.titleBarWrapper},t.default.createElement(n.View,{style:u.default.titleBarButtonContainer},t.default.createElement(l.default,{styles:u.default.titleBarButton}))):null});e.default=o},2374,[2,18,21,2375,2378,2381,2382,2383,2386,1441,1242,1257,1259,2116,773]);
__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),c=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var l=u?Object.getOwnPropertyDescriptor(e,c):null;l&&(l.get||l.set)?Object.defineProperty(o,c,l):o[c]=e[c]}o.default=e,n&&n.set(e,o);return o})(r(d[6])),l=r(d[0])(r(d[7]));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var p=(function(c){(0,n.default)(b,c);var f,p,y=(f=b,p=s(),function(){var e,t=(0,u.default)(f);if(p){var n=(0,u.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function b(){var t;(0,e.default)(this,b);for(var n=arguments.length,o=new Array(n),u=0;u<n;u++)o[u]=arguments[u];return(t=y.call.apply(y,[this].concat(o))).accessibilityLabel='toolbar.accessibilityLabel.audioRoute',t.icon=r(d[8]).IconVolumeUp,t.label='toolbar.accessibilityLabel.audioRoute',t}return(0,t.default)(b,[{key:"_handleClick",value:function(){this.props.dispatch((0,r(d[9]).openSheet)(l.default))}}]),b})(c.default),y=(0,r(d[10]).translate)((0,r(d[11]).connect)()(p));_e.default=y},2375,[2,3,4,8,10,12,1946,2376,894,1404,1425,773]);
__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),i=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),c=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var l=i?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[8])),f=r(d[9]),s=r(d[0])(r(d[10])),v=r(d[0])(r(d[11])),y=r(d[0])(r(d[12])),p=r(d[0])(r(d[13]));function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function b(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=E(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function E(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function D(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var O=f.NativeModules.AudioMode,R={BLUETOOTH:{icon:r(d[14]).IconBluetooth,text:'audioDevices.bluetooth',type:'BLUETOOTH'},CAR:{icon:r(d[14]).IconCar,text:'audioDevices.car',type:'CAR'},EARPIECE:{icon:r(d[14]).IconPhoneRinging,text:'audioDevices.phone',type:'EARPIECE'},HEADPHONES:{icon:r(d[14]).IconDeviceHeadphone,text:'audioDevices.headphones',type:'HEADPHONES'},SPEAKER:{icon:r(d[14]).IconVolumeUp,text:'audioDevices.speaker',type:'SPEAKER'}},A=(function(h){(0,o.default)(P,h);var E,S,A=(E=P,S=D(),function(){var e,t=(0,u.default)(E);if(S){var n=(0,u.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,i.default)(this,e)});function P(e){var n;return(0,t.default)(this,P),(n=A.call(this,e)).state={devices:[]},O.updateDeviceList&&O.updateDeviceList(),n}return(0,n.default)(P,[{key:"_onSelectDeviceFn",value:function(e){var t=this;return function(){t.props.dispatch((0,r(d[15]).hideSheet)()),O.setAudioDevice(e.uid||e.type)}}},{key:"_renderDevice",value:function(e){var t=e.icon,n=e.selected,o=e.text,i=n?p.default.selectedText:{},u='SPEAKER'!==e.type;return c.default.createElement(f.TouchableHighlight,{key:e.type,onPress:this._onSelectDeviceFn(e),style:u&&{borderTopLeftRadius:16,borderTopRightRadius:16},underlayColor:y.default.palette.ui04},c.default.createElement(f.View,{style:p.default.deviceRow},c.default.createElement(v.default,{src:t,style:[p.default.deviceIcon,r(d[16]).bottomSheetStyles.buttons.iconStyle,i]}),c.default.createElement(f.Text,{style:[p.default.deviceText,r(d[16]).bottomSheetStyles.buttons.labelStyle,i]},o)))}},{key:"_renderNoDevices",value:function(){var e=this.props.t;return c.default.createElement(f.View,{style:p.default.deviceRow},c.default.createElement(v.default,{src:R.SPEAKER.icon,style:[p.default.deviceIcon,r(d[16]).bottomSheetStyles.buttons.iconStyle]}),c.default.createElement(f.Text,{style:[p.default.deviceText,r(d[16]).bottomSheetStyles.buttons.labelStyle]},e('audioDevices.none')))}},{key:"render",value:function(){var e;return e=0===this.state.devices.length?this._renderNoDevices():this.state.devices.map(this._renderDevice,this),c.default.createElement(s.default,null,e)}}],[{key:"getDerivedStateFromProps",value:function(t){var n=t._devices,o=t.t;if(!n)return null;for(var i,u=[],c=b(n);!(i=c()).done;){var f=i.value,s=R[f.type];if(s){var v=o(s.text);if('BLUETOOTH'!==f.type&&'CAR'!==f.type||!f.name||(v=f.name),s){var y=(0,e.default)({},s,{selected:Boolean(f.selected),text:v,uid:f.uid});u.push(y)}}}return{devices:l.default.sortBy(u,'text')}}}]),P})(c.Component);var P=(0,r(d[17]).translate)((0,r(d[18]).connect)(function(e){return{_devices:e['features/mobile/audio-mode'].devices}})(A));_e.default=P},2376,[2,15,3,4,8,10,12,810,18,21,1937,1308,765,2377,894,1404,1421,1425,773]);
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),l=(0,r(d[2]).createStyleSheet)({deviceRow:{alignItems:'center',flexDirection:'row',height:r(d[3]).MD_ITEM_HEIGHT,marginLeft:t.default.spacing[3]},deviceIcon:{color:t.default.palette.icon01,fontSize:t.default.spacing[4]},deviceText:{color:t.default.palette.text01,fontSize:16,marginLeft:t.default.spacing[5]},selectedText:{color:t.default.palette.action01}});e.default=l},2377,[2,765,807,1421]);
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@
</data>
<key>main.jsbundle</key>
<data>
2aTMyRn8iAsOGOyKKIup6bJbcuo=
1oV57Mt/OUSXr/rVW/yjfOAW97w=
</data>
<key>noAudioSignal.mp3</key>
<data>
Expand Down Expand Up @@ -1613,7 +1613,7 @@
<dict>
<key>hash2</key>
<data>
n/URBp9Ku5QVyxFRBltD6i4mLn5hxsyzQL3LtFBfcaw=
ZC0ZGcdAEJH+vbfnZA95Vr0ulmHH9kYJTDsTOs071pk=
</data>
</dict>
<key>noAudioSignal.mp3</key>
Expand Down
Loading

0 comments on commit 5b1137f

Please sign in to comment.