function Bluetooth(e){function u(){t=["&#xE101;","bose","PLAY"],n=["&#xE103;","bose","PAUSE"],r=["&#xE10D;","bose","NEXT_TRACK"],i=["&#xE107;","bose","PREV_TRACK"],s=[i,n,r],o.setInits({stopState:t,playState:n,menuLevels:null,featureList:e})}function a(e){return e=="PLAY_STATE"||e=="BUFFERING_STATE"?s[1]=n:s[1]=pauseState,s}function f(e){funcObj.devCon.updateDeviceLocalSources(e,null,null,!0)}function l(e,t,n,r){r=r||funcObj.UIMain.getUID();var i=funcObj.play.getCurPlaySrc();i==o.getFeature("requestName")?funcObj.play.showDiscoverablePrompt(r):funcObj.devCon.sendMsg(r,"select","contentItem",{SRC:o.getFeature("requestName").toUpperCase(),ACC:"",CONTENT:""},"new",!1),funcObj.panelSwipe.showNowPlaying()}function c(e){funcObj.message.closeMessage(),funcObj.devCon.sendMsg(e,"enterPairingMode")}var t,n,r,i,s,o=new SourceCommon;o.extend(Bluetooth),this.getControls=a,this.updateDevice=f,this.getContent=l,this.forceConnect=c,u()};