Sindbad~EG File Manager

Current Path : /var/www/moodledata/mdata-demo/filedir/d5/05/
Upload File :
Current File : /var/www/moodledata/mdata-demo/filedir/d5/05/d5058e6c3fb1699ee362e87b58384e12c88985d8

if(!window.cp)window.cp = function(str){return document.getElementById(str)};cp.CPProjInit = function(){if(cp && cp.model && cp.model.data) return; cp.model = {}; cp.D = cp.model.data = {pref:{acc:1,rkt:0,hsr:0},SmartShape_8824:{type:612,from:1,to:375,rp:0,rpa:0,mdi:'SmartShape_8824c',immo:false,apsn:'Slide395430600',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0},SmartShape_8824c:{b:[-1,496,801,601],uid:395429866,dn:'SmartShape_8824',visible:1,JSONEffectData:false,accstr:' ',traccstr:'',ti:-1,sc:'#891334',sw:0,ss:0,fa:100,bc:'#891334',p0:[[0],[1,-1,496],[2,-1,601],[2,801,601],[2,801,496],[2,-1,496],[4]],vbwr:[-1,496,801,601],vb:[-1,496,801,601]},Text_Caption_1499:{type:19,from:1,to:375,rp:0,rpa:0,mdi:'Text_Caption_1499c',immo:false,apsn:'Slide395430600',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},Text_Caption_1499c:{b:[-1,167,799,402],uid:395430231,sr:cp.fd,ip:'dr/Text_Caption_1499.png',dn:'Text_Caption_1499',visible:1,JSONEffectData:true,accstr:'Bienvenido, bienvenida al curso “Administración del tiempo” ',traccstr:'',ti:-1,vbwr:[-1,167,799,402],vb:[-1,167,799,402]},Slide395430600:{lb:'',id:395430600,from:1,to:375,mmot:false,mdi:'Slide395430600c',st:'Normal Slide',audCC:[],vidCC:[],accstr:' ',si:[{n:'SmartShape_8824',t:612},{n:'Text_Caption_1499',t:19}],iph:[],v:false,bc:'#891334',JSONTT_0:[],JSONTT_6:[],qs:'',g4:{a1:[[33,'Text_Caption_1499alphaMultiplier'],[33,'Text_Caption_1499scaleX'],[33,'Text_Caption_1499scaleY']],c3:{},a2:{Text_Caption_1499alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_1499',c0:14,b6:[0,0,100,1],b4:[]},Text_Caption_1499scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_1499',c0:10,b6:[0,0,100,1],b4:[]},Text_Caption_1499scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_1499',c0:11,b6:[0,0,100,1],b4:[]}}}},Slide395430600c:{b:[0,0,0,0],sr:cp.fd,dn:'Slide395430600',visible:'1'},StAd1:{from:1,to:823,src:'ar/StAd0.mp3',du:27484},Image_10996:{type:15,from:376,to:636,rp:0,rpa:0,mdi:'Image_10996c',immo:false,apsn:'Slide338324790',trin:0,trout:0},Image_10996c:{b:[-15,-35,806,500],uid:516106366,sr:cp.fd,ip:'dr/516106362_821_535.png',dn:'Image_10996',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-15,-35,806,500],vb:[-15,-35,806,500]},Image_10997:{type:15,from:430,to:636,rp:0,rpa:0,mdi:'Image_10997c',immo:false,apsn:'Slide338324790',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:55},Image_10997c:{b:[-10,-39,811,496],uid:516106372,sr:cp.fd,ip:'dr/516509749_821_535.png',dn:'Image_10997',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-10,-39,811,496],vb:[-10,-39,811,496]},Image_10998:{type:15,from:565,to:735,rp:0,rpa:0,mdi:'Image_10998c',immo:false,apsn:'Slide338324790',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:190},Image_10998c:{b:[0,-35,261,500],uid:516106381,sr:cp.fd,ip:'dr/516106377_261_535.png',dn:'Image_10998',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[0,-35,261,500],vb:[0,-35,261,500]},Image_10999:{type:15,from:565,to:735,rp:0,rpa:0,mdi:'Image_10999c',immo:false,apsn:'Slide338324790',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:190},Image_10999c:{b:[261,-35,561,500],uid:516106387,sr:cp.fd,ip:'dr/516106383_300_535.png',dn:'Image_10999',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[261,-35,561,500],vb:[261,-35,561,500]},Image_11000:{type:15,from:565,to:735,rp:0,rpa:0,mdi:'Image_11000c',immo:false,apsn:'Slide338324790',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:190},Image_11000c:{b:[561,-35,821,500],uid:516106393,sr:cp.fd,ip:'dr/516106389_260_535.png',dn:'Image_11000',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[561,-35,821,500],vb:[561,-35,821,500]},Image_11001:{type:15,from:673,to:762,rp:0,rpa:0,mdi:'Image_11001c',immo:false,apsn:'Slide338324790',trin:0,trout:0},Image_11001c:{b:[-10,-39,811,496],uid:516106408,sr:cp.fd,ip:'dr/516106404_821_535.png',dn:'Image_11001',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-10,-39,811,496],vb:[-10,-39,811,496]},Image_11002:{type:15,from:763,to:861,rp:0,rpa:0,mdi:'Image_11002c',immo:false,apsn:'Slide338324790',trin:0,trout:0},Image_11002c:{b:[-10,-39,811,496],uid:516108299,sr:cp.fd,ip:'dr/516336337_821_535.png',dn:'Image_11002',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-10,-39,811,496],vb:[-10,-39,811,496]},SmartShape_8708:{type:612,from:376,to:861,rp:0,rpa:0,mdi:'SmartShape_8708c',immo:false,apsn:'Slide338324790',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0},SmartShape_8708c:{b:[-1,496,801,601],uid:386014477,dn:'SmartShape_8708',visible:1,JSONEffectData:false,accstr:' ',traccstr:'',ti:-1,sc:'#891334',sw:0,ss:0,fa:100,bc:'#891334',p0:[[0],[1,-1,496],[2,-1,601],[2,801,601],[2,801,496],[2,-1,496],[4]],vbwr:[-1,496,801,601],vb:[-1,496,801,601]},Text_Caption_1357:{type:19,from:376,to:861,rp:0,rpa:0,mdi:'Text_Caption_1357c',immo:false,apsn:'Slide338324790',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},Text_Caption_1357c:{b:[0,496,801,602],uid:386015114,sr:cp.fd,ip:'dr/Text_Caption_1357.png',dn:'Text_Caption_1357',visible:1,JSONEffectData:true,accstr:'Objetivo ',traccstr:'',ti:-1,vbwr:[0,496,801,602],vb:[0,496,801,602]},SmartShape_9192:{type:612,from:376,to:540,rp:0,rpa:0,mdi:'SmartShape_9192c',immo:false,apsn:'Slide338324790',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},SmartShape_9192c:{b:[17,425,780,485],uid:436584402,sr:cp.fd,ip:'dr/SmartShape_9192.png',dn:'SmartShape_9192',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#cdcdcd',sw:0,ss:0,fa:100,gf:{b:[17,425,780,485],t:0,x1:398,y1:425,x2:398,y2:485,s:0,cs:[{p:0,c:'#f2f2f2',o:255},{p:99.6078,c:'#bfbfbf',o:255}]},p0:[[0],[1,32,425],[3,23.72,425,17,431.72,17,440.00],[2,17,470.00],[3,17,478.28,23.72,485,32,485],[2,765,485],[3,773.28,485,780.00,478.28,780.00,470.00],[2,780.00,440.00],[3,780.00,431.72,773.28,425,765,425],[2,32,425],[4]],vbwr:[17,425,781,485],sh:{i:false,a:45,d:3,b:4,o:0.4,c:'rgb(0, 0, 0)'},vb:[17,425,785,489]},Text_Caption_2176:{type:19,from:376,to:540,rp:0,rpa:0,mdi:'Text_Caption_2176c',immo:false,apsn:'Slide338324790',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},Text_Caption_2176c:{b:[20,425,776,485],uid:436584410,sr:cp.fd,ip:'dr/Text_Caption_2176.png',dn:'Text_Caption_2176',visible:1,JSONEffectData:true,accstr:'El objetivo del mismo consiste en adoptar prácticas  que permitan manejar eficazmente uno de los más...  ',traccstr:'',ti:-1,vbwr:[20,425,776,485],vb:[20,425,776,485]},SmartShape_9727:{type:612,from:553,to:861,rp:0,rpa:0,mdi:'SmartShape_9727c',immo:false,apsn:'Slide338324790',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:178},SmartShape_9727c:{b:[20,425,783,485],uid:478153911,dn:'SmartShape_9727',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#b3b3b3',sw:0,ss:0,fa:100,gf:{b:[20,425,783,485],t:0,x1:401,y1:425,x2:401,y2:485,s:0,cs:[{p:0,c:'#f2f2f2',o:255},{p:99.6078,c:'#bfbfbf',o:255}]},p0:[[0],[1,35,425],[3,26.72,425,20.00,431.72,20.00,440.00],[2,20.00,470.00],[3,20.00,478.28,26.72,485,35,485],[2,768,485],[3,776.28,485,783,478.28,783,470.00],[2,783,440.00],[3,783,431.72,776.28,425,768,425],[2,35,425],[4]],vbwr:[20,425,784,485],sh:{i:false,a:45,d:3,b:4,o:0.4,c:'rgb(0, 0, 0)'},vb:[20,425,788,489]},Text_Caption_2641:{type:19,from:553,to:861,rp:0,rpa:0,mdi:'Text_Caption_2641c',immo:false,apsn:'Slide338324790',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:178},Text_Caption_2641c:{b:[20,424,776,485],uid:478154754,sr:cp.fd,ip:'dr/Text_Caption_2641.png',dn:'Text_Caption_2641',visible:1,JSONEffectData:true,accstr:'...de nuestro Banco, con una gestión eficiente,  acorde a las políticas y procedimientos vigentes. ',traccstr:'',ti:-1,vbwr:[20,424,776,485],vb:[20,424,776,485]},SmartShape_10292:{type:612,from:541,to:861,rp:0,rpa:0,mdi:'SmartShape_10292c',immo:false,apsn:'Slide338324790',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:166},SmartShape_10292c:{b:[17,425,780,485],uid:516107379,sr:cp.fd,ip:'dr/SmartShape_10292.png',dn:'SmartShape_10292',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#cdcdcd',sw:0,ss:0,fa:100,gf:{b:[17,425,780,485],t:0,x1:398,y1:425,x2:398,y2:485,s:0,cs:[{p:0,c:'#f2f2f2',o:255},{p:99.6078,c:'#bfbfbf',o:255}]},p0:[[0],[1,32,425],[3,23.72,425,17,431.72,17,440.00],[2,17,470.00],[3,17,478.28,23.72,485,32,485],[2,765,485],[3,773.28,485,780.00,478.28,780.00,470.00],[2,780.00,440.00],[3,780.00,431.72,773.28,425,765,425],[2,32,425],[4]],vbwr:[17,425,781,485],sh:{i:false,a:45,d:3,b:4,o:0.4,c:'rgb(0, 0, 0)'},vb:[17,425,785,489]},Text_Caption_3073:{type:19,from:541,to:861,rp:0,rpa:0,mdi:'Text_Caption_3073c',immo:false,apsn:'Slide338324790',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:166},Text_Caption_3073c:{b:[20,425,776,485],uid:516108294,sr:cp.fd,ip:'dr/Text_Caption_3073.png',dn:'Text_Caption_3073',visible:1,JSONEffectData:true,accstr:'...valiosos recursos que todos tenemos a nuestra disposición: el tiempo, con  el fin de obtener mejores resultados y –a la par- una mejor calidad de vida. ',traccstr:'',ti:-1,vbwr:[20,425,776,485],vb:[20,425,776,485]},Slide338324790:{lb:'Objetivos',id:338324790,from:376,to:861,mmot:true,mdi:'Slide338324790c',st:'Normal Slide',audCC:[],vidCC:[],accstr:'Objetivos ',si:[{n:'Image_10996',t:15},{n:'Image_10997',t:15},{n:'Image_10998',t:15},{n:'Image_10999',t:15},{n:'Image_11000',t:15},{n:'Image_11001',t:15},{n:'Image_11002',t:15},{n:'SmartShape_8708',t:612},{n:'Text_Caption_1357',t:19},{n:'SmartShape_9192',t:612},{n:'Text_Caption_2176',t:19},{n:'SmartShape_9727',t:612},{n:'Text_Caption_2641',t:19},{n:'SmartShape_10292',t:612},{n:'Text_Caption_3073',t:19}],iph:[],v:false,bc:'#ffffff',JSONTT_0:[],JSONTT_6:[],qs:'',g4:{a1:[[1833,'Image_10997x'],[1833,'Image_10997y'],[6333,'Image_10998x'],[6333,'Image_10998y'],[6333,'Image_10999x'],[6333,'Image_10999y'],[6333,'Image_11000x'],[6333,'Image_11000y'],[33,'Text_Caption_1357x'],[33,'Text_Caption_1357y'],[33,'SmartShape_9192alphaMultiplier'],[33,'SmartShape_9192scaleX'],[33,'SmartShape_9192scaleY'],[33,'Text_Caption_2176scaleX'],[33,'Text_Caption_2176scaleY'],[5933,'SmartShape_9727alphaMultiplier'],[5933,'SmartShape_9727scaleX'],[5933,'SmartShape_9727scaleY'],[5933,'Text_Caption_2641scaleX'],[5933,'Text_Caption_2641scaleY'],[5533,'SmartShape_10292alphaMultiplier'],[5533,'SmartShape_10292scaleX'],[5533,'SmartShape_10292scaleY'],[5533,'Text_Caption_3073scaleX'],[5533,'Text_Caption_3073scaleY']],c3:{},a2:{Image_10997x:{a6:2366,j2:[0,0],a4:0,a3:'Image_10997',c0:12,b6:[0,-600,100,0],b4:[]},Image_10997y:{a6:2366,j2:[0,0],a4:0,a3:'Image_10997',c0:13,b6:[0,0,100,0],b4:[]},Image_10998x:{a6:1966,j2:[0,0],a4:0,a3:'Image_10998',c0:12,b6:[0,-600,100,0],b4:[]},Image_10998y:{a6:1966,j2:[0,0],a4:0,a3:'Image_10998',c0:13,b6:[0,0,100,0],b4:[]},Image_10999x:{a6:1966,j2:[0,0],a4:0,a3:'Image_10999',c0:12,b6:[0,0,100,0],b4:[]},Image_10999y:{a6:1966,j2:[0,0],a4:0,a3:'Image_10999',c0:13,b6:[0,-600,100,0],b4:[]},Image_11000x:{a6:1966,j2:[0,0],a4:0,a3:'Image_11000',c0:12,b6:[0,600,100,0],b4:[]},Image_11000y:{a6:1966,j2:[0,0],a4:0,a3:'Image_11000',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_1357x:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_1357',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_1357y:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_1357',c0:13,b6:[0,0,100,0],b4:[]},SmartShape_9192alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_9192',c0:14,b6:[0,0,100,1],b4:[]},SmartShape_9192scaleX:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_9192',c0:10,b6:[0,0,100,1],b4:[]},SmartShape_9192scaleY:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_9192',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_2176scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_2176',c0:10,b6:[0,0.5,100,1],b4:[]},Text_Caption_2176scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_2176',c0:11,b6:[0,0.5,100,1],b4:[]},SmartShape_9727alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_9727',c0:14,b6:[0,0,100,1],b4:[]},SmartShape_9727scaleX:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_9727',c0:10,b6:[0,0,100,1],b4:[]},SmartShape_9727scaleY:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_9727',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_2641scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_2641',c0:10,b6:[0,0.5,100,1],b4:[]},Text_Caption_2641scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_2641',c0:11,b6:[0,0.5,100,1],b4:[]},SmartShape_10292alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10292',c0:14,b6:[0,0,100,1],b4:[]},SmartShape_10292scaleX:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10292',c0:10,b6:[0,0,100,1],b4:[]},SmartShape_10292scaleY:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10292',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3073scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3073',c0:10,b6:[0,0.5,100,1],b4:[]},Text_Caption_3073scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3073',c0:11,b6:[0,0.5,100,1],b4:[]}}}},Slide338324790c:{b:[0,0,0,0],sr:cp.fd,dn:'Slide338324790',visible:'1'},StAd2:{from:862,to:1808,src:'ar/514401438.mp3',du:31571},Image_10959:{type:15,from:862,to:966,rp:0,rpa:0,mdi:'Image_10959c',immo:false,apsn:'Slide513500854',trin:0,trout:0},Image_10959c:{b:[-41,-1,884,602],uid:513500859,sr:cp.fd,ip:'dr/513500855_925_603.png',dn:'Image_10959',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-41,-1,884,602],vb:[-41,-1,884,602]},Text_Caption_3039:{type:19,from:862,to:966,rp:0,rpa:0,mdi:'Text_Caption_3039c',immo:false,apsn:'Slide513500854',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},Text_Caption_3039c:{b:[5,121,444,438],uid:513501749,sr:cp.fd,ip:'dr/Text_Caption_3039.png',dn:'Text_Caption_3039',visible:1,JSONEffectData:true,accstr:'Nuestras  percepciones  sobre el recurso tiempo ',traccstr:'',ti:-1,tex:0,tey:0,vbwr:[5,121,444,438],vb:[5,121,444,438]},Image_10960:{type:15,from:967,to:1032,rp:0,rpa:0,mdi:'Image_10960c',immo:false,apsn:'Slide513500854',trin:0,trout:0},Image_10960c:{b:[-20,-1,801,534],uid:514400462,sr:cp.fd,ip:'dr/514400458_821_535.png',dn:'Image_10960',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-20,-1,801,534],vb:[-20,-1,801,534]},Image_10961:{type:15,from:1033,to:1140,rp:0,rpa:0,mdi:'Image_10961c',immo:false,apsn:'Slide513500854',trin:0,trout:0},Image_10961c:{b:[-7,-1,814,534],uid:514401430,sr:cp.fd,ip:'dr/514401426_821_535.png',dn:'Image_10961',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-7,-1,814,534],vb:[-7,-1,814,534]},Image_10962:{type:15,from:1141,to:1395,rp:0,rpa:0,mdi:'Image_10962c',immo:false,apsn:'Slide513500854',trin:0,trout:0},Image_10962c:{b:[-7,-1,814,534],uid:514401436,sr:cp.fd,ip:'dr/514401432_821_535.png',dn:'Image_10962',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-7,-1,814,534],vb:[-7,-1,814,534]},Text_Caption_3041:{type:19,from:1201,to:1395,rp:0,rpa:0,mdi:'Text_Caption_3041c',immo:false,apsn:'Slide513500854',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:340},Text_Caption_3041c:{b:[21,16,434,132],uid:514401440,sr:cp.fd,ip:'dr/Text_Caption_3041.png',dn:'Text_Caption_3041',visible:1,JSONEffectData:true,accstr:'“El día no tiene suficientes horas o hay demasiado que hacer y no hay suficiente tiempo para hacerlo todo” ',traccstr:'',ti:-1,tex:1,tey:-1,vbwr:[21,16,434,132],vb:[21,16,434,132]},Image_10964:{type:15,from:1396,to:1506,rp:0,rpa:0,mdi:'Image_10964c',immo:false,apsn:'Slide513500854',trin:0,trout:0},Image_10964c:{b:[-7,-1,814,534],uid:514404371,sr:cp.fd,ip:'dr/514404367_821_535.png',dn:'Image_10964',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-7,-1,814,534],vb:[-7,-1,814,534]},Image_10963:{type:15,from:1507,to:1686,rp:0,rpa:0,mdi:'Image_10963c',immo:false,apsn:'Slide513500854',trin:0,trout:0},Image_10963c:{b:[-7,-1,814,534],uid:514404365,sr:cp.fd,ip:'dr/516683161_821_535.png',dn:'Image_10963',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-7,-1,814,534],vb:[-7,-1,814,534]},Image_10967:{type:15,from:1687,to:1776,rp:0,rpa:0,mdi:'Image_10967c',immo:false,apsn:'Slide513500854',trin:0,trout:0},Image_10967c:{b:[-10,-1,811,534],uid:514419743,sr:cp.fd,ip:'dr/514419739_821_535.png',dn:'Image_10967',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-10,-1,811,534],vb:[-10,-1,811,534]},Image_10966:{type:15,from:1750,to:1812,rp:0,rpa:0,mdi:'Image_10966c',immo:false,apsn:'Slide513500854',trin:0,trout:0},Image_10966c:{b:[-10,-1,811,534],uid:514419737,sr:cp.fd,ip:'dr/514419733_821_535.png',dn:'Image_10966',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-10,-1,811,534],vb:[-10,-1,811,534]},SmartShape_10259:{type:612,from:970,to:1812,rp:0,rpa:0,mdi:'SmartShape_10259c',immo:false,apsn:'Slide513500854',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0},SmartShape_10259c:{b:[-1,496,801,601],uid:514400490,dn:'SmartShape_10259',visible:1,JSONEffectData:false,accstr:' ',traccstr:'',ti:-1,sc:'#891334',sw:0,ss:0,fa:100,bc:'#891334',p0:[[0],[1,-1,496],[2,-1,601],[2,801,601],[2,801,496],[2,-1,496],[4]],vbwr:[-1,496,801,601],vb:[-1,496,801,601]},Text_Caption_3040:{type:19,from:970,to:1812,rp:0,rpa:0,mdi:'Text_Caption_3040c',immo:false,apsn:'Slide513500854',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:109},Text_Caption_3040c:{b:[0,496,801,602],uid:514401385,sr:cp.fd,ip:'dr/Text_Caption_3040.png',dn:'Text_Caption_3040',visible:1,JSONEffectData:true,accstr:'Nuestras percepciones sobre el recurso tiempo ',traccstr:'',ti:-1,vbwr:[0,496,801,602],vb:[0,496,801,602]},SmartShape_10289:{type:612,from:967,to:1203,rp:0,rpa:0,mdi:'SmartShape_10289c',immo:false,apsn:'Slide513500854',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:106},SmartShape_10289c:{b:[17,425,780,485],uid:515544572,sr:cp.fd,ip:'dr/SmartShape_10289.png',dn:'SmartShape_10289',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#cdcdcd',sw:0,ss:0,fa:100,gf:{b:[17,425,780,485],t:0,x1:398,y1:425,x2:398,y2:485,s:0,cs:[{p:0,c:'#f2f2f2',o:255},{p:99.6078,c:'#bfbfbf',o:255}]},p0:[[0],[1,32,425],[3,23.72,425,17,431.72,17,440.00],[2,17,470.00],[3,17,478.28,23.72,485,32,485],[2,765,485],[3,773.28,485,780.00,478.28,780.00,470.00],[2,780.00,440.00],[3,780.00,431.72,773.28,425,765,425],[2,32,425],[4]],vbwr:[17,425,781,485],sh:{i:false,a:45,d:3,b:4,o:0.4,c:'rgb(0, 0, 0)'},vb:[17,425,785,489]},Text_Caption_3070:{type:19,from:967,to:1203,rp:0,rpa:0,mdi:'Text_Caption_3070c',immo:false,apsn:'Slide513500854',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:106},Text_Caption_3070c:{b:[20,425,776,485],uid:515545487,sr:cp.fd,ip:'dr/Text_Caption_3070.png',dn:'Text_Caption_3070',visible:1,JSONEffectData:true,accstr:'El tiempo escasea más y más. Si se pregunta a un grupo de jefes cuál  es su problema más apremiante en el trabajo, habrán de decir...  ',traccstr:'',ti:-1,vbwr:[20,425,776,485],vb:[20,425,776,485]},SmartShape_10290:{type:612,from:1390,to:1626,rp:0,rpa:0,mdi:'SmartShape_10290c',immo:false,apsn:'Slide513500854',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:529},SmartShape_10290c:{b:[17,425,780,485],uid:515546457,sr:cp.fd,ip:'dr/SmartShape_10290.png',dn:'SmartShape_10290',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#cdcdcd',sw:0,ss:0,fa:100,gf:{b:[17,425,780,485],t:0,x1:398,y1:425,x2:398,y2:485,s:0,cs:[{p:0,c:'#f2f2f2',o:255},{p:99.6078,c:'#bfbfbf',o:255}]},p0:[[0],[1,32,425],[3,23.72,425,17,431.72,17,440.00],[2,17,470.00],[3,17,478.28,23.72,485,32,485],[2,765,485],[3,773.28,485,780.00,478.28,780.00,470.00],[2,780.00,440.00],[3,780.00,431.72,773.28,425,765,425],[2,32,425],[4]],vbwr:[17,425,781,485],sh:{i:false,a:45,d:3,b:4,o:0.4,c:'rgb(0, 0, 0)'},vb:[17,425,785,489]},Text_Caption_3071:{type:19,from:1390,to:1626,rp:0,rpa:0,mdi:'Text_Caption_3071c',immo:false,apsn:'Slide513500854',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:529},Text_Caption_3071c:{b:[20,425,776,485],uid:515547372,sr:cp.fd,ip:'dr/Text_Caption_3071.png',dn:'Text_Caption_3071',visible:1,JSONEffectData:true,accstr:'No sorprende entonces, dadas las presiones de la vida en las empresas,  que muchas personas dejan que sus días se les escurran de las manos y...  ',traccstr:'',ti:-1,vbwr:[20,425,776,485],vb:[20,425,776,485]},SmartShape_10291:{type:612,from:1627,to:1812,rp:0,rpa:0,mdi:'SmartShape_10291c',immo:false,apsn:'Slide513500854',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:766},SmartShape_10291c:{b:[16,426,779,486],uid:515548342,sr:cp.fd,ip:'dr/SmartShape_10291.png',dn:'SmartShape_10291',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#cdcdcd',sw:0,ss:0,fa:100,gf:{b:[16,426,779,486],t:0,x1:397,y1:426,x2:397,y2:486,s:0,cs:[{p:0,c:'#f2f2f2',o:255},{p:99.6078,c:'#bfbfbf',o:255}]},p0:[[0],[1,31,426],[3,22.72,426,16,432.72,16,441],[2,16,471],[3,16,479.28,22.72,486,31,486],[2,764,486],[3,772.28,486,779,479.28,779,471],[2,779,441],[3,779,432.72,772.28,426,764,426],[2,31,426],[4]],vbwr:[16,426,780,486],sh:{i:false,a:45,d:3,b:4,o:0.4,c:'rgb(0, 0, 0)'},vb:[16,426,784,490]},Text_Caption_3072:{type:19,from:1627,to:1812,rp:0,rpa:0,mdi:'Text_Caption_3072c',immo:false,apsn:'Slide513500854',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:766},Text_Caption_3072c:{b:[19,426,775,486],uid:515549257,sr:cp.fd,ip:'dr/Text_Caption_3072.png',dn:'Text_Caption_3072',visible:1,JSONEffectData:true,accstr:'...pierdan de vista el panorama más extenso, bajo la presión  de las demandas cotidianas y las constantes interrupciones. ',traccstr:'',ti:-1,vbwr:[19,426,775,486],vb:[19,426,775,486]},Slide513500854:{lb:'Objetivos',id:513500854,from:862,to:1812,mmot:true,mdi:'Slide513500854c',st:'Normal Slide',audCC:[],vidCC:[],accstr:'Objetivos ',si:[{n:'Image_10959',t:15},{n:'Text_Caption_3039',t:19},{n:'Image_10960',t:15},{n:'Image_10961',t:15},{n:'Image_10962',t:15},{n:'Text_Caption_3041',t:19},{n:'Image_10964',t:15},{n:'Image_10963',t:15},{n:'Image_10967',t:15},{n:'Image_10966',t:15},{n:'SmartShape_10259',t:612},{n:'Text_Caption_3040',t:19},{n:'SmartShape_10289',t:612},{n:'Text_Caption_3070',t:19},{n:'SmartShape_10290',t:612},{n:'Text_Caption_3071',t:19},{n:'SmartShape_10291',t:612},{n:'Text_Caption_3072',t:19}],iph:[],v:false,bc:'#ffffff',JSONTT_0:[],JSONTT_6:[],qs:'',g4:{a1:[[33,'Text_Caption_3039alphaMultiplier'],[33,'Text_Caption_3039scaleX'],[33,'Text_Caption_3039scaleY'],[11333,'Text_Caption_3041scaleX'],[11333,'Text_Caption_3041scaleY'],[3633,'Text_Caption_3040x'],[3633,'Text_Caption_3040y'],[3533,'SmartShape_10289alphaMultiplier'],[3533,'SmartShape_10289scaleX'],[3533,'SmartShape_10289scaleY'],[3533,'Text_Caption_3070scaleX'],[3533,'Text_Caption_3070scaleY'],[17633,'SmartShape_10290alphaMultiplier'],[17633,'SmartShape_10290scaleX'],[17633,'SmartShape_10290scaleY'],[17633,'Text_Caption_3071scaleX'],[17633,'Text_Caption_3071scaleY'],[25533,'SmartShape_10291alphaMultiplier'],[25533,'SmartShape_10291scaleX'],[25533,'SmartShape_10291scaleY'],[25533,'Text_Caption_3072scaleX'],[25533,'Text_Caption_3072scaleY']],c3:{},a2:{Text_Caption_3039alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_3039',c0:14,b6:[0,0,100,1],b4:[]},Text_Caption_3039scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_3039',c0:10,b6:[0,0,100,1],b4:[]},Text_Caption_3039scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_3039',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3041scaleX:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3041',c0:10,b6:[0,0.5,100,1],b4:[]},Text_Caption_3041scaleY:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3041',c0:11,b6:[0,0.5,100,1],b4:[]},Text_Caption_3040x:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_3040',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3040y:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_3040',c0:13,b6:[0,0,100,0],b4:[]},SmartShape_10289alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10289',c0:14,b6:[0,0,100,1],b4:[]},SmartShape_10289scaleX:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10289',c0:10,b6:[0,0,100,1],b4:[]},SmartShape_10289scaleY:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10289',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3070scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3070',c0:10,b6:[0,0.5,100,1],b4:[]},Text_Caption_3070scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3070',c0:11,b6:[0,0.5,100,1],b4:[]},SmartShape_10290alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10290',c0:14,b6:[0,0,100,1],b4:[]},SmartShape_10290scaleX:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10290',c0:10,b6:[0,0,100,1],b4:[]},SmartShape_10290scaleY:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10290',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3071scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3071',c0:10,b6:[0,0.5,100,1],b4:[]},Text_Caption_3071scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3071',c0:11,b6:[0,0.5,100,1],b4:[]},SmartShape_10291alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10291',c0:14,b6:[0,0,100,1],b4:[]},SmartShape_10291scaleX:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10291',c0:10,b6:[0,0,100,1],b4:[]},SmartShape_10291scaleY:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10291',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3072scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3072',c0:10,b6:[0,0.5,100,1],b4:[]},Text_Caption_3072scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3072',c0:11,b6:[0,0.5,100,1],b4:[]}}}},Slide513500854c:{b:[0,0,0,0],sr:cp.fd,dn:'Slide513500854',visible:'1'},StAd3:{from:1813,to:1939,src:'ar/517038193.mp3',du:4266},Image_11050:{type:15,from:1813,to:1941,rp:0,rpa:0,mdi:'Image_11050c',immo:false,apsn:'Slide516987170',trin:0,trout:0},Image_11050c:{b:[0,-3,801,519],uid:517032984,sr:cp.fd,ip:'dr/517032980_801_522.png',dn:'Image_11050',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[0,-3,801,519],vb:[0,-3,801,519]},SmartShape_10306:{type:612,from:1813,to:1941,rp:0,rpa:0,mdi:'SmartShape_10306c',immo:false,apsn:'Slide516987170',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0},SmartShape_10306c:{b:[-1,496,801,601],uid:516984720,dn:'SmartShape_10306',visible:1,JSONEffectData:false,accstr:' ',traccstr:'',ti:-1,sc:'#891334',sw:0,ss:0,fa:100,bc:'#891334',p0:[[0],[1,-1,496],[2,-1,601],[2,801,601],[2,801,496],[2,-1,496],[4]],vbwr:[-1,496,801,601],vb:[-1,496,801,601]},Text_Caption_3089:{type:19,from:1813,to:1941,rp:0,rpa:0,mdi:'Text_Caption_3089c',immo:false,apsn:'Slide516987170',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},Text_Caption_3089c:{b:[0,496,801,602],uid:516985621,sr:cp.fd,ip:'dr/Text_Caption_3089.png',dn:'Text_Caption_3089',visible:1,JSONEffectData:true,accstr:'Nuestras percepciones  ',traccstr:'',ti:-1,vbwr:[0,496,801,602],vb:[0,496,801,602]},Image_11052:{type:15,from:1813,to:1941,rp:0,rpa:0,mdi:'Image_11052c',immo:false,apsn:'Slide516987170',trin:0,trout:0},Image_11052c:{b:[5,8,285,131],uid:517032999,sr:cp.fd,ip:'dr/493248134_280_123.png',dn:'Image_11052',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[5,8,285,131],vb:[5,8,285,131]},Text_Caption_3109:{type:19,from:1813,to:1941,rp:0,rpa:0,mdi:'Text_Caption_3109c',immo:false,apsn:'Slide516987170',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},Text_Caption_3109c:{b:[118,33,271,97],uid:517033906,sr:cp.fd,ip:'dr/Text_Caption_3109.png',dn:'Text_Caption_3109',visible:1,JSONEffectData:true,accstr:'Más sobre nuestras percepciones  ',traccstr:'',ti:-1,vbwr:[118,33,271,97],vb:[118,33,271,97]},Click_Box_545:{type:13,from:1813,to:1941,rp:0,rpa:0,mdi:'Click_Box_545c',immo:false,apsn:'Slide516987170',JSONTT_4:[],cpa:true,oca:'cp.openURL(\'nuestras_percepciones_sobre_el_recurso_del_tiempo.pdf\',\'_blank\');cpCmndPause = 1;',JSONTT_5:[],ofa:'cpCmndResume = 1;',chfn:cp.ch,osc:'',osct:0,ofc:'',ofct:0,pa:1940,enabled:1,ma:-1,pfc:1,dclk:false,rclk:false,amc:true,ca:'Click_Box_545ClkAd',eh:cp.cbKH,siq:false,sat:true,trin:0,trout:0},Click_Box_545c:{b:[11,7,294,127],uid:517038195,sr:cp.fd,dn:'Click_Box_545',visible:1,JSONEffectData:false,accstr:'Click Box ',traccstr:'',ti:-1,vbwr:[11,7,294,127],vb:[11,7,294,127]},Click_Box_545ClkAd:{src:'ar/Mouse.mp3',du:182},Slide516987170:{lb:'Objetivos',id:516987170,from:1813,to:1941,mmot:true,mdi:'Slide516987170c',st:'Normal Slide',audCC:[],vidCC:[],accstr:'Objetivos ',si:[{n:'Image_11050',t:15},{n:'SmartShape_10306',t:612},{n:'Text_Caption_3089',t:19},{n:'Image_11052',t:15},{n:'Text_Caption_3109',t:19},{n:'Click_Box_545',t:13,d:{cur:1}}],iph:[],ea:'Click_Box_545ClkAd',v:false,bc:'#ffffff',JSONTT_0:[],JSONTT_6:[],qs:'',g4:{a1:[[33,'Text_Caption_3089x'],[33,'Text_Caption_3089y'],[33,'Text_Caption_3109x'],[33,'Text_Caption_3109y']],c3:{},a2:{Text_Caption_3089x:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_3089',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3089y:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_3089',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3109x:{a6:300,j2:[0,0],a4:0,a3:'Text_Caption_3109',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3109y:{a6:300,j2:[0,0],a4:0,a3:'Text_Caption_3109',c0:13,b6:[0,0,100,0],b4:[]}}}},Slide516987170c:{b:[0,0,0,0],sr:cp.fd,dn:'Slide516987170',visible:'1'},StAd4:{from:1942,to:2353,src:'ar/514420974.mp3',du:13754},Image_10993:{type:15,from:1942,to:2031,rp:0,rpa:0,mdi:'Image_10993c',immo:false,apsn:'Slide433430815',trin:0,trout:0},Image_10993c:{b:[-13,0,808,535],uid:515538901,sr:cp.fd,ip:'dr/515538897_821_535.png',dn:'Image_10993',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-13,0,808,535],vb:[-13,0,808,535]},Image_10994:{type:15,from:2032,to:2190,rp:0,rpa:0,mdi:'Image_10994c',immo:false,apsn:'Slide433430815',trin:0,trout:0},Image_10994c:{b:[-13,0,808,535],uid:515539825,sr:cp.fd,ip:'dr/515539821_821_535.png',dn:'Image_10994',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-13,0,808,535],vb:[-13,0,808,535]},Image_10995:{type:15,from:2191,to:2373,rp:0,rpa:0,mdi:'Image_10995c',immo:false,apsn:'Slide433430815',trin:0,trout:0},Image_10995c:{b:[-7,0,814,535],uid:515539831,sr:cp.fd,ip:'dr/515539827_821_535.png',dn:'Image_10995',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-7,0,814,535],vb:[-7,0,814,535]},SmartShape_9110:{type:612,from:1942,to:2373,rp:0,rpa:0,mdi:'SmartShape_9110c',immo:false,apsn:'Slide433430815',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0},SmartShape_9110c:{b:[-1,496,801,601],uid:433430792,dn:'SmartShape_9110',visible:1,JSONEffectData:false,accstr:' ',traccstr:'',ti:-1,sc:'#891334',sw:0,ss:0,fa:100,bc:'#891334',p0:[[0],[1,-1,496],[2,-1,601],[2,801,601],[2,801,496],[2,-1,496],[4]],vbwr:[-1,496,801,601],vb:[-1,496,801,601]},Text_Caption_2094:{type:19,from:1942,to:2373,rp:0,rpa:0,mdi:'Text_Caption_2094c',immo:false,apsn:'Slide433430815',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},Text_Caption_2094c:{b:[0,496,801,602],uid:433430803,sr:cp.fd,ip:'dr/Text_Caption_2094.png',dn:'Text_Caption_2094',visible:1,JSONEffectData:true,accstr:'¿Qué significa la administración del tiempo? ',traccstr:'',ti:-1,vbwr:[0,496,801,602],vb:[0,496,801,602]},Text_Caption_3067:{type:19,from:1942,to:2031,rp:0,rpa:0,mdi:'Text_Caption_3067c',immo:false,apsn:'Slide433430815',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},Text_Caption_3067c:{b:[365,40,778,224],uid:515539820,sr:cp.fd,ip:'dr/Text_Caption_3067.png',dn:'Text_Caption_3067',visible:1,JSONEffectData:true,accstr:'¿Qué significa la  administración  del tiempo? ',traccstr:'',ti:-1,tex:0,tey:0,vbwr:[365,40,778,224],vb:[365,40,778,224]},SmartShape_10287:{type:612,from:2032,to:2202,rp:0,rpa:0,mdi:'SmartShape_10287c',immo:false,apsn:'Slide433430815',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:91},SmartShape_10287c:{b:[17,425,780,485],uid:515540802,sr:cp.fd,ip:'dr/SmartShape_10287.png',dn:'SmartShape_10287',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#cdcdcd',sw:0,ss:0,fa:100,gf:{b:[17,425,780,485],t:0,x1:398,y1:425,x2:398,y2:485,s:0,cs:[{p:0,c:'#f2f2f2',o:255},{p:99.6078,c:'#bfbfbf',o:255}]},p0:[[0],[1,32,425],[3,23.72,425,17,431.72,17,440.00],[2,17,470.00],[3,17,478.28,23.72,485,32,485],[2,765,485],[3,773.28,485,780.00,478.28,780.00,470.00],[2,780.00,440.00],[3,780.00,431.72,773.28,425,765,425],[2,32,425],[4]],vbwr:[17,425,781,485],sh:{i:false,a:45,d:3,b:4,o:0.4,c:'rgb(0, 0, 0)'},vb:[17,425,785,489]},Text_Caption_3068:{type:19,from:2032,to:2202,rp:0,rpa:0,mdi:'Text_Caption_3068c',immo:false,apsn:'Slide433430815',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:91},Text_Caption_3068c:{b:[20,425,776,485],uid:515541717,sr:cp.fd,ip:'dr/Text_Caption_3068.png',dn:'Text_Caption_3068',visible:1,JSONEffectData:true,accstr:'La administración del tiempo se puede definir como una  manera de ser y una forma de vivir, al reconocerse... ',traccstr:'',ti:-1,vbwr:[20,425,776,485],vb:[20,425,776,485]},SmartShape_10288:{type:612,from:2203,to:2373,rp:0,rpa:0,mdi:'SmartShape_10288c',immo:false,apsn:'Slide433430815',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:262},SmartShape_10288c:{b:[17,425,780,485],uid:515542687,sr:cp.fd,ip:'dr/SmartShape_10288.png',dn:'SmartShape_10288',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#cdcdcd',sw:0,ss:0,fa:100,gf:{b:[17,425,780,485],t:0,x1:398,y1:425,x2:398,y2:485,s:0,cs:[{p:0,c:'#f2f2f2',o:255},{p:99.6078,c:'#bfbfbf',o:255}]},p0:[[0],[1,32,425],[3,23.72,425,17,431.72,17,440.00],[2,17,470.00],[3,17,478.28,23.72,485,32,485],[2,765,485],[3,773.28,485,780.00,478.28,780.00,470.00],[2,780.00,440.00],[3,780.00,431.72,773.28,425,765,425],[2,32,425],[4]],vbwr:[17,425,781,485],sh:{i:false,a:45,d:3,b:4,o:0.4,c:'rgb(0, 0, 0)'},vb:[17,425,785,489]},Text_Caption_3069:{type:19,from:2203,to:2373,rp:0,rpa:0,mdi:'Text_Caption_3069c',immo:false,apsn:'Slide433430815',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:262},Text_Caption_3069c:{b:[20,425,776,485],uid:515543602,sr:cp.fd,ip:'dr/Text_Caption_3069.png',dn:'Text_Caption_3069',visible:1,JSONEffectData:true,accstr:'...que el tiempo es uno de los recursos más  importantes y críticos en la vida de las personas. ',traccstr:'',ti:-1,vbwr:[20,425,776,485],vb:[20,425,776,485]},Slide433430815:{lb:'Objetivos',id:433430815,from:1942,to:2373,mmot:true,mdi:'Slide433430815c',st:'Normal Slide',audCC:[],vidCC:[],accstr:'Objetivos ',si:[{n:'Image_10993',t:15},{n:'Image_10994',t:15},{n:'Image_10995',t:15},{n:'SmartShape_9110',t:612},{n:'Text_Caption_2094',t:19},{n:'Text_Caption_3067',t:19},{n:'SmartShape_10287',t:612},{n:'Text_Caption_3068',t:19},{n:'SmartShape_10288',t:612},{n:'Text_Caption_3069',t:19}],iph:[],v:false,bc:'#ffffff',JSONTT_0:[],JSONTT_6:[],qs:'',g4:{a1:[[33,'Text_Caption_2094x'],[33,'Text_Caption_2094y'],[33,'Text_Caption_3067scaleX'],[33,'Text_Caption_3067scaleY'],[3033,'SmartShape_10287alphaMultiplier'],[3033,'SmartShape_10287scaleX'],[3033,'SmartShape_10287scaleY'],[3033,'Text_Caption_3068scaleX'],[3033,'Text_Caption_3068scaleY'],[8733,'SmartShape_10288alphaMultiplier'],[8733,'SmartShape_10288scaleX'],[8733,'SmartShape_10288scaleY'],[8733,'Text_Caption_3069scaleX'],[8733,'Text_Caption_3069scaleY']],c3:{},a2:{Text_Caption_2094x:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_2094',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_2094y:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_2094',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3067scaleX:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3067',c0:10,b6:[0,0.5,100,1],b4:[]},Text_Caption_3067scaleY:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3067',c0:11,b6:[0,0.5,100,1],b4:[]},SmartShape_10287alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10287',c0:14,b6:[0,0,100,1],b4:[]},SmartShape_10287scaleX:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10287',c0:10,b6:[0,0,100,1],b4:[]},SmartShape_10287scaleY:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10287',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3068scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3068',c0:10,b6:[0,0.5,100,1],b4:[]},Text_Caption_3068scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3068',c0:11,b6:[0,0.5,100,1],b4:[]},SmartShape_10288alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10288',c0:14,b6:[0,0,100,1],b4:[]},SmartShape_10288scaleX:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10288',c0:10,b6:[0,0,100,1],b4:[]},SmartShape_10288scaleY:{a6:1000,j2:[0,0],a4:0,a3:'SmartShape_10288',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3069scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3069',c0:10,b6:[0,0.5,100,1],b4:[]},Text_Caption_3069scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3069',c0:11,b6:[0,0.5,100,1],b4:[]}}}},Slide433430815c:{b:[0,0,0,0],sr:cp.fd,dn:'Slide433430815',visible:'1'},Image_10971:{type:15,from:2374,to:4371,rp:0,rpa:0,mdi:'Image_10971c',immo:false,apsn:'Slide514420973',trin:0,trout:0},Image_10971c:{b:[-18,-2,803,533],uid:514419775,sr:cp.fd,ip:'dr/478853889_821_535.png',dn:'Image_10971',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-18,-2,803,533],vb:[-18,-2,803,533]},Image_10972:{type:15,from:2374,to:2463,rp:0,rpa:0,mdi:'Image_10972c',immo:false,apsn:'Slide514420973',trin:0,trout:0},Image_10972c:{b:[-1,-2,820,533],uid:514419781,sr:cp.fd,ip:'dr/513492489_821_535.png',dn:'Image_10972',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-1,-2,820,533],vb:[-1,-2,820,533]},Image_10973:{type:15,from:2464,to:2553,rp:0,rpa:0,mdi:'Image_10973c',immo:false,apsn:'Slide514420973',trin:0,trout:0},Image_10973c:{b:[-4,-14,817,521],uid:514419787,sr:cp.fd,ip:'dr/513492501_821_535.png',dn:'Image_10973',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-4,-14,817,521],vb:[-4,-14,817,521]},Image_10974:{type:15,from:2476,to:2553,rp:0,rpa:0,mdi:'Image_10974c',immo:false,apsn:'Slide514420973',trin:0,trout:0},Image_10974c:{b:[-4,2,817,537],uid:514419793,sr:cp.fd,ip:'dr/513492513_821_535.png',dn:'Image_10974',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-4,2,817,537],vb:[-4,2,817,537]},Image_10975:{type:15,from:2476,to:2553,rp:0,rpa:0,mdi:'Image_10975c',immo:false,apsn:'Slide514420973',trin:0,trout:0},Image_10975c:{b:[-8,9,813,544],uid:514419799,sr:cp.fd,ip:'dr/513492519_821_535.png',dn:'Image_10975',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-8,9,813,544],vb:[-8,9,813,544]},Image_10976:{type:15,from:2476,to:2553,rp:0,rpa:0,mdi:'Image_10976c',immo:false,apsn:'Slide514420973',trin:0,trout:0},Image_10976c:{b:[-7,9,814,544],uid:514419805,sr:cp.fd,ip:'dr/513492507_821_535.png',dn:'Image_10976',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-7,9,814,544],vb:[-7,9,814,544]},Text_Caption_3042:{type:19,from:2485,to:2553,rp:0,rpa:0,mdi:'Text_Caption_3042c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:112},Text_Caption_3042c:{b:[52,105,316,215],uid:514420706,sr:cp.fd,ip:'dr/Text_Caption_3042.png',dn:'Text_Caption_3042',visible:1,JSONEffectData:true,accstr:'¿Por qué me  falta tiempo? ',traccstr:'',ti:-1,vbwr:[52,105,316,215],vb:[52,105,316,215]},Image_10968:{type:15,from:2554,to:2760,rp:0,rpa:0,mdi:'Image_10968c',immo:false,apsn:'Slide514420973',trin:0,trout:0},Image_10968c:{b:[-6,-31,815,504],uid:514419757,sr:cp.fd,ip:'dr/513495254_821_535.png',dn:'Image_10968',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-6,-31,815,504],vb:[-6,-31,815,504]},Image_10970:{type:15,from:2620,to:2760,rp:0,rpa:0,mdi:'Image_10970c',immo:false,apsn:'Slide514420973',trin:0,trout:0},Image_10970c:{b:[-18,-30,803,505],uid:514419769,sr:cp.fd,ip:'dr/513495248_821_535.png',dn:'Image_10970',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-18,-30,803,505],vb:[-18,-30,803,505]},Image_10969:{type:15,from:2698,to:4371,rp:0,rpa:0,mdi:'Image_10969c',immo:false,apsn:'Slide514420973',trin:0,trout:0},Image_10969c:{b:[-19,-31,801,504],uid:514419763,sr:cp.fd,ip:'dr/513495242_820_535.png',dn:'Image_10969',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-19,-31,801,504],vb:[-19,-31,801,504]},SmartShape_10266:{type:612,from:2374,to:4371,rp:0,rpa:0,mdi:'SmartShape_10266c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0},SmartShape_10266c:{b:[-1,496,801,601],uid:514420900,dn:'SmartShape_10266',visible:1,JSONEffectData:false,accstr:' ',traccstr:'',ti:-1,sc:'#891334',sw:0,ss:0,fa:100,bc:'#891334',p0:[[0],[1,-1,496],[2,-1,601],[2,801,601],[2,801,496],[2,-1,496],[4]],vbwr:[-1,496,801,601],vb:[-1,496,801,601]},Text_Caption_3048:{type:19,from:2374,to:4371,rp:0,rpa:0,mdi:'Text_Caption_3048c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},Text_Caption_3048c:{b:[0,496,801,602],uid:514420911,sr:cp.fd,ip:'dr/Text_Caption_3048.png',dn:'Text_Caption_3048',visible:1,JSONEffectData:true,accstr:'Evaluación de la práctica laboral actual ',traccstr:'',ti:-1,vbwr:[0,496,801,602],vb:[0,496,801,602]},SmartShape_10267:{type:612,from:2554,to:2700,rp:0,rpa:0,mdi:'SmartShape_10267c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:181},SmartShape_10267c:{b:[-8,411,808,477],uid:514420943,sr:cp.fd,ip:'dr/SmartShape_10267.png',dn:'SmartShape_10267',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#9c9fa1',sw:0,ss:0,fa:90,bc:'#bfbfbf',p0:[[0],[1,-8,411],[2,-8,477],[2,808,477],[2,808,411],[2,-8,411],[4]],vbwr:[-8,411,808,477],vb:[-8,411,808,477]},Text_Caption_3049:{type:19,from:2554,to:2700,rp:0,rpa:0,mdi:'Text_Caption_3049c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:181},Text_Caption_3049c:{b:[-8,411,808,475],uid:514420954,sr:cp.fd,ip:'dr/Text_Caption_3049.png',dn:'Text_Caption_3049',visible:1,JSONEffectData:true,accstr:'Un ejercicio útil consiste en contestar sinceramente a las siguientes preguntas: ',traccstr:'',ti:-1,vbwr:[-8,411,808,475],vb:[-8,411,808,475]},SmartShape_10274:{type:612,from:2710,to:3255,rp:0,rpa:0,mdi:'SmartShape_10274c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:337},SmartShape_10274c:{b:[325,43,933,104],uid:515097908,sr:cp.fd,ip:'dr/SmartShape_10274.png',dn:'SmartShape_10274',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#229292',sw:3,ss:0,fa:100,bc:'#ffffff',p0:[[0],[1,355.49,43],[3,338.65,43,325,56.65,325,73.49],[2,325,73.51],[3,325,90.35,338.65,104,355.49,104],[2,902.51,104],[3,919.35,104,933,90.35,933,73.51],[2,933,73.49],[3,933,56.65,919.35,43,902.51,43],[2,355.49,43],[4]],vbwr:[319,37,939,110],vb:[319,37,939,110]},Text_Caption_3056:{type:19,from:2710,to:3255,rp:0,rpa:0,mdi:'Text_Caption_3056c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:337},Text_Caption_3056c:{b:[406,44,789,105],uid:515098809,sr:cp.fd,ip:'dr/Text_Caption_3056.png',dn:'Text_Caption_3056',visible:1,JSONEffectData:true,accstr:'¿Sientes que siempre te falta tiempo? ',traccstr:'',ti:-1,vbwr:[406,44,789,105],vb:[406,44,789,105]},SmartShape_10275:{type:612,from:2785,to:3255,rp:0,rpa:0,mdi:'SmartShape_10275c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:412},SmartShape_10275c:{b:[347,121,958,182],uid:515099731,sr:cp.fd,ip:'dr/SmartShape_10275.png',dn:'SmartShape_10275',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#891334',sw:3,ss:0,fa:100,bc:'#ffffff',p0:[[0],[1,377.49,121],[3,360.65,121,347,134.65,347,151.49],[2,347,151.51],[3,347,168.35,360.65,182,377.49,182],[2,927.51,182],[3,944.35,182,958,168.35,958,151.51],[2,958,151.49],[3,958,134.65,944.35,121,927.51,121],[2,377.49,121],[4]],vbwr:[341,115,964,188],vb:[341,115,964,188]},Text_Caption_3057:{type:19,from:2785,to:3255,rp:0,rpa:0,mdi:'Text_Caption_3057c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:412},Text_Caption_3057c:{b:[430,122,779,183],uid:515100632,sr:cp.fd,ip:'dr/Text_Caption_3057.png',dn:'Text_Caption_3057',visible:1,JSONEffectData:true,accstr:'¿Sientes que tienes mucho qué hacer? ',traccstr:'',ti:-1,vbwr:[430,122,779,183],vb:[430,122,779,183]},SmartShape_10276:{type:612,from:2851,to:3255,rp:0,rpa:0,mdi:'SmartShape_10276c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:478},SmartShape_10276c:{b:[362,197,975,258],uid:515101554,sr:cp.fd,ip:'dr/SmartShape_10276.png',dn:'SmartShape_10276',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#229292',sw:3,ss:0,fa:100,bc:'#ffffff',p0:[[0],[1,392.49,197],[3,375.65,197,362,210.65,362,227.49],[2,362,227.51],[3,362,244.35,375.65,258,392.49,258],[2,944.51,258],[3,961.35,258,975,244.35,975,227.51],[2,975,227.49],[3,975,210.65,961.35,197,944.51,197],[2,392.49,197],[4]],vbwr:[356,191,981,264],vb:[356,191,981,264]},Text_Caption_3058:{type:19,from:2851,to:3255,rp:0,rpa:0,mdi:'Text_Caption_3058c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:478},Text_Caption_3058c:{b:[442,198,806,259],uid:515102455,sr:cp.fd,ip:'dr/Text_Caption_3058.png',dn:'Text_Caption_3058',visible:1,JSONEffectData:true,accstr:'¿Te sientes agobiado por todo lo  que le sucede en la oficina? ',traccstr:'',ti:-1,vbwr:[442,198,806,259],vb:[442,198,806,259]},SmartShape_10277:{type:612,from:2968,to:3255,rp:0,rpa:0,mdi:'SmartShape_10277c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:595},SmartShape_10277c:{b:[343,273,955,334],uid:515103377,sr:cp.fd,ip:'dr/SmartShape_10277.png',dn:'SmartShape_10277',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#891334',sw:3,ss:0,fa:100,bc:'#ffffff',p0:[[0],[1,373.49,273],[3,356.65,273,343,286.65,343,303.49],[2,343,303.51],[3,343,320.35,356.65,334,373.49,334],[2,924.51,334],[3,941.35,334,955,320.35,955,303.51],[2,955,303.49],[3,955,286.65,941.35,273,924.51,273],[2,373.49,273],[4]],vbwr:[337,267,961,340],vb:[337,267,961,340]},Text_Caption_3059:{type:19,from:2968,to:3255,rp:0,rpa:0,mdi:'Text_Caption_3059c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:595},Text_Caption_3059c:{b:[443,274,780,335],uid:515104278,sr:cp.fd,ip:'dr/Text_Caption_3059.png',dn:'Text_Caption_3059',visible:1,JSONEffectData:true,accstr:'¿Sientes que la mayor parte del tiempo,  estás enterrado en montañas de papeles? ',traccstr:'',ti:-1,vbwr:[443,274,780,335],vb:[443,274,780,335]},SmartShape_10278:{type:612,from:3133,to:3255,rp:0,rpa:0,mdi:'SmartShape_10278c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:760},SmartShape_10278c:{b:[323,349,932,410],uid:515105200,sr:cp.fd,ip:'dr/SmartShape_10278.png',dn:'SmartShape_10278',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#229292',sw:3,ss:0,fa:100,bc:'#ffffff',p0:[[0],[1,353.49,349],[3,336.65,349,323,362.65,323,379.49],[2,323,379.51],[3,323,396.35,336.65,410.00,353.49,410.00],[2,901.51,410.00],[3,918.35,410.00,932,396.35,932,379.51],[2,932,379.49],[3,932,362.65,918.35,349,901.51,349],[2,353.49,349],[4]],vbwr:[317,343,938,416],vb:[317,343,938,416]},Text_Caption_3060:{type:19,from:3133,to:3255,rp:0,rpa:0,mdi:'Text_Caption_3060c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:760},Text_Caption_3060c:{b:[360,349,794,410],uid:515106101,sr:cp.fd,ip:'dr/Text_Caption_3060.png',dn:'Text_Caption_3060',visible:1,JSONEffectData:true,accstr:'¿Quisiera tener más tiempo del que  dispones, para hacer lo que quieres? ',traccstr:'',ti:-1,vbwr:[360,349,794,410],vb:[360,349,794,410]},Image_10977:{type:15,from:2710,to:3255,rp:0,rpa:0,mdi:'Image_10977c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:337},Image_10977c:{b:[343,40,426,104],uid:515084052,sr:cp.fd,ip:'dr/515084048_83_64.png',dn:'Image_10977',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[343,40,426,104],vb:[343,40,426,104]},Image_10978:{type:15,from:2785,to:3255,rp:0,rpa:0,mdi:'Image_10978c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:412},Image_10978c:{b:[360,119,443,183],uid:515085019,sr:cp.fd,ip:'dr/515084048_83_64.png',dn:'Image_10978',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[360,119,443,183],vb:[360,119,443,183]},Image_10979:{type:15,from:2851,to:3255,rp:0,rpa:0,mdi:'Image_10979c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:478},Image_10979c:{b:[374,194,457,258],uid:515085964,sr:cp.fd,ip:'dr/515084048_83_64.png',dn:'Image_10979',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[374,194,457,258],vb:[374,194,457,258]},Image_10980:{type:15,from:2968,to:3255,rp:0,rpa:0,mdi:'Image_10980c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:595},Image_10980c:{b:[362,270,445,334],uid:515086926,sr:cp.fd,ip:'dr/515084048_83_64.png',dn:'Image_10980',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[362,270,445,334],vb:[362,270,445,334]},Image_10981:{type:15,from:3133,to:3255,rp:0,rpa:0,mdi:'Image_10981c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:760},Image_10981c:{b:[347,346,430,410],uid:515087871,sr:cp.fd,ip:'dr/515084048_83_64.png',dn:'Image_10981',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[347,346,430,410],vb:[347,346,430,410]},SmartShape_10279:{type:612,from:3253,to:4371,rp:0,rpa:0,mdi:'SmartShape_10279c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:880},SmartShape_10279c:{b:[321,17,929,78],uid:515111748,sr:cp.fd,ip:'dr/SmartShape_10279.png',dn:'SmartShape_10279',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#229292',sw:3,ss:0,fa:100,bc:'#ffffff',p0:[[0],[1,351.49,17],[3,334.65,17,321,30.65,321,47.49],[2,321,47.51],[3,321,64.35,334.65,78,351.49,78],[2,898.51,78],[3,915.35,78,929,64.35,929,47.51],[2,929,47.49],[3,929,30.65,915.35,17,898.51,17],[2,351.49,17],[4]],vbwr:[315,11,935,84],vb:[315,11,935,84]},Text_Caption_3061:{type:19,from:3253,to:4371,rp:0,rpa:0,mdi:'Text_Caption_3061c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:880},Text_Caption_3061c:{b:[411,18,800,79],uid:515112649,sr:cp.fd,ip:'dr/Text_Caption_3061.png',dn:'Text_Caption_3061',visible:1,JSONEffectData:true,accstr:'¿Trabajas horas extras con frecuencia, por las noches,  o durante el fin de semana, para ponerte al día en  asuntos que no puedes hacer durante horas hábiles? ',traccstr:'',ti:-1,vbwr:[411,18,800,79],vb:[411,18,800,79]},SmartShape_10280:{type:612,from:3520,to:4371,rp:0,rpa:0,mdi:'SmartShape_10280c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1147},SmartShape_10280c:{b:[333,95,944,156],uid:515113571,sr:cp.fd,ip:'dr/SmartShape_10280.png',dn:'SmartShape_10280',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#891334',sw:3,ss:0,fa:100,bc:'#ffffff',p0:[[0],[1,363.49,95],[3,346.65,95,333,108.65,333,125.49],[2,333,125.51],[3,333,142.35,346.65,156,363.49,156],[2,913.51,156],[3,930.35,156,944,142.35,944,125.51],[2,944,125.49],[3,944,108.65,930.35,95,913.51,95],[2,363.49,95],[4]],vbwr:[327,89,950,162],vb:[327,89,950,162]},Text_Caption_3062:{type:19,from:3520,to:4371,rp:0,rpa:0,mdi:'Text_Caption_3062c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1147},Text_Caption_3062c:{b:[416,96,801,157],uid:515114472,sr:cp.fd,ip:'dr/Text_Caption_3062.png',dn:'Text_Caption_3062',visible:1,JSONEffectData:true,accstr:'¿Te pones tenso por lo que no logras hacer? ',traccstr:'',ti:-1,vbwr:[416,96,801,157],vb:[416,96,801,157]},SmartShape_10281:{type:612,from:3628,to:4371,rp:0,rpa:0,mdi:'SmartShape_10281c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1255},SmartShape_10281c:{b:[358,171,971,232],uid:515115394,sr:cp.fd,ip:'dr/SmartShape_10281.png',dn:'SmartShape_10281',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#229292',sw:3,ss:0,fa:100,bc:'#ffffff',p0:[[0],[1,388.49,171],[3,371.65,171,358,184.65,358,201.49],[2,358,201.51],[3,358,218.35,371.65,232,388.49,232],[2,940.51,232],[3,957.35,232,971,218.35,971,201.51],[2,971,201.49],[3,971,184.65,957.35,171,940.51,171],[2,388.49,171],[4]],vbwr:[352,165,977,238],vb:[352,165,977,238]},Text_Caption_3063:{type:19,from:3628,to:4371,rp:0,rpa:0,mdi:'Text_Caption_3063c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1255},Text_Caption_3063c:{b:[436,172,799,233],uid:515116295,sr:cp.fd,ip:'dr/Text_Caption_3063.png',dn:'Text_Caption_3063',visible:1,JSONEffectData:true,accstr:'¿No puedes enfocarte en el mejoramiento a largo  plazo de tu vida y tu trabajo, porque estás sujeto/a  a una crisis continua o a una carga excesiva de trabajo? ',traccstr:'',ti:-1,vbwr:[436,172,799,233],vb:[436,172,799,233]},SmartShape_10282:{type:612,from:3871,to:4371,rp:0,rpa:0,mdi:'SmartShape_10282c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1498},SmartShape_10282c:{b:[358,247,970,308],uid:515117217,sr:cp.fd,ip:'dr/SmartShape_10282.png',dn:'SmartShape_10282',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#891334',sw:3,ss:0,fa:100,bc:'#ffffff',p0:[[0],[1,388.49,247],[3,371.65,247,358,260.65,358,277.49],[2,358,277.51],[3,358,294.35,371.65,308,388.49,308],[2,939.51,308],[3,956.35,308,970.00,294.35,970.00,277.51],[2,970.00,277.49],[3,970.00,260.65,956.35,247,939.51,247],[2,388.49,247],[4]],vbwr:[352,241,976,314],vb:[352,241,976,314]},Text_Caption_3064:{type:19,from:3871,to:4371,rp:0,rpa:0,mdi:'Text_Caption_3064c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1498},Text_Caption_3064c:{b:[434,248,799,309],uid:515118118,sr:cp.fd,ip:'dr/Text_Caption_3064.png',dn:'Text_Caption_3064',visible:1,JSONEffectData:true,accstr:'¿Te pregunta si realmente estás logrando  lo que quieres en tu trabajo y en tu vida? ',traccstr:'',ti:-1,vbwr:[434,248,799,309],vb:[434,248,799,309]},SmartShape_10283:{type:612,from:4027,to:4371,rp:0,rpa:0,mdi:'SmartShape_10283c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1654},SmartShape_10283c:{b:[333,323,942,384],uid:515119040,sr:cp.fd,ip:'dr/SmartShape_10283.png',dn:'SmartShape_10283',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#229292',sw:3,ss:0,fa:100,bc:'#ffffff',p0:[[0],[1,363.49,323],[3,346.65,323,333,336.65,333,353.49],[2,333,353.51],[3,333,370.35,346.65,384,363.49,384],[2,911.51,384],[3,928.35,384,942,370.35,942,353.51],[2,942,353.49],[3,942,336.65,928.35,323,911.51,323],[2,363.49,323],[4]],vbwr:[327,317,948,390],vb:[327,317,948,390]},Text_Caption_3065:{type:19,from:4027,to:4371,rp:0,rpa:0,mdi:'Text_Caption_3065c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1654},Text_Caption_3065c:{b:[427,323,800,384],uid:515119941,sr:cp.fd,ip:'dr/Text_Caption_3065.png',dn:'Text_Caption_3065',visible:1,JSONEffectData:true,accstr:'¿Te gustaría obtener mejores resultados  en relación con el tiempo y esfuerzo  que inviertes en tu trabajo? ',traccstr:'',ti:-1,vbwr:[427,323,800,384],vb:[427,323,800,384]},Image_10987:{type:15,from:3253,to:4371,rp:0,rpa:0,mdi:'Image_10987c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:880},Image_10987c:{b:[339,14,422,78],uid:515120886,sr:cp.fd,ip:'dr/515084048_83_64.png',dn:'Image_10987',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[339,14,422,78],vb:[339,14,422,78]},Image_10988:{type:15,from:3520,to:4371,rp:0,rpa:0,mdi:'Image_10988c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1147},Image_10988c:{b:[346,93,429,157],uid:515121831,sr:cp.fd,ip:'dr/515084048_83_64.png',dn:'Image_10988',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[346,93,429,157],vb:[346,93,429,157]},Image_10989:{type:15,from:3628,to:4371,rp:0,rpa:0,mdi:'Image_10989c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1255},Image_10989c:{b:[370,168,453,232],uid:515122776,sr:cp.fd,ip:'dr/515084048_83_64.png',dn:'Image_10989',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[370,168,453,232],vb:[370,168,453,232]},Image_10990:{type:15,from:3871,to:4371,rp:0,rpa:0,mdi:'Image_10990c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1498},Image_10990c:{b:[370,246,453,310],uid:515123721,sr:cp.fd,ip:'dr/515084048_83_64.png',dn:'Image_10990',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[370,246,453,310],vb:[370,246,453,310]},Image_10991:{type:15,from:4027,to:4371,rp:0,rpa:0,mdi:'Image_10991c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1654},Image_10991c:{b:[354,323,437,387],uid:515124666,sr:cp.fd,ip:'dr/515084048_83_64.png',dn:'Image_10991',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[354,323,437,387],vb:[354,323,437,387]},SmartShape_10284:{type:612,from:4222,to:4371,rp:0,rpa:0,mdi:'SmartShape_10284c',immo:false,apsn:'Slide514420973',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1849},SmartShape_10284c:{b:[322,401,933,462],uid:515125588,sr:cp.fd,ip:'dr/SmartShape_10284.png',dn:'SmartShape_10284',visible:1,JSONEffectData:true,accstr:' ',traccstr:'',ti:-1,sc:'#891334',sw:3,ss:0,fa:100,bc:'#ffffff',p0:[[0],[1,352.49,401],[3,335.65,401,322,414.65,322,431.49],[2,322,431.51],[3,322,448.35,335.65,462,352.49,462],[2,902.51,462],[3,919.35,462,933,448.35,933,431.51],[2,933,431.49],[3,933,414.65,919.35,401,902.51,401],[2,352.49,401],[4]],vbwr:[316,395,939,468],vb:[316,395,939,468]},Text_Caption_3066:{type:19,from:4222,to:4371,rp:0,rpa:0,mdi:'Text_Caption_3066c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1849},Text_Caption_3066c:{b:[408,402,801,463],uid:515126489,sr:cp.fd,ip:'dr/Text_Caption_3066.png',dn:'Text_Caption_3066',visible:1,JSONEffectData:true,accstr:'¿Te gustaría descansar o tomar  vacaciones con mayor frecuencia? ',traccstr:'',ti:-1,vbwr:[408,402,801,463],vb:[408,402,801,463]},Image_10992:{type:15,from:4222,to:4371,rp:0,rpa:0,mdi:'Image_10992c',immo:false,apsn:'Slide514420973',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1849},Image_10992c:{b:[335,399,418,463],uid:515127434,sr:cp.fd,ip:'dr/515084048_83_64.png',dn:'Image_10992',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[335,399,418,463],vb:[335,399,418,463]},Slide514420973:{lb:'Objetivos',id:514420973,from:2374,to:4371,mmot:true,mdi:'Slide514420973c',st:'Normal Slide',audCC:[],vidCC:[],accstr:'Objetivos ',si:[{n:'Image_10971',t:15},{n:'Image_10972',t:15},{n:'Image_10973',t:15},{n:'Image_10974',t:15},{n:'Image_10975',t:15},{n:'Image_10976',t:15},{n:'Text_Caption_3042',t:19},{n:'Image_10968',t:15},{n:'Image_10970',t:15},{n:'Image_10969',t:15},{n:'SmartShape_10266',t:612},{n:'Text_Caption_3048',t:19},{n:'SmartShape_10267',t:612},{n:'Text_Caption_3049',t:19},{n:'SmartShape_10274',t:612},{n:'Text_Caption_3056',t:19},{n:'SmartShape_10275',t:612},{n:'Text_Caption_3057',t:19},{n:'SmartShape_10276',t:612},{n:'Text_Caption_3058',t:19},{n:'SmartShape_10277',t:612},{n:'Text_Caption_3059',t:19},{n:'SmartShape_10278',t:612},{n:'Text_Caption_3060',t:19},{n:'Image_10977',t:15},{n:'Image_10978',t:15},{n:'Image_10979',t:15},{n:'Image_10980',t:15},{n:'Image_10981',t:15},{n:'SmartShape_10279',t:612},{n:'Text_Caption_3061',t:19},{n:'SmartShape_10280',t:612},{n:'Text_Caption_3062',t:19},{n:'SmartShape_10281',t:612},{n:'Text_Caption_3063',t:19},{n:'SmartShape_10282',t:612},{n:'Text_Caption_3064',t:19},{n:'SmartShape_10283',t:612},{n:'Text_Caption_3065',t:19},{n:'Image_10987',t:15},{n:'Image_10988',t:15},{n:'Image_10989',t:15},{n:'Image_10990',t:15},{n:'Image_10991',t:15},{n:'SmartShape_10284',t:612},{n:'Text_Caption_3066',t:19},{n:'Image_10992',t:15}],iph:[],v:false,bc:'#ffffff',JSONTT_0:[],JSONTT_6:[],qs:'',g4:{a1:[[3733,'Text_Caption_3042scaleX'],[3733,'Text_Caption_3042scaleY'],[33,'Text_Caption_3048x'],[33,'Text_Caption_3048y'],[6033,'SmartShape_10267x'],[6033,'SmartShape_10267y'],[6033,'Text_Caption_3049x'],[6033,'Text_Caption_3049y'],[11233,'SmartShape_10274x'],[11233,'SmartShape_10274y'],[11233,'Text_Caption_3056x'],[11233,'Text_Caption_3056y'],[13733,'SmartShape_10275x'],[13733,'SmartShape_10275y'],[13733,'Text_Caption_3057x'],[13733,'Text_Caption_3057y'],[15933,'SmartShape_10276x'],[15933,'SmartShape_10276y'],[15933,'Text_Caption_3058x'],[15933,'Text_Caption_3058y'],[19833,'SmartShape_10277x'],[19833,'SmartShape_10277y'],[19833,'Text_Caption_3059x'],[19833,'Text_Caption_3059y'],[25333,'SmartShape_10278x'],[25333,'SmartShape_10278y'],[25333,'Text_Caption_3060x'],[25333,'Text_Caption_3060y'],[11233,'Image_10977alphaMultiplier'],[11233,'Image_10977scaleX'],[11233,'Image_10977scaleY'],[13733,'Image_10978alphaMultiplier'],[13733,'Image_10978scaleX'],[13733,'Image_10978scaleY'],[15933,'Image_10979alphaMultiplier'],[15933,'Image_10979scaleX'],[15933,'Image_10979scaleY'],[19833,'Image_10980alphaMultiplier'],[19833,'Image_10980scaleX'],[19833,'Image_10980scaleY'],[25333,'Image_10981alphaMultiplier'],[25333,'Image_10981scaleX'],[25333,'Image_10981scaleY'],[29333,'SmartShape_10279x'],[29333,'SmartShape_10279y'],[29333,'Text_Caption_3061x'],[29333,'Text_Caption_3061y'],[38233,'SmartShape_10280x'],[38233,'SmartShape_10280y'],[38233,'Text_Caption_3062x'],[38233,'Text_Caption_3062y'],[41833,'SmartShape_10281x'],[41833,'SmartShape_10281y'],[41833,'Text_Caption_3063x'],[41833,'Text_Caption_3063y'],[49933,'SmartShape_10282x'],[49933,'SmartShape_10282y'],[49933,'Text_Caption_3064x'],[49933,'Text_Caption_3064y'],[55133,'SmartShape_10283x'],[55133,'SmartShape_10283y'],[55133,'Text_Caption_3065x'],[55133,'Text_Caption_3065y'],[29333,'Image_10987alphaMultiplier'],[29333,'Image_10987scaleX'],[29333,'Image_10987scaleY'],[38233,'Image_10988alphaMultiplier'],[38233,'Image_10988scaleX'],[38233,'Image_10988scaleY'],[41833,'Image_10989alphaMultiplier'],[41833,'Image_10989scaleX'],[41833,'Image_10989scaleY'],[49933,'Image_10990alphaMultiplier'],[49933,'Image_10990scaleX'],[49933,'Image_10990scaleY'],[55133,'Image_10991alphaMultiplier'],[55133,'Image_10991scaleX'],[55133,'Image_10991scaleY'],[61633,'SmartShape_10284x'],[61633,'SmartShape_10284y'],[61633,'Text_Caption_3066x'],[61633,'Text_Caption_3066y'],[61633,'Image_10992alphaMultiplier'],[61633,'Image_10992scaleX'],[61633,'Image_10992scaleY']],c3:{},a2:{Text_Caption_3042scaleX:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3042',c0:10,b6:[0,0.5,100,1],b4:[]},Text_Caption_3042scaleY:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3042',c0:11,b6:[0,0.5,100,1],b4:[]},Text_Caption_3048x:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_3048',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3048y:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_3048',c0:13,b6:[0,0,100,0],b4:[]},SmartShape_10267x:{a6:300,j2:[0,0],a4:0,a3:'SmartShape_10267',c0:12,b6:[0,600,100,0],b4:[]},SmartShape_10267y:{a6:300,j2:[0,0],a4:0,a3:'SmartShape_10267',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3049x:{a6:300,j2:[0,0],a4:0,a3:'Text_Caption_3049',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3049y:{a6:300,j2:[0,0],a4:0,a3:'Text_Caption_3049',c0:13,b6:[0,0,100,0],b4:[]},SmartShape_10274x:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10274',c0:12,b6:[0,600,100,0],b4:[]},SmartShape_10274y:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10274',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3056x:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3056',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3056y:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3056',c0:13,b6:[0,0,100,0],b4:[]},SmartShape_10275x:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10275',c0:12,b6:[0,600,100,0],b4:[]},SmartShape_10275y:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10275',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3057x:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3057',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3057y:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3057',c0:13,b6:[0,0,100,0],b4:[]},SmartShape_10276x:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10276',c0:12,b6:[0,600,100,0],b4:[]},SmartShape_10276y:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10276',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3058x:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3058',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3058y:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3058',c0:13,b6:[0,0,100,0],b4:[]},SmartShape_10277x:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10277',c0:12,b6:[0,600,100,0],b4:[]},SmartShape_10277y:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10277',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3059x:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3059',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3059y:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3059',c0:13,b6:[0,0,100,0],b4:[]},SmartShape_10278x:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10278',c0:12,b6:[0,600,100,0],b4:[]},SmartShape_10278y:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10278',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3060x:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3060',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3060y:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3060',c0:13,b6:[0,0,100,0],b4:[]},Image_10977alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Image_10977',c0:14,b6:[0,0,100,1],b4:[]},Image_10977scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Image_10977',c0:10,b6:[0,0,100,1],b4:[]},Image_10977scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Image_10977',c0:11,b6:[0,0,100,1],b4:[]},Image_10978alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Image_10978',c0:14,b6:[0,0,100,1],b4:[]},Image_10978scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Image_10978',c0:10,b6:[0,0,100,1],b4:[]},Image_10978scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Image_10978',c0:11,b6:[0,0,100,1],b4:[]},Image_10979alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Image_10979',c0:14,b6:[0,0,100,1],b4:[]},Image_10979scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Image_10979',c0:10,b6:[0,0,100,1],b4:[]},Image_10979scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Image_10979',c0:11,b6:[0,0,100,1],b4:[]},Image_10980alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Image_10980',c0:14,b6:[0,0,100,1],b4:[]},Image_10980scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Image_10980',c0:10,b6:[0,0,100,1],b4:[]},Image_10980scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Image_10980',c0:11,b6:[0,0,100,1],b4:[]},Image_10981alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Image_10981',c0:14,b6:[0,0,100,1],b4:[]},Image_10981scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Image_10981',c0:10,b6:[0,0,100,1],b4:[]},Image_10981scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Image_10981',c0:11,b6:[0,0,100,1],b4:[]},SmartShape_10279x:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10279',c0:12,b6:[0,600,100,0],b4:[]},SmartShape_10279y:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10279',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3061x:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3061',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3061y:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3061',c0:13,b6:[0,0,100,0],b4:[]},SmartShape_10280x:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10280',c0:12,b6:[0,600,100,0],b4:[]},SmartShape_10280y:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10280',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3062x:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3062',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3062y:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3062',c0:13,b6:[0,0,100,0],b4:[]},SmartShape_10281x:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10281',c0:12,b6:[0,600,100,0],b4:[]},SmartShape_10281y:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10281',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3063x:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3063',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3063y:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3063',c0:13,b6:[0,0,100,0],b4:[]},SmartShape_10282x:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10282',c0:12,b6:[0,600,100,0],b4:[]},SmartShape_10282y:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10282',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3064x:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3064',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3064y:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3064',c0:13,b6:[0,0,100,0],b4:[]},SmartShape_10283x:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10283',c0:12,b6:[0,600,100,0],b4:[]},SmartShape_10283y:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10283',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3065x:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3065',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3065y:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3065',c0:13,b6:[0,0,100,0],b4:[]},Image_10987alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Image_10987',c0:14,b6:[0,0,100,1],b4:[]},Image_10987scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Image_10987',c0:10,b6:[0,0,100,1],b4:[]},Image_10987scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Image_10987',c0:11,b6:[0,0,100,1],b4:[]},Image_10988alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Image_10988',c0:14,b6:[0,0,100,1],b4:[]},Image_10988scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Image_10988',c0:10,b6:[0,0,100,1],b4:[]},Image_10988scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Image_10988',c0:11,b6:[0,0,100,1],b4:[]},Image_10989alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Image_10989',c0:14,b6:[0,0,100,1],b4:[]},Image_10989scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Image_10989',c0:10,b6:[0,0,100,1],b4:[]},Image_10989scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Image_10989',c0:11,b6:[0,0,100,1],b4:[]},Image_10990alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Image_10990',c0:14,b6:[0,0,100,1],b4:[]},Image_10990scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Image_10990',c0:10,b6:[0,0,100,1],b4:[]},Image_10990scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Image_10990',c0:11,b6:[0,0,100,1],b4:[]},Image_10991alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Image_10991',c0:14,b6:[0,0,100,1],b4:[]},Image_10991scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Image_10991',c0:10,b6:[0,0,100,1],b4:[]},Image_10991scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Image_10991',c0:11,b6:[0,0,100,1],b4:[]},SmartShape_10284x:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10284',c0:12,b6:[0,600,100,0],b4:[]},SmartShape_10284y:{a6:500,j2:[0,0],a4:0,a3:'SmartShape_10284',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3066x:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3066',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3066y:{a6:500,j2:[0,0],a4:0,a3:'Text_Caption_3066',c0:13,b6:[0,0,100,0],b4:[]},Image_10992alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Image_10992',c0:14,b6:[0,0,100,1],b4:[]},Image_10992scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Image_10992',c0:10,b6:[0,0,100,1],b4:[]},Image_10992scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Image_10992',c0:11,b6:[0,0,100,1],b4:[]}}}},Slide514420973c:{b:[0,0,0,0],sr:cp.fd,dn:'Slide514420973',visible:'1'},StAd5:{from:2374,to:4370,src:'ar/514420976.mp3',du:66594},StAd6:{from:4372,to:5176,src:'ar/517032992.mp3',du:26865},Image_11063:{type:15,from:4372,to:4695,rp:0,rpa:0,mdi:'Image_11063c',immo:false,apsn:'Slide517038189',trin:0,trout:0},Image_11063c:{b:[-1,-1,802,518],uid:517036078,sr:cp.fd,ip:'dr/516987182_803_519.png',dn:'Image_11063',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-1,-1,802,518],vb:[-1,-1,802,518]},Image_11064:{type:15,from:4372,to:4569,rp:0,rpa:0,mdi:'Image_11064c',immo:false,apsn:'Slide517038189',trin:0,trout:0},Image_11064c:{b:[-10,0,811,535],uid:517036084,sr:cp.fd,ip:'dr/516987176_821_535.png',dn:'Image_11064',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-10,0,811,535],vb:[-10,0,811,535]},Text_Caption_3119:{type:19,from:4384,to:4569,rp:0,rpa:0,mdi:'Text_Caption_3119c',immo:false,apsn:'Slide517038189',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:13},Text_Caption_3119c:{b:[95,189,152,255],uid:517037038,sr:cp.fd,ip:'dr/Text_Caption_3119.png',dn:'Text_Caption_3119',visible:1,JSONEffectData:true,accstr:'SI ',traccstr:'',ti:-1,vbwr:[95,189,152,255],vb:[95,189,152,255]},Text_Caption_3120:{type:19,from:4411,to:4569,rp:0,rpa:0,mdi:'Text_Caption_3120c',immo:false,apsn:'Slide517038189',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:40},Text_Caption_3120c:{b:[360,245,434,289],uid:517037063,sr:cp.fd,ip:'dr/Text_Caption_3120.png',dn:'Text_Caption_3120',visible:1,JSONEffectData:true,accstr:'SI ',traccstr:'',ti:-1,vbwr:[360,245,434,289],vb:[360,245,434,289]},Text_Caption_3121:{type:19,from:4465,to:4569,rp:0,rpa:0,mdi:'Text_Caption_3121c',immo:false,apsn:'Slide517038189',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:94},Text_Caption_3121c:{b:[234,251,308,330],uid:517037088,sr:cp.fd,ip:'dr/Text_Caption_3121.png',dn:'Text_Caption_3121',visible:1,JSONEffectData:true,accstr:'SI ',traccstr:'',ti:-1,vbwr:[234,251,308,330],vb:[234,251,308,330]},Text_Caption_3122:{type:19,from:4387,to:4569,rp:0,rpa:0,mdi:'Text_Caption_3122c',immo:false,apsn:'Slide517038189',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:16},Text_Caption_3122c:{b:[509,226,566,292],uid:517037113,sr:cp.fd,ip:'dr/Text_Caption_3122.png',dn:'Text_Caption_3122',visible:1,JSONEffectData:true,accstr:'SI ',traccstr:'',ti:-1,vbwr:[509,226,566,292],vb:[509,226,566,292]},Text_Caption_3123:{type:19,from:4399,to:4569,rp:0,rpa:0,mdi:'Text_Caption_3123c',immo:false,apsn:'Slide517038189',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:28},Text_Caption_3123c:{b:[670,189,727,255],uid:517037138,sr:cp.fd,ip:'dr/Text_Caption_3123.png',dn:'Text_Caption_3123',visible:1,JSONEffectData:true,accstr:'SI ',traccstr:'',ti:-1,vbwr:[670,189,727,255],vb:[670,189,727,255]},Text_Caption_3124:{type:19,from:4435,to:4569,rp:0,rpa:0,mdi:'Text_Caption_3124c',immo:false,apsn:'Slide517038189',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:64},Text_Caption_3124c:{b:[514,102,588,181],uid:517037163,sr:cp.fd,ip:'dr/Text_Caption_3124.png',dn:'Text_Caption_3124',visible:1,JSONEffectData:true,accstr:'SI ',traccstr:'',ti:-1,vbwr:[514,102,588,181],vb:[514,102,588,181]},Text_Caption_3125:{type:19,from:4414,to:4569,rp:0,rpa:0,mdi:'Text_Caption_3125c',immo:false,apsn:'Slide517038189',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:43},Text_Caption_3125c:{b:[267,115,324,181],uid:517037188,sr:cp.fd,ip:'dr/Text_Caption_3125.png',dn:'Text_Caption_3125',visible:1,JSONEffectData:true,accstr:'SI ',traccstr:'',ti:-1,vbwr:[267,115,324,181],vb:[267,115,324,181]},Image_11065:{type:15,from:4555,to:5013,rp:0,rpa:0,mdi:'Image_11065c',immo:false,apsn:'Slide517038189',trin:0,trout:0},Image_11065c:{b:[-1,-2,800,517],uid:517037194,sr:cp.fd,ip:'dr/517032948_801_519.png',dn:'Image_11065',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-1,-2,800,517],vb:[-1,-2,800,517]},Image_11066:{type:15,from:4618,to:5013,rp:0,rpa:0,mdi:'Image_11066c',immo:false,apsn:'Slide517038189',trin:0,trout:0},Image_11066c:{b:[10,-12,811,507],uid:517037200,sr:cp.fd,ip:'dr/517032954_801_519.png',dn:'Image_11066',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[10,-12,811,507],vb:[10,-12,811,507]},Image_11067:{type:15,from:4681,to:5013,rp:0,rpa:0,mdi:'Image_11067c',immo:false,apsn:'Slide517038189',trin:0,trout:0},Image_11067c:{b:[1,-12,802,507],uid:517037206,sr:cp.fd,ip:'dr/517032962_801_519.png',dn:'Image_11067',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[1,-12,802,507],vb:[1,-12,802,507]},Image_11068:{type:15,from:4771,to:5013,rp:0,rpa:0,mdi:'Image_11068c',immo:false,apsn:'Slide517038189',trin:0,trout:0},Image_11068c:{b:[1,-1,802,518],uid:517037212,sr:cp.fd,ip:'dr/517032968_801_519.png',dn:'Image_11068',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[1,-1,802,518],vb:[1,-1,802,518]},Image_11069:{type:15,from:4840,to:5013,rp:0,rpa:0,mdi:'Image_11069c',immo:false,apsn:'Slide517038189',trin:0,trout:0},Image_11069c:{b:[1,-12,802,507],uid:517037218,sr:cp.fd,ip:'dr/517032974_801_519.png',dn:'Image_11069',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[1,-12,802,507],vb:[1,-12,802,507]},Image_11070:{type:15,from:4909,to:5013,rp:0,rpa:0,mdi:'Image_11070c',immo:false,apsn:'Slide517038189',trin:0,trout:0},Image_11070c:{b:[0,0,801,519],uid:517037224,sr:cp.fd,ip:'dr/517032980_801_519.png',dn:'Image_11070',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[0,0,801,519],vb:[0,0,801,519]},Image_11071:{type:15,from:5011,to:5181,rp:0,rpa:0,mdi:'Image_11071c',immo:false,apsn:'Slide517038189',trin:0,trout:0},Image_11071c:{b:[-10,-8,809,523],uid:517037230,sr:cp.fd,ip:'dr/517032986_819_531.png',dn:'Image_11071',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[-10,-8,809,523],vb:[-10,-8,809,523]},SmartShape_10320:{type:612,from:4372,to:5181,rp:0,rpa:0,mdi:'SmartShape_10320c',immo:false,apsn:'Slide517038189',JSONTT_4:[],cpa:true,oca:'cp.jumpToNextSlide();',JSONTT_5:[],ofa:'cpCmndResume = 1;',trin:0,trout:0},SmartShape_10320c:{b:[-1,496,801,601],uid:517037257,dn:'SmartShape_10320',visible:1,JSONEffectData:false,accstr:' ',traccstr:'',ti:-1,sc:'#891334',sw:0,ss:0,fa:100,bc:'#891334',p0:[[0],[1,-1,496],[2,-1,601],[2,801,601],[2,801,496],[2,-1,496],[4]],vbwr:[-1,496,801,601],vb:[-1,496,801,601]},Text_Caption_3126:{type:19,from:4372,to:5181,rp:0,rpa:0,mdi:'Text_Caption_3126c',immo:false,apsn:'Slide517038189',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},Text_Caption_3126c:{b:[0,496,801,602],uid:517038164,sr:cp.fd,ip:'dr/Text_Caption_3126.png',dn:'Text_Caption_3126',visible:1,JSONEffectData:true,accstr:'Evaluación de la práctica laboral actual ',traccstr:'',ti:-1,vbwr:[0,496,801,602],vb:[0,496,801,602]},Image_11072:{type:15,from:5074,to:5181,rp:0,rpa:0,mdi:'Image_11072c',immo:false,apsn:'Slide517038189',trin:0,trout:0},Image_11072c:{b:[5,8,285,131],uid:517038170,sr:cp.fd,ip:'dr/493248134_280_123.png',dn:'Image_11072',visible:1,JSONEffectData:false,accstr:'Image ',traccstr:'',ti:-1,vbwr:[5,8,285,131],vb:[5,8,285,131]},Text_Caption_3127:{type:19,from:5074,to:5181,rp:0,rpa:0,mdi:'Text_Caption_3127c',immo:false,apsn:'Slide517038189',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:703},Text_Caption_3127c:{b:[118,33,271,97],uid:517038177,sr:cp.fd,ip:'dr/Text_Caption_3127.png',dn:'Text_Caption_3127',visible:1,JSONEffectData:true,accstr:'Elementos desperdiciadores del tiempo ',traccstr:'',ti:-1,vbwr:[118,33,271,97],vb:[118,33,271,97]},Click_Box_546:{type:13,from:5053,to:5181,rp:0,rpa:0,mdi:'Click_Box_546c',immo:false,apsn:'Slide517038189',JSONTT_4:[],cpa:true,oca:'cp.openURL(\'Elementos_desperdiciadores_del_tiempo.pdf\',\'_blank\');cpCmndPause = 1;',JSONTT_5:[],ofa:'cpCmndResume = 1;',chfn:cp.ch,osc:'',osct:0,ofc:'',ofct:0,pa:5180,enabled:1,ma:-1,pfc:1,dclk:false,rclk:false,amc:true,ca:'Click_Box_546ClkAd',eh:cp.cbKH,siq:false,sat:true,trin:0,trout:0},Click_Box_546c:{b:[11,7,294,127],uid:517038216,sr:cp.fd,dn:'Click_Box_546',visible:1,JSONEffectData:false,accstr:'Click Box ',traccstr:'',ti:-1,vbwr:[11,7,294,127],vb:[11,7,294,127]},Click_Box_546ClkAd:{src:'ar/Mouse.mp3',du:182},Slide517038189:{lb:'Objetivos',id:517038189,from:4372,to:5181,mmot:true,mdi:'Slide517038189c',st:'Normal Slide',audCC:[],vidCC:[],accstr:'Objetivos ',si:[{n:'Image_11063',t:15},{n:'Image_11064',t:15},{n:'Text_Caption_3119',t:19},{n:'Text_Caption_3120',t:19},{n:'Text_Caption_3121',t:19},{n:'Text_Caption_3122',t:19},{n:'Text_Caption_3123',t:19},{n:'Text_Caption_3124',t:19},{n:'Text_Caption_3125',t:19},{n:'Image_11065',t:15},{n:'Image_11066',t:15},{n:'Image_11067',t:15},{n:'Image_11068',t:15},{n:'Image_11069',t:15},{n:'Image_11070',t:15},{n:'Image_11071',t:15},{n:'SmartShape_10320',t:612},{n:'Text_Caption_3126',t:19},{n:'Image_11072',t:15},{n:'Text_Caption_3127',t:19},{n:'Click_Box_546',t:13,d:{cur:1}}],iph:[],ea:'Click_Box_546ClkAd',v:false,bc:'#ffffff',JSONTT_0:[],JSONTT_6:[],qs:'',g4:{a1:[[433,'Text_Caption_3119alphaMultiplier'],[433,'Text_Caption_3119scaleX'],[433,'Text_Caption_3119scaleY'],[1333,'Text_Caption_3120alphaMultiplier'],[1333,'Text_Caption_3120scaleX'],[1333,'Text_Caption_3120scaleY'],[3133,'Text_Caption_3121alphaMultiplier'],[3133,'Text_Caption_3121scaleX'],[3133,'Text_Caption_3121scaleY'],[533,'Text_Caption_3122alphaMultiplier'],[533,'Text_Caption_3122scaleX'],[533,'Text_Caption_3122scaleY'],[933,'Text_Caption_3123alphaMultiplier'],[933,'Text_Caption_3123scaleX'],[933,'Text_Caption_3123scaleY'],[2133,'Text_Caption_3124alphaMultiplier'],[2133,'Text_Caption_3124scaleX'],[2133,'Text_Caption_3124scaleY'],[1433,'Text_Caption_3125alphaMultiplier'],[1433,'Text_Caption_3125scaleX'],[1433,'Text_Caption_3125scaleY'],[33,'Text_Caption_3126x'],[33,'Text_Caption_3126y'],[23433,'Text_Caption_3127x'],[23433,'Text_Caption_3127y']],c3:{},a2:{Text_Caption_3119alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3119',c0:14,b6:[0,0,100,1],b4:[]},Text_Caption_3119scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3119',c0:10,b6:[0,0,100,1],b4:[]},Text_Caption_3119scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3119',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3120alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3120',c0:14,b6:[0,0,100,1],b4:[]},Text_Caption_3120scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3120',c0:10,b6:[0,0,100,1],b4:[]},Text_Caption_3120scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3120',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3121alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3121',c0:14,b6:[0,0,100,1],b4:[]},Text_Caption_3121scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3121',c0:10,b6:[0,0,100,1],b4:[]},Text_Caption_3121scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3121',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3122alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3122',c0:14,b6:[0,0,100,1],b4:[]},Text_Caption_3122scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3122',c0:10,b6:[0,0,100,1],b4:[]},Text_Caption_3122scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3122',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3123alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3123',c0:14,b6:[0,0,100,1],b4:[]},Text_Caption_3123scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3123',c0:10,b6:[0,0,100,1],b4:[]},Text_Caption_3123scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3123',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3124alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3124',c0:14,b6:[0,0,100,1],b4:[]},Text_Caption_3124scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3124',c0:10,b6:[0,0,100,1],b4:[]},Text_Caption_3124scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3124',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3125alphaMultiplier:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3125',c0:14,b6:[0,0,100,1],b4:[]},Text_Caption_3125scaleX:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3125',c0:10,b6:[0,0,100,1],b4:[]},Text_Caption_3125scaleY:{a6:1000,j2:[0,0],a4:0,a3:'Text_Caption_3125',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_3126x:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_3126',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3126y:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_3126',c0:13,b6:[0,0,100,0],b4:[]},Text_Caption_3127x:{a6:300,j2:[0,0],a4:0,a3:'Text_Caption_3127',c0:12,b6:[0,600,100,0],b4:[]},Text_Caption_3127y:{a6:300,j2:[0,0],a4:0,a3:'Text_Caption_3127',c0:13,b6:[0,0,100,0],b4:[]}}}},Slide517038189c:{b:[0,0,0,0],sr:cp.fd,dn:'Slide517038189',visible:'1'},StAd7:{from:5182,to:5483,src:'ar/511496606.mp3',du:10134},Image_10356:{type:15,from:5182,to:5484,rp:0,rpa:0,mdi:'Image_10356c',immo:false,apsn:'Slide476522951',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},Image_10356c:{b:[156,212,656,373],uid:476522899,sr:cp.fd,ip:'dr/476522034_500_161.png',dn:'Image_10356',visible:1,JSONEffectData:true,accstr:'Image ',traccstr:'',ti:-1,vbwr:[156,212,656,373],sh:{i:false,a:45,d:3,b:4,o:0.4,c:'rgb(0, 0, 0)'},vb:[156,212,660,377]},Text_Caption_2640:{type:19,from:5182,to:5484,rp:0,rpa:0,mdi:'Text_Caption_2640c',immo:false,apsn:'Slide476522951',trin:0,trout:0,xorig:0.5,yorig:0.5,sf:1},Text_Caption_2640c:{b:[173,238,642,371],uid:476522931,sr:cp.fd,ip:'dr/Text_Caption_2640.png',dn:'Text_Caption_2640',visible:1,JSONEffectData:true,accstr:'Haz clic para ir a la siguiente parte ',traccstr:'',ti:-1,vbwr:[173,238,642,371],sh:{i:false,a:45,d:3,b:4,o:0.4,c:'rgb(0, 0, 0)'},vb:[173,238,646,375]},Click_Box_547:{type:13,from:5182,to:5484,rp:0,rpa:0,mdi:'Click_Box_547c',immo:false,apsn:'Slide476522951',JSONTT_4:[],cpa:true,oca:'cp.openURL(\'http://escueladenegocios.atlas.com.py/pluginfile.php/10089/mod_resource/content/4/2-Parte/index.html\',\'_self\');cpCmndResume = 1;',JSONTT_5:[],ofa:'cpCmndResume = 1;',chfn:cp.ch,osc:'',osct:0,ofc:'',ofct:0,pa:5483,enabled:1,ma:-1,pfc:1,dclk:false,rclk:false,amc:true,ca:'Click_Box_547ClkAd',eh:cp.cbKH,siq:false,sat:true,trin:0,trout:0},Click_Box_547c:{b:[142,185,689,409],uid:517038217,sr:cp.fd,dn:'Click_Box_547',visible:1,JSONEffectData:false,accstr:'Click Box ',traccstr:'',ti:-1,vbwr:[142,185,689,409],vb:[142,185,689,409]},Click_Box_547ClkAd:{src:'ar/Mouse.mp3',du:182},Slide476522951:{lb:'',id:476522951,from:5182,to:5484,mmot:false,mdi:'Slide476522951c',st:'Normal Slide',audCC:[],vidCC:[],accstr:' ',si:[{n:'Image_10356',t:15},{n:'Text_Caption_2640',t:19},{n:'Click_Box_547',t:13,d:{cur:1}}],iph:[],ea:'Click_Box_547ClkAd',v:false,bc:'#891334',JSONTT_0:[],JSONTT_6:[],qs:'',g4:{a1:[[33,'Image_10356alphaMultiplier'],[33,'Image_10356scaleX'],[33,'Image_10356scaleY'],[33,'Text_Caption_2640alphaMultiplier'],[33,'Text_Caption_2640scaleX'],[33,'Text_Caption_2640scaleY']],c3:{},a2:{Image_10356alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Image_10356',c0:14,b6:[0,0,100,1],b4:[]},Image_10356scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Image_10356',c0:10,b6:[0,0,100,1],b4:[]},Image_10356scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Image_10356',c0:11,b6:[0,0,100,1],b4:[]},Text_Caption_2640alphaMultiplier:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_2640',c0:14,b6:[0,0,100,1],b4:[]},Text_Caption_2640scaleX:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_2640',c0:10,b6:[0,0,100,1],b4:[]},Text_Caption_2640scaleY:{a6:1966,j2:[0,0],a4:0,a3:'Text_Caption_2640',c0:11,b6:[0,0,100,1],b4:[]}}}},Slide476522951c:{b:[0,0,0,0],sr:cp.fd,dn:'Slide476522951',visible:'1'},quizzingData:{allowBackwardMovement:true,allowReviewMode:true,isInReviewMode:false,allowSkipAnyScoreSlide:true,allowSkipFailScoreSlide:true,allowSkipPassScoreSlide:true,anyGradeAction:'',anyGradeActionArg1:'',anyGradeActionArg2:'',defaultActionType:'continue',defaultActionArg1:'',defaultActionArg2:'',failedScoreFeedback:'Lo sentimos, ¡ha suspendido!',failingGradeAction:'cpCmndResume = 1;',JSONTT_5:[],passedScoreFeedback:'Enhorabuena, ha aprobado la prueba.',passingGradeAction:'cpCmndResume = 1;',JSONTT_4:[],pretestAction:'',it:false,anyScoreSlide:-1,firstSlideInQuiz:-1,lastSlideInQuiz:-1,quizScopeEndSlide:-1,maxScore:0,minScore:0,maxPretestScore:0,numQuestionsInQuiz:0,numQuizAttemptsAllowed:1,passingScore:0,quizInfoCurrentAttempt:0,quizInfoPercentScored:0,quizProgress:'',questionAdvance:'optional',quizAdvance:'optional',quizID:455,showFinishButton:true,showProgress:true,questionPoolsInitialized:true,quizInfoAnswerChoice:'',quizInfoAttempts:1,quizInfoLastSlidePointScored:0,quizInfoMaxAttemptsOnCurrentQuestion:1,quizInfoPassFail:0,quizInfoPointsPerQuestionSlide:0,quizInfoPointsScored:0,quizInfoQuestionSlideTiming:0,quizInfoQuestionSlideType:'',quizInfoQuizPassPercent:80,quizInfoQuizPassPoints:0,quizInfoTotalCorrectAnswers:0,quizInfoTotalProjectPoints:0,quizInfoTotalQuestionsPerProject:0,quizInfoTotalQuizPoints:0,quizInfoTotalUnansweredQuestions:0,reportingVariables:0,reportingEnabled:false,submitAll:false,hidePlaybarInQuiz:false,quizBranchAware:false,passFailPassingScoreTypeInPrecent:true,passFailPassingScoreValue:80,progressIndicatorType:0,rpViDv:'Esta diapositiva se ha visualizado en un dispositivo con otra anchura.',progressIndicatorString:'Pregunta %d de %d    '},rtDialog:{rtbgfc:'#343434',rtbgsc:'#ffffff',rtbtnfc:'#000000',rtbtnsc:'#ffffff',rtsc:'#ffffff',rttc:'#ffffff',rttsc:'#1a1a1a',rtfn:'MyriadPro-Regular',rtt:'Enviar todo',rtsam:'Ha respondido a todas las preguntas. ¿Qué desea hacer a continuación?',rtiqm:'Hay una o más preguntas incompletas. Debe responder a todas las preguntas para continuar.',rtsiqm:'Aún quedan preguntas sin responder. ¿Seguro que desea continuar sin responder a esas preguntas?',rtsanym:'Ha llegado al final de la prueba pero aún hay preguntas sin responder. ¿Qué desea hacer?',rtmtqm:'Debe contestar al menos una pregunta para continuar.',rtokb:'OK',rtcb:'CANCELAR',rtyb:'SÍ',rtnb:'NO',rtsab:'Enviar todas las respuestas',rtsanyb:'Enviar de todos modos',rtrtqb:'Regresar a prueba',rtWarningTitle:'Adobe Captivate',rtUnsupportedBowser:'El archivo que quiere ver incluye contenido no admitido por este navegador. Utilice uno de los siguientes:<ul><li>Internet Explorer 9 o posterior</li><li>Safari 5.1 o posterior</li><li>Google Chrome 17 o posterior</li></ul>'},sgMgr:{ri:0,sg:[[0,[[1,[2,23]]]],[1,[[2,[23,2,2,2,2]]]],[2,[[3,[23,2,2,2,2]]]],[3,[[4,[2,23]]]],[4,[[5,[2,23,2,2]]]],[5,[[6,[2,2,23,2,2,2,2,2,2,2,2,2,2,2]]]],[6,[[7,[2,23]]]]]},project:{fps:30,hasTOC:0,w:801,h:600,prjBgColor:'#ffffff',pkt:0,htmlBgColor:'#e6e6e6',shc:true,pN:'1ra_part'},project_main:{from:1,to:5484,currentFrame:1,useResponsive:false,currentFrame:1,useWidgetVersion7:false,isPublishedFromLacuna:false,slideAudios:'StAd1,StAd2,StAd3,StAd4,StAd5,StAd6,StAd7',slides:'Slide395430600,Slide338324790,Slide513500854,Slide516987170,Slide433430815,Slide514420973,Slide517038189,Slide476522951',questions:'',autoplay:true,preloader:true,preloaderFileName:'dr/loading.gif',preloaderPercentage:1,preloaderimagel:385,preloaderimaget:285,pprtd:false,peon:false,fadeInAtStart:0,fadeOutAtEnd:0,endAction:'cp.stopMovie();'},borderProperties:{hasBorder:true,l:30,t:30,r:30,b:30,w:861,h:660,hasSqEd:false,bc:'#891334'},playBarProperties:{hasPlayBar:true,jsfile:'playbarScript.js',cssfile:'playbarStyle.css',position:3,layout:3,showOnHover:false,overlay:false,tworow:false,hasRewind:true,hasBackward:true,hasPlay:true,hasSlider:true,hasForward:true,hasCC:false,hasAudioOn:true,hasExit:true,hasFastForward:false,applyColors:true,BkColor:{bc:'#891334',alpha:100},FaceColor:{bc:'#bfbfbf',alpha:100},GlowColor:{bc:'#ffffff',alpha:100},IconColor:{bc:'#333333',alpha:100},alpha:100,noToolTips:false,locale:6},tocProperties:{},ccProperties:{w:801,h:57,lc:3,c:'#ffffff',o:49,f:'Times New Roman',fs:12,tc:'#000000'},trecs:[{link:395430600,text:['Bienvenido, bienvenida al curso “Administración del tiempo”']},{link:338324790,text:['Objetivo','','El objetivo del mismo consiste en adoptar prácticas  que permitan manejar eficazmente uno de los más... ','...de nuestro Banco, con una gestión eficiente,  acorde a las políticas y procedimientos vigentes.','','...valiosos recursos que todos tenemos a nuestra disposición: el tiempo, con  el fin de obtener mejores resultados y –a la par- una mejor calidad de vida.']},{link:513500854,text:['Nuestras  percepciones  sobre el recurso tiempo','“El día no tiene suficientes horas o hay demasiado que hacer y no hay suficiente tiempo para hacerlo todo”','Nuestras percepciones sobre el recurso tiempo','','El tiempo escasea más y más. Si se pregunta a un grupo de jefes cuál  es su problema más apremiante en el trabajo, habrán de decir... ','','No sorprende entonces, dadas las presiones de la vida en las empresas,  que muchas personas dejan que sus días se les escurran de las manos y... ','','...pierdan de vista el panorama más extenso, bajo la presión  de las demandas cotidianas y las constantes interrupciones.']},{link:516987170,text:['Nuestras percepciones ','Más sobre nuestras percepciones ']},{link:433430815,text:['¿Qué significa la administración del tiempo?','¿Qué significa la  administración  del tiempo?','','La administración del tiempo se puede definir como una  manera de ser y una forma de vivir, al reconocerse...','','...que el tiempo es uno de los recursos más  importantes y críticos en la vida de las personas.']},{link:514420973,text:['¿Por qué me  falta tiempo?','Evaluación de la práctica laboral actual','','Un ejercicio útil consiste en contestar sinceramente a las siguientes preguntas:','','¿Sientes que siempre te falta tiempo?','','¿Sientes que tienes mucho qué hacer?','','¿Te sientes agobiado por todo lo  que le sucede en la oficina?','','¿Sientes que la mayor parte del tiempo,  estás enterrado en montañas de papeles?','','¿Quisiera tener más tiempo del que  dispones, para hacer lo que quieres?','','¿Trabajas horas extras con frecuencia, por las noches,  o durante el fin de semana, para ponerte al día en  asuntos que no puedes hacer durante horas hábiles?','','¿Te pones tenso por lo que no logras hacer?','','¿No puedes enfocarte en el mejoramiento a largo  plazo de tu vida y tu trabajo, porque estás sujeto/a  a una crisis continua o a una carga excesiva de trabajo?','','¿Te pregunta si realmente estás logrando  lo que quieres en tu trabajo y en tu vida?','','¿Te gustaría obtener mejores resultados  en relación con el tiempo y esfuerzo  que inviertes en tu trabajo?','','¿Te gustaría descansar o tomar  vacaciones con mayor frecuencia?']},{link:517038189,text:['SI','SI','SI','SI','SI','SI','SI','Evaluación de la práctica laboral actual','Elementos desperdiciadores del tiempo']},{link:476522951,text:['Haz clic para ir a la siguiente parte']}]};cp.model.projectImages=['assets/htmlimages/img_trans.gif','assets/htmlimages/placeholder.png'];cp.model.images=['dr/476522034_500_161.png','dr/478853889_821_535.png','dr/493248134_280_123.png','dr/513492489_821_535.png','dr/513492501_821_535.png','dr/513492507_821_535.png','dr/513492513_821_535.png','dr/513492519_821_535.png','dr/513495242_820_535.png','dr/513495248_821_535.png','dr/513495254_821_535.png','dr/513500855_925_603.png','dr/514400458_821_535.png','dr/514401426_821_535.png','dr/514401432_821_535.png','dr/514404367_821_535.png','dr/514419733_821_535.png','dr/514419739_821_535.png','dr/515084048_83_64.png','dr/515538897_821_535.png','dr/515539821_821_535.png','dr/515539827_821_535.png','dr/516106362_821_535.png','dr/516106377_261_535.png','dr/516106383_300_535.png','dr/516106389_260_535.png','dr/516106404_821_535.png','dr/516336337_821_535.png','dr/516509749_821_535.png','dr/516683161_821_535.png','dr/516987176_821_535.png','dr/516987182_803_519.png','dr/517032948_801_519.png','dr/517032954_801_519.png','dr/517032962_801_519.png','dr/517032968_801_519.png','dr/517032974_801_519.png','dr/517032980_801_519.png','dr/517032980_801_522.png','dr/517032986_819_531.png','dr/SmartShape_10267.png','dr/SmartShape_10274.png','dr/SmartShape_10275.png','dr/SmartShape_10276.png','dr/SmartShape_10277.png','dr/SmartShape_10278.png','dr/SmartShape_10279.png','dr/SmartShape_10280.png','dr/SmartShape_10281.png','dr/SmartShape_10282.png','dr/SmartShape_10283.png','dr/SmartShape_10284.png','dr/SmartShape_10287.png','dr/SmartShape_10288.png','dr/SmartShape_10289.png','dr/SmartShape_10290.png','dr/SmartShape_10291.png','dr/SmartShape_10292.png','dr/SmartShape_9192.png','dr/Text_Caption_1357.png','dr/Text_Caption_1499.png','dr/Text_Caption_2094.png','dr/Text_Caption_2176.png','dr/Text_Caption_2640.png','dr/Text_Caption_2641.png','dr/Text_Caption_3039.png','dr/Text_Caption_3040.png','dr/Text_Caption_3041.png','dr/Text_Caption_3042.png','dr/Text_Caption_3048.png','dr/Text_Caption_3049.png','dr/Text_Caption_3056.png','dr/Text_Caption_3057.png','dr/Text_Caption_3058.png','dr/Text_Caption_3059.png','dr/Text_Caption_3060.png','dr/Text_Caption_3061.png','dr/Text_Caption_3062.png','dr/Text_Caption_3063.png','dr/Text_Caption_3064.png','dr/Text_Caption_3065.png','dr/Text_Caption_3066.png','dr/Text_Caption_3067.png','dr/Text_Caption_3068.png','dr/Text_Caption_3069.png','dr/Text_Caption_3070.png','dr/Text_Caption_3071.png','dr/Text_Caption_3072.png','dr/Text_Caption_3073.png','dr/Text_Caption_3089.png','dr/Text_Caption_3109.png','dr/Text_Caption_3119.png','dr/Text_Caption_3120.png','dr/Text_Caption_3121.png','dr/Text_Caption_3122.png','dr/Text_Caption_3123.png','dr/Text_Caption_3124.png','dr/Text_Caption_3125.png','dr/Text_Caption_3126.png','dr/Text_Caption_3127.png'];cp.model.videos=[];cp.model.slideVideos=[];cp.model.tocVideos=[];cp.model.audios=['ar/StAd0.mp3','ar/514401438.mp3','ar/517038193.mp3','ar/Mouse.mp3','ar/514420974.mp3','ar/514420976.mp3','ar/517032992.mp3','ar/511496606.mp3'];cp.initVariables = function(){cp.cv('CaptivateVersion','8.0.0',1,1000);cp.cv('cpCmndCC',0,1,15);cp.cv('cpCmndExit',0,1,15);cp.cv('cpCmndMute',0,1,15);cp.cv('cpCmndPause',0,1,15);cp.cv('cpCmndPlaybarMoved',0,1,15);cp.cv('cpCmndPrevious',0,1,15);cp.cv('cpCmndResume',0,1,15);cp.cv('cpCmndShowPlaybar',1,1,15);cp.cv('cpCmndTOCVisible',0,1,15);cp.cv('cpCmndVolume',100,1,15);cp.cv('cpInQuizScope',0,1,15);cp.cv('cpInReviewMode',0,1,15);cp.cv('cpInfoAuthor','author',1,15);cp.cv('cpInfoCompany','company',1,15);cp.cv('cpInfoCopyright','copyright',1,15);cp.cv('cpInfoCourseID',-1,1,15);cp.cv('cpInfoCourseName','Course Name',1,15);cp.cv('cpInfoCurrentDate','dd',1,15);cp.cv('cpInfoCurrentDateString','mm/dd/yyyy',1,15);cp.cv('cpInfoCurrentDateStringDDMMYYYY','dd/mm/yyyy',1,15);cp.cv('cpInfoCurrentDay',1,1,15);cp.cv('cpInfoCurrentFrame',1,1,15);cp.cv('cpInfoCurrentHour','hh',1,15);cp.cv('cpInfoCurrentLocaleDateString','',1,15);cp.cv('cpInfoCurrentMinutes','mm',1,15);cp.cv('cpInfoCurrentMonth','mm',1,15);cp.cv('cpInfoCurrentSlide',1,1,15);cp.cv('cpInfoCurrentSlideLabel','slide',1,15);cp.cv('cpInfoCurrentSlideType','Normal',1,15);cp.cv('cpInfoCurrentTime','hh:mm:ss',1,15);cp.cv('cpInfoCurrentYear','yyyy',1,15);cp.cv('cpInfoDescription','project description',1,15);cp.cv('cpInfoElapsedTimeMS',0,1,15);cp.cv('cpInfoEmail','author@company.com',1,15);cp.cv('cpInfoEpochMS',0,1,15);cp.cv('cpInfoFPS',1,1,15);cp.cv('cpInfoFrameCount',1,1,15);cp.cv('cpInfoGeoLocation','',1,15);cp.cv('cpInfoHasPlaybar',1,1,1000);cp.cv('cpInfoIsStandalone',1,1,15);cp.cv('cpInfoLastVisitedSlide',0,1,15);cp.cv('cpInfoMobileOS',0,1,15);cp.cv('cpInfoPercentage',0,1,15);cp.cv('cpInfoPrevSlide',-1,1,15);cp.cv('cpInfoProjectName','',1,15);cp.cv('cpInfoSlideCount',1,1,15);cp.cv('cpInfoSlidesInProject',8,1,1000);cp.cv('cpInfoWebsite','www.company.com',1,15);cp.cv('cpLockTOC',0,1,1000);cp.cv('cpQuizInfoAnswerChoice','',1,15);cp.cv('cpQuizInfoAttempts',0,1,15);cp.cv('cpQuizInfoLastSlidePointScored',0,1,15);cp.cv('cpQuizInfoMaxAttemptsOnCurrentQuestion',0,1,15);cp.cv('cpQuizInfoNegativePointsOnCurrentQuestionSlide',0,1,15);cp.cv('cpQuizInfoPassFail',0,1,15);cp.cv('cpQuizInfoPointsPerQuestionSlide',0,1,15);cp.cv('cpQuizInfoPointsscored',0,1,15);cp.cv('cpQuizInfoPreTestMaxScore',0,1,15);cp.cv('cpQuizInfoPreTestTotalCorrectAnswers',0,1,15);cp.cv('cpQuizInfoPreTestTotalQuestions',0,1,1000);cp.cv('cpQuizInfoPretestPointsscored',0,1,15);cp.cv('cpQuizInfoPretestScorePercentage',0,1,15);cp.cv('cpQuizInfoQuestionPartialScoreOn',0,1,15);cp.cv('cpQuizInfoQuestionSlideTiming',0,1,15);cp.cv('cpQuizInfoQuestionSlideType','choice',1,15);cp.cv('cpQuizInfoQuizPassPercent',80,1,1000);cp.cv('cpQuizInfoQuizPassPoints',0,1,1000);cp.cv('cpQuizInfoTotalCorrectAnswers',0,1,15);cp.cv('cpQuizInfoTotalProjectPoints',0,1,15);cp.cv('cpQuizInfoTotalQuestionsPerProject',0,1,15);cp.cv('cpQuizInfoTotalQuizPoints',0,1,1000);cp.cv('cpQuizInfoTotalUnansweredQuestions',0,1,15);cp.cv('cpInfoPrevFrame',0,1,15);cp.cv('Text_Entry_Box_1','',0,15);cp.cv('cpQuizInfoStudentID','',0,15);cp.cv('cpQuizInfoStudentName','',0,15);};cp.ReportingVariables="Text_Entry_Box_1,";};cp.sbw=0;cp.useg=0;cp.geo=0;cp.pg=0;cp.win8=0;cp.autoGrow=1;cp.fluidFont=1;;var RuntimeBrowserDetect={init:function(a,c,e){this.BrowserEnum||(this.BrowserEnum={},this.BrowserEnum.UNKNOWN=0,this.BrowserEnum.MSIE=1,this.BrowserEnum.FIREFOX=2,this.BrowserEnum.CHROME=3,this.BrowserEnum.SAFARI=4,this.BrowserEnum.NETSCAPE=5,this.BrowserEnum.OPERA=6,this.BrowserEnum.CAMINO=7,this.BrowserEnum.FIREBIRD=8,this.BrowserEnum.MSIE_MIN_SUPPORTED_VERSION=9,this.BrowserEnum.CHROME_MIN_SUPPORTED_VERSION=17,this.BrowserEnum.SAFARI_MIN_SUPPORTED_VERSION=5.1);this.DeviceEnum||(this.DeviceEnum=
{},this.DeviceEnum.DESKTOP=0,this.DeviceEnum.IDEVICE=1,this.DeviceEnum.ANDROID=2);this.browserVersion=this.browser=this.BrowserEnum.UNKNOWN;this.device=this.DeviceEnum.DESKTOP;navigator.userAgent.match(/(iPhone|iPad|iPod)/i)?this.device=this.DeviceEnum.IDEVICE:navigator.userAgent.match(/android/i)&&(this.device=this.DeviceEnum.ANDROID);navigator.userAgent.match(/MSIE/i)?(this.browser=this.BrowserEnum.MSIE,this.browserVersion=this.getCurrentBrowserVersion(navigator.userAgent,"MSIE")||this.getCurrentBrowserVersion(navigator.appVersion,
"MSIE")||this.BrowserEnum.UNKNOWN):navigator.userAgent.match(/Firefox/i)?(this.browser=this.BrowserEnum.FIREFOX,this.browserVersion=this.getCurrentBrowserVersion(navigator.userAgent,"Firefox")||this.getCurrentBrowserVersion(navigator.appVersion,"Firefox")||this.BrowserEnum.UNKNOWN):navigator.userAgent.match(/Chrome/i)?(this.browser=this.BrowserEnum.CHROME,this.browserVersion=this.getCurrentBrowserVersion(navigator.userAgent,"Chrome")||this.getCurrentBrowserVersion(navigator.appVersion,"Chrome")||
this.BrowserEnum.UNKNOWN):navigator.userAgent.match(/Safari/i)?(this.browser=this.BrowserEnum.SAFARI,this.browserVersion=this.getCurrentBrowserVersion(navigator.userAgent,"Version")||this.getCurrentBrowserVersion(navigator.appVersion,"Version")||this.BrowserEnum.UNKNOWN):navigator.userAgent.match(/Netscape/i)?(this.browser=this.BrowserEnum.NETSCAPE,this.browserVersion=this.getCurrentBrowserVersion(navigator.userAgent,"Netscape")||this.getCurrentBrowserVersion(navigator.appVersion,"Netscape")||this.BrowserEnum.UNKNOWN):
navigator.userAgent.match(/Opera/i)?(this.browser=this.BrowserEnum.OPERA,this.browserVersion=this.getCurrentBrowserVersion(navigator.userAgent,"Version")||this.getCurrentBrowserVersion(navigator.appVersion,"Version")||this.BrowserEnum.UNKNOWN):navigator.userAgent.match(/Camino/i)?(this.browser=this.BrowserEnum.CAMINO,this.browserVersion=this.getCurrentBrowserVersion(navigator.userAgent,"Camino")||this.getCurrentBrowserVersion(navigator.appVersion,"Camino")||this.BrowserEnum.UNKNOWN):navigator.userAgent.match(/Firebird/i)?
this.browser=this.BrowserEnum.FIREBIRD:navigator.userAgent.match(/Trident/i)&&"netscape"==navigator.appName.toLowerCase()&&(this.browser=this.BrowserEnum.MSIE,this.browserVersion=this.getCurrentBrowserVersion(navigator.userAgent,"rv")||this.BrowserEnum.UNKNOWN);this.getIsBrowserSupported()||this.showRuntimeWarning(a,c,e)},getCurrentBrowserVersion:function(a,c){var e=a.indexOf(c);return-1==e?this.BrowserEnum.UNKNOWN:parseFloat(a.substring(e+c.length+1))},getIsBrowserSupported:function(){var a=!1;this.browser==
this.BrowserEnum.MSIE&&this.browserVersion>=this.BrowserEnum.MSIE_MIN_SUPPORTED_VERSION?a=!0:this.browser==this.BrowserEnum.CHROME&&this.browserVersion>=this.BrowserEnum.CHROME_MIN_SUPPORTED_VERSION?a=!0:this.browser==this.BrowserEnum.SAFARI&&this.browserVersion>=this.BrowserEnum.SAFARI_MIN_SUPPORTED_VERSION&&(a=!0);return a},getPanelElement:function(a,c,e,d,f){var b=document.createElement("div");b.style.left=a;b.style.top=c;b.style.width=e;b.style.height=d;b.style.backgroundColor=f;b.style.border=
"1px solid #666666";b.style.borderRadius="14px";return b},getTextElement:function(a,c,e,d,f){var b=document.createElement("div");b.style.color=e;b.style.fontFamily=d;b.style.fontSize="14px";b.style.textAlign="left";b.style.left=a;b.style.top=c;b.style.position="relative";b.style.opacity=1;b.innerHTML=f;return b},showRuntimeWarning:function(a,c,e){if(document.body){var d=document.createElement("div");d.id="CPUnSupportedBrowserWarning_ID";var f=this.getPanelElement("0px","0px","455px","220px","#CCCCCC");
f.style.margin="100px auto";"boxShadow"in f.style&&(f.style.boxShadow="1px 1px 1px #000000");d.appendChild(f);var b=this.getPanelElement("2px","2px","450px","215px","#FEFEFE");b.style.position="relative";f.appendChild(b);c=this.getTextElement("10px","10px","#000000","Tahoma",c);b.appendChild(c);c=document.createElement("div");c.style.height="2px";c.style.backgroundColor="#000000";c.style.opacity=0.5;c.style.position="relative";c.style.marginLeft="10px";c.style.marginRight="10px";c.style.top="20px";
b.appendChild(c);a=this.getTextElement("10px","30px","#000000","Tahoma",a);a.style.marginRight="10px";b.appendChild(a);a=this.getPanelElement("0px","auto","100px","33px","#CCCCCC");a.style.bottom="10px";a.style.opacity=0.7;a.style.position="absolute";a.style.cursor="pointer";cp.registerGestureEvent(a,cp.GESTURE_EVENT_TYPES.TAP,function(){var a=document.getElementById("CPUnSupportedBrowserWarning_ID");a!=void 0&&document.body.removeChild(a)});"boxShadow"in a.style&&(a.style.boxShadow="1px 1px 1px #000000");
e=this.getTextElement("0px","5px","#000000","Tahoma",e);e.style.textAlign="center";a.appendChild(e);b.appendChild(a);document.body.appendChild(d);d.style.visibility="visible";d.style.position="absolute";d.style.left="0px";d.style.top="0px";d.style.width="100%";d.style.height="100%";d.style.textAlign="center";d.style.zIndex="1000";d.style.backgroundColor="CCCCCC";a.style.left=(b.clientWidth-a.clientWidth)/2+"px"}}};
cp.rtInherits=function(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.baseConstructor=b;a.superClass=b.prototype};cp.HexToRGBA=function(a,b){if(void 0==a)return a;var c=a;"#"==c.charAt(0)&&(c=c.substring(1));if(6>c.length)return a;var d=parseInt(c.substring(0,2),16),e=parseInt(c.substring(2,4),16),c=parseInt(c.substring(4,6),16);return"rgba("+d+","+e+","+c+","+b+")"};
cp.RuntimeDialogSeparator=function(a,b,c){this.m_parent=a;this.m_XPos=b;this.m_YPos=c;this.m_color="#000000";this.m_alpha=0.5;this.m_size=10;this.m_strokeWidth=2;this.m_shadowColor="#FFFFFF";this.m_shadowAlpha=0.65;this.m_shadowAngle=270;this.m_shadowBlur=2;this.m_shadowDistance=1};
cp.RuntimeDialogSeparator.prototype={setColor:function(a){this.m_color=a},setAlpha:function(a){this.m_alpha=a},setSize:function(a){this.m_size=a},setShadowColor:function(a){this.m_shadowColor=a},getComponentDiv:function(){var a=document.createElement("div");a.style.height=this.m_strokeWidth+"px";a.style.backgroundColor=this.m_color;a.style.opacity=this.m_alpha;a.style.position="relative";a.style.marginLeft=this.m_XPos+"px";a.style.marginRight=this.m_XPos+"px";a.style.top=this.m_YPos+"px";"webkitBoxShadow"in
a.style?a.style.webkitBoxShadow=this.m_shadowDistance+"px "+this.m_shadowDistance+"px "+this.m_shadowBlur+"px "+this.m_shadowColor:"MozBoxShadow"in a.style?a.style.MozBoxShadow=this.m_shadowDistance+"px "+this.m_shadowDistance+"px "+this.m_shadowBlur+"px "+this.m_shadowColor:a.style.boxShadow=this.m_shadowDistance+"px "+this.m_shadowDistance+"px "+this.m_shadowBlur+"px "+this.m_shadowColor;return a}};
cp.RuntimeDialogText=function(a,b,c){this.m_parent=a;this.m_fontName="Myriad Pro";this.m_XPos=b;this.m_YPos=c;this.m_fontSize=14;this.m_fontColor="#ff0000";this.m_text="Sample Text";this.m_multiline=!1;this.m_maxWidth=400;this.m_maxHeight=80;this.m_shadowColor="#FFFFFF";this.m_shadowAlpha=0.35;this.m_shadowAngle=270;this.m_shadowBlur=2;this.m_shadowDistance=1};
cp.RuntimeDialogText.prototype={setFontName:function(a){this.m_fontName=a},setFontSize:function(a){this.m_fontSize=a},setFontColor:function(a){this.m_fontColor=a},setText:function(a){this.m_text=a},setMultiline:function(a){this.m_multiline=a},setMaxWidth:function(a){this.m_maxWidth=a},setShadowColor:function(a){this.m_shadowColor=a},getTruncatedText:function(a){if(void 0==a)return this.m_text;var b=this.getMaxPossibleWidth(this.m_text);if(b<=a)return this.m_text;for(var c=this.m_text,d=c+"...",b=
this.getMaxPossibleWidth(d);0<d.length&&b>a;)c=c.substring(0,c.length-1),d=c+"...",b=this.getMaxPossibleWidth(d);return d},getMaxPossibleWidth:function(a){var b=document.createElement("div");b.style.color=this.m_fontColor;b.style.fontFamily=this.m_fontName;b.style.fontSize=this.m_fontSize+"px";b.style.width="auto";b.style.height="auto";b.style.position="absolute";b.style.visibilty="hidden";b.innerHTML=a;document.body.appendChild(b);a=b.clientWidth+4;document.body.removeChild(b);return a},getComponentDiv:function(){var a=
document.createElement("div");a.style.color=this.m_fontColor;a.style.fontFamily=this.m_fontName;a.style.fontSize=this.m_fontSize+"px";a.style.textAlign="left";a.style.left=this.m_XPos+"px";a.style.top=this.m_YPos+"px";a.style.position="relative";a.style.opacity=1;var b=cp.HexToRGBA(this.m_shadowColor,this.m_shadowAlpha);a.style.textShadow=this.m_shadowDistance+"px "+this.m_shadowDistance+"px "+this.m_shadowBlur+"px "+b;a.innerHTML=this.m_text;return a}};
cp.RuntimeDialogTextInput=function(a,b,c){this.m_parent=a;this.m_fontName="Myriad Pro";this.m_XPos=b;this.m_YPos=c;this.m_fontSize=14;this.m_fontColor="#ff0000";this.m_maxWidth=400;this.m_maxHeight=80;this.m_label="Text Input :";this.m_textInput=void 0};
cp.RuntimeDialogTextInput.prototype={setFontName:function(a){this.m_fontName=a},setFontSize:function(a){this.m_fontSize=a},setFontColor:function(a){this.m_fontColor=a},setText:function(a){this.m_text=a},setLabel:function(a){this.m_label=a},setMaxWidth:function(a){this.m_maxWidth=a},getValue:function(){return this.m_textInput.value},getComponentDiv:function(){var a=document.createElement("div");a.style.left=this.m_XPos+"px";a.style.top=this.m_YPos+"px";a.style.width=this.m_maxWidth+"px";var b=document.createElement("table");
b.style.width="100%";b.style.height="100%";a.appendChild(b);var c=document.createElement("tr");c.style.width="100%";c.style.height="50%";b.appendChild(c);var d=document.createElement("td");d.style.width="100%";d.style.height="100%";d.style.paddingBottom="0em";c.appendChild(d);c=new cp.RuntimeDialogText(d,this.MESSAGE_DEFAULT_LEFT_OFFSET,0);c.setText(this.m_label);c.setFontColor(this.m_fontColor);c.setFontName(this.m_fontName);c.setFontSize(14);c.setMultiline(!0);c=c.getComponentDiv();c.style.width=
"100%";d.appendChild(c);d=document.createElement("tr");d.style.width="100%";d.style.height="50%";b.appendChild(d);b=document.createElement("td");b.style.width="100%";b.style.height="100%";d.appendChild(b);d=document.createElement("input");d.type="text";d.value=this.m_text;d.style.color="#000000";d.style.fontFamily=this.m_fontName;d.style.fontSize=this.m_fontSize+"px";d.style.width="100%";d.style.opacity=1;this.m_textInput=d;b.appendChild(d);a.style.position="relative";return a}};
cp.RuntimeDialogPanel=function(a,b,c,d,e){this.m_parent=a;this.m_fillColor="#CCCCCC";this.m_alpha=0.5;this.m_strokeColor="#666666";this.m_XPos=b;this.m_YPos=c;this.m_strokeWidth=1;this.m_width=d;this.m_height=e;this.m_roundness=20;this.m_minHeight=this.m_minWidth=100;this.m_maxWidth=493;this.m_maxHeight=219;this.m_showShadow=!1;this.m_shadowColor="#000000";this.m_shadowAlpha=0.65;this.m_shadowAngle=270;this.m_shadowDistance=this.m_shadowBlur=2};
cp.RuntimeDialogPanel.prototype={setFillColor:function(a){this.m_fillColor=a},setAlpha:function(a){this.m_alpha=a},setStrokeColor:function(a){this.m_strokeColor=a},setStrokeWidth:function(a){this.m_strokeWidth=a},setWidth:function(a){this.m_width=a},getWidth:function(){var a=this.m_width;a<this.m_minWidth&&(a=this.m_minWidth);a>this.m_maxWidth&&(a=this.m_maxWidth);return a},setHeight:function(a){this.m_height=a},setMinWidth:function(a){a<this.m_maxWidth&&(this.m_minWidth=a)},setMinHeight:function(a){a<
this.m_maxHeight&&(this.m_minHeight=a)},setMaxWidth:function(a){a>this.m_minWidth&&(this.m_maxWidth=a)},setMaxHeight:function(a){a>this.m_minHeight&&(this.m_maxHeight=a)},setRoundness:function(a){this.m_roundness=a},showShadow:function(a){this.m_showShadow=a},setShadowColor:function(a){this.m_shadowColor=a},getComponentDiv:function(){var a=this.m_width,b=this.m_height;a<this.m_minWidth&&(a=this.m_minWidth);a>this.m_maxWidth&&(a=this.m_maxWidth);b<this.m_minHeight&&(b=this.m_minHeight);b>this.m_maxHeight&&
(b=this.m_maxHeight);var c=document.createElement("div");c.style.width=a+"px";c.style.height=b+"px";c.style.background=cp.HexToRGBA(this.m_fillColor,this.m_alpha);c.style.border=this.m_strokeWidth+"px solid "+this.m_strokeColor;c.style.borderRadius=this.m_roundness+"px";c.style.left=this.m_XPos+"px";c.style.top=this.m_YPos+"px";this.m_showShadow&&("webkitBoxShadow"in c.style?c.style.webkitBoxShadow=this.m_shadowDistance+"px "+this.m_shadowDistance+"px "+this.m_shadowBlur+"px "+this.m_shadowColor:
"MozBoxShadow"in c.style?c.style.MozBoxShadow=this.m_shadowDistance+"px "+this.m_shadowDistance+"px "+this.m_shadowBlur+"px "+this.m_shadowColor:c.style.boxShadow=this.m_shadowDistance+"px "+this.m_shadowDistance+"px "+this.m_shadowBlur+"px "+this.m_shadowColor);return c}};
cp.RuntimeDialogButton=function(a,b,c,d,e){cp.RuntimeDialogButton.baseConstructor.call(this,a,b,c,d,e);this.m_label=void 0;this.m_labelText="OK";this.m_labelFontName="Myriad Pro";this.m_labelFontSize=16;this.m_labelFontColor="#000000";this.m_labelShadowColor="#FFFFFF";this.BUTTON_LABEL_TOP_PADDING=this.BUTTON_LABEL_LEFT_PADDING=5;this.m_fillColor="#CDCDCD";this.m_alpha=0.3;this.m_strokeColor="#000000";this.m_strokeWidth=1;this.m_maxWidth=230;this.m_minWidth=40;this.m_minHeight=m_maxHeight=25;this.m_roundness=
10};cp.rtInherits(cp.RuntimeDialogButton,cp.RuntimeDialogPanel);cp.RuntimeDialogButton.prototype.setButtonLabel=function(a){this.m_labelText=a};cp.RuntimeDialogButton.prototype.setButtonLabelFontName=function(a){this.m_labelFontName=a};cp.RuntimeDialogButton.prototype.setButtonLabelFontSize=function(a){this.m_labelFontSize=a};cp.RuntimeDialogButton.prototype.setButtonLabelFontColor=function(a){this.m_labelFontColor=a};
cp.RuntimeDialogButton.prototype.setButtonLabelShadowColor=function(a){this.m_labelShadowColor=a};cp.RuntimeDialogButton.prototype.setHandler=function(a){this.m_handler=a};
cp.RuntimeDialogButton.prototype.getComponentDiv=function(){var a=cp.RuntimeDialogButton.superClass.getComponentDiv.call(this);a.style.position="absolute";a.style.cursor="pointer";var b=this.m_fillColor,c=this.m_alpha;a.onmouseover=function(){a.style.background=cp.HexToRGBA(b,0.1)};a.onmouseout=function(){a.style.background=cp.HexToRGBA(b,c)};cp.registerGestureEvent(a,cp.GESTURE_EVENT_TYPES.TAP,this.m_handler);a.onkeypress=this.m_handler;var d=new cp.RuntimeDialogText(a,0,5);d.setText(this.m_labelText);
d.setFontName(this.m_labelFontName);d.setFontColor(this.m_labelFontColor);d.setFontSize(this.m_labelFontSize);d.setShadowColor(this.m_labelShadowColor);d.setMaxWidth(this.m_maxWidth-2*this.BUTTON_LABEL_LEFT_PADDING);var e=d.getComponentDiv();e.style.textAlign="center";e.style.top="0px";var f=d.getMaxPossibleWidth(this.m_labelText);f>this.m_width&&(f>this.m_maxWidth&&(f=this.m_maxWidth,e.innerHTML=d.getTruncatedText(this.m_maxWidth)),a.style.width=f+"px");a.appendChild(e);return a};
cp.RuntimeMessageBox=function(a,b,c,d,e,f,g,h,i,j){this.m_parent=a;this.m_MessageBoxElement=void 0;this.m_id="CPRuntimeMsgBox_ID";this.m_titleText="Adobe Captivate";this.m_messageText="This is Adobe Captivate Run Time Message Dialog";this.m_firstButtonText="OK";this.m_secondButtonText="CANCEL";this.m_ChkBoxText="Don't ask me again";this.m_numberOfButtons=b;this.m_secondButtonHandler=this.m_firstButtonHandler=void 0;this.m_DontAskMe=!1;this.m_foregroundFillColor=c;this.m_foregroundStrokeColor=d;this.m_buttonFillColor=
e;this.m_buttonStrokeColor=f;this.m_separatorColor=g;this.m_textColor=h;this.m_textShadowColor=i;this.m_textFontName=j;this.TITLE_DEFAULT_TOP_OFFSET=this.MESSAGE_DEFAULT_LEFT_OFFSET=this.SEPARATOR_DEFAULT_LEFT_OFFSET=this.TITLE_DEFAULT_LEFT_OFFSET=10;this.SEPARATOR_DEFAULT_TOP_OFFSET=20;this.MESSAGE_DEFAULT_TOP_OFFSET=30;this.BUTTON_BOTTOM_OFFSET=10;this.BG_DEFAULT_WIDTH=493;this.BG_DEFAULT_HEIGHT=219;this.FG_DEFAULT_WIDTH=478;this.FG_DEFAULT_HEIGHT=198;this.BUTTON_DEFAULT_WIDTH=100;this.BUTTON_DEFAULT_HEIGHT=
33;this.INTER_BUTTON_OFFSET=15};
cp.RuntimeMessageBox.prototype={getDontAskMeInput:function(){if(this.m_DontAskMe){var a=document.getElementById("dont_ask_me_chk");if(a)return a.checked}return!1},setDontAskMe:function(a){this.m_DontAskMe=a},setDontAskMeText:function(a){this.m_ChkBoxText=a},setTitleText:function(a){this.m_titleText=a},setCheckBoxText:function(a){this.m_ChkBoxText=a},setMessageText:function(a){this.m_messageText=a},setFirstButtonText:function(a){this.m_firstButtonText=a},setSecondButtonText:function(a){this.m_secondButtonText=a},
registerFirstButtonHandler:function(a){void 0!=a&&(this.m_firstButtonHandler=a)},registerSecondButtonHandler:function(a){void 0!=a&&(this.m_secondButtonHandler=a)},isVisible:function(){var a=!1;void 0!=this.m_MessageBoxElement&&"visible"==this.m_MessageBoxElement.style.visibility&&(a=!0);return a},hide:function(){var a=this.m_parent?this.m_parent:document.getElementById("cpDocument"),b=document.getElementById("CPRuntimeMsgBox_ID");void 0!=b&&a.removeChild(b)},show:function(){this.hide();this.m_MessageBoxElement=
document.createElement("div");this.m_MessageBoxElement.id=this.m_id;var a=new cp.RuntimeDialogPanel(this.m_parent,0,0,this.BG_DEFAULT_WIDTH,this.BG_DEFAULT_HEIGHT);a.showShadow(!0);var b=a.getComponentDiv();b.id="bgPanelDiv";b.style.margin="100px auto";this.m_MessageBoxElement.appendChild(b);a=new cp.RuntimeDialogPanel(b,(this.BG_DEFAULT_WIDTH-this.FG_DEFAULT_WIDTH)/2,(this.BG_DEFAULT_HEIGHT-this.FG_DEFAULT_HEIGHT)/2,this.FG_DEFAULT_WIDTH,this.FG_DEFAULT_HEIGHT);a.setFillColor(this.m_foregroundFillColor);
a.setAlpha(1);a.setStrokeColor(this.m_foregroundStrokeColor);a=a.getComponentDiv();b.id="fgPanelDiv";a.style.position="relative";b.appendChild(a);b=new cp.RuntimeDialogText(a,this.TITLE_DEFAULT_LEFT_OFFSET,this.TITLE_DEFAULT_TOP_OFFSET);b.setText(this.m_titleText);b.setFontSize(18);b.setFontColor(this.m_textColor);b.setFontName(this.m_textFontName);b.setShadowColor(this.m_textShadowColor);b=b.getComponentDiv();a.appendChild(b);b=new cp.RuntimeDialogSeparator(a,this.SEPARATOR_DEFAULT_LEFT_OFFSET,this.SEPARATOR_DEFAULT_TOP_OFFSET);
b.setColor(this.m_separatorColor);b=b.getComponentDiv();a.appendChild(b);b=new cp.RuntimeDialogText(a,this.MESSAGE_DEFAULT_LEFT_OFFSET,this.MESSAGE_DEFAULT_TOP_OFFSET);b.setText(this.m_messageText);b.setFontColor(this.m_textColor);b.setFontName(this.m_textFontName);b.setShadowColor(this.m_textShadowColor);b.setFontSize(14);b.setMultiline(!0);b=b.getComponentDiv();a.appendChild(b);this.m_DontAskMe&&(b=new cp.RuntimeDialogText(a,this.MESSAGE_DEFAULT_LEFT_OFFSET,this.MESSAGE_DEFAULT_TOP_OFFSET),b.setText(this.m_ChkBoxText),
b.setFontColor(this.m_textColor),b.setFontName(this.m_textFontName),b.setShadowColor(this.m_textShadowColor),b.setFontSize(14),b.setMultiline(!1),b=b.getComponentDiv(),a.innerHTML+='<input type="checkbox" id="dont_ask_me_chk" style="-webkit-appearance: checkbox;left:10px; bottom: 70px;width:20px; height:20px;position:absolute">',a.appendChild(b),b.style.position="absolute",b.style.top="",b.style.bottom="75px",b.style.left="40px");b=new cp.RuntimeDialogButton(a,0,0,this.BUTTON_DEFAULT_WIDTH,this.BUTTON_DEFAULT_HEIGHT);
b.setFillColor(this.m_buttonFillColor);b.setStrokeColor(this.m_buttonStrokeColor);b.setButtonLabel(this.m_firstButtonText);b.setButtonLabelFontSize(16);b.setButtonLabelFontColor(this.m_textColor);b.setButtonLabelFontName(this.m_textFontName);b.setButtonLabelShadowColor(this.m_textShadowColor);b.setHandler(this.m_firstButtonHandler);b=b.getComponentDiv();b.style.top="auto";b.tabIndex=0;b.style.bottom=this.BUTTON_BOTTOM_OFFSET+"px";a.appendChild(b);var c=void 0;2==this.m_numberOfButtons&&(lSecondButton=
new cp.RuntimeDialogButton(a,0,0,this.BUTTON_DEFAULT_WIDTH,this.BUTTON_DEFAULT_HEIGHT),lSecondButton.setFillColor(this.m_buttonFillColor),lSecondButton.setStrokeColor(this.m_buttonStrokeColor),lSecondButton.setButtonLabel(this.m_secondButtonText),lSecondButton.setButtonLabelFontSize(16),lSecondButton.setButtonLabelFontColor(this.m_textColor),lSecondButton.setButtonLabelFontName(this.m_textFontName),lSecondButton.setButtonLabelShadowColor(this.m_textShadowColor),lSecondButton.setHandler(this.m_secondButtonHandler),
c=lSecondButton.getComponentDiv(),c.tabIndex=0,c.style.top="auto",c.style.bottom=this.BUTTON_BOTTOM_OFFSET+"px",a.appendChild(c));this.m_parent.appendChild(this.m_MessageBoxElement);this.m_MessageBoxElement.style.visibility="visible";this.m_MessageBoxElement.style.position="absolute";this.m_MessageBoxElement.style.left="0px";this.m_MessageBoxElement.style.top="0px";this.m_MessageBoxElement.style.width="100%";this.m_MessageBoxElement.style.height="100%";this.m_MessageBoxElement.style.textAlign="center";
this.m_MessageBoxElement.style.zIndex="1000";this.m_MessageBoxElement.style.background="rgba(240,240,240,0.2)";this.m_MessageBoxElement.style.zIndex=10020;a=a.clientWidth-b.clientWidth;c&&(a=a-this.INTER_BUTTON_OFFSET-c.clientWidth);a/=2;b.style.left=a+"px";c&&(c.style.left=a+b.clientWidth+this.INTER_BUTTON_OFFSET+"px");setTimeout(function(){var a=document.getElementById("dont_ask_me_chk");a&&a.focus()},500)},close:function(){var a=document.getElementById("cpDocument"),b=document.getElementById("CPRuntimeMsgBox_ID");
a.removeChild(b)}};cp.RuntimeMessageBoxDefault=function(a,b){var c=cp.D.rtDialog;cp.RuntimeMessageBoxDefault.baseConstructor.call(this,a,b,c.rtbgfc,c.rtbgsc,c.rtbtnfc,c.rtbtnsc,c.rtsc,c.rttc,c.rttsc,c.rtfn)};cp.rtInherits(cp.RuntimeMessageBoxDefault,cp.RuntimeMessageBox);cp.PostResultsMessageBox=function(a){this.m_StudentNameTextInputLabel="";this.m_StringsMap=a;a=document.getElementById("div_Slide");cp.PostResultsMessageBox.baseConstructor.call(this,a,2)};cp.rtInherits(cp.PostResultsMessageBox,cp.RuntimeMessageBoxDefault);
cp.PostResultsMessageBox.prototype.getLearnerName=function(){return this.m_studentNameTextInput.getValue()};cp.PostResultsMessageBox.prototype.getLearnerID=function(){return this.m_studentIDTextInput.getValue()};cp.PostResultsMessageBox.prototype.hide=function(){var a=document.getElementById("CPRuntimeMsgBox_ID");void 0!=a&&this.m_parent.removeChild(a)};
cp.PostResultsMessageBox.prototype.show=function(){this.setTitleText(this.m_StringsMap.ISRPostResultStr);this.setMessageText(this.m_StringsMap.ISRResultCalculatedStr);this.m_numberOfButtons=2;this.setFirstButtonText("Cancel");this.setSecondButtonText(this.m_StringsMap.ISRSendStr);this.hide();this.m_MessageBoxElement=document.createElement("div");this.m_MessageBoxElement.id=this.m_id;var a=new cp.RuntimeDialogPanel(this.m_parent,0,0,350,230);a.showShadow(!0);var b=a.getComponentDiv();b.id="bgPanelDiv";
b.style.margin="100px auto";this.m_MessageBoxElement.appendChild(b);a=new cp.RuntimeDialogPanel(b,0,0,350,230);a.setFillColor(this.m_foregroundFillColor);a.setAlpha(1);a.setStrokeColor(this.m_foregroundStrokeColor);a=a.getComponentDiv();a.id="fgPanelDiv";a.style.position="relative";b.appendChild(a);b=new cp.RuntimeDialogText(a,0,0);b.setText(this.m_titleText);b.setFontSize(18);b.setFontColor("#ffffff");b.setFontName(this.m_textFontName);b.setShadowColor(this.m_textShadowColor);b=b.getComponentDiv();
b.style.backgroundColor="#000000";b.style["border-top-left-radius"]="20px";b.style["border-top-right-radius"]="20px";b.style["text-align"]="center";a.appendChild(b);b=new cp.RuntimeDialogText(a,this.MESSAGE_DEFAULT_LEFT_OFFSET,10);b.setText(this.m_messageText);b.setFontColor(this.m_textColor);b.setFontName(this.m_textFontName);b.setShadowColor(this.m_textShadowColor);b.setFontSize(14);b.setMultiline(!0);b=b.getComponentDiv();b.style.left="20px";b.style.width="300px";b.style.wordWrap="break-word";
a.appendChild(b);b=new cp.RuntimeDialogTextInput(a,10,10);b.setLabel(this.m_StringsMap.ISREnterNameStr);b.setText("");b.setFontColor(this.m_textColor);b.setFontName(this.m_textFontName);b.setFontSize(14);this.m_studentNameTextInput=b;b=b.getComponentDiv();b.id="studentNameTextInput";b.style.left="20px";b.style.width="300px";a.appendChild(b);b=new cp.RuntimeDialogTextInput(a,10,0);b.setLabel(this.m_StringsMap.ISREmailIDStr);b.setText("");b.setFontColor(this.m_textColor);b.setFontName(this.m_textFontName);
b.setFontSize(14);this.m_studentIDTextInput=b;b=b.getComponentDiv();b.id="studentNameTextInput";b.style.left="20px";b.style.width="300px";a.appendChild(b);b=new cp.RuntimeDialogButton(a,0,0,this.BUTTON_DEFAULT_WIDTH,20);b.setFillColor(this.m_buttonFillColor);b.setStrokeColor(this.m_buttonStrokeColor);b.setButtonLabel(this.m_firstButtonText);b.setButtonLabelFontSize(16);b.setButtonLabelFontColor(this.m_textColor);b.setButtonLabelFontName(this.m_textFontName);b.setButtonLabelShadowColor(this.m_textShadowColor);
b.setHandler(this.m_firstButtonHandler);b=b.getComponentDiv();b.style.top="auto";b.style.bottom=this.BUTTON_BOTTOM_OFFSET+"px";b.style.width=parseFloat(b.style.width)+20+"px";a.appendChild(b);var c=void 0;2==this.m_numberOfButtons&&(lSecondButton=new cp.RuntimeDialogButton(a,0,0,this.BUTTON_DEFAULT_WIDTH,20),lSecondButton.setFillColor(this.m_buttonFillColor),lSecondButton.setStrokeColor(this.m_buttonStrokeColor),lSecondButton.setButtonLabel(this.m_secondButtonText),lSecondButton.setButtonLabelFontSize(16),
lSecondButton.setButtonLabelFontColor(this.m_textColor),lSecondButton.setButtonLabelFontName(this.m_textFontName),lSecondButton.setButtonLabelShadowColor(this.m_textShadowColor),lSecondButton.setHandler(this.m_secondButtonHandler),c=lSecondButton.getComponentDiv(),c.style.top="auto",c.style.bottom=this.BUTTON_BOTTOM_OFFSET+"px",c.style.width=parseFloat(c.style.width)+20+"px",a.appendChild(c));this.m_parent.appendChild(this.m_MessageBoxElement);this.m_MessageBoxElement.style.visibility="visible";this.m_MessageBoxElement.style.position=
"absolute";this.m_MessageBoxElement.style.left="0px";this.m_MessageBoxElement.style.top="0px";this.m_MessageBoxElement.style.width="100%";this.m_MessageBoxElement.style.height="100%";this.m_MessageBoxElement.style.textAlign="center";this.m_MessageBoxElement.style.zIndex="1000";this.m_MessageBoxElement.style.background="rgba(240,240,240,0.5)";a=a.clientWidth-b.clientWidth;c&&(a=a-this.INTER_BUTTON_OFFSET-c.clientWidth);a/=2;b.style.left=a+"px";c&&(c.style.left=a+b.clientWidth+this.INTER_BUTTON_OFFSET+
"px")};
(function() {var d=void 0,i=!0,j=null,m=!1;function p(a){return function(){return a}}var r;function u(){return(new Date).getTime()}
function w(a,b,c){function e(a,b,c){0>c&&(c+=1);1<c&&(c-=1);return c<1/6?a+6*(b-a)*c:0.5>c?b:c<2/3?a+6*(b-a)*(2/3-c):a}0>a&&(a+=360);360<a&&(a-=360);a/=360;b=(100<b?100:0>b?0:b)/100;c=(100<c?100:0>c?0:c)/100;if(0==b)c=b=a=c;else var f=0.5>c?c*(1+b):c+b-c*b,g=2*c-f,c=e(g,f,a+1/3),b=e(g,f,a),a=e(g,f,a-1/3);c=Math.round(255*c);b=Math.round(255*b);a=Math.round(255*a);return[255<c?255:0>c?0:c,255<b?255:0>b?0:b,255<a?255:0>a?0:a]}var y,A,D,F,G,H={F:{}};window.PPTXLib=H;
H.updateNoSkipFramesFromEffectData=function(a){if(a.g4!=d&&(a=a.g4.a1,d!=a))for(var b=1;b<a.length;++b){var c=cp.movie.stage.currentSlideStartFrame+H.$c(a[b][0])-1;y.AddNoSkipFrameExternal(c);y.AddNoSkipFrameExternal(c+1);y.AddNoSkipFrameExternal(c+3)}};H.addToInstanceManager=function(a,b){H.F[a]=b};H.hasAnimationInfo=function(a){return a.g4!=d};
H.initializeAnimationManagerForCPSlide=function(a){H.k.ya();H.F={};if(a.g4!=d){H.k.ya(a.g4.a1,a.g4.a2,a.Ef-a.af,cp.getCpInfoOriginalFPS,cp.getCpInfoSpeed,m);var a=a.g4.c3,b;for(b in a)H.F[b]=new H.hb(b,a[b])}return H.k};H.processTriggerForObject=function(a,b){a.$a&&a.$a(b)};H.updateAnimationManager=function(){H.vc=m;var a=cp.getCpElapsedMovieTime();isNaN(a)&&(a=0);H.k!=d&&(cp.getCpIsPlaying()&&H.k.Ud?H.k.Ud(a-cp.movie.stage.currentSlideStartTime):H.k.Vd&&H.k.Vd(cpInfoCurrentFrame-cp.movie.stage.currentSlideStartFrame))};
H.Sa={vf:0,od:1,pd:2,uf:3,sf:4,rf:5,wf:6,nd:10,tf:20};H.R={ze:0,nc:1,kb:2,mc:3};H.Nb={ld:0,md:1,ff:2,ef:3};H.J={Ub:0,Fa:1,oc:2};H.Rc={hf:0,Ae:1,Be:2};H.Sc={jf:0,Ce:1,De:2};H.$e={pf:0,qf:1,lf:2,mf:3,nf:4,of:5,kf:6};H.Ye={gf:0,cf:1,bf:2,df:3};H.m=function(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.l=b;a.Na=b.prototype};H.$c=function(a){return Math.floor(a*cp.getCpInfoOriginalFPS()/1E3)};H.fc=function(a,b,c){return a<c[0]||a>c[2]||b<c[1]||b>c[3]?m:i};H.Dd={};H.fd=0;H.Ze=function(){return++H.fd};
H.gb=function(a){this.f=[];this.Ua=[];this.Z=[];this.M=m;this.L={};a&&this.jc(a)};
H.gb.prototype={jc:function(a){this.f=a.f.slice(0);this.M=a.M;this.L={};this.Z=[]},we:function(a){this.M=m;for(var a=a.f,b=0;18>=b;b++){try{var c=m;if(this.f[b].length&&a[b].length&&this.f[b].length==a[b].length){for(var e=0;e<this.f[b].length&&this.f[b][e]==a[b][e];++e);e==this.f[b].length&&(c=i)}if(c)continue}catch(f){}if(this.f[b]!==a[b])return 9>=b&&(this.M=i),m}return i},Qe:function(){for(var a in this.L){var b=Number(a);switch(b){case 0:case 1:case 2:case 3:this.Z[b]||(this.f[b]=this.f[b].slice(0),
this.Z[b]=1);for(var c=this.f[b],b=this.L[b],e=0,f=0;e<c.length;e+=4,f+=3){var g;g=c[e];var h=c[e+1],k=c[e+2];g/=255;var h=h/255,k=k/255,l=Math.max(g,h,k),o=Math.min(g,h,k),n=d,q=d,t=(l+o)/2;if(l==o)n=q=0;else{var v=l-o,q=0.5<t?v/(2-l-o):v/(l+o);switch(l){case g:n=(h-k)/v+(h<k?6:0);break;case h:n=(k-g)/v+2;break;case k:n=(g-h)/v+4}n*=60;0>n&&(n+=360)}n=Math.round(n);q=Math.round(100*q);t=Math.round(100*t);360<n&&(n-=360);q=100<q?100:0>q?0:q;t=100<t?100:0>t?0:t;g=[n,q,t];g[0]+=b[f];g[1]+=b[f+1];g[2]+=
b[f+2];g=w(g[0],g[1],g[2]);c[e]=~~g[0];c[e+1]=~~g[1];c[e+2]=~~g[2]}break;case 19:b=this.L[a];this.f[10]*=1+b[0]/100;this.f[11]*=1+b[1]/100;break;case 10:case 11:this.f[b]*=this.L[a];break;default:this.f[a]+=this.L[a]}}},C:function(){this.f=this.Ua=this.Z=this.L=j}};H.hb=function(a,b){this.ua=a;this.pb=b;this.Xa=-1;this.yd=this.pb?this.pb.length:0};H.hb.prototype.C=function(){this.pb=j};
H.hb.prototype.$a=function(a){if(0<this.yd){var b=m;a?(this.vb==d&&(this.vb=-1),cp.log(this.vb),this.vb++):b=H.k.Rb(this);this.Xa++;this.Xa==this.yd?b?this.Xa--:(H.O&&H.O.ce(this.ua),H.k.Rd(this),this.Xa=0,H.k.ed(this.pb[this.Xa],this,a)):H.k.ed(this.pb[this.Xa],this,a)}};H.hb.prototype.toString=function(){return this.ua};
H.PptxAnimatableDisplayItem=H.Mb=function(a,b,c,e){this.isCpObject&&(c=this.kd(b.b,b.h6,b.JSONEffectData));this.H=[];this.qa={};this.wc=e;this.td=i;this.ua=a;this.ea=new H.gb(c);this.p=new H.gb(c);this.nb=new H.gb(c)};r=H.Mb.prototype;
r.kd=function(a,b,c){var e=new H.gb,f=e.f;if(!c)return e;this.e=H.d.fb(a);f[12]=(this.e[0]+this.e[2])/2;f[13]=(this.e[1]+this.e[3])/2;f[10]=this.e[2]-this.e[0];f[11]=this.e[3]-this.e[1];f[14]=1;f[15]=0;f[16]=0;f[18]=0;f[17]=0===b?m:i;f[3]=[];f[0]=[0,255,0,1];f[4]=0;f[5]=0;f[6]=0;f[7]=0;f[8]=0;f[1]=[];f[9]=1;f[2]=[];return e};
r.Hc=function(){var a=this.p.f,b=this.ea.f,c=Math.cos(a[15]*Math.PI/180),e=Math.sin(a[15]*Math.PI/180),c=[c,e,-e,c,0,0],e=H.La([a[10]/b[10],0,0,a[11]/b[11],0,0],c),e=H.La(e,[1,a[18],a[16],1,0,0]),f=a[12]-b[12],b=a[13]-b[13],c=e;this.z=e=H.La([1,0,0,1,f,b],e);e="matrix("+e[0].toFixed(6)+","+e[1].toFixed(6)+","+e[2].toFixed(6)+","+e[3].toFixed(6)+","+e[4].toFixed(6)+","+e[5].toFixed(6)+")";mtrixR="matrix("+c[0].toFixed(6)+","+c[1].toFixed(6)+","+c[2].toFixed(6)+","+c[3].toFixed(6)+","+c[4].toFixed(6)+
","+c[5].toFixed(6)+")";this.actualParent&&(this.actualParent.style.transform=e,this.actualParent.style.msTransform=e,this.actualParent.style.MozTransform=e,this.actualParent.style.WebkitTransform=e,1!=cp.movie.m_scaleFactor&&cp.fixWebkitScaling&&cp.fixWebkitScaling(this.actualParent),this.actualParent.style.OTransform=e);this.setTransformOrigin(this.j);this.j!=d&&(this.j.parentElement.style.transform=e,this.j.parentElement.style.msTransform=e,this.j.parentElement.style.MozTransform=e,this.j.parentElement.style.WebkitTransform=
e,1!=cp.movie.m_scaleFactor&&cp.fixWebkitScaling&&cp.fixWebkitScaling(this.j),this.j.parentElement.style.OTransform=e,this.j.style.opacity=a[14]);this.u&&this.u.canvas&&(this.u.canvas.hidden=a[17]?m:i)};
r.C=function(){var a=H.F[this.wc];a&&a.C();if(this.isCpObject&&this.m_triggerTimelineIds!=d)for(a=0;a<this.m_triggerTimelineIds.length;++a){var b=H.F[this.m_triggerTimelineIds[a]];b&&b.C()}for(a=0;a<this.H.length;++a)this.H.jb!=d&&(this.H.jb.C(),this.H.jb=this.H.Td=j);this.ea.C();this.p.C();this.nb.C();this.H=this.qa=this.ea=this.p=this.nb=j};r.hd=function(a){return this.qa[a]};r.ke=function(a,b){this.qa[b]||(this.qa[b]=[]);this.qa[b].push(a);this.H.push({jb:a,Td:b})};
r.Pe=function(a){if(this.qa[a]){delete this.qa[a];for(var b=[],c=0;c<this.H.length;++c)this.H[c].Td!=a&&b.push(this.H[c]);this.H=b}};r.Ve=function(){for(var a=[],b=0;3>=b;++b)a[b]=this.ea.f[b].length/4;this.ea.Ua=this.p.Ua=this.nb.Ua=a};
H.Mb.prototype.updateEffects=function(a){if(a)try{var b=this.Wd();if(this.canvas){if(this.u=this.canvas.gc,this.j=this.u.canvas)this.j.hidden=this.p.f[H.Xe]?m:i,this.j.hidden&&(this.p.f[H.We]=0)}else this.j=this.actualDrawingElement;this.p.M&&this.drawIfNeeded!=d&&this.drawIfNeeded(cpInfoCurrentFrame,b[1]);this.Hc()}catch(c){I(c)}};r=H.Mb.prototype;
r.Wd=function(){var a=this.td;this.nb.jc(this.p);this.p.jc(this.ea);for(var b=0;b<this.H.length;++b)a=this.H[b].jb.dd(this.p.f,this.p,this.ea.f)||a;a|=H.vc;this.p.Qe();var b=this.p.we(this.nb),c=this.p.M;this.p.M=this.p.M||a;this.td=m;return[!b,!c&&a]};r.pe=function(a,b,c){for(var e=this.H.length-1;0<=e&&!this.H[e].jb.Pb(a,this.p.f,b,c);--e);};r.Rb=function(a){a=this.qa[a];if(!a)return m;for(var b=m,c=0;c<a.length;++c)b=a[c].re()||b;return b};
r.$a=function(a){if(this.isCpObject){if(this.m_triggerTimelineIds!=d)for(var b=0;b<this.m_triggerTimelineIds.length;++b){var c=this.m_triggerTimelineIds[b];-1!=c.indexOf(a)&&(c=H.F[c])&&c.$a(i)}}else(a=H.F[this.wc])&&a.$a()};r.toString=function(){return this.ua};
H.Pc=function(){function a(){for(var a=k+1;a<n.length;++a)if(f>=n[a])for(var c=l[a],e=1;c&&e<c.length;e++){var g=c[e],h;if(h=t[g])delete t[g],h.ya();h||(h=v.kc(o[g],g,m,m,c[0]));b(h,v)}else break;k=a-1}function b(a,b){if(a&&a.ga){b.ua!=d&&(a.qb=b.ua);var c=H.F[a.ga];c&&(c.ke(a,b),q[b]||(q[b]={}),q[b][a.ga]=c)}}var c=m,e=0,f=0,g=0,h=0,k=-1,l=[],o=[],n=[],q={},t={},v=this,x=j,z=j;this.la=this.B=j;var s=[];s[0]=H.a.Oa;s[1]=H.a.Ta;s[2]=H.a.eb;s[3]=H.a.za;s[4]=H.a.bb;s[5]=H.a.W;s[6]=H.a.Aa;s[7]=H.a.cb;
s[8]=H.a.Ba;s[32]=H.a.zb;s[33]=H.a.Ab;s[34]=H.a.Db;s[35]=H.a.Cb;s[36]=H.a.Gb;s[37]=H.a.Fb;s[38]=H.a.Jb;s[39]=H.a.Bb;s[40]=H.a.Ra;s[41]=H.a.Eb;s[42]=H.a.Pa;s[43]=H.a.Hb;s[44]=H.a.Ib;this.ya=function(a,b,s,B,J,K){if(K){for(B=0;B<a.length;++B)l.push(a[B]);for(E in b)o[E]=b[E]}else{o=b||[];l=a||[];g=f=e=0;k=-1;c=m;n=[];q={};t={};h=0;x=B;z=J;for(var E in b)if(a=b[E],B=A.data[a.a3])B.lastTriggerName="",o[E]=a}for(b=n.length;b<l.length;++b)n.push(l[b][0]);l.sort(function(a,b){return a[0]-b[0]});n.sort(function(a,
b){return a-b});s?this.B||(this.B=document.createElement("canvas"),this.la=this.B.getContext("2d")):this.la=this.B=j};this.start=function(){e=u();f=0;g=e;a()};this.Vd=function(b){z!=d&&(g=u()*z(),c||(b=1E3*b/x(),b>=h?(f=b,e=g-b,a()):(this.Sd(b),H.vc=i),h=b))};this.Ud=function(b){z!=d&&(g=u()*z(),c||(b>=h?(f=b,e=g-b,a()):this.Sd(b),h=b))};this.Ff=function(){g=u();c||(f=g-e,a())};this.Bf=function(){c=i};this.Df=function(){c=m;e=u()-f};this.Sd=function(b){e=f=0;H.O!=d&&H.O.de();var c=q[this],g;for(g in c)if(c[g].hd){var h=
c[g].hd(this);if(h)for(var l=0;l<h.length;++l)t[h[l].He]=h[l]}this.Rd(this);k=-1;f=b;e=u()-b;a()};this.Cf=function(){this.Rb(this);var a=k+1;f=n.length>a?n[a]:Infinity;e=u()-f};this.kc=function(a,b,c,e,f){if(a){var g=s[a.a4];if(g)return new g(a,b,c,e,f)}return j};this.Rb=function(a){var b=m,c=q[a],e;for(e in c)b=c[e].Rb(a)||b;return b};this.ed=function(a,c,e){if(a&&c)for(var f=1;f<a.length;++f){var g=a[f];if(e){if(c.ua!=d)var h=c.ua;var k=H.F[h];if(k){var l=A.data[o[g].a3],n=l.lastTriggerName;l.OriginalSubEffects==
d&&(l.OriginalSubEffects={});l.OriginalSubEffects[h]==d&&(l.OriginalSubEffects[h]=cp.cloneObject(o[g].b4));if(k.vb!=d&&0<k.vb&&n==h){var k=o[g].b4,q=l.OriginalSubEffects[h];if(k)for(f=0;f<k.length;++f){var x=k[f],s=q[f],t=x.c0;if(14!=t)for(var z=x.b6,s=s.b6,v=0,v=x.b6[z.length-1],C=1;C<z.length;C+=2)10==t||11==t?x.b6[0]!=x.b6[z.length-1]&&(x.b6[C]*=v):x.b6[C]=s[C]+v}}n!=h&&(o[g].b4=cp.cloneObject(l.OriginalSubEffects[h]));l.lastTriggerName=h}}b(this.kc(o[g],g,i,m),c)}};this.Rd=function(a){var b=q[a],
c;for(c in b)b[c].Pe(a);delete q[a]};this.gd=function(a){return a?g:f}};H.Pc.prototype.toString=p("CPPR-PresenterAnimationManager");H.a={};
H.a.W=function(a,b,c,e,f){this.ga=a.a3;this.He=b;this.sc=e?m:c;this.rd=a.a5||0;this.i=a.a6;this.pc=a.a8?i:m;this.uc=e?m:a.b1?i:m;this.tc=e?1:a.a7||1;this.xf=e?m:a.b2?i:m;this.Je=e?m:a.b3?i:m;this.Ga=d;this.Gd=f||0;this.fa={};this.Zb=m;this.Ie=a.j1?i:m;this.Wa=m;if(a.j2!=d&&(a.isCpObject||!e))this.fa[0]=this.wb(12,Number(a.j2[0])),this.fa[1]=this.wb(13,Number(a.j2[1]));this.Ha=this.uc||this.pc;this.pc&&(this.tc*=2);this.sd=this.Ha?0:this.i;this.Va=-1;this.xd=this.K;this.r=[];if(b=a.b4)for(e=0;e<b.length;++e)if(f=
H.k.kc(b[e],e,c,i,0))f.ga==d&&(f.ga=this.ga),f.i==d&&(f.i=this.i),f.Ie&&(f.rd=this.i-f.i),f.fa[0]=this.fa[0],f.fa[1]=this.fa[1],this.r.push(f);c=a.a9||0;b=a.b0||0;a=a.JSONBounceTime||0;this.ud=c||b||a?this.te(c,b,a):this.Sb;this.ya()};
H.a.W.prototype={C:function(){for(var a=0;a<this.r.length;++a)this.r[a].C(),this.r[a]=j;this.ud=this.r=this.xd=this.Ga=j},yb:function(a){this.Ga=(this.ra=a)?this.X:this.Y;this.Va=-1;this.bc()},ya:function(){this.yb(m);this.sc&&(this.Gd=H.k.gd(this.sc));this.Ia=0;this.rc=m;this.Vb=this.Gd+this.rd;for(var a=0;a<this.r.length;++a)this.r[a].ya()},re:function(){if(this.ra)return m;this.Je||this.yb(i);return i},dd:function(a,b,c,e){var f=i,g=m;if(e==d){f=m;e=this.sd;if(this.ra){if(this.uc)return m}else{e=
this.ud();0==this.r.length&&(g=this.Wa);this.Wa=m;for(var h=0;h<this.r.length;++h)g|=this.r[h].Wa,this.r[h].Wa=m;if(0>e)return g}this.Zb||(this.Zb=i,this.$={},this.$[0]=a[12],this.$[1]=a[13])}else{if(e>=this.Vb+this.i)this.ra||this.yb(i);else{if(e<this.Vb)return m;this.ra&&this.yb(m)}this.ra||(e-=this.Vb)}f||(f=b.L,h=m,f[10]!=d&&0==f[10]&&(h=i),f[11]!=d&&0==f[11]&&(h=i),0==a[14]&&(h=i),h&&(f[10]!=d&&(f[10]=1),f[11]!=d&&(f[11]=1),0==a[14]&&(a[14]=c[14]),a[15]=c[15]));if(0===this.r.length)return this.Ga(e,
a,b,c);for(h=0;h<this.r.length;++h)this.r[h].Zb||(this.r[h].Zb=i,this.r[h].$={},this.r[h].$[0]=this.$[0],this.r[h].$[1]=this.$[1]),g=this.r[h].dd(a,b,c,e)||g;this.Va=e;return g},Sb:function(){var a=H.k.gd(this.sc)-this.Vb;if(0>a)return-Infinity;if(a<this.Ia)return this.rc?this.Ia-a:a-this.Ia+this.i;this.rc=m;var b=a/this.i;if(b<this.tc){b=~~b;this.Ia=(b+1)*this.i;if(this.pc){if(0===b%2)return a-this.Ia+this.i;this.rc=i;return this.Ia-a}a=a-this.Ia+this.i;return this.uc&&0===a-this.i?0:a}this.yb(i);
return this.sd},te:function(a,b){var c=0,e=0,f=this.i-a-b;a&&b?(c=1/(a*(a/2+f+b/2)),e=c*a/b):!a&&b?(e=1/(b*(f+b/2)),a=0):a&&!b&&(c=1/(a*(f+a/2)),b=0);var g=this,f=g.i-a-b,h=g.i-b,k=e/2,l=c*a,o=l*a/2;if(a&&b){var n=c*g.i/2,q=o+f*l-l*h;return function(){var b=g.Sb();if(b<0)return b;if(b<=a)return n*b*b;if(b<=h)return g.i*(l*b-o);var c=b-h;return g.i*(q+l*b-k*c*c)}}if(!a&&b){var t=e*b,v=g.i*t;return function(){var a=g.Sb();if(a<0)return a;if(a<=h)return v*a;var b=a-h;return g.i*(t*a-k*b*b)}}n=g.i*(c/
2);return function(){var b=g.Sb();return b<0?b:b<=a?n*b*b:g.i*(o+l*(b-a))}},Pb:function(a,b,c,e){if(0>this.Va)return m;var f=m;if(0===this.r.length)f=this.Va/this.i,this.G&&(f=1-f),f=this.xd(f,a,b,c,e);else for(var g=0;g<this.r.length;++g)f=this.r[g].Pb(a,b,c,e)||f;this.Va=-1;return f},Y:p(m),X:p(m),K:p(m),bc:function(){},wb:function(a,b){if(H.d.Yc())switch(a){case 12:return H.d.ad(b);case 13:return H.d.bd(b);case 10:return H.d.ie(b);case 11:return H.d.Zd(b)}return b},Ue:function(a,b){if(H.d.Yc())switch(a){case 12:for(var c=
0;c<b.length;++c)b[c]=H.d.ad(b[c]);break;case 13:for(c=0;c<b.length;++c)b[c]=H.d.bd(b[c])}}};H.a.Ta=function(a,b,c,e,f){H.a.Ta.l.call(this,a,b,c,e,f);this.c=Number(a.c0);this.o=a.c1};H.m(H.a.Ta,H.a.W);H.a.Ta.prototype.X=function(a,b){b[this.c]=this.o;return m};H.a.Ta.prototype.le=function(a,b,c){a=c.Ua[this.c];b[this.c]=[];for(var e=0;e<a;++e)b[this.c].push.apply(b[this.c],this.o);c.Z[this.c]=1;return m};H.a.Ta.prototype.bc=function(){this.ra&&(this.Ga=3>=this.c?this.le:this.X)};
H.a.Oa=function(a,b,c,e,f){H.a.Oa.l.call(this,a,b,c,e,f);this.c=Number(a.c0);this.ba=[];this.s=[];this.qc=[];if(a=a.b6){for(b=0;b<a.length;)this.ba.push(a[b++]*this.i/100),this.s.push(a[b++]);this.Ue(this.c,this.s);for(b=1;b<this.ba.length;++b)this.qc[b-1]=(this.s[b]-this.s[b-1])/(this.ba[b]-this.ba[b-1]);this.o=this.Ha?this.s[0]:this.s[this.s.length-1]}else this.o=0};H.m(H.a.Oa,H.a.W);
H.a.Oa.prototype.Y=function(a,b,c){for(var e=1;e<this.ba.length;++e)if(a<this.ba[e]){a-=this.ba[e-1];10==this.c||11==this.c?(c=c.L,c[this.c]||(c[this.c]=0),c[this.c]=this.s[e-1]+a*this.qc[e-1]):b[this.c]=this.s[e-1]+a*this.qc[e-1];12==this.c&&(b[this.c]=b[this.c]+this.$[0]-this.fa[0]);13==this.c&&(b[this.c]=b[this.c]+this.$[1]-this.fa[1]);17==this.c&&(b[this.c]=this.s[e-1]);break}return m};
H.a.Oa.prototype.X=function(a,b,c){10==this.c||11==this.c?(a=c.L,a[this.c]||(a[this.c]=0),a[this.c]=this.o):b[this.c]=this.o;12==this.c&&(b[this.c]=b[this.c]+this.$[0]-this.fa[0]);13==this.c&&(b[this.c]=b[this.c]+this.$[1]-this.fa[1]);return m};H.a.eb=function(a,b,c,e,f){H.a.eb.l.call(this,a,b,c,e,f);this.c=Number(a.c0);a=this.wb(this.c,Number(a.c2));this.o=this.Ha?0:a;this.Ee=a/this.i};H.m(H.a.eb,H.a.W);H.a.eb.prototype.Y=function(a,b,c){b=c.L;b[this.c]||(b[this.c]=0);b[this.c]+=this.Ee*a;return m};
H.a.eb.prototype.X=function(a,b,c){a=c.L;a[this.c]||(a[this.c]=0);a[this.c]+=this.o;return m};H.a.za=function(a,b,c,e,f){H.a.za.l.call(this,a,b,c,e,f);this.c=Number(a.c0);this.o=a.b6;this.Ga=19===this.c?this.Y:this.cd};H.m(H.a.za,H.a.W);H.a.za.prototype.Y=function(a,b,c){b=c.L;b[this.c]||(b[this.c]=[0,0]);a/=this.i;1<a&&(a=1);this.Ha&&1<=a&&(a=0);var e,c=1+this.o[0]*a/100;e=1+b[this.c][0]/100;b[this.c][0]=100*(c*e-1);c=1+this.o[1]*a/100;e=1+b[this.c][1]/100;b[this.c][1]=100*(c*e-1);return m};
H.a.za.prototype.cd=function(a,b,c){b=c.L;c=c.Ua[this.c];if(!b[this.c]){var e=[0,0,0];b[this.c]=[];for(var f=0;f<c;++f)b[this.c].push.apply(b[this.c],e)}a/=this.i;1<a&&(a=1);c*=3;for(e=0;e<c;)b[this.c][e++]+=~~(this.o[0]*a),b[this.c][e++]+=~~(this.o[1]*a),b[this.c][e++]+=~~(this.o[2]*a);return m};H.a.za.prototype.X=function(a,b,c,e){return this.Ga(this.i,b,c,e)};H.a.za.prototype.bc=function(){this.Ga=19===this.c?this.Y:this.cd};
H.a.cb=function(a,b,c,e,f){H.a.Oa.l.call(this,a,b,c,e,f);this.c=Number(a.c0);this.ba=[];this.s=[];this.g=[];a=a.b6;this.pa=[];this.pa[0]=Math.sin;this.pa[1]=Math.cos;this.pa[2]=Math.tan;this.pa[3]=Math.min;this.pa[4]=Math.max;this.pa[5]=Math.abs;if(a){for(c=b=0;c<a.length;)this.ba.push(a[c++]*this.i/100),this.g[b]=[],f=a[c++],e=0,"for"===f?(this.s.push("f"),f=a[c++],this.g[b][e++]=f,this.g[b][e++]=this.wb(this.c,a[c++]),this.g[b][e++]=this.pa[a[c++]],1<f&&(this.g[b][e++]=this.pa[a[c++]]),this.g[b][e++]=
a[c++],this.g[b][e++]=a[c++],0<f&&(this.g[b][e++]=a[c++],1<f&&(this.g[b][e++]=a[c++],this.g[b][e++]=a[c++],this.g[b][e++]=a[c++],this.g[b][e++]=a[c++],this.g[b][e++]=a[c++]))):this.s.push(this.wb(this.c,Number(f))),b++;a=0;a="f"===this.s[0]?this.ic(0,0):this.s[0];b=0;b="f"===this.s[this.s.length-1]?this.ic(this.s.length-1,1):this.s[this.s.length-1];this.o=this.Ha?a:b}else this.o=0};H.m(H.a.cb,H.a.W);
H.a.cb.prototype.Y=function(a,b){for(var c=1;c<this.ba.length;++c)if(a<this.ba[c]){var e=0,e="f"===this.s[c-1]?this.ic(c-1,a/this.i):this.s[c-1];b[this.c]=10==this.c||11==this.c?b[this.c]*e:e;break}return m};H.a.cb.prototype.X=function(a,b){b[this.c]=10==this.c||11==this.c?b[this.c]*this.o:this.o;return m};
H.a.cb.prototype.ic=function(a,b){var c=this.g[a][2],e=0;if(c){if(0==this.g[a][0])e=this.g[a][3]*c(this.g[a][4]*b);else if(1==this.g[a][0])e=this.g[a][3]-c(this.g[a][4]*b)/this.g[a][5];else if(2==this.g[a][0]||3==this.g[a][0]){var f=this.g[a][3];f&&(e=-this.g[a][5]*(this.g[a][6]-b),e=c(e)*-this.g[a][7],c=-this.g[a][8]*(this.g[a][9]-b),c=f(c)*-this.g[a][10],e=2==this.g[a][0]?this.g[a][4]+(e-c)*(this.g[a][11]-b):this.g[a][4]+(e+c)*(this.g[a][11]-b))}e*=this.g[a][1]}return e};
H.a.Ba=function(a,b,c,e,f){H.a.Ba.l.call(this,a,b,c,e,f);this.Ke=a.h9;this.ta=a.j0?i:m;this.wd=m;this.sa=!c;this.Xb=m};H.m(H.a.Ba,H.a.W);H.a.Ba.prototype.C=function(){this.A.ma();H.a.Ba.Na.C.call(this)};
H.a.Ba.prototype.Y=function(a){if(this.wd==m){try{this.A=H.O.Jc(H.F[this.ga].v.Ja.mdi,this.Ke)}catch(b){}this.wd=i;if(this.A==d)return m;this.sa||(this.A.xb=i,this.qb!=d&&(this.A.qb=this.qb));H.O.Oc();this.A.Gc(a,this.sa,this.ta);this.A.lc=this.ga}if(this.A==d||this.A.xb)return m;if(this.sa)if(cp.getCpIsPlaying()){if(this.Xb||this.A.ab)H.O.Oc(),this.A.Gc(a,this.sa,this.ta),this.A.lc=this.ga;this.Xb=m}else this.Xb||this.A.ma(),this.Xb=i;return m};
H.a.Ba.prototype.X=function(a){if(!this.A||this.A.nativeAudio==d||this.A.xb)return m;a=(a/1E3).toFixed(3);this.A.lc!=d&&this.A.lc==this.ga&&this.A.nativeAudio.duration<a&&this.A.ma();return m};
H.a.Aa=function(a,b,c,e,f){H.a.Aa.l.call(this,a,b,c,e,f);this.ob=document.createElementNS("http://www.w3.org/2000/svg","path");this.ob.setAttribute("d",a.b6);this.Ad=a.h7?i:m;this.zd=this.ob.getTotalLength();a=this.Ad?0:1;a=this.Ha?1-a:a;a=this.ob.getPointAtLength(this.zd*a);this.Fe=a.x;this.Ge=a.y;this.Ed=A.data.project.w;this.Cd=A.data.project.h};H.m(H.a.Aa,H.a.W);H.a.Aa.prototype.C=function(){H.a.Aa.Na.C.call(this);this.ob=j};
H.a.Aa.prototype.Y=function(a,b,c,e){a/=this.i;this.Ad&&(a=1-a);a=this.ob.getPointAtLength(this.zd*a);b[12]=e[12]+this.Ed*a.x;b[13]=e[13]+this.Cd*a.y;return m};H.a.Aa.prototype.X=function(a,b,c,e){b[12]=e[12]+this.Ed*this.Fe;b[13]=e[13]+this.Cd*this.Ge;return m};H.a.bb=function(a,b,c,e,f){H.a.bb.l.call(this,a,b,c,e,f);this.c=Number(a.c0);this.o=a.b6};H.m(H.a.bb,H.a.W);
H.a.bb.prototype.Y=function(a,b,c){c.Z[this.c]||(b[this.c]=b[this.c].slice(0));for(var a=a/this.i,e=1-a,f=b[this.c].length,g=0;g<f;)b[this.c][g]=~~(Number(b[this.c][g++])*e+this.o[0]*a),b[this.c][g]=~~(Number(b[this.c][g++])*e+this.o[1]*a),b[this.c][g]=~~(Number(b[this.c][g++])*e+this.o[2]*a),b[this.c][g]=~~(Number(b[this.c][g++])*e+this.o[3]*a);c.Z[this.c]=1;return m};
H.a.bb.prototype.X=function(a,b,c){c.Z[this.c]||(b[this.c]=b[this.c].slice(0));for(var a=b[this.c].length,e=0;e<a;)b[this.c][e++]=this.o[0],b[this.c][e++]=this.o[1],b[this.c][e++]=this.o[2],b[this.c][e++]=this.o[3];c.Z[this.c]=1;return m};H.a.D=function(a,b,c,e,f){H.a.D.l.call(this,a,b,c,e,f);this.P=Number(a.b9);this.q=Number(a.b8);this.G=this.M=m};H.m(H.a.D,H.a.W);H.a.D.prototype.Y=function(a){this.Va=a;1===this.P&&(this.Wa=i);return i};
H.a.D.prototype.Pb=function(a,b,c,e){return this.ra&&!this.Ha&&1===this.P?(a.clearRect(0,0,c,e),i):H.a.D.Na.Pb.call(this,a,b,c,e)};H.a.D.prototype.X=function(){1===this.P&&(this.Wa=i);if(!this.M)return m;this.M=m;return i};H.a.D.prototype.bc=function(){this.M=i};H.a.Jb=function(a,b,c,e,f){H.a.Jb.l.call(this,a,b,c,e,f);if(1===this.P)switch(this.q){case 0:this.q=1;break;case 1:this.q=0;break;case 2:this.q=3;break;case 3:this.q=2}else this.G=i};H.m(H.a.Jb,H.a.D);
H.a.Jb.prototype.K=function(a,b,c,e,f){switch(this.q){case 0:a*=e;b.clearRect(e-a,0,a,f);break;case 1:b.clearRect(0,0,e*a,f);break;case 2:b.clearRect(0,0,e,f*a);break;case 3:a*=f,b.clearRect(0,f-a,e,a)}return i};H.a.zb=function(a,b,c,e,f){H.a.zb.l.call(this,a,b,c,e,f);1===this.P&&(this.G=i)};H.m(H.a.zb,H.a.D);
H.a.zb.prototype.K=function(a,b,c,e,f){c=6;if(8===this.q){for(var g=f/6,a=g*a,f=f-g+a,a=g-a;0<c--;)b.clearRect(0,f,e,a),f-=g;return i}g=e/6;a*=g;e=e-g+a;for(a=g-a;0<c--;)b.clearRect(e,0,a,f),e-=g;return i};H.a.Pa=function(a,b,c,e,f){H.a.Pa.l.call(this,a,b,c,e,f);0===this.P&&(this.G=i);this.T=[];for(a=101;--a;)this.T.push(a/100);this.Qd(this.T)};H.m(H.a.Pa,H.a.D);H.a.Pa.prototype.Qd=function(a){for(var b,c,e=a.length;e--;)c=Math.floor(Math.random()*(e+1)),b=a[c],a[c]=a[e],a[e]=b};
H.a.Pa.prototype.K=function(a,b,c,e,f){a=Math.round(100*a);if(9==this.q){c=Math.round(e/100);for(1>c&&(c=1);a--;)b.clearRect(Math.round(this.T[a]*e),0,c,f);return i}c=Math.round(f/100);for(1>c&&(c=1);a--;)b.clearRect(0,Math.round(this.T[a]*f),e,c);return i};H.a.Bb=function(a,b,c,e,f){H.a.Bb.l.call(this,a,b,c,e,f);1===this.P&&(this.G=i)};H.m(H.a.Bb,H.a.D);
H.a.Bb.prototype.K=function(a,b,c,e,f){(c=this.G?0.5<a:0.5>a)||(a-=0.5);var g=0,h=0;if(8===this.q)for(var k=e/12,l=Math.ceil(f/6),o=k,n=l,f=0,o=k*a,f=c?2*(k-o):k-2*o,a=0;6>a;++a){0===a%2?g=c?2*o:k+2*o:c?(b.clearRect(0,h,k,l),g=k+2*o):g=2*o;for(;g<e;)b.clearRect(g,h,f,n),g+=2*k;h+=l}else{k=Math.ceil(e/6);l=f/12;o=k;e=0;n=l*a;e=c?2*(l-n):l-2*n;for(a=0;12>a;++a){0===a%2?h=c?2*n:l+2*n:c?(b.clearRect(g,0,k,l),h=l+2*n):h=2*n;for(;h<f;)b.clearRect(g,h,o,e),h+=2*l;g+=k}}return i};
H.a.Eb=function(a,b,c,e,f){H.a.Eb.l.call(this,a,b,c,e,f);this.T=[];this.Bd=this.Yb=m;a=200;a=400;for(b=0;b<a;++b)this.T.push(b);H.a.Pa.prototype.Qd.call(this,this.T);0===this.P&&(this.G=i)};H.m(H.a.Eb,H.a.D);
H.a.Eb.prototype.K=function(a,b,c,e,f){if(this.Bd==m)if(this.Yb=m,this.Bd=i,G)this.Yb=i;else try{b.getImageData(0,0,e,f)}catch(g){this.Yb=i}if(this.Yb){var c=Math.ceil(e/20),h=Math.ceil(f/20);if(0.5>a)for(a=~~(400*a);a--;){var k=this.T[a],l=Math.floor(k/20)*h,o=k%20*c;b.clearRect(o,l,c,h)}else{var a=~~(400*a),c=Math.ceil(5),h=Math.ceil(5),n=H.k.B,q=H.k.la;n.width=100;n.height=100;for(q.beginPath();a--;)k=this.T[a],o=k%20*c,l=Math.floor(k/20)*h,q.rect(o,l,c,h);q.fill();b.globalCompositeOperation="destination-out";
b.drawImage(n,0,0,e,f)}return i}c=e*f;a=Math.round(a*c);c=Math.ceil(c/200);e=b.getImageData(0,0,e,f);f=e.data;a=Math.ceil(a/c);h=3;for(k=0;k<c;++k){l=this.T[k]||this.T[k%200];h+=800;for(o=0;o<a;++o)f[h+4*this.T[(l+o)%200]]=0}b.putImageData(e,0,0);return i};H.a.Gb=function(a,b,c,e,f){H.a.Gb.l.call(this,a,b,c,e,f);if(1==this.P)switch(this.q){case 10:this.q=12;break;case 12:this.q=10;break;case 11:this.q=13;break;case 13:this.q=11}else this.G=i};H.m(H.a.Gb,H.a.D);
H.a.Gb.prototype.K=function(a,b,c,e,f){switch(this.q){case 10:return a*=f,b.clearRect(0,(f-a)/2,e,a),i;case 11:return a*=e,b.clearRect((e-a)/2,0,a,f),i;case 12:return a=f*a/2,b.clearRect(0,0,e,a),b.clearRect(0,f-a,e,a),i;case 13:return a=e*a/2,b.clearRect(0,0,a,f),b.clearRect(e-a,0,a,f),i}return m};H.a.Ra=function(a,b,c,e,f){H.a.Ra.l.call(this,a,b,c,e,f);this.S="destination-in";this.G=i;switch(this.q){case 4:case 6:this.S="destination-out",this.G=m}1===this.P&&(this.G=!this.G);this.B=document.createElement("canvas")};
H.m(H.a.Ra,H.a.D);H.a.Ra.prototype.C=function(){H.a.Ra.Na.C.call(this);this.B=j};H.a.Ra.prototype.K=function(a,b,c,e,f){c=2*e;if(this.B.width!=c||this.B.width!=f){this.B.width=2*e;this.B.height=f;var g=this.B.getContext("2d"),h=Math.ceil(e/16),k=Math.ceil(f/16);g.fillRect(0,0,e,f);g.translate(e,0);e=m;switch(this.q){case 4:case 7:e=i}f=16;if(e)for(;f--;)g.fillRect(0,k*f,h*(16-f),k);else for(;f--;)g.fillRect(0,k*f,h*(f+1),k)}b.globalCompositeOperation=this.S;b.drawImage(this.B,-c*a,0);return m};
H.a.Ib=function(a,b,c,e,f){H.a.Ib.l.call(this,a,b,c,e,f);this.Fd=Number(a.b7);this.qd=2*Math.PI/this.Fd;this.S=1===this.P?"destination-out":"destination-in";this.aa=this.lb=this.mb=0};H.m(H.a.Ib,H.a.D);
H.a.Ib.prototype.K=function(a,b,c,e,f){a*=this.qd;if(this.mb!==e||this.lb!==f)this.aa=Math.sqrt(Math.pow(e/2,2)+Math.pow(f/2,2)),this.mb=e,this.lb=f;var c=H.k.B,g=H.k.la;c.width=c.height=this.aa;g.save();g.translate(this.aa/2,this.aa/2);g.beginPath();for(var h=0;h<this.Fd;++h){var k=this.qd*h+-1.5708;g.moveTo(0,0);g.arc(0,0,this.aa,k,k+a,m)}g.fill();g.restore();b.globalCompositeOperation=this.S;b.drawImage(c,0,0,e,f);return i};
H.a.Hb=function(a,b,c,e,f){H.a.Hb.l.call(this,a,b,c,e,f);this.S=1===this.P?"destination-out":"destination-in";this.aa=this.lb=this.mb=0};H.m(H.a.Hb,H.a.D);
H.a.Hb.prototype.K=function(a,b,c,e,f){a*=Math.PI;if(this.mb!==e||this.lb!==f)this.aa=Math.sqrt(Math.pow(e/2,2)+Math.pow(f/2,2)),this.mb=e,this.lb=f;var c=H.k.B,g=H.k.la;c.width=c.height=this.aa;g.translate(this.aa/2,this.aa/2);g.moveTo(0,0);g.arc(0,0,this.aa,-1.5708-a,-1.5708+a,m);g.fill();b.globalCompositeOperation=this.S;b.drawImage(c,0,0,e,f);return i};
H.a.Qa=function(a,b,c,e,f){H.a.Qa.l.call(this,a,b,c,e,f);this.G=m;if(1==this.P)switch(this.q){case 14:this.q=15;this.G=i;break;case 15:this.q=14}else 14===this.q&&(this.G=i);this.S=14===this.q?"destination-out":"destination-in";this.Wb="destination-in"===this.S&&F};H.m(H.a.Qa,H.a.D);H.a.Ab=function(a,b,c,e,f){H.a.Ab.l.call(this,a,b,c,e,f)};H.m(H.a.Ab,H.a.Qa);
H.a.Ab.prototype.K=function(a,b,c,e,f){c=e*a;a*=f;b.globalCompositeOperation=this.S;if(this.Wb){var g=H.k.B;g.width=e;g.height=f;H.k.la.fillRect((e-c)/2,(f-a)/2,c,a);b.drawImage(g,0,0)}else b.fillRect((e-c)/2,(f-a)/2,c,a);return i};H.a.Db=function(a,b,c,e,f){H.a.Db.l.call(this,a,b,c,e,f)};H.m(H.a.Db,H.a.Qa);
H.a.Db.prototype.K=function(a,b,c,e,f){c=e*a;a*=f;b.globalCompositeOperation=this.S;if(this.Wb){var g=H.k.B;g.width=e;g.height=f;var e=e/2,f=f/2,h=H.k.la;h.beginPath();h.moveTo(e-c,f);h.lineTo(e,f-a);h.lineTo(e+c,f);h.lineTo(e,f+a);h.fill();b.drawImage(g,0,0)}else e/=2,f/=2,b.beginPath(),b.moveTo(e-c,f),b.lineTo(e,f-a),b.lineTo(e+c,f),b.lineTo(e,f+a),b.fill();return i};H.a.Cb=function(a,b,c,e,f){H.a.Cb.l.call(this,a,b,c,e,f)};H.m(H.a.Cb,H.a.Qa);
H.a.Cb.prototype.K=function(a,b,c,e,f){c=0.7071*e*a;a=0.7071*f*a;b.globalCompositeOperation=this.S;if(this.Wb){var g=H.k.B;g.width=e;g.height=f;var e=e/2,f=f/2,h=H.k.la;h.beginPath();h.translate(e-c,f-a);h.scale(c,a);h.arc(1,1,1,0,6.283185,m);h.fill();b.drawImage(g,0,0)}else e/=2,f/=2,b.save(),b.beginPath(),b.translate(e-c,f-a),b.scale(c,a),b.arc(1,1,1,0,6.283185,m),b.fill(),b.restore();return i};H.a.Fb=function(a,b,c,e,f){H.a.Fb.l.call(this,a,b,c,e,f)};H.m(H.a.Fb,H.a.Qa);
H.a.Fb.prototype.K=function(a,b,c,e,f){a=a/2+0.5;c=e*a;a*=f;b.globalCompositeOperation=this.S;if(this.Wb){var g=H.k.B;g.width=e;g.height=f;var h=H.k.la;h.beginPath();h.moveTo(0,a);h.lineTo(c,a);h.lineTo(c,0);h.lineTo(e-c,0);h.lineTo(e-c,a);h.lineTo(e,a);h.lineTo(e,f-a);h.lineTo(e-c,f-a);h.lineTo(e-c,f);h.lineTo(c,f);h.lineTo(c,f-a);h.lineTo(0,f-a);h.fill();b.drawImage(g,0,0)}else b.beginPath(),b.moveTo(0,a),b.lineTo(c,a),b.lineTo(c,0),b.lineTo(e-c,0),b.lineTo(e-c,a),b.lineTo(e,a),b.lineTo(e,f-a),
b.lineTo(e-c,f-a),b.lineTo(e-c,f),b.lineTo(c,f),b.lineTo(c,f-a),b.lineTo(0,f-a),b.fill();return i};H.k=new H.Pc;function I(a){a!=d&&console.log(a)}H.Nc=251658241;H.fe=function(a,b){return H.Nc==a?(b.elemType="div",b.classType="cp-pptxSlideItem",b.rewrap=i):m};H.ge=p(m);
H.hc=function(a,b){a.left=b[0];a.top=b[1];a.style.left=b[0]+"px";a.style.top=b[1]+"px";a.style.position="absolute";return a.width!=b[2]||a.height!=b[3]?(a.width=b[2],a.height=b[3],a.style.width=b[2]+"px",a.style.height=b[3]+"px",i):m};H.Xc=function(a,b,c){H.hc(a,c)||b.clearRect(0,0,c[2],c[3])};
H.initializePPTXLibrary=function(){y=cp;A=cp.model;D=cp.DisplayObject;F=y.browser===y.SAFARI;G=y.device===y.IDEVICE;H.instanceManager=H.F;H.N=function(a){try{H.fd=0;H.N.l.call(this,a);var b=A.data[a.id];this.ha=b.dn;this.Ja=A.data[this.ha];this.zc=this.Ja.from;this.yf=1E3*this.zc/cp.getCpInfoOriginalFPS();if("j3"in b&&"j4"in b){var c=b.j3,e=b.j4,f=Math.abs(e-A.data.project.h);1<Math.abs(c-A.data.project.w)||1<f?(H.d.Vc(A.data.project.w/c,A.data.project.h/e),d==H.Dd[this.ha]?(H.Dd[this.ha]=1,H.d.Wc(i)):
H.d.Wc(m)):H.d.Vc(1,1)}H.k.ya(b.g4.a1,b.g4.a2,this.Ja.to-this.zc,cp.getCpInfoOriginalFPS,cp.getCpInfoSpeed,cp.movie.stage.m_SlideHasEffects);var g=b.g4.c3,h;for(h in g)H.F[h]=new H.hb(h,g[h]);this.Ya={};this.xc=-1;var k=b.g4.a1;if(d!=k)for(var l=1;l<k.length;++l){var o=this.zc+H.$c(k[l][0])-1;this.Ya[o]=o;y.AddNoSkipFrameExternal(o)}this.wa=j;d!=this.Ja&&(this.wa=A.data[this.Ja.mdi]);this.yc=document.getElementById("re-"+this.ha+"c");H.hc(this.yc,H.d.fb(this.wa.b));this.yc.onclick=H.Lb;var n=document.getElementById(this.ha);
n&&H.hc(n,[0,0,0,0]);this.Ld=n;this.Jd="g5"in b?b.g5:[];var q=this.wa.c9;this.ca=[];for(l=0;l<q.length;++l){var t=q[l].d1,v=q[l].d2,x=this.wa[t];if(d!=x&&j!=x){var z=H.Uc(t,v,x,this);this.ca.push(z);H.F[t]=z}}}catch(s){I(s),s.stack&&I(s.stack)}H.k.start()};H.m(H.N,D);H.N.prototype.appendChild=function(a){this.element.appendChild(a)};H.N.prototype.removeChild=function(a){this.element.removeChild(a)};H.N.prototype.updateFrame=function(){var a=i;this.Ya[cpInfoCurrentFrame]!=d?this.xc!=cpInfoCurrentFrame?
(this.xc=cpInfoCurrentFrame,y.movie.pause(y.ReasonForPause.PPTX_PAUSE_FOR_ONCLICK_ANIMATION)):a=m:this.xc=-1;a&&this.Ic()};H.N.prototype.Kb=function(a){return 0<=a&&this.Jd.length>a?this.Jd[a]:j};H.N.prototype.start=function(){this.Ic();this.updateFrame()};H.vc=m;H.N.prototype.Ic=function(){try{this.Me=cpInfoCurrentFrame;for(var a=0;a<this.ca.length;++a)this.ca[a].dc(this.Me)}catch(b){I(b),b.stack&&I(b.stack)}};H.N.prototype.reset=function(a){try{H.O.Zc(),d!=a&&a==i&&this.ae()}catch(b){I(b),b.stack&&
I(b.stack)}};H.N.prototype.ae=function(){for(var a=0;a<this.ca.length;++a)this.ca[a].na(),delete this.ca[a];this.yc=this.wa=this.wa=this.Ja=this.ha=this.ca=j;H.k.ya();H.F={};H.O.Zc()};H.N.prototype.ue=function(a){return this.wa[a]};H.N.prototype.oe=function(a,b,c){for(var e=-1,f=m,g=0;g<this.ca.length;++g)if(this.ca[g].Kd==a.Kd){e=g;break}for(g=e-1;0<=g&&!(a={Ac:0,Bc:0},this.ca[g].Tb(b,c,a)&&(f=this.ca[g].Pd(a)));--g);return f};y.RegisterExternalObjects("pptxSlideItem",H.N,H.fe,H.ge);H.ka=function(a,
b,c){var e=this.kd(b.f5,b.h6,i);this.e=H.d.fb(b.f5);var f="";b.b5!=d&&(f=b.b5);H.ka.l.call(this,a,b,e,f);e.C();this.Kd=a;this.v=c;this.z=j;this.j=document.createElement("canvas");this.j.id=a;this.j.Ma=this;this.u=this.j.getContext("2d");this.Cc=j;if("j5"in b){this.Cc=b.j5;b=this.Cc.length;for(c=0;c<b;++c){f=this.Cc[c];e=document.createElement("div");e.id=this.v.ha+a+"_acc"+c;e.style.left=f.f5[0]+"px";e.style.top=f.f5[1]+"px";e.style.width=f.f5[2]-f.f5[0]+"px";e.style.height=f.f5[3]-f.f5[1]+"px";e.style.position=
"absolute";e.tabIndex=0;var g=" Clickable";-1==f.h4&&(g=" graphic");if(y.browser===y.CHROME)e.setAttribute("role","document"),e.setAttribute("aria-label",f.i9+g);else if(y.browser===y.MSIE){var h=document.createElement("p");h.textContent=f.i9+g;g=document.createElement("div");g.id=this.v.ha+a+"_accTempText"+c;g.style.opacity=0;g.appendChild(h);e.appendChild(g)}else-1!=f.h4?e.setAttribute("role","button"):e.setAttribute("role","img"),e.setAttribute("aria-label",f.i9);e.Ma=this;if(-1!=f.h4&&(f=this.v.Kb(f.h4)))e.ActionInfo=
f,e.onkeypress=H.Lc;e.onclick=H.Lb;this.v.Ld.appendChild(e)}}H.Xc(this.j,this.u,[this.e[0],this.e[1],this.e[2]-this.e[0],this.e[3]-this.e[1]]);this.v.appendChild(this.j);this.j.onclick=H.Lb;this.va=[]};H.m(H.ka,H.Mb);H.ka.prototype.cc=function(a,b){this.ea.f[b].push.apply(this.ea.f[b],a.split(","))};H.ka.prototype.na=function(){this.C();this.v.removeChild(this.j);this.z=this.u=this.j=j;this.va=[]};H.ka.prototype.dc=function(a){try{var b=this.Wd();this.u.canvas.hidden=this.p.f[17]?m:i;this.u.canvas.hidden&&
(this.p.f[14]=0);this.p.M&&this.Ea(a,b[1]);if(this.p.M||b[0])this.pe(this.u,this.j.width,this.j.height),this.Hc()}catch(c){I(c)}};H.ka.prototype.Tb=function(a,b){return H.fc(a,b,this.e)};H.ka.prototype.Pd=function(a){var b=m;if(this.wc.length)return this.$a(),i;if(this.va.length||j!=this.sb)b=H.qe(this,a);return b};H.jd=function(a){switch(a[0]){case H.J.Ub:return[a[1],a[2]];case H.J.Fa:return[a[1],a[2]];case H.J.oc:return[a[3],a[4]];default:I("unknown path token")}return[0,0]};H.ub=function(a,b){if(b&&
a){a.beginPath();for(var c=0;c<b.length;++c){var e=b[c];switch(e[0]){case H.J.Ub:a.moveTo(e[1],e[2]);break;case H.J.Fa:a.lineTo(e[1],e[2]);break;case H.J.oc:a.quadraticCurveTo(e[1],e[2],e[3],e[4])}}2<b.length&&(c=H.jd(b[0]),e=H.jd(b[b.length-1]),1E-6>Math.abs(c[0]-e[0])+Math.abs(c[1]-e[1])&&a.closePath())}};H.d={data:{I:[1,0,0,1,0,0],Q:m,$b:i},Wc:function(a){H.d.data.$b=a},Yc:function(){return H.d.data.Q},Vc:function(a,b){H.d.data.I[0]=a;H.d.data.I[3]=b;H.d.data.Q=!(1==a&&1==b)},Ca:function(a){return!H.d.data.Q?
a:[H.d.data.I[0]*a[0]+H.d.data.I[2]*a[1]+H.d.data.I[4],H.d.data.I[1]*a[0]+H.d.data.I[3]*a[1]+H.d.data.I[5]]},ad:function(a){return!H.d.data.Q?a:H.d.data.I[0]*a+H.d.data.I[4]},bd:function(a){return!H.d.data.Q?a:H.d.data.I[3]*a+H.d.data.I[5]},ie:function(a){return!H.d.data.Q?a:H.d.data.I[0]*a},Zd:function(a){return!H.d.data.Q?a:H.d.data.I[3]*a},$d:function(a){return!H.d.data.Q?a:H.La(H.d.data.I,a)},Kc:function(a){if(!H.d.data.Q)return a;H.d.data.$b&&(a=H.d.$d([a[0],a[3],a[1],a[2],a[4],a[5]]));return[a[0],
a[2],a[3],a[1],a[4],a[5]]},be:function(a){if(H.d.data.Q&&H.d.data.$b)for(var b=0;b<a.length;++b){var c=a[b];switch(c[0]){case H.J.Ub:case H.J.Fa:var e=H.d.Ca([c[1],c[2]]);c[1]=e[0];c[2]=e[1];break;case H.J.oc:e=H.d.Ca([c[1],c[2]]),c[1]=e[0],c[2]=e[1],e=H.d.Ca([c[3],c[4]]),c[3]=e[0],c[4]=e[1]}}},Xd:function(a){if(H.d.data.Q)for(var b=a.length,c=0;c<b;++c)H.d.be(a[c].e7)},fb:function(a){if(!H.d.data.Q)return a;var b=H.d.Ca([a[0],a[1]]),a=H.d.Ca([a[2],a[3]]);return[b[0],b[1],a[0],a[1]]},Yd:function(a){if(H.d.data.Q){var b=
a.length;if(H.d.data.$b)for(var c=0;c<b;++c){var e=a[c];switch(e.e3){case H.R.kb:switch(e.e9){case H.Nb.ld:case H.Nb.md:var f=H.d.Ca([e.f6[0],e.f6[1]]),g=H.d.Ca([e.f6[2],e.f6[3]]);e.f6=[f[0],f[1],g[0],g[1]]}break;case H.R.mc:e.g3=H.d.Kc(e.g3)}}}}};H.se=function(a,b,c,e,f,g){if(!(d==b||j==b)){var h=b.e3;h==H.R.kb&&c.Z[1]&&(h=H.R.nc);switch(h){case H.R.ze:return;case H.R.nc:b=c.f[1];e*=4;a.fillStyle="rgba("+b[e]+","+b[e+1]+","+b[e+2]+","+b[e+3]+")";break;case H.R.kb:switch(b.e9){case H.Nb.ld:g=a.createLinearGradient(b.f6[0],
b.f6[1],b.f6[2],b.f6[3]);break;case H.Nb.md:var g=(b.f6[0]+b.f6[2])/2,e=(b.f6[1]+b.f6[3])/2,c=b.f6[2],k=b.f6[3],c=Math.sqrt((g-c)*(g-c)+(e-k)*(e-k)),l=Math.floor((f[0]+f[2])/2),k=Math.floor((f[1]+f[3])/2),o=g,n=e,q=k-c;q>e&&(o=l,l=(q-e)/2,n=k-l,e=e+l+1);g=a.createRadialGradient(g,e,0,o,n,c);break;default:return}for(e=0;e<b.f1.length;++e)c=b.f1[e],g.addColorStop(c[0],"rgba("+c[1]+")");a.save();a.clip();H.ub(a,[[H.J.Ub,f[0],f[1]],[H.J.Fa,f[2],f[1]],[H.J.Fa,f[2],f[3]],[H.J.Fa,f[0],f[3]],[H.J.Fa,f[0],
f[1]]]);a.fillStyle=g;break;case H.R.mc:if(j==g||!("g1"in b))return;f=-1;for(e=0;e<g.length;++e)g[e].g1==b.g1&&(f=e);if(-1==f)return;c=y.movie.im.images;k="dr/pptxIm/"+g[f].ip;e=j;d==b.me&&(b.g3[0]=Math.round(g[f].f3*b.g3[0])/g[f].f3,b.g3[1]=Math.round(g[f].f4*b.g3[1])/g[f].f4,b.me=i);if(c&&k in c)e=c[k].nativeImage;else{I("Image not found at source yet");return}f=j;if(e&&e.complete)f=a.createPattern(e,b.f2?"repeat":"no-repeat");else{I("Image not loaded yet");return}a.save();a.transform(b.g3[0],b.g3[2],
b.g3[3],b.g3[1],b.g3[4],b.g3[5]);a.fillStyle=f;break;default:return}a.fill();switch(h){case H.R.kb:case H.R.mc:a.restore()}}};H.Te=function(a,b,c,e){a.lineWidth=b.d5;c.Z[2]?(c=c.f[2],e*=4,a.strokeStyle="rgba("+c[e]+","+c[e+1]+","+c[e+2]+","+c[e+3]+")"):a.strokeStyle="rgba("+b.d6+")";if("d9"in b)switch(b.d9){case H.Sc.Ce:a.lineJoin="bevel";break;case H.Sc.De:a.lineJoin="miter";break;default:a.lineJoin="round"}else a.lineJoin="round";if("d8"in b)switch(b.d8){case H.Rc.Be:a.lineCap="square";break;case H.Rc.Ae:a.lineCap=
"butt";break;default:a.lineCap="round"}else a.lineCap="round";a.stroke()};H.La=function(a,b){return[a[0]*b[0]+a[2]*b[1],a[1]*b[0]+a[3]*b[1],a[0]*b[2]+a[2]*b[3],a[1]*b[2]+a[3]*b[3],a[0]*b[4]+a[2]*b[5]+a[4],a[1]*b[4]+a[3]*b[5]+a[5]]};H.Qc=function(a,b,c,e){this.Af=a;this.Ne=b;this.Za=c;this.Ec=e;this.ia=this.Ec.getContext("2d");this.Md="h4"in b?b.h4:-1;this.Od=b.f7;this.Dc=b.f8;this.Nd=H.d.fb(b.f5);(this.Ka=b.e2)&&H.d.Yd(this.Ka);this.ac=b.d4;this.Fc=b.f6?b.f6:[1,1,0,0,0,0];this.Fc=H.d.Kc(this.Fc);
this.Ob=m};H.Qc.prototype.na=function(){this.Ec=this.Za=this.Ne=j;this.Md=-1;this.Fc=this.Ka=j;this.Ob=m};H.da=function(a,b,c,e){H.da.l.call(this,a,b,c,e);this.Oe=H.Sa.od;this.xa=b.e8;H.d.Xd(this.xa);a="0,0,0,0";if(this.Ka&&this.Ka.length)switch(b=this.Ka[0],b.e3){case H.R.nc:a=b.d6;break;case H.R.kb:b.f1.length&&(a=b.f1[0][1])}c.cc(a,3);c.cc(a,1);a="0,0,0,0";this.ac&&this.ac.length&&(a=this.ac[0].d6);c.cc(a,2)};H.m(H.da,H.Qc);H.da.prototype.na=function(){this.xa=j;H.da.Na.na.call(this)};H.da.prototype.dc=
function(a){this.Ea(a)};H.da.prototype.Ea=function(a,b,c){if(j!=this.Dc){var e=c+1;if(!(e>=this.Za.U.length)){var f=this.Za.U[e];if(f&&f.Od==this.Dc){for(var e=this.xa.length,g=0;g<e;++g)this.ia.save(),H.ub(this.ia,this.xa[g].e7),this.ia.clip(),f.Ea(a,b,c+1),this.ia.restore();f.Ob=i}}}else if(this.Ob)this.Ob=m;else{e=this.xa.length;this.Ec.style.opacity=b.f[14];for(g=0;g<e;++g)if(a=m,f=this.xa[g],"e5"in f&&0!=f.e5&&(a=i,H.ub(this.ia,f.e7),H.se(this.ia,this.Ka[f.e5-1],b,c,this.Nd,this.Za.v.wa.pxi)),
"e6"in f&&0!=f.e6)a||H.ub(this.ia,f.e7),H.Te(this.ia,this.ac[f.e6-1],b,c)}};H.da.prototype.isPointInPath=function(a,b,c){for(var e=this.xa.length,f=0;f<e;++f){var g=this.xa[f],h=c||"e5"in g&&0!=g.e5;if(h=h||"e6"in g&&0!=g.e6)if(H.ub(this.ia,g.e7),this.ia.isPointInPath(a,b))return i}return m};H.da.prototype.ve=function(a){a+=1;if(a>=this.Za.U.length)return m;a=this.Za.U[a];return!a||a.Od!=this.Dc?m:i};H.Da=function(a,b,c,e){H.Da.l.call(this,a,b,c,e);this.Oe=H.Sa.pd};H.m(H.Da,H.da);H.Da.prototype.na=
function(){H.Da.Na.na.call(this)};H.Da.prototype.dc=function(a){this.Ea(a)};H.Da.prototype.Ea=function(){};H.oa=function(a,b,c){H.oa.l.call(this,a,b,c);this.zf=H.Sa.nd;this.e=H.d.fb(b.f5);this.U=[];for(var e=[],f=0;f<b.c7.length;++f){var g=b.c7[f],h=c.ue(g);d!=h&&j!=h&&(h=H.Uc(g,h.d2,h,this,this.j),this.U.push(h),H.F[g]=h,e.push({je:h.Md,ne:h.Nd}))}for(g=0;g<e.length;++g)if(h=e[g],f=c.Kb(h.je),j!=f){var k={};k.Id=f;k.Le=h.ne;this.va.push(k)}this.sb=j;if(b.i8!=d){this.tb=b.i8;for(b=0;b<this.tb.length;++b){e=
this.tb[b];c=document.createElement("div");c.id=this.v.ha+a+"_accText"+b;c.style.left=e.f5[0]+"px";c.style.top=e.f5[1]+"px";c.style.width=e.f5[2]-e.f5[0]+"px";c.style.height=e.f5[3]-e.f5[1]+"px";c.style.position="absolute";c.tabIndex=0;c.Ma=this;y.browser===y.MSIE?(f=document.createElement("p"),f.textContent="This is Hyperlink",g=document.createElement("div"),g.id=this.v.ha+a+"_accTextAria"+b,g.style.opacity=0,g.appendChild(f),c.appendChild(g)):(c.setAttribute("role","button"),c.setAttribute("aria-label",
"This is Hyperlink"));if(-1!=e.h4&&(f=this.v.Kb(e.h4)))c.ActionInfo=f,c.onkeypress=H.Lc,c.onclick=H.Lb;this.v.Ld.appendChild(c)}}this.rb=j;this.Ve()};H.m(H.oa,H.ka);H.oa.prototype.na=function(){for(var a=0;a<this.U.length;++a)this.U[a]&&this.U[a].na();this.rb=j;H.oa.Na.na.call(this)};H.oa.prototype.Ea=function(a,b){if(!b||j==this.rb){H.Xc(this.j,this.u,[this.e[0],this.e[1],this.e[2]-this.e[0],this.e[3]-this.e[1]]);this.u.globalCompositeOperation="source-over";this.u.save();this.u.translate(-this.e[0],
-this.e[1]);for(var c=0;c<this.U.length;++c)this.U[c].Ea(a,this.p,c);this.u.restore();if(b)try{this.rb=this.u.getImageData(0,0,this.e[2]-this.e[0],this.e[3]-this.e[1])}catch(e){this.rb=j,I("Run from web server to enable image cached approach")}}else this.u.putImageData(this.rb,0,0)};H.oa.prototype.Hc=function(){var a=this.p.f,b=this.ea.f,c=Math.cos(a[15]*Math.PI/180),e=Math.sin(a[15]*Math.PI/180);if(y.device===y.ANDROID&&y.browser===y.CHROME&&a[11].toFixed(0)!=b[11].toFixed(0)&&a[10].toFixed(0)!=
b[10].toFixed(0)){var f=11;b[11]>b[10]&&(f=10);a[f]=b[f]}c=H.La([a[10]/b[10],0,0,a[11]/b[11],0,0],[c,e,-e,c,0,0]);c=H.La(c,[1,0,a[16],1,0,0]);this.z=c=H.La([1,0,0,1,a[12]-b[12],a[13]-b[13]],c);c="matrix("+c[0].toFixed(6)+","+c[1].toFixed(6)+","+c[2].toFixed(6)+","+c[3].toFixed(6)+","+c[4].toFixed(6)+","+c[5].toFixed(6)+")";this.j.style.transform=c;this.j.style["-ms-transform"]=c;this.j.style.MozTransform=c;this.j.style["-webkit-transform"]=c;1!=cp.movie.m_scaleFactor&&cp.fixWebkitScaling&&cp.fixWebkitScaling(this.j);
this.j.style["-o-transform"]=c;this.j.style.opacity=a[14];this.u.canvas.hidden=a[17]?m:i};H.oa.prototype.Tb=function(a,b,c){a-=(this.e[0]+this.e[2])/2;b-=(this.e[1]+this.e[3])/2;if(j!=this.z)var e=a,a=this.z[3]*a-this.z[2]*b+this.z[2]*this.z[5]-this.z[4]*this.z[3],b=-this.z[1]*e+this.z[0]*b+this.z[1]*this.z[4]-this.z[5]*this.z[0],e=this.z[0]*this.z[3]-this.z[1]*this.z[2],a=a/e,b=b/e;var e=a+(this.e[0]+this.e[2])/2,f=b+(this.e[1]+this.e[3])/2;c.Ac=e;c.Bc=f;a+=(this.e[2]-this.e[0])/2;b+=(this.e[3]-
this.e[1])/2;if(!H.ka.prototype.Tb.call(this,a+this.e[0],b+this.e[1]))return m;c=m;this.sb=j;if(this.tb!=d)for(var g=0;g<this.tb.length;++g){var h=this.tb[g];if(H.fc(e,f,h.f5)){this.sb=this.v.Kb(h.h4);c=i;break}}if(!c){this.u.save();this.u.translate(-this.e[0],-this.e[1]);c=m;for(e=0;e<this.U.length;++e){f=this.U[e];g=f.ve(e);if(f.isPointInPath(a,b,g)){c=i;break}g&&++e}this.u.restore()}if(c)return i;c=j;try{c=this.u.getImageData(a,b,1,1)}catch(k){return I("Run from web server to make proper click handling work"),
m}return 0!=c.data[3]};H.Uc=function(a,b,c,e,f){switch(b){case H.Sa.od:return new H.da(a,c,e,f);case H.Sa.pd:return new H.Da(a,c,e,f);case H.Sa.nd:return new H.oa(a,c,e)}return j};H.Tc={ye:0,xe:1};H.ec=function(a,b){var c=m;try{for(var e=0;e<a.length;++e){var f=a[e];try{if(f.h1!=d){var c=i,g=H.O.Jc(b.v.Ja.mdi,f.h1);g&&(g.xb=i,g.Gc(0,m,m))}}catch(h){}switch(f.g7){case H.Tc.ye:case H.Tc.xe:f.g8!=d&&y.openURL(f.g8),c=i}}}catch(k){}return c};H.qe=function(a,b){for(var c=j,e=0;e<a.va.length;++e)if(H.fc(b.Ac,
b.Bc,a.va[e].Le)){c=a.va[e].Id;break}j==c&&0<a.va.length&&(c=a.va[0].Id);j!=a.sb&&(c=a.sb);c instanceof Array||(c=[c]);return H.ec(c,a)};H.Lb=function(a){var b=a.currentTarget.Ma;if(!b&&(b=a.target.Ma,!b))return;var c=a.pageX-y.movie.offset,e=a.pageY-y.movie.topOffset,f=m,g={Ac:0,Bc:0};b.Tb(c,e,g)&&(f=b.Pd(g));f||(f=b.v.oe(b,c,e));if(f)a.stopPropagation();else{if(b=document.activeElement.Ma)if(a=document.activeElement.ActionInfo){H.ec(a,document.activeElement.Ma);return}H.O.ee();if(y.movie.paused)y.movie.play();
else{a=cpInfoCurrentFrame;c=Infinity;if(b&&b.v&&b.v.Ya&&0<b.v.Ya.length)for(var h in b.v.Ya)e=b.v.Ya[h],e<a||c>e&&(c=e);Infinity!=c&&y.movie.jumpToFrame(c+1)}}};H.Lc=function(a){var b=a.currentTarget;if(b){var c=0;a.keyCode?c=a.keyCode:a.which&&(c=a.which);if(32==c||13==c)(a=b.ActionInfo)&&H.ec(a,b.Ma)}};H.ja=function(a,b,c,e,f,g,h,k){H.ja.l.call(this,a,b,c,e,f);this.Qb=2;this.ab=this.xb=this.ta=this.sa=this.vd=m;k!=d&&(this.Hd=k)};H.m(H.ja,y.ExtAudioObject);H.ja.prototype.play=function(){};H.ja.prototype.Gc=
function(a,b,c){this.ab=m;if(!this.nativeAudio&&(H.O.ib.allocAudioChannel(this,m),!this.nativeAudio))return;this.vd||(b!=d&&(this.sa=b),c!=d&&(this.ta=c),this.vd=i);this.Re(a);this.Qb=0;this.nativeAudio.play()};H.ja.prototype.pause=function(a){this.sa&&!(y.ReasonForPause.PPTX_PAUSE_FOR_ONCLICK_ANIMATION==a&&this.ta)&&this.ma()};H.ja.prototype.ma=function(a){a==d&&(a=m);!(y.ReasonForPause.PPTX_PAUSE_FOR_ONCLICK_ANIMATION==y.movie.reasonForPause&&this.ta&&!a)&&(!(y.ReasonForPause.INTERACTIVE_ITEM==
y.movie.reasonForPause&&this.ta&&!a)&&0==this.Qb)&&(this.Qb=1,this.nativeAudio&&(this.nativeAudio.pause(),this.nativeAudio.pausedAt=(new Date).getTime()))};H.ja.prototype.Se=function(){this.ma(i);this.Qb=2;this.paused=this.ended=i};H.ja.prototype.Re=function(a){a=(a/1E3).toFixed(3);if(this.nativeAudio)if(this.nativeAudio.duration<a)this.nativeAudio.pause();else if(!(0.05>Math.abs(this.nativeAudio.currentTime-a)))try{this.nativeAudio.currentTime=a}catch(b){}};H.Mc=function(a){this.ib=a;this.Gf=m};
H.Mc.prototype={load:function(){this.V={};for(var a=(A.data.project_main.slides||"").split(","),b=0;b<a.length;++b){var c=A.data[a[b]];if("PPTX Slide"==c.st)for(var e=0;e<c.si.length;++e)if(H.Nc==c.si[e].t){for(var f=c.si[e].n,g=A.data[f].mdi,h=A.data[g].h8,k=A.data[f].from,l=A.data[f].to,f={},o=m,n=0;n<h.length;++n){var o=h[n],q=0;d!=o.i3&&(q=o.i3);q=new H.ja(this.ib,o.h9,"ar/pptxAr/"+o.i1,k,l,0,0,q);f[o.h9]=q;o=i}if(o)if(this.V[g]=f,d==this.ib.extAudios[a[b]])this.ib.extAudios[a[b]]=f;else{var g=
this.ib.extAudios[a[b]],t;for(t in f)g[t]=f[t]}}}},Zc:function(){for(var a in this.V){var b=this.V[a],c;for(c in b)b[c].Se()}},de:function(){for(var a in this.V){var b=this.V[a],c;for(c in b){var e=b[c];e.sa&&!e.xb&&(e.ma(),e.ab=i)}}},Oc:function(){for(var a in this.V){var b=this.V[a],c;for(c in b){var e=b[c];e.ta&&(e.ma(i),e.ab=i)}}},ce:function(a){for(var b in this.V){var c=this.V[b],e;for(e in c){var f=c[e];f.qb!=d&&f.qb==a&&(f.ma(),f.ab=i)}}},ee:function(){for(var a in this.V){var b=this.V[a],
c;for(c in b){var e=b[c];e.Hd!=d&&0==e.Hd&&(e.ma(),e.ab=i)}}},Jc:function(a,b){var c=this.V[a];return c&&(c=c[b])?c:j}};H.he=function(a){try{H.O=new H.Mc(a),H.O.load()}catch(b){I("Error in PPTXLib.RegisterPPTXAudioCb "+b)}I("RegisterPPTXAudioCb ")};y.AddExternalAudioCb(H.he)};})();
if("undefined"===typeof console||"undefined"===typeof console.log)console={log:function(){}};window.Node||(window.Node={},Node.ELEMENT_NODE=1,Node.ATTRIBUTE_NODE=2,Node.TEXT_NODE=3,Node.CDATA_SECTION_NODE=4,Node.ENTITY_REFERENCE_NODE=5,Node.ENTITY_NODE=6,Node.PROCESSING_INSTRUCTION_NODE=7,Node.COMMENT_NODE=8,Node.DOCUMENT_NODE=9,Node.DOCUMENT_TYPE_NODE=10,Node.DOCUMENT_FRAGMENT_NODE=11,Node.NOTATION_NODE=12);
Array.indexOf||(Array.prototype.indexOf=function(M){for(var Y=0;Y<this.length;++Y)if(this[Y]==M)return Y;return-1});
(function(){function M(a,c){var d=[],e=cp.movie.stage;if(!(e&&a>e.slides.length-1)){var e=cp.D[e.slides[a]],f=cp.D[e.mdi],g=f.ip;if(!g&&(cp.device==cp.IDEVICE||cp.device==cp.ANDROID))g=f.aip;g&&d.push(g);e.imgf&&(e.imgf.img&&e.imgf.img.ip&&e.imgf.img.ip.length>0)&&d.push(e.imgf.img.ip);e=e.si;for(f=0;f<e.length;++f)if(g=cp.D[cp.D[e[f].n].mdi]){var k=g.ip;if(k)if(typeof k==="object")for(var m in k)d.push(k[m]);else d.push(k);(k=g.uImg)&&d.push(k);(k=g.hImg)&&d.push(k);(k=g.pImg)&&d.push(k);(k=g.imgf)&&
(k.img&&k.img.ip&&k.img.ip.length>0)&&d.push(k.img.ip);(k=g.asbos)&&(k.imgf&&k.imgf.img&&k.imgf.img.ip&&k.imgf.img.ip.length>0)&&d.push(k.imgf.img.ip);(k=g.asbds)&&(k.imgf&&k.imgf.img&&k.imgf.img.ip&&k.imgf.img.ip.length>0)&&d.push(k.imgf.img.ip);if(g=g[cp.kPPTXSlideImagesStr])for(k=0;k<g.length;++k)g[k].ip.length>0&&d.push(cp.kPPTXSlideImagesDir+g[k].ip)}cp.movie.im.loadImages(a,d,c)}}function Y(a,c,d){if(cp.responsive){a:{var e=0,f=0,g=0,k=0,m=0,l="",n="",o=false,q=null,p=void 0,u=void 0,s=void 0,
v=void 0,x=false;c&&(x=true);if(a.id){var w=cp.D[a.id];if(w){var y=w.mdi,B=c=null;if(y){c=cp.D[y];B=cp(y)}var z=cp.isCaptionItem(w.type)&&cp.D[w.mdi]&&cp.D[w.mdi].ip,A=cp.kCPOTAutoShape==w.type||cp.kCPOTStageCorrectFeedbackShape==w.type||cp.kCPOTSuccessShapeItem==w.type||cp.kCPOTStageIncorrectFeedbackShape==w.type||cp.kCPOTFailureShapeItem==w.type||cp.kCPOTHintShapeItem==w.type||cp.kCPOTStagePartialCorrectFeedbackShape==w.type||cp.kCPOTRetryFeedbackShape==w.type||cp.kCPOTIncompleteFeedbackShape==
w.type||cp.kCPOTTimeoutFeedbackShape==w.type||cp.kCPOTAnswerFeedbackShape==w.type,n=cp.kCPOTStageAnswerLabel==w.type||cp.kCPOTStageAnswerItem==w.type||cp.kCPOTStageMatchingAnswerEntry==w.type||cp.kCPOTStageMatchingQuestion==w.type;if((cp.kCPOTScorableButtonItem==w.type||cp.kCPOTRetakeButton==w.type||cp.kCPOTStageQuestionNextButton==w.type||cp.kCPOTStageQuestionClearButton==w.type||cp.kCPOTStageQuestionBackButton==w.type||cp.kCPOTStageQuestionSubmitButton==w.type||cp.kCPOTScoringReviewButton==w.type||
cp.kCPOTScoringContinueButton==w.type||cp.kCPOTSubmitAllButton==w.type||cp.kCPOTResetButton==w.type||cp.kCPOTUndoButton==w.type||cp.kCPOTDDSubmitButton==w.type||cp.kCPOTTextEntryButtonItem==w.type)&&w.subt!=void 0&&w.subt==cp.kTextButton){a=void 0;break a}u=cp(a.id+"_vTxtHolder");s=cp(a.id+"_vTxtHandlerHolder");if(n){u=a.drawingBoard;s=a}var F=w.vt,q=w.rpvt;if(!q){a=void 0;break a}var J=[0,0,0,0],C=marginT=marginR=marginB=0;w.autoGrow=cp.autoGrow&&!n;C=w.rplm?w.rplm[cp.ResponsiveProjWidth]:0;marginT=
w.rptm?w.rptm[cp.ResponsiveProjWidth]:0;marginR=w.rprm?w.rprm[cp.ResponsiveProjWidth]:0;marginB=w.rpbm?w.rpbm[cp.ResponsiveProjWidth]:0;var Y=w.rptl?w.rptl[cp.ResponsiveProjWidth]:cp.TextLayoutEnum.kTLCenter,ca=w.rpta?w.rpta[cp.ResponsiveProjWidth]:cp.TextAlignmentEnum.kTACenter,F=q[cp.ResponsiveProjWidth].vt,da="";if(F&&a.drawingBoard&&u){var P=rrm=rtm=rbm=0;c.sw&&(P=rtm=rbm=rrm=c.sw/2);var K=w.type==cp.kCPOTFillBlankCaption;if(K&&!d){a=void 0;break a}var aa=c.hl;if(c&&c.b&&u){var D=null,E=null,
n=y+"-vtext",D=cp(n),E=cp(n+"_Handler"),q=cp.movie.stage.getFrameset(a.id);if(u&&!D&&!E){c&&(q&&q.isStarted&&1==c.visible&&u.style.visible=="visible")&&(o=true);D=cp.newElem("div");D.className="cp-vtxt";D.setAttribute("aria-hidden","true");D.id=n;if(B)D.style.left=B.style.left;D.style.cssText="word-wrap:break-word;white-space:pre-wrap;overflow:hidden;line-height:90%;";D.style.cssText=D.style.cssText+"";if(!o)D.style.visibility="hidden";q&&q.htmlDependents.push(D);cp.movie.stage.addToParentChildMap(a.id,
u.id);cp.movie.stage.addToParentChildMap(a.id,n);u.appendChild(D);if(aa||K){E=cp.newElem("div");E.className="cp-vtxt";E.id=n+"_Handler";E.style.cssText="word-wrap:break-word;white-space:pre-wrap;overflow:hidden;line-height:90%;";E.style.cssText=E.style.cssText+"";if(!o)E.style.visibility="hidden";cp.movie.stage.addToParentChildMap(a.id,s.id);cp.movie.stage.addToParentChildMap(a.id,E.id);s.appendChild(E);if(K){cp(a.id).style.overflow="visible";E.style.overflow="visible"}if(B)E.style.left=B.style.left}}else{if(!q||
!q.isStarted){a=void 0;break a}p=G[y];if(!p){v=G[w.qdi];p=v.answertextCanvasShape}K||(D=cp(n));if(D&&x&&c&&1==c.visible&&p&&p.isDrawn)D.style.visibility="visible";if(aa||K){if((E=document.getElementById(n+"_Handler"))&&x&&c&&1==c.visible){E.style.visibility="visible";if(aa){E.style.backgroundColor="#ffffff";E.style.opacity=0}}if(B)E.style.left=B.style.left}if(D){if(B)D.style.left=B.style.left;D.style.width="";D.style.height=""}if(E){E.style.width="";E.style.height=""}p.actualParent.offsetHeight=p.actualParent.offsetHeight;
if(A){o=[C+P,marginT+rtm,marginR+rrm,marginB+rbm];D&&cp.updateTextBounds(D,p.actualParent,c.tb,o);E&&cp.updateTextBounds(E,p.actualParent,c.tb,o)}if(J&&!A){if(D){D.style.left=J[0]+C+P+"px";D.style.top=J[1]+marginT+rtm+"px";D.style.right=J[2]+marginR+rrm+"px";D.style.bottom=J[3]+marginB+rbm+"px"}if(E){E.style.left=J[0]+C+P+"px";E.style.top=J[1]+marginT+rtm+"px";E.style.right=J[2]+marginR+rrm+"px";E.style.bottom=J[3]+marginB+rbm+"px"}}}}try{if(void 0!=w.vars&&void 0!=w.varLens&&void 0!=w.texts){for(var X=
cp.ResponsiveProjWidth,ma=w.vars[X],Qa=w.varLens[X],na=w.texts[X],g=ma.length,k=na.length;;){da=da+na[f++];if(e<g){l=window[ma[e]];void 0==l&&(l="");m=Qa[e];l.length>m&&(l=l.substr(0,m));++e;da=da+l}if(f>=k)break}if(D&&!K)D.innerHTML=da;if(aa||K){aa&&(F=da);if(E.innerHTML==""||aa&&E.innerHTML!=F)E.innerHTML=F;var V={captionName:a.id,reason:"updateResponsiveVarText",callbackFn:function(){E.innerHTML=F}};cp.em.fireEvent("CPInputControlReplacedEvent",V)}}else{if(D&&D.innerHTML!=F&&!K)D.innerHTML=F;if(aa||
K){if(E.innerHTML==""||aa&&E.innerHTML!=F)E.innerHTML=F;V={captionName:a.id,reason:"updateResponsiveVarText",callbackFn:function(){E.innerHTML=F}};cp.em.fireEvent("CPInputControlReplacedEvent",V)}}d&&cp.movie.stage.addHyperLinks({n:a.id,t:w.type},cp(a.id));if(c.sh){d=!z;c.fa!=void 0&&(d=c.fa==0);var H;if(D)H=D.firstChild;var R;if(E)R=E.firstChild;H&&H.firstChild&&cp.applyShadow(H.firstChild,c.sh,d);R&&R.firstChild&&cp.applyShadow(R.firstChild,c.sh,d)}H=function(a){var c=a.clientWidth;if(K)c=a.parentElement.clientWidth;
return cp.createTempTextElemAndGetBoundingRect(c,w,a.innerHTML)};var Q=D?D:E,S=H(Q);if(p){w.variableText=Q.innerHTML;parseFloat(Q.style.left);parseFloat(Q.style.top);parseFloat(Q.style.right);parseFloat(Q.style.bottom);var Z=K||p&&p.currentCSS&&p.currentCSS.h&&p.currentCSS.h.indexOf("H%")==-1&&p.currentCSS.h.indexOf("auto")==-1;w.autoGrow=w.autoGrow&&!Z&&!w.isPartOfInteraction;if(w.autoGrow){Z=false;if(Q&&Q.clientHeight<S.height){if(!w.breakevenWidth)w.breakevenWidth={};var T=w.breakevenWidth[cp.ResponsiveProjWidth],
L=p.actualParent.clientWidth-Q.clientWidth,ba=p.actualParent.clientHeight-Q.clientHeight;if(!T){var M=cp.getMaxWHBpt(p.responsiveCSS[cp.ResponsiveProjWidth],cp.ResponsiveProjWidth).w-L,U=cp.createTempTextElemAndGetBoundingRect(M,w,Q.innerHTML),ea=U.width+L,O=U.height+ba,N=cp.getExpectedWindowWidthToFitText(p.currentCSS,ea,O),N=cp.getExpectedWindowWidthToFitText(p.currentCSS,ea,O),T={winW:N,expw:U.width,hOffsets:L,vOffsets:ba};w.breakevenWidth[cp.ResponsiveProjWidth]=T}w.minItemHeight=S.height+ba;
if(cp.fluidFont){D&&cp.adjustFontSizesForVariableText(D,T,D.clientWidth);if(E){var ha=E.clientWidth;if(D)ha=D.clientWidth;cp.adjustFontSizesForVariableText(E,T,ha)}}S=H(Q);if(Q.clientHeight<S.height){var W=S.height;w.minItemHeight=W+ba;var I=cp.getMinMaxHeight(p.currentCSS);if(!isNaN(I.maxH)&&w.minItemHeight>I.maxH){w.minItemHeight=I.maxH;W=w.minItemHeight-ba}Z=true;if(D)D.style.height=W+"px";if(E)E.style.height=W+"px"}}Z&&(v?v.drawForResponsive(true,cp.ReasonForDrawing.kTextGrow):p.drawForResponsive(true,
cp.ReasonForDrawing.kTextGrow))}}T=function(a){if(a){a.style.width=S.width+"px";a.style.height=S.height+"px";a.style.position="absolute";switch(ca){case cp.TextAlignmentEnum.kTARightJustify:a.style["text-align"]="right";break;case cp.TextAlignmentEnum.kTACenter:a.style["text-align"]="center";break;default:a.style["text-align"]="left"}switch(Y){case cp.TextLayoutEnum.kTLBottom:var c=D.clientHeight-S.height;K&&(c=Q.parentElement.clientHeight-S.height);a.style.top=(c<0?0:c)+"px";break;case cp.TextLayoutEnum.kTLCenter:c=
(D.clientHeight-S.height)/2;K&&(c=(Q.parentElement.clientHeight-S.height)/2);if(c>0){a.style.bottom="";a.style.top=c+"px"}break;default:a.style.top="0px"}}};D&&T(D.firstChild);if(E){T(E.firstChild);if(K){V={captionName:a.id,reason:"updateResponsiveVarText:textadjust"};cp.em.fireEvent("CPInputControlReplacedEvent",V)}}}catch(fa){cp.log(fa)}}}}a=void 0}return a}M=ba=L=T=V=0;ea=U="";O=false;R=null;R=false;c&&(R=true);if(a.id)if(N=cp.D[a.id]){ha=N.vt;W="";if(ha&&a.drawingBoard){d=N.mdi;I=null;d&&(I=cp.D[d]);
Z=a.drawingBoard;if(I&&I.b&&Z){H=null;ea=d+"-vtext";if(Z.children.length<2){if(void 0!=N.lm){k=N.lm;g=N.tm;m=N.rm;l=N.bm}H=cp.newElem("div");H.className="cp-vtxt";H.id=ea;R=cp.movie.stage.getFrameset(a.id);I&&(R&&R.isStarted&&1==I.visible)&&(O=true);H.style.cssText="word-wrap:break-word;white-space:pre-wrap; width: "+(I.b[2]-I.b[0]-(k+m)+"px")+";height:"+(I.b[3]-I.b[1]-(g+l)+"px")+";line-height:90%;overflow:hidden;";d=""+("margin-left:"+(I.b[0]+k-I.vb[0])+"px;");d=d+("margin-top:"+(I.b[1]+g-I.vb[1])+
"px;");H.style.cssText=H.style.cssText+d;if(!O)H.style.visibility="hidden";I.tr&&cp.applyTransform(H,I.tr);I.sh&&cp.applyShadow(H,I.sh);R&&R.htmlDependents.push(H);cp.movie.stage.addToParentChildMap(a.id,ea);Z.appendChild(H)}else{a=G[d];if((H=Z.children[1])&&R&&I&&1==I.visible&&a&&a.isDrawn)H.style.visibility="visible"}try{if(void 0!=N.vars&&void 0!=N.varLens&&void 0!=N.texts){p=cp.D.project.w;v=N.vars[p];e=N.varLens[p];f=N.texts[p];L=v.length;for(ba=f.length;;){W=W+f[T++];if(V<L){U=window[v[V]];
void 0==U&&(U="");M=e[V];U.length>M&&(U=U.substr(0,M));++V;W=W+U}if(T>=ba)break}H.innerHTML=W}else H.innerHTML=ha}catch(ga){cp.log(ga)}}}}}function Ra(a){a.element&&cp.updateVarText(a.element,true);if(a.pa)cp.movie.stage.noSkipFrames[a.pa]=a.pa;if(a.psv)cp.movie.stage.noSkipFrames[a.psv]=a.psv}function Sa(a){if(a.cpName=="CPVariableValueChangedEvent"){var c=y[cp.VARIABLE_CHANGED_EVENT];C(a,c);for(c=0;c<a.cpData.notify.length;++c)for(var d=a.cpData.notify[c],e=y[cp.SPECIFIC_VARIABLE_CHANGED_EVENT],
f=0;f<e.length;++f)if(e[f].n==d){var g=e[f].l;if(e[f].r)a.reciever=e[f].r;var k=a;try{g.id?cp.updateVarText(g):g(k)}catch(m){}}}else if(a.cpName=="CPVariableCreatedEvent"){c=y[cp.VARIABLE_CREATED_EVENT];C(a,c)}else if(a.cpName=="CPTime_Update"){c=y[cp.TIMEUPDATEEVENT];C(a,c)}else if(a.cpName=="CPSet_ResumeData"){c=y[cp.SET_RESUMEDATA];C(a,c)}else if(a.cpName=="CPPlaybarStateChanged"){c=y[cp.PLAYBARSTATECHANGED];C(a,c)}else if(a.cpName=="CPTocStateChanged"){c=y[cp.TOCSTATECHANGED];C(a,c)}else if(a.cpName==
"CPSlideEnter"){c=y[cp.SLIDEENTEREVENT];C(a,c)}else if(a.cpName=="CPSlideExit"){c=y[cp.SLIDEEXITEVENT];C(a,c)}else if(a.cpName=="CPInteractiveItemSubmit"){c=y[cp.INTERACTIVEITEMSUBMITEVENT];C(a,c)}else if(a.cpName=="CPMoviePause"){c=y[cp.MOVIEPAUSEEVENT];C(a,c)}else if(a.cpName=="CPMovieResume"){c=y[cp.MOVIERESUMEEVENT];C(a,c)}else if(a.cpName=="CPMovieStart"){c=y[cp.MOVIESTARTEVENT];C(a,c)}else if(a.cpName=="CPMovieStop"){c=y[cp.MOVIESTOPEVENT];C(a,c)}else if(a.cpName=="CPMovieExit"){c=y[cp.MOVIEEXITEVENT];
C(a,c)}else if(a.cpName=="CPQuestionSkip"){c=y[cp.QUESTIONSKIPEVENT];C(a,c)}else if(a.cpName=="CPQuestionSubmit"){c=y[cp.QUESTIONSUBMITEVENT];C(a,c)}else if(a.cpName=="CPStartPlaybarScrubbing"){c=y[cp.STARTPLAYBARSCRUBBINGEVENT];C(a,c)}else if(a.cpName=="CPEndPlaybarScrubbing"){c=y[cp.ENDPLAYBARSCRUBBINGEVENT];C(a,c)}else if(a.cpName=="CPMovieFocusIn"){c=y[cp.MOVIEFOCUSINEVENT];C(a,c)}else if(a.cpName=="CPMovieFocusLost"){c=y[cp.MOVIEFOCUSLOSTEVENT];C(a,c)}else if(a.cpName=="CPMovieAudioMute"){c=
y[cp.MOVIEAUDIOMUTEEVENT];C(a,c)}else if(a.cpName=="CPInputControlReplacedEvent"){c=y[cp.INPUTCONTROLREPLACEDEVENT];C(a,c)}else if(a.cpName=="CPWindowResized"){c=y[cp.WINDOWRESIZEDEVENT];C(a,c)}else if(a.cpName=="CPWindowResizeCompleted"){c=y[cp.WINDOWRESIZECOMPLETEDEVENT];C(a,c)}else if(a.cpName=="CPOrientationChanged"){c=y[cp.ORIENTATIONCHANGEDEVENT];C(a,c)}else if(a.cpName=="CPOrientationChangeCompleted"){c=y[cp.ORIENTATIONCHANGECOMPLETEDEVENT];C(a,c)}else if(a.cpName=="CPItemDrawingCompleteEvent"){c=
y[cp.ITEMDRAWINGCOMPLETEEVENT];C(a,c)}}function C(a,c){for(var d=0;d<c.length;++d){var e=c[d];if(e.r)a.reciever=e.r;var e=e.l,f=a;try{e.id?cp.updateVarText(e):e(f)}catch(g){}}}function Ta(){for(var a=cp.device!=cp.DESKTOP,c=["blackberry","symbian","smartphone","windows ce","windows phone","webos"],d=navigator.userAgent.toLowerCase(),e="other",f=0;f<c.length;++f)if(d.indexOf(c[f])!=-1){a=true;e=c[f];e=e.split(" ").join("_")}if(a)switch(cp.device){case cp.IDEVICE:return 1;case cp.ANDROID:return 2;default:return e}else return 0}
function ca(){return vh._CaptivateVersion?vh._CaptivateVersion:""}function Ua(){return vh._cpCmndVolume}function Va(a){var c=a/100;c<0&&(c=0);c>1&&(c=1);cp.movie.am.setVolume(c);cp.movie.vdm.setVolume(c);svvi("cpCmndVolume",a,["cpCmndVolume"])}function oa(a){cp.movie.am.mute(a);cp.movie.vdm.mute(a);cp.em.fireEvent("CPMovieAudioMute",cp.movie.am.muted);svvi("cpCmndMute",a,["cpCmndMute","rdcmndMute"])}function pa(){return vh._cpCmndMute}function qa(){return vh._cpCmndPlaybarMoved}function ra(a){svvi("cpCmndPlaybarMoved",
a,["cpCmndPlaybarMoved","rdcmndPlaybarMoved"])}function Wa(){return vh._cpCmndShowPlaybar}function Xa(a){var c=void 0;cp.movie&&cp.movie.playbackController&&(c=cp.movie.playbackController.GetQuizController());if(c)c.m_showPlaybar=a;c=document.getElementById("playbar");if(c!=void 0){var d=document.getElementById("playbarBkGrnd");if(d)if(a){c.style.display="block";d.style.visibility="visible"}else{c.style.display="none";d.style.visibility="hidden"}cp.adjustSkins()}svvi("cpCmndShowPlaybar",a,["cpCmndShowPlaybar"]);
cp.em.fireEvent("CPPlaybarStateChanged",{visible:!!a,locked:false})}function sa(){return vh._cpCmndCC}function Ya(a){cp.movie.cc.style.visibility=a?"":"hidden";svvi("cpCmndCC",a,["cpCmndCC","rdcmndCC"])}function ta(){return vh._cpCmndRewindAndPlay}function ua(a){a&&cp.movie.rewind();svvi("cpCmndRewindAndPlay",a,["cpCmndRewindAndPlay","rdcmndRewindAndPlay"])}function va(){return vh._cpCmndRewindAndStop}function wa(a){if(a){cp.movie.jumpToFrame(1);cp.movie.pause(cp.ReasonForPause.MOVIE_REWIND_STOP)}svvi("cpCmndRewindAndStop",
a,["cpCmndRewindAndStop","rdcmndRewindAndStop"])}function fa(){return vh._cpCmndPreviousSlide}function ga(a){a&&cp.jumpToPreviousSlide();svvi("cpCmndPreviousSlide",a,["cpCmndPreviousSlide","cpCmndPrevious","rdcmndPreviousSlide","rdcmndPrevious"])}function Za(a){if(a&&cp.movie){var c=-1,d=false;if(cp.movie.playbackController){var e=cp.movie.playbackController.GetQuizController();(d=e&&e.GetIsInReviewMode())&&(c=e.GetPreviousQuestionSlideNumber())}d&&c>=0?cpCmndGotoSlideAndResume=c:cpCmndPreviousSlide=
a}}function xa(){return!cp.movie.paused}function ya(a){a&&cp.movie.play();svvi("cpCmndResume",a,["cpCmndResume","rdcmndResume"])}function $a(a){if(a&&cp.movie){var c=-1,d=false;if(cp.movie.playbackController){var e=cp.movie.playbackController.GetQuizController();(d=e&&e.GetIsInReviewMode())&&(c=e.GetNextQuestionSlideNumber())}d&&c>=0?cpCmndGotoSlideAndResume=c:cpCmndNextSlide=a}}function za(a){var c=!cp.movie.paused;cp.movie.pause(cp.ReasonForPause.CPCMNDGOTOFRAME);cp.movie.jumpToFrame(a)?svvi("",
a,["cpCmndGotoFrame","rdcmndGotoFrame"]):c&&cp.movie.play()}function Aa(a){cp.movie.jumpToFrame(a);cp.movie.play();svvi("",a,["cpCmndGotoFrameAndResume","rdcmndGotoFrameAndResume"])}function Ba(a){if(a<0||a>=cp.movie.stage.slides.length)cpCmndResume=true;else{var c=cp.D[cp.movie.stage.slides[a]];c&&cp.movie.jumpToFrame(c.from);svvi("",a,["cpCmndGotoSlide","rdcmndGotoSlide"])}}function ab(a){var c=cp.movie.speed;switch(cp.movie.speed){case 1:case 2:cp.movie.speed=cp.movie.speed*2;break;default:cp.movie.speed=
1}if(c!=cp.movie.speed){cp.movie.resetFPS();if(1==cp.movie.speed){cp.movie.am.seekTo(cpInfoCurrentFrame);cp.movie.vdm.seekTo(cpInfoCurrentFrame,false)}else cp.movie.am.pause(cp.ReasonForPause.PLAYBAR_ACTION);if(X!=0){if(0!=X){clearInterval(X);X=0}Ca()}svvi("",cpInfoFPS,["cpInfoFPS","rdinfoFPS"]);svvi("cpCmndFastForward",a,["cpCmndFastForward"])}}function bb(a){svvi("cpLockTOC",a,["cpLockTOC"]);cp.em.fireEvent("CPTocStateChanged",{visible:!!cpCmndTOCVisible,locked:!!a})}function cb(){return vh._cpLockTOC}
function db(a){var c=document.getElementById("toc");if(c!=void 0&&c.animator){a?c.animator.showTOC():c.animator.hideTOC();svvi("cpCmndTOCVisible",a,["cpCmndTOCVisible"]);cp.em.fireEvent("CPTocStateChanged",{visible:!!a,locked:!!cpLockTOC})}}function eb(){var a=document.getElementById("toc");return a!=void 0&&a.animator?a.animator.isVisible():false}function fb(a){if(a<0||a>=cp.movie.stage.slides.length)cpCmndResume=true;else{var c=cp.D[cp.movie.stage.slides[a]];if(c){cp.movie.jumpToFrame(c.from);cp.movie.play()}svvi("",
a,["cpCmndGotoSlideAndResume"])}}function gb(a){var c=cp.D["Slide"+a];if(c){cp.movie.jumpToFrame(c.from);cp.movie.play();svvi("",a,["cpCmndGotoSlideByUIDAndResume"])}}function Da(){return vh._cpCmndExit}function Ea(a){svvi("cpCmndExit",a,["cpCmndExit","rdcmndExit"]);DoCPExit&&DoCPExit()}function ia(a){a&&cp.jumpToNextSlide();svvi("cpCmndNextSlide",a,["cpCmndNextSlide","cpCmndNext","rdcmndNextSlide","rdcmndNext"])}function Fa(a){a&&cp.movie.pause(cp.ReasonForPause.CPCMNDPAUSE);svvi("cpCmndPause",a,
["cpCmndPause","rdcmndPause"])}function Ga(){return cp.movie.paused}function Ha(a){svvi("cpCmndInfo",a,["cpCmndInfo","rdcmndInfo"])}function Ia(){return vh._cpCmndInfo}function hb(){return vh._cpInfoAuthor}function ib(){return vh._cpInfoDescription}function jb(){return vh._cpQuizInfoLastSlidePointScored}function kb(a){svvi("cpQuizInfoLastSlidePointScored",a,["cpQuizInfoLastSlidePointScored"])}function lb(){return vh._cpQuizInfoPointsPerQuestionSlide}function mb(a){svvi("cpQuizInfoPointsPerQuestionSlide",
a,["cpQuizInfoPointsPerQuestionSlide"])}function nb(){return vh._cpQuizInfoNegativePointsOnCurrentQuestionSlide}function ob(a){svvi("cpQuizInfoNegativePointsOnCurrentQuestionSlide",a,["cpQuizInfoNegativePointsOnCurrentQuestionSlide"])}function pb(){return!!vh._cpQuizInfoQuestionPartialScoreOn}function qb(a){svvi("cpQuizInfoQuestionPartialScoreOn",a,["cpQuizInfoQuestionPartialScoreOn"])}function rb(){return vh._cpInfoCurrentSlideLabel}function sb(){return vh._cpQuizInfoQuizPassPercent}function tb(a){svvi("cpQuizInfoQuizPassPercent",
a,["cpQuizInfoQuizPassPercent"])}function ub(){return vh._cpQuizInfoTotalProjectPoints}function vb(a){svvi("cpQuizInfoTotalProjectPoints",a,["cpQuizInfoTotalProjectPoints"])}function wb(){return vh._cpInfoPrevSlide}function xb(){if(!cp.movie)return 0;if(cp.movie.playbackController){var a=cp.movie.playbackController.GetQuizController();if(a)return a.GetTotalCorrectQuestions()}return 0}function yb(a){svvi("cpQuizInfoTotalCorrectAnswers",a,["cpQuizInfoTotalCorrectAnswers"])}function zb(){if(!cp.movie)return 0;
if(cp.movie.playbackController){var a=cp.movie.playbackController.GetQuizController();if(a)return a.GetTotalPretestCorrectQuestions()}return 0}function Ab(a){svvi("cpQuizInfoPreTestTotalQuestions",a,["cpQuizInfoPreTestTotalQuestions"])}function Bb(){return vh._cpQuizInfoPreTestTotalQuestions}function Cb(a){svvi("cpQuizInfoPreTestTotalCorrectAnswers",a,["cpQuizInfoPreTestTotalCorrectAnswers"])}function Db(){if(!cp.movie)return 0;if(cp.movie.playbackController){var a=cp.movie.playbackController.GetQuizController();
if(a){var c=a.GetScore(),a=a.GetMaxScore();if(a!=0)return Math.round(c*100/a)}}return 0}function Eb(a){svvi("cpInfoPercentage",a,["cpInfoPercentage"])}function Fb(){return vh._cpQuizInfoTotalQuestionsPerProject}function Gb(a){svvi("cpQuizInfoTotalQuestionsPerProject",a,["cpQuizInfoTotalQuestionsPerProject"])}function Hb(){return vh._cpQuizInfoQuizPassPoints}function Ib(a){svvi("cpQuizInfoQuizPassPoints",a,["cpQuizInfoQuizPassPoints"])}function Jb(){return vh._cpQuizInfoQuestionSlideType}function Kb(a){svvi("cpQuizInfoQuestionSlideType",
a,["cpQuizInfoQuestionSlideType"])}function Lb(){return!cp.movie||!cp.movie.playbackController?0:cp.movie.playbackController.GetTotalUnansweredQuestions()}function Mb(a){svvi("cpQuizInfoTotalUnansweredQuestions",a,["cpQuizInfoTotalUnansweredQuestions"])}function Nb(){return vh._cpInfoLastVisitedSlide}function Ob(){return vh._cpQuizInfoMaxAttemptsOnCurrentQuestion}function Pb(a){svvi("cpQuizInfoMaxAttemptsOnCurrentQuestion",a,["cpQuizInfoMaxAttemptsOnCurrentQuestion"])}function Qb(){return vh._cpQuizInfoQuestionSlideTiming}
function Rb(a){svvi("cpQuizInfoQuestionSlideTiming",a,["cpQuizInfoQuestionSlideTiming"])}function Sb(){return vh._cpInfoCompany}function Tb(){return vh._cpQuizInfoAnswerChoice}function Ub(a){svvi("cpQuizInfoAnswerChoice",a,["cpQuizInfoAnswerChoice"])}function Vb(){return vh._cpQuizInfoNoQuestionsPerQuiz}function Wb(a){svvi("cpQuizInfoNoQuestionsPerQuiz",a,["cpQuizInfoNoQuestionsPerQuiz"])}function Xb(){if(!cp.movie)return 0;if(cp.movie.playbackController){var a=cp.movie.playbackController.GetQuizController();
if(a)return a.GetScore()}return 0}function Yb(a){svvi("cpQuizInfoPointsscored",a,["cpQuizInfoPointsscored"])}function Zb(){return vh._cpInfoCopyright}function $b(){return vh._cpInfoWebsite}function ac(){return vh._cpInfoProjectName}function bc(){return vh._cpInfoEmail}function cc(){return false}function dc(){return vh._cpInfoHasPlaybar}function ec(){return vh._cpQuizInfoAttempts}function fc(a){svvi("cpQuizInfoAttempts",a,["cpQuizInfoAttempts"])}function gc(){return cp.D.project_main.to}function hc(){return vh._cpQuizInfoTotalQuizPoints}
function ic(a){svvi("cpQuizInfoTotalQuizPoints",a,["cpQuizInfoTotalQuizPoints"])}function Ja(a){var c=""+a;a>=0&&a<10&&(c="0"+c);return c}function Ka(){var a=new Date;vh._cpInfoEpochMS!=a.getTime()&&svvi("cpInfoEpochMS",a.getTime(),["cpInfoEpochMS"]);vh._cpInfoElapsedTimeMS!=cpInfoEpochMS-cp.movie.startTime&&svvi("cpInfoElapsedTimeMS",cpInfoEpochMS-cp.movie.startTime,["cpInfoElapsedTimeMS"]);vh._cpInfoCurrentMinutes!=a.getMinutes()&&svvi("cpInfoCurrentMinutes",a.getMinutes(),["cpInfoCurrentMinutes"]);
vh._cpInfoCurrentHour!=a.getHours()&&svvi("cpInfoCurrentHour",a.getHours(),["cpInfoCurrentHour"]);var c=a.getHours()+":"+a.getMinutes()+":"+a.getSeconds();vh._cpInfoCurrentTime!=c&&svvi("cpInfoCurrentTime",c,["cpInfoCurrentTime"]);vh._cpInfoCurrentDay!=a.getDay()+1&&svvi("cpInfoCurrentDay",a.getDay()+1,["cpInfoCurrentDay"]);vh._cpInfoCurrentYear!=a.getFullYear()&&svvi("cpInfoCurrentYear",a.getFullYear(),["cpInfoCurrentYear"]);vh._cpInfoCurrentMonth!=a.getMonth()+1&&svvi("cpInfoCurrentMonth",Ja(a.getMonth()+
1),["cpInfoCurrentMonth"]);vh._cpInfoCurrentDate!=a.getDate()&&svvi("cpInfoCurrentDate",Ja(a.getDate()),["cpInfoCurrentDate"]);c=a.getMonth()+1+"/"+a.getDate()+"/"+a.getFullYear();vh._cpInfoCurrentDateString!=c&&svvi("cpInfoCurrentDateString",c,["cpInfoCurrentDateString"]);c=a.getDate()+"/"+(a.getMonth()+1)+"/"+a.getFullYear();vh._cpInfoCurrentDateStringDDMMYYYY!=c&&svvi("cpInfoCurrentDateStringDDMMYYYY",c,["cpInfoCurrentDateStringDDMMYYYY"]);a=a.toLocaleDateString();vh._cpInfoCurrentLocaleDateString!=
a&&svvi("cpInfoCurrentLocaleDateString",a,["cpInfoCurrentLocaleDateString"])}function Ca(){if(0==X){Ka();X=setInterval(Ka,1E3/cpInfoFPS)}}function jc(){return vh._cpInfoCurrentDateString}function kc(){return vh._cpInfoCurrentDateStringDDMMYYYY}function lc(){return vh._cpInfoCurrentLocaleDateString}function mc(){return vh._cpInfoCurrentDate}function nc(){return vh._cpInfoCurrentMonth}function oc(){return vh._cpInfoCurrentYear}function pc(){return vh._cpInfoCurrentDay}function qc(){return vh._cpInfoCurrentTime}
function rc(){return vh._cpInfoCurrentHour}function sc(){return vh._cpInfoCurrentMinutes}function tc(){return vh._cpInfoEpochMS}function uc(){return vh._cpInfoElapsedTimeMS}function vc(){var a=cp.movie.stage.currentSlide;return a?a.st:""}function wc(){if(!cp.movie)return false;if(cp.movie.playbackController){var a=cp.movie.playbackController.GetQuizController();if(a)return a.GetIsPassed()}return false}function La(){return 0}function xc(){return vh._cpInfoPrevFrame}function la(){return vh._cpInfoCurrentFrame}
function L(a,c){var d=la();svvi("cpInfoPrevFrame",d,[]);svvi("cpInfoCurrentFrame",a,["cpInfoCurrentFrame","rdinfoCurrentFrame"]);c||cp.movie.resetMovieElapsedTime()}function Ma(){return cpInfoCurrentSlide-1}function yc(){return vh._cpInfoCurrentSlide}function Na(){return cp.movie.stage.slides.length}function Oa(){return cp.movie.fps*cp.movie.speed}function zc(){return vh._cpQuizScopeSlide}function Pa(a){svvi("cpQuizScopeSlide",a,["cpQuizScopeSlide"])}function Ac(){return vh._cpInQuizScope}function Bc(a){if(cpInfoHasPlaybar&&
cp.movie&&cp.movie.playbackController){var c=cp.movie.playbackController.GetQuizController();c&&c.GetHidePlaybarInQuiz()&&(cpCmndShowPlaybar=a&&!c.GetIsInReviewMode()?0:1)}svvi("cpInQuizScope",a,["cpInQuizScope"])}function Cc(){if(!cp.movie||!cp.movie.playbackController)return 0;var a=cp.movie.playbackController.GetQuizController();return a?a.GetPretestScore():0}function Dc(){if(!cp.movie||!cp.movie.playbackController)return false;return(lQuizController=cp.movie.playbackController.GetQuizController())?
!!lQuizController.GetIsInReviewMode():false}function Ec(){if(!cp.movie||!cp.movie.playbackController)return 0;var a=cp.movie.playbackController.GetQuizController();return a?a.GetMaxPretestScore():0}function Fc(){if(!cp.movie||!cp.movie.playbackController)return 0;var a=cp.movie.playbackController.GetQuizController();if(a){var c=a.GetMaxPretestScore(),a=a.GetPretestScore();return c==void 0||c<=0||a==void 0||a<=0?0:Math.round(a*100/c)}return 0}function Gc(a){if(cp.movie&&cp.movie.playbackController){var c=
cp.movie.playbackController.GetQuizController();c&&c.GotoQuizScopeSlide(a)}}function Hc(){return vh._cpInfoCourseID}function Ic(){return vh._cpInfoCourseName}function Jc(){}function Kc(){return null}function Lc(){eval('function handlePasswordProtected(){if(cp.D.secret){var a=lMainModelData.pwd,b=lMainModelData.pwdRetryMsg,c=function(){var d=document.getElementById("k333"),c=!0;d&&d.value!=a&&(c=!1);if(c)HideEverything();else if(cp.verbose&&cp.log("incorrect pwd"),d=document.getElementById("a5__px"))d.innerHTML=b};cp.passwordDiv.innerHTML="<table id=\'a5__px\' style=\'position:absolute;background-color:#FFFFFF;left:0px;top:0px;width:100%;height:100%\'><tr style=\'width:100%;height:100%;text-align:center;vertical-align:middle\'><td><table style=\'width:100%;text-align:center;vertical-align:middle\'><tr style=\'text-align:center;vertical-align:middle\'><td id=\'a5__px\'>"+lMainModelData.pwdMsg+"</td></tr><tr style=\'text-align:center;vertical-align:middle\'><td><input id=\'k333\' type=\'password\' style=\'width:"+lMainModelData.pwdTxtBoxW+"px;height:"+lMainModelData.pwdTxtBoxH+"px;\'/></td></tr><tr style=\'text-align:center;vertical-align:middle\'><td><button id=\'checkPwdButton\'>Continue</button></td></tr></table></td></tr>";cp.registerGestureEvent(document.getElementById("checkPwdButton"),cp.GESTURE_EVENT_TYPES.TAP,c);document.getElementById(lPwdTxtBoxVarName).onkeyup=function(){c()};ShowEverything()}}function handleExpiry(){if(cp.D.expiryDate){var a=new Date;a.setFullYear(lMainModelData.prjExpY,lMainModelData.prjExpM-1,lMainModelData.prjExpD-1);(new Date).getTime()<=a.getTime()||(a=lMainModelData.prjExpMsg,cp("__z_21").style.visibility="hidden",cp("a5__px").style.visibility="hidden",cp("md5").style.visibility="hidden",cp.expiryDiv.innerHTML="<div id=\'md5\' style=\'width:380px;height:54px;left:"+(cp.D.project.w-380)/2+"px;top:"+(cp.D.project.h-54)/2+"px;position:absolute\'><div id=\'expImg\' style=\'width:100%;height:100%;background-image:url(assets/htmlimages/movieexpire.png);background-repeat:no-repeat;\'></div><div id=\'a5__px\' style=\'color:#ffffff; width:300px;left:65px; position:absolute; height:15px; top:20px; font-size:12px; text-align:left; text-overflow: clip;overflow: hidden\'/>"+a+"</div></div>")}else cp.expiryDiv.style.display="none",cp.expiryDiv.style.visibility="hidden"}function handleAutoplay(){var a=cp.D[cp.movie.main.id].autoplay;document.getElementById("playImage");a?cp.device==cp.DESKTOP?cp("autoplayDiv").style.display="none":(cp.autoplayImage.style.display="none",cp.autoplayImage.style.visibility="hidden"):(cp.movie.autoplayimagew=0,cp.movie.autoplayimageh=0,a=cp.D[cp.movie.main.id].autoplayFileName,void 0!=a?(cp.autoplayImage.src=a,cp.autoplayImage.style.opacity=0.7,cp.movie.autoplayimagew=cp.D[cp.movie.main.id].autoplayimagew,cp.movie.autoplayimageh=cp.D[cp.movie.main.id].autoplayimageh):(cp.autoplayImage.style.display="none",cp.autoplayImage.style.visibility="hidden"));a=function(a){if(!a.target||!(a.target.tagName.toUpperCase()=="INPUT"||a.target.tagName.toUpperCase()=="SELECT"||a.target.tagName.toUpperCase()=="TEXTAREA")){(cp.isTextInputInFocus()||document.activeElement.tagName.toUpperCase()=="SELECT")&&document.activeElement.blur();a.preventDefault()}};if(cp.D[cp.movie.main.id].pprtd){var b=cp.D[cp.movie.main.id],c=b.ps,d=function(a){if(a){cp("project").style.visibility="visible";cp("playbar").style.visibility="visible";cp("toc").style.visibility="visible";cp.pwdv.parentNode.removeChild(cp.pwdv)}else{cp("project").style.visibility="hidden";cp("playbar").style.visibility="hidden";cp("toc").style.visibility="hidden"}},g=function(){var a=document.getElementById("pwdt"),e=true;if(a){a=(new cp.sha1).HashUTF16Str(a.value);if(c.length==a.length)for(var f=0;f<a.length&&e;++f)c[f]!=a[f]&&(e=false);else e=false}if(e){d(true);cp.passwordAccepted=true;window.scrollTo(0,0);cp.complete()}else if(e=document.getElementById("promptMsg"))e.innerHTML=b.prm};cp.pwdv.innerHTML="<table id=\'pwdTable\' style=\'position:absolute;background-color:#FFFFFF;left:0px;top:0px;width:100%;height:100%\'><tr style=\'width:100%;height:100%;text-align:center;vertical-align:middle\'><td><table style=\'width:100%;text-align:center;vertical-align:middle\'><tr style=\'text-align:center;vertical-align:middle\'><td id=\'promptMsg\'>"+b.pm+"</td></tr><tr style=\'text-align:center;vertical-align:middle\'><td><input id=\'pwdt\' type=\'password\' style=\'width:"+b.ptw+"px;height:"+b.pth+"px;\'/></td></tr><tr style=\'text-align:center;vertical-align:middle\'><td><button id=\'checkPwdButton\'>Continue</button></td></tr></table></td></tr>";cp.useg&&Hammer&&Hammer(cp.pwdv,{no_mouseevents:!0,transform_min_scale:1,drag_block_horizontal:!0,drag_block_vertical:!0,drag_min_distance:0});cp.registerGestureEvent(cp.pwdv,"touchstart",a);cp.registerGestureEvent(cp.pwdv,"touchmove",a);cp.registerGestureEvent(cp.pwdv,"touchend",a);cp.registerGestureEvent(cp.pwdv,"touchcancel",a);cp.registerGestureEvent(document.getElementById("checkPwdButton"),cp.GESTURE_EVENT_TYPES.TAP,g);a=document.getElementById("pwdt");a.focus();a.onkeyup=function(a){a.keyCode==13&&g()};d(!1)}else cp.pwdv.style.display="none",cp.pwdv.style.visibility="hidden",cp.passwordAccepted=!0,cp.complete()}function handlePreloader(){var a=cp.D[cp.movie.main.id].preloader,b=cp.D[cp.movie.main.id].preloaderFileName;void 0!=b&&""!=b&&a?(cp.preloaderImage.src=b,-1!=b.indexOf("loading.gif")?cp.preloaderImage.defaultImage=!0:cp("loadingString").style.display="none"):cp.preloaderImage.style.display="none";cp.movie.preloadProjectAssets();cp.D[cp.movie.main.id].peon?(a=cp.D[cp.movie.main.id],b=new Date,b.setFullYear(a.pey,a.pem-1,a.ped-1),(new Date).getTime()<=b.getTime()?cp.exdv&&cp.exdv.parentNode.removeChild(cp.exdv):(cp("project").style.visibility="hidden",cp("playbar").style.visibility="hidden",cp("toc").style.visibility="hidden",a="<div id=\'pems\' style=\'width:380px;height:54px;left:0px;top:0px;right:0px;bottom:0px;margin:auto;position:absolute\'><div id=\'pemi\' style=\'width:100%;height:100%;background-image:url(assets/htmlimages/movieexpire.png);background-repeat:no-repeat;\'></div><div id=\'pet\' style=\'color:#ffffff; width:300px;left:65px; position:absolute; height:15px; top:20px; font-size:12px; text-align:left; text-overflow: clip;overflow: hidden\'/>"+a.pems+"</div></div>",cp.exdv.style.backgroundColor=cp.D[cp.movie.element.id].prjBgColor,cp.exdv.innerHTML=a)):(cp.exdv.style.display="none",cp.exdv.style.visibility="hidden")}function _handleProjOptions(){handleAutoplay();handlePreloader()};_handleProjOptions();')}
window.getPageX=function(a){var c=0;cp.m_gestureHandler&&(c=cp.m_gestureHandler.getEventPageX(a));return c};window.getPageY=function(a){var c=0;cp.m_gestureHandler&&(c=cp.m_gestureHandler.getEventPageY(a));return c};cp.inherits=function(a,c){function d(){}d.prototype=c.prototype;a.prototype=new d;a.prototype.constructor=a;a.baseConstructor=c;a.superClass=c.prototype};cp.getParameterByName=function(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");a=RegExp("[\\?&]"+a+"=([^&#]*)").exec(window.location.search);
return a==null?"":decodeURIComponent(a[1].replace(/\+/g," "))};cp.getCorrectMediaPath=function(a){var c=a;cp.pg&&(window.device&&window.device.platform==="Android")&&(c=cp.Phonegap.getResourcePath(a));return c};cp.UNKNOWN=0;cp.WINDOWS=1;cp.MACOS=2;cp.DESKTOP=1;cp.IDEVICE=2;cp.ANDROID=3;cp.KINDLE=4;cp.IPAD2=1;cp.IPAD3=2;cp.IPHONE=3;cp.IOS1=1;cp.IOS2=2;cp.IOS3=3;cp.IOS4=4;cp.IOS5=5;cp.IOS6=6;cp.IOS7=7;cp.IOS8=8;cp.MSIE=1;cp.FIREFOX=2;cp.CHROME=3;cp.SAFARI=4;cp.NETSCAPE=5;cp.OPERA=6;cp.CAMINO=7;cp.FIREBIRD=
8;cp.MSIE_MIN_SUPPORTED_VERSION=9;cp.CHROME_MIN_SUPPORTED_VERSION=17;cp.SAFARI_MIN_SUPPORTED_VERSION=5.1;cp.HAVE_NOTHING=0;cp.HAVE_METADATA=1;cp.HAVE_CURRENT_DATA=2;cp.HAVE_FUTURE_DATA=3;cp.HAVE_ENOUGH_DATA=4;cp.disablePaceMaker=false;cp.verbose=false;cp.poolVerbose=false;cp.exceptionalLogs=true;cp.consolidateLogs=false;cp.dynamicLogControl=false;cp.projectContainer=null;cp.project=null;cp.playImage=null;cp.autoplayImage=null;cp.autoplayDiv=null;cp.pwdv=null;cp.exdv=null;cp.preloaderImage=null;cp.log=
function(a){cp.customConsole?cp.customConsole.value=cp.customConsole.value+a:cp.consolidateLogs&&cp.logArray?cp.logArray.push(a):console.log(a)};cp.logObject=function(a,c){c||(c="");var d="object "+c+" : {",e;for(e in a)d=d+(e+":"+a[e]+"; ");cp.log(d+"}")};cp.verbose&&cp.log("navigator.userAgent = "+navigator.userAgent);cp.OS=cp.UNKNOWN;cp.device=cp.DESKTOP;cp.deviceFlavor=cp.UNKNOWN;cp.IOSMajor=cp.UNKNOWN;cp.IOSMinor=cp.UNKNOWN;cp.IOSBuild=cp.UNKNOWN;cp.browser=cp.UNKNOWN;cp.browserVersion=cp.UNKNOWN;
cp.browser_supports_svg=true;cp.kTextButton=0;cp.kTransparentButton=2;cp.kImageButton=3;cp.kCPRolloverCaptionItem=25;cp.kCPRolloverImageItem=26;cp.kCPOTRolloverAutoShape=617;cp.kCPRolloverAreaItem=27;cp.kCPOTAnimationItem=28;cp.kCPOTCaptionItem=19;cp.kCPHighlight=14;cp.kCPOTImageBoxItem=15;cp.kCPMouse=12;cp.kCPMouseClick=15728652;cp.kCPOTStageAnswerItem=80;cp.kCPOTIncompleteFeedbackItem=97;cp.kCPZoomSource=99;cp.kCPOTStageCorrectFeedback=10086;cp.kCPOTStageIncorrectFeedback=10087;cp.kCPOTStagePartialCorrectFeedback=
10139;cp.kCPOTTimeoutFeedbackItem=174;cp.kCPOTRetryFeedbackItem=81;cp.kCPOTStageSingleChoiceMultipleAnswer=10082;cp.kCPOTStageMultipleChoiceMultipleAnswer=10081;cp.kCPOTStageLikertQuestion=10112;cp.kCPOTStageSequenceAnswer=10096;cp.kCPOTStageMatchingAnswer=10097;cp.kCPOTStageMatchingAnswerEntry=10098;cp.kCPOTStageMatchingQuestion=10110;cp.kCPOTQuestionColumn=87;cp.kCPOTQuestionFillBlank=10011;cp.kCPOTStageShortAnswer=10094;cp.kCPOTItemHotSpot=131;cp.kCPOTFillBlankCaption=10106;cp.kCPOTReviewArea=
94;cp.kCPOTProgressIndicator=92;cp.kCPOTScoringResult=111;cp.kCPOTClickBoxItem=13;cp.kCPOTScorableButtonItem=177;cp.kCPTypingText=64;cp.kCPFullMotion=270;cp.kCPOTFLVItem=98;cp.kCPOTVideo=365;cp.kCPOTVideoResource=359;cp.kCPOTSuccessCaptionItem=21;cp.kCPOTFailureCaptionItem=22;cp.kCPOTHintCaptionItem=23;cp.kCPOTTextEntryBoxItem=24;cp.kCPOTTextEntryButtonItem=75;cp.kCPOTRetakeButton=175;cp.kCPOTLineItem=142;cp.kCPOTOvalItem=167;cp.kCPOTRectangleItem=168;cp.kCPOTPolygon=209;cp.kCPOTAnswerArea=10142;
cp.kCPOTMatchingQuestionArea=10143;cp.kCPOTMatchingAnswerArea=10144;cp.kCPOTLikertHeaderArea=10146;cp.kCPOTLikertQuestionArea=10147;cp.kCPOTLikertTotalGroupArea=10148;cp.kCPOTStageQuestionText=79;cp.kCPOTStageQuestionTitle=86;cp.kCPOTTitleAutoShape=589;cp.kCPOTSubTitleAutoShape=590;cp.kCPOTAutoShape=612;cp.kCPOTWidgetItem=133;cp.kCPOTWebObject=652;cp.kCPOTTAItem=76;cp.kCPOTStageAnswerLabel=10088;cp.kCPOTStageQuestionNextButton=83;cp.kCPOTStageQuestionClearButton=84;cp.kCPOTStageQuestionBackButton=
85;cp.kCPOTStageQuestionSubmitButton=91;cp.kCPOTScoringResultItem=112;cp.kCPOTScoringReviewButton=103;cp.kCPOTScoringContinueButton=10119;cp.kCPOTSubmitAllButton=10149;cp.kCPOTResetButton=640;cp.kCPOTUndoButton=639;cp.kCPOTDDSubmitButton=641;cp.kCPOTStageCorrectFeedbackShape=10166;cp.kCPOTStageIncorrectFeedbackShape=10168;cp.kCPOTStagePartialCorrectFeedbackShape=10170;cp.kCPOTRetryFeedbackShape=10172;cp.kCPOTIncompleteFeedbackShape=10174;cp.kCPOTAnswerFeedbackShape=10176;cp.kCPOTTimeoutFeedbackShape=
10178;cp.kCPOTSuccessShapeItem=661;cp.kCPOTFailureShapeItem=663;cp.kCPOTHintShapeItem=665;cp.rCSSProps=["position","left","top","right","bottom","width","height"];cp.rCPProps=["p","l","t","r","b","w","h","apr","cr","rpmm","sh"];cp.rCPLinkProps=["lhEID","lhV","lhID","lvEID","lvV","lvID"];cp.rLinkEdges=["","left","top","right","bottom"];cp.rLinkEdge={};cp.rLinkEdge.UNKNOWN=0;cp.rLinkEdge.LEFT=1;cp.rLinkEdge.TOP=2;cp.rLinkEdge.RIGHT=3;cp.rLinkEdge.BOTTOM=4;cp.ReasonForDrawing={};cp.ReasonForDrawing.kRegularDraw=
0;cp.ReasonForDrawing.kOrientationChangeOrResize=1;cp.ReasonForDrawing.kTextGrow=2;cp.ReasonForDrawing.kMouseEvent=3;cp.ReasonForDrawing.kMoviePaused=4;cp.ReasonForDrawing.kSlideChanged=5;cp.ReasonForDrawing.kLinkedToItemAppeared=6;cp.TextAlignmentEnum={};cp.TextAlignmentEnum.kTALeftJustify=0;cp.TextAlignmentEnum.kTARightJustify=1;cp.TextAlignmentEnum.kTACenter=2;cp.TextAlignmentEnum.kTAJustified=3;cp.TextLayoutEnum={};cp.TextLayoutEnum.kTLTop=0;cp.TextLayoutEnum.kTLCenter=1;cp.TextLayoutEnum.kTLBottom=
2;cp.ReportingOptionsEnum={};cp.ReportingOptionsEnum.breeze=0;cp.ReportingOptionsEnum.quiz_only=1;cp.ReportingOptionsEnum.quiz_and_views=2;cp.ReportingOptionsEnum.views_only=3;cp.ReportingOptionsEnum.access=4;cp.ReportingOptionsEnum.completion_success=5;cp.ReportingOptionsEnum.incompleteToPassedOrFailed=6;cp.ReportingOptionsEnum.completion_only=7;cp.SlideViewsTypeEnum={};cp.SlideViewsTypeEnum.percent=0;cp.SlideViewsTypeEnum.number=1;cp.QuizCriteriaEnum={};cp.QuizCriteriaEnum.QuizIsPassed=0;cp.QuizCriteriaEnum.QuizIsAttempted=
1;cp.QuizCriteriaEnum.QuizIsPassedOrAttempLimitReached=2;cp.kBeginPath=0;cp.kMoveTo=1;cp.kLineTo=2;cp.kBezierTo=3;cp.kClosePath=4;cp.kNotClosed=5;cp.kNoStroke=6;cp.accOutlineStyleStr="";cp.kPPTXSlideImagesStr="pxi";cp.kPPTXSlideImagesDir="dr/pptxIm/";cp.kTTNone=-1;cp.kTTOnEnter=0;cp.kTTOnClick=1;cp.kTTOnTextEntry=2;cp.kTTOnRollover=3;cp.kTTOnSuccess=4;cp.kTTOnFailure=5;cp.kTTOnSlideExit=6;cp.kTTOnHyperlink=7;cp.kTTOnDropOfType=8;cp.QuestionStatusEnum={};cp.QuestionStatusEnum.INCOMPLETE=0;cp.QuestionStatusEnum.INCORRECT=
1;cp.QuestionStatusEnum.CORRECT=2;cp.QuestionStatusEnum.PARTIAL_CORRECT=3;cp.lastTouch=(new Date).getTime();cp.IsValidObj=function(a){return void 0!=a&&null!=a};cp.getCurrentBrowserVersion=function(a,c){var d=a.indexOf(c);return d==-1?cp.UNKNOWN:parseFloat(a.substring(d+c.length+1))};if(navigator.appVersion.indexOf("Win")!=-1)cp.OS=cp.WINDOWS;else if(navigator.appVersion.indexOf("Mac")!=-1)cp.OS=cp.MACOS;cp.multiAudioTrack=true;cp.waitForAudio=false;if(navigator.userAgent.match(/(iPhone|iPad)/i)){cp.device=
cp.IDEVICE;cp.browser_supports_svg=false;cp.accOutlineStyleStr="outline-style:none";var Mc=window.devicePixelRatio?window.devicePixelRatio:1;if(navigator.userAgent.indexOf("iPhone")!=-1)cp.deviceFlavor=cp.IPHONE;else if(navigator.userAgent.indexOf("iPad")!=-1){cp.deviceFlavor=cp.IPAD2;if(Mc>=2)cp.deviceFlavor=cp.IPAD3}var O=navigator.userAgent.match(/OS [1-9][0-9]*_[0-9][0-9]*_[0-9][0-9]*/);O||(O=navigator.userAgent.match(/OS [1-9][0-9]*_[0-9][0-9]*/));if(O&&O[0]){var ja=O[0].split("_");cp.IOSMajor=
parseInt(ja[0].substr(2),10);cp.IOSMinor=parseInt(ja[1],10);if(ja.length>=3)cp.IOSBuild=parseInt(ja[2],10)}if(cp.IOSMajor>=cp.IOS5)cp.waitForAudio=true}else if(navigator.userAgent.match(/android/i)){cp.device=cp.ANDROID;cp.waitForAudio=true;cp.accOutlineStyleStr="outline-style:none"}else if(navigator.userAgent.match(/Silk/i))cp.device=cp.KINDLE;if(navigator.userAgent.match(/MSIE/i)){cp.browser=cp.MSIE;cp.browserVersion=cp.getCurrentBrowserVersion(navigator.userAgent,"MSIE")||cp.getCurrentBrowserVersion(navigator.appVersion,
"MSIE")||cp.UNKNOWN}else if(navigator.userAgent.match(/Firefox/i)){cp.browser=cp.FIREFOX;cp.browserVersion=cp.getCurrentBrowserVersion(navigator.userAgent,"Firefox")||cp.getCurrentBrowserVersion(navigator.appVersion,"Firefox")||cp.UNKNOWN}else if(navigator.userAgent.match(/Chrome/i)){cp.browser=cp.CHROME;cp.accOutlineStyleStr="outline-style:none";cp.browserVersion=cp.getCurrentBrowserVersion(navigator.userAgent,"Chrome")||cp.getCurrentBrowserVersion(navigator.appVersion,"Chrome")||cp.UNKNOWN}else if(navigator.userAgent.match(/Safari/i)){cp.browser=
cp.SAFARI;cp.browser_supports_svg=false;cp.accOutlineStyleStr="outline-style:none";cp.browserVersion=cp.getCurrentBrowserVersion(navigator.userAgent,"Version")||cp.getCurrentBrowserVersion(navigator.appVersion,"Version")||cp.UNKNOWN}else if(navigator.userAgent.match(/Netscape/i)){cp.browser=cp.NETSCAPE;cp.browserVersion=cp.getCurrentBrowserVersion(navigator.userAgent,"Netscape")||cp.getCurrentBrowserVersion(navigator.appVersion,"Netscape")||cp.UNKNOWN}else if(navigator.userAgent.match(/Opera/i)){cp.browser=
cp.OPERA;cp.browserVersion=cp.getCurrentBrowserVersion(navigator.userAgent,"Version")||cp.getCurrentBrowserVersion(navigator.appVersion,"Version")||cp.UNKNOWN}else if(navigator.userAgent.match(/Camino/i)){cp.browser=cp.CAMINO;cp.browserVersion=cp.getCurrentBrowserVersion(navigator.userAgent,"Camino")||cp.getCurrentBrowserVersion(navigator.appVersion,"Camino")||cp.UNKNOWN}else if(navigator.userAgent.match(/Firebird/i))cp.browser=cp.FIREBIRD;if(cp.verbose){cp.log("browser = "+cp.browser);cp.log("browserVersion = "+
cp.browserVersion);cp.log("device = "+cp.device);if(cp.device==cp.IDEVICE){cp.log("device flavor = "+cp.deviceFlavor);cp.log("IOS Version = "+cp.IOSMajor+"_"+cp.IOSMinor+"_"+cp.IOSBuild)}cp.log("browser_supports_svg = "+cp.browser_supports_svg)}cp.showColoredNonModalWarning=function(a){var c=cp.newElem("div");c.style.position="fixed";c.style.right="10px";c.style.bottom="10px";c.style.backgroundColor="#7f7f7f";c.style.border="10px solid #FF0000";c.style.padding="10px";c.style.fontSize="22px";c.style.zIndex=
"10000";c.innerHTML=a;cp.parentWindow.document.body.appendChild(c);setTimeout(function(){cp.parentWindow.document.body.removeChild(c)},1E3)};cp.getRoundedValue=function(a,c){c==void 0&&(c=2);var d=Math.pow(10,c);return a=Math.round(a*d)/d};cp.getDisplayObjByCP_UID=function(a){return G[cp.cpIDMap[a]]};cp.getDisplayObjByKey=function(a){return G[a]};cp.scaleItem=function(a,c,d){c="scaleX("+c+") scaleY("+d+")";a.style.webkitTransform=c;a.style.transform=c};cp.getCorrectBreakpoint=function(a){if(cp.responsiveWidths&&
!(cp.responsiveWidths.length<=0)){var c=cp.responsiveWidths.length;if(a<=cp.responsiveWidths[0])return cp.responsiveWidths[0];if(a>=cp.responsiveWidths[cp.responsiveWidths.length-1])return cp.responsiveWidths[cp.responsiveWidths.length-1];for(var d=0;d<=c-1;++d)if(a<=cp.responsiveWidths[d])return cp.responsiveWidths[d]}};cp.getResponsiveCSS=function(a){if(a&&cp.responsiveWidths&&!(cp.responsiveWidths.length<=0)){if(cp.ResponsiveProjWidth)return a[cp.ResponsiveProjWidth];var c=cp.responsiveWidths.length,
d=window.innerWidth;if(d<=cp.responsiveWidths[0])return a[cp.responsiveWidths[0]];if(d>=cp.responsiveWidths[cp.responsiveWidths.length-1])return a[cp.responsiveWidths[cp.responsiveWidths.length-1]];for(var e=0;e<=c-1;++e)if(d<=cp.responsiveWidths[e])return a[cp.responsiveWidths[e]]}};cp.getMaxWHBpt=function(a,c){var d=cp("cpTempElemForMaxWidth_123456"),e=cp("cpTempInnerElemForMaxWidth_123456");if(!d){d=cp.newElem("div");d.id="cpTempElemForMaxWidth_123456";d.style.display="block";d.style.zIndex="-1";
d.tabIndex=-1;document.body.insertBefore(d,document.body.firstChild)}d.style.display="block";d.style.position="absolute";d.style.left="0px";d.style.top="0px";d.style.width=c+"px";d.style.height=cp.getCurrentSlideResponsiveHeight(c)+"px";if(!e){e=cp.newElem("cpTempInnerElemForMaxWidth_123456");e.id="cpTempInnerElemForMaxWidth_123456";d.appendChild(e)}cp.applyResponsiveStyles(e,a);e={w:e.clientWidth,h:e.clientHeight};d.style.display="none";return e};cp.getAccessibilityString=function(a){if(!a||!a.accstr)return"";
var c=a.accstr;if(c==void 0)return"";a=a.traccstr;typeof c!="string"&&(c=c[cp.ResponsiveProjWidth]);a&&(c=c+(" "+a));return c};cp.createTempElemAndGetBoundingRect=function(a,c,d){var e=cp.newElem("div");c||(c=cp("div_Slide"));c.appendChild(e);cp.applyResponsiveStyles(e,a,d);a=e.getBoundingClientRect();c.removeChild(e);return a};cp.createTempTextElemAndGetBoundingRect=function(a,c,d){if(d==""||d==void 0)d=c.rpvt[cp.ResponsiveProjWidth].vt;c=cp("cpTempTextElem_123456");if(!c){c=cp.newElem("div");c.id=
"cpTempTextElem_123456";c.style.overflow="hidden";c.style["word-wrap"]="break-word";c.style["white-space"]="pre-wrap";c.style["line-height"]="90%";c.style.left="-1999px";c.style.tabIndex="-1";document.body.insertBefore(c,document.body.firstChild)}c.style.width="";c.style.display="block";c.style.width=a+"px";c.setAttribute("aria-hidden","true");c.innerHTML=d;c.offsetHeight=c.offsetHeight;a=c.getBoundingClientRect();c.innerHTML="";c.style.display="none";return a};cp.getExpectedWindowWidthToFitText=
function(a,c,d){var e=d;if(a.h.indexOf("%")!=-1||a.h.indexOf("px")!=-1)e=a.w.indexOf("%")!=-1?Math.floor(c*100/parseFloat(a.w)):window.innerWidth;else if(a.h.indexOf("H%")!=-1){a=a.h.split("H%")[0];e=Math.floor(d*100/parseFloat(a))}else if(a.h.indexOf("auto")!=-1){parseFloat(a.apr);e=a.w.indexOf("%")!=-1?Math.floor(c*100/parseFloat(a.w)):window.innerWidth}return e};cp.getInterpolatedFontSize=function(a,c,d){return window.innerWidth>a.winW?c:c*d/a.expw};cp.applyResponsiveStylesWRTItem=function(a,c,
d){if(c)for(var e=cp.rCSSProps.length,f=0;f<e;++f){var g=cp.rCPProps[f],k=c[g];if(k){if(g=="h")if(k.indexOf("auto")!=-1){k=c.w;k=k.indexOf("%")!=-1?parseFloat(k)*d.clientWidth/100:parseFloat(k);k=cp.getRoundedValue(k/parseFloat(c.apr))+"px"}else if(k.indexOf("H%")!=-1){k=k.split("H%")[0];k=cp.getRoundedValue(k*d.clientWidth/100)+"px"}else{if(k.indexOf("%")!=-1){k=k.split("%")[0];k=cp.getRoundedValue(k*d.clientHeight/100)+"px"}}else if(g=="w")if(k.indexOf("auto")!=-1){k=c.h;k=k.indexOf("%")!=-1?parseFloat(k)*
d.clientHeight/100:parseFloat(k);k=cp.getRoundedValue(k*parseFloat(c.apr))+"px"}else if(k.indexOf("%")!=-1){k=k.split("%")[0];k=cp.getRoundedValue(k*d.clientWidth/100)+"px"}var m=d.getBoundingClientRect(),l=cp.movie.stage.mainSlideDiv.getBoundingClientRect();if(k!="auto"){if(g=="t"||g=="b")if(k.indexOf("H%")!=-1){k=k.split("H%")[0];k=cp.getRoundedValue(k*d.clientWidth/100)}else if(k.indexOf("%")!=-1){k=k.split("%")[0];k=cp.getRoundedValue(k*d.clientHeight/100)}else k=parseFloat(k);if(g=="l"||g=="r")if(k.indexOf("%")!=
-1){k=k.split("%")[0];k=cp.getRoundedValue(k*d.clientWidth/100)}else k=parseFloat(k);g=="l"&&(k=k+m.left+"px");g=="r"&&(k=k+l.right-m.right+"px");g=="t"&&(k=k+m.top+"px");g=="b"&&(k=k+l.bottom-m.bottom+"px")}if(c.rpmm)if(cp.rCSSProps[f]=="width"){m=c.rpmm.mw;l=c.rpmm.Mw;g=k;m.indexOf("%")!=-1&&(m=parseFloat(m)*d.clientWidth/100);l.indexOf("%")!=-1&&(l=parseFloat(l)*d.clientWidth/100);g.indexOf("%")!=-1&&(g=parseFloat(g)*d.clientWidth/100);m=parseFloat(m);l=parseFloat(l);g=parseFloat(g);!isNaN(m)&&
g<m?k=k.indexOf("%")!=-1?m*100/d.clientWidth+"%":m+"px":!isNaN(l)&&g>l&&(k=k.indexOf("%")!=-1?l*100/d.clientWidth+"%":l+"px")}else if(cp.rCSSProps[f]=="height"){m=c.rpmm.mh;l=c.rpmm.Mh;g=k;m.indexOf("%")!=-1&&(m=parseFloat(m)*d.clientHeight/100);l.indexOf("%")!=-1&&(l=parseFloat(l)*d.clientHeight/100);g.indexOf("%")!=-1&&(g=parseFloat(g)*d.clientHeight/100);m=parseFloat(m);l=parseFloat(l);g=parseFloat(g);!isNaN(m)&&g<m?k=k.indexOf("%")!=-1?m*100/d.clientHeight+"%":m+"px":!isNaN(l)&&g>l&&(k=k.indexOf("%")!=
-1?l*100/d.clientHeight+"%":l+"px")}a.style[cp.rCSSProps[f]]=k}}};cp.resetStyles=function(a){if(a)for(var c=cp.rCSSProps.length,d=0;d<c;++d)a.style[cp.rCSSProps[d]]=""};cp.getMinMaxHeight=function(a){if(cp.responsive){var c={},d=cp("project").clientHeight;a.sh&&(d=parseFloat(a.sh));var e=a.rpmm.mh,a=a.rpmm.Mh;e.indexOf("%")!=-1&&(e=parseFloat(e)*d/100);a.indexOf("%")!=-1&&(a=parseFloat(a)*d/100);c.minH=parseFloat(e);c.maxH=parseFloat(a);return c}};cp.applyResponsiveStyles=function(a,c,d,e,f){if(c){if(!c.ipiv){c.w=
"0.000%";c.h="0.000%";c.rpmm={mw:"0px",mh:"0px",Mw:"",Mh:""}}var e=cp.rCSSProps.length,g=false,k=g?cp.RespDefaultBptW:cp("project").clientWidth,m=g?cp.RespDefaultBptH:cp("project").clientHeight;if(c.sh){m=parseFloat(c.sh);g=true}var l=cp("div_Slide").getBoundingClientRect(),n=false,o=false,q=void 0,p=void 0;if(d&&(c.lhID||c.lvID)){q=cp.getDisplayObjByCP_UID(c.lhID);p=c.lhID==c.lvID?q:cp.getDisplayObjByCP_UID(c.lvID);q&&(n=q.isStarted&&q.isDrawnComplete);p&&(o=p.isStarted&&p.isDrawnComplete)}for(d=
0;d<e;++d){a.style[cp.rCSSProps[d]]="";var u=cp.rCPProps[d],s=c[u];if(s){if(!f)if(u=="h")if(s.indexOf("auto")!=-1){s=c.w;s=s.indexOf("%")!=-1?parseFloat(s)*k/100:parseFloat(s);s=cp.getRoundedValue(s/parseFloat(c.apr))+"px"}else if(s.indexOf("H%")!=-1){s=s.split("H%")[0];s=cp.getRoundedValue(s*k/100)+"px"}else{if(g&&s.indexOf("%")!=-1){s=s.split("%")[0];s=cp.getRoundedValue(s*m/100)+"px"}}else if(u=="w")if(s.indexOf("auto")!=-1){s=c.h;s=s.indexOf("%")!=-1?parseFloat(s)*m/100:parseFloat(s);s=cp.getRoundedValue(s*
parseFloat(c.apr))+"px"}else if(g&&s.indexOf("%")!=-1){s=s.split("%")[0];s=cp.getRoundedValue(s*k/100)+"px"}if(u=="l"||u=="r"){if(g&&s.indexOf("%")!=-1){s=s.split("%")[0];s=cp.getRoundedValue(s*k/100)+"px"}if(s!="auto"&&n&&c.lhID!=-1){var v=q.actualParent;if(v){var x=v.getBoundingClientRect();if(v.tr){var w=q.actualParent.style.transform||q.actualParent.style.msTransform||q.actualParent.style.MozTransform||q.actualParent.style.WebkitTransform||q.actualParent.style.OTransform;cp.applyTransform(q.actualParent,
"");q.actualParent.offsetHeight=q.actualParent.offsetHeight;x=v.getBoundingClientRect();cp.applyTransform(q.actualParent,w)}if(x){s=c.lhV;if(s.indexOf("%")!=-1){s=s.split("%")[0];s=cp.getRoundedValue(s*k/100)+"px"}x=x[cp.rLinkEdges[c.lhEID]];x=u=="r"?l.right-x:x-l.left;s=x+parseFloat(s)+"px"}}}}if(u=="t"||u=="b"){if(s.indexOf("H%")!=-1){s=s.split("H%")[0];s=cp.getRoundedValue(s*k/100)+"px"}else if(g&&s.indexOf("%")!=-1){s=s.split("%")[0];s=cp.getRoundedValue(s*m/100)+"px"}if(s!="auto"&&o&&c.lvID!=
-1)if(v=p.actualParent){x=v.getBoundingClientRect();if(v.tr){w=p.actualParent.style.transform||p.actualParent.style.msTransform||p.actualParent.style.MozTransform||p.actualParent.style.WebkitTransform||p.actualParent.style.OTransform;cp.applyTransform(p.actualParent,"");p.actualParent.offsetHeight=p.actualParent.offsetHeight;x=v.getBoundingClientRect();cp.applyTransform(p.actualParent,w)}if(x){s=c.lvV;if(s.indexOf("H%")!=-1){s=s.split("H%")[0];s=cp.getRoundedValue(s*k/100)+"px"}else if(s.indexOf("%")!=
-1){s=s.split("%")[0];s=cp.getRoundedValue(s*m/100)+"px"}x=x[cp.rLinkEdges[c.lvEID]];x=u=="b"?l.bottom-x:x-l.top;s=x+parseFloat(s)+"px"}}}if(c.rpmm)if(cp.rCSSProps[d]=="width"){x=c.rpmm.mw;v=c.rpmm.Mw;u=s;x.indexOf("%")!=-1&&(x=parseFloat(x)*k/100);v.indexOf("%")!=-1&&(v=parseFloat(v)*k/100);u.indexOf("%")!=-1&&(u=parseFloat(u)*k/100);x=parseFloat(x);v=parseFloat(v);u=parseFloat(u);!isNaN(x)&&u<x?s=s.indexOf("%")!=-1?x*100/k+"%":x+"px":!isNaN(v)&&u>v&&(s=s.indexOf("%")!=-1?v*100/k+"%":v+"px")}else if(cp.rCSSProps[d]==
"height"){x=c.rpmm.mh;v=c.rpmm.Mh;u=s;x.indexOf("%")!=-1&&(x=parseFloat(x)*m/100);v.indexOf("%")!=-1&&(v=parseFloat(v)*m/100);u.indexOf("%")!=-1&&(u=parseFloat(u)*m/100);x=parseFloat(x);v=parseFloat(v);u=parseFloat(u);!isNaN(x)&&u<x?s=s.indexOf("%")!=-1?x*100/m+"%":x+"px":!isNaN(v)&&u>v&&(s=s.indexOf("%")!=-1?v*100/m+"%":v+"px")}a.style[cp.rCSSProps[d]]=s}}}};cp.createResponsiveStyleObj=function(a,c,d,e,f,g,k,m,l){for(var n={},o=0;o<arguments.length;++o)a?a[cp.rCPProps[o]]&&(n[cp.rCPProps[o]]=arguments[o+
1]):n[cp.rCPProps[o]]=arguments[o+1];for(var o=cp.rCPLinkProps.length,q=0;q<o;++q)a&&a[cp.rCPLinkProps[q]]&&(n[cp.rCPLinkProps[q]]=a[cp.rCPLinkProps[q]]);if(a)n.ipiv=a.ipiv;return n};cp.getCenterForRotation=function(a){var c={x:0,y:0};if(!a)return 0;var d=cp("div_Slide").getBoundingClientRect(),a=a.getBoundingClientRect(),e=a.top-d.top+a.height/2;c.X=a.left-d.left+a.width/2;c.Y=e;return c};cp.RotatePoint=function(a,c,d,e,f){var f=f*Math.PI/180,a=a-d,g=c-e,c=Math.atan2(g,a),a=Math.sqrt(a*a+g*g),c=
c+f,f=Math.cos(c)*a,a=Math.sin(c)*a;return{x:f+d,y:a+e}};cp.getBoundsForRotatedItem=function(a,c,d,e,f){var g={};if(e==void 0)return g;var e=Math.PI*-e/180,k=-a/2,m=a/2,l=a/2,a=-a/2,n=-c/2,o=-c/2,q=c/2,p=c/2,c=k*Math.cos(e)+n*Math.sin(e),k=-k*Math.sin(e)+n*Math.cos(e),n=m*Math.cos(e)+o*Math.sin(e),m=-m*Math.sin(e)+o*Math.cos(e),o=l*Math.cos(e)+q*Math.sin(e),l=-l*Math.sin(e)+q*Math.cos(e),q=a*Math.cos(e)+p*Math.sin(e),e=-a*Math.sin(e)+p*Math.cos(e),a=Math.min(c,n,o,q),p=Math.max(c,n,o,q),c=Math.min(k,
m,l,e);y_max=Math.max(k,m,l,e);f||(f=0);e=Math.round(100*(p-a+2*f))/100;f=Math.round(100*(y_max-c+2*f))/100;c=cp("div_Slide").getBoundingClientRect();g.l=Math.round((d.X-e/2)*100)/100+"px";g.r=c.width-Math.round((d.X+e/2)*100)/100+"px";g.t=Math.round((d.Y-f/2)*100)/100+"px";g.b=c.height-Math.round((d.Y+f/2)*100)/100+"px";g.w=e+"px";g.h=f+"px";return g};cp.getBoundsForRotatedItem1=function(a,c,d,e,f,g,k){var m={};if(g==void 0)return m;var l={x:a,y:c},n={x:a+d,y:c},d={x:a+d,y:c+e},e={x:a,y:c+e},l=cp.RotatePoint(l.x,
l.y,f.X,f.Y,g),n=cp.RotatePoint(n.x,n.y,f.X,f.Y,g),d=cp.RotatePoint(d.x,d.y,f.X,f.Y,g),e=cp.RotatePoint(e.x,e.y,f.X,f.Y,g),f=cp("div_Slide").getBoundingClientRect(),g=Math.min(l.x,n.x,d.x,e.x),a=Math.max(l.x,n.x,d.x,e.x),c=Math.min(l.y,n.y,d.y,e.y);y_max=Math.max(l.y,n.y,d.y,e.y);k||(k=0);d=Math.round(100*(a-g+2*k))/100;e=Math.round(100*(y_max-c+2*k))/100;m.l=g+"px";m.r=f.width-a+"px";m.t=c+"px";m.b=f.height-y_max+"px";m.w=d+"px";m.h=e+"px";return m};cp.isCaptionItem=function(a){return a==cp.kCPOTCaptionItem||
a==cp.kCPOTSuccessCaptionItem||a==cp.kCPOTFailureCaptionItem||a==cp.kCPRolloverCaptionItem||a==cp.kCPOTStageCorrectFeedback||a==cp.kCPOTStageIncorrectFeedback||a==cp.kCPOTStagePartialCorrectFeedback||a==cp.kCPOTTimeoutFeedbackItem||a==cp.kCPOTRetryFeedbackItem||a==cp.kCPOTHintCaptionItem};cp.isSupportedWebkitBasedBrowser=function(){var a=0,c=/( AppleWebKit\/)([^ ]+)/.exec(navigator.userAgent);if(!c||c.length<3)return false;var d=c[2],e=/[^\\.0-9]/.exec(d);e&&(d=d.slice(0,e.index));c&&(a=parseFloat(d));
cp.verbose&&cp.log("Webkit version : "+a);return a>=534};cp.canUseWebkitAnimations=function(){var a=cp.isSupportedWebkitBasedBrowser();return!a?false:a&&cp.device==cp.IDEVICE};cp.getIsBrowserSupported=function(){var a=false;cp.browser==cp.MSIE&&cp.browserVersion>=cp.MSIE_MIN_SUPPORTED_VERSION?a=true:cp.browser==cp.CHROME&&cp.browserVersion>=cp.CHROME_MIN_SUPPORTED_VERSION?a=true:cp.browser==cp.SAFARI&&cp.browserVersion>=cp.SAFARI_MIN_SUPPORTED_VERSION&&(a=true);return a};cp.ShowWarning=function(a,
c,d,e){var f=cp.D.rtDialog,g=f.rtbgfc,k=f.rtbgsc,m=f.rtbtnfc,l=f.rtbtnsc,n=f.rtsc,o=f.rttc,q=f.rttsc,p=f.rtfn,u=f.rtokb,f=f.rtcb,s=1;e&&++s;e=new cp.RuntimeMessageBox(document.getElementById("cpDocument"),s,g,k,m,l,n,o,q,p);e.setTitleText(c);e.setMessageText(a);e.setFirstButtonText(u);e.registerFirstButtonHandler(e.hide);e.setSecondButtonText(f);d||e.show();return e};cp.alert=function(a,c){c||(c="Adobe Captivate");a||(a="");cp.ShowWarning(a,c)};window.alert=cp.alert;cp.WidgetCallLaterData=function(){this.m_Function=
void 0;this.m_Args=[]};cp.modifyAlternativeAccessibleText=function(a,c){if(c!=""&&a&&a!="undefined")if(cp.SAFARI===cp.browser)a.setAttribute("aria-label",c);else{if(cp.D.pref.acc===0||c==="")c=" ";var d=a.firstChild;if(d){if(d.tagName!=="DIV"||d.className!="cp-accessibility")d=d.nextSibling;if(d)if(d=d.firstChild)d.innerHTML=c}}};cp.removeAccessibilityOutline=function(a){if(a){switch(cp.browser){case cp.CHROME:case cp.SAFARI:a.style.outlineStyle="none"}switch(cp.device){case cp.IDEVICE:case cp.ANDROID:a.style.outlineStyle=
"none"}}};cp.complete=function(){if(cp.initiated&&(!cp.loadedModules.playbar||cp.PB.playbarCreated))if(!cp.loadedModules.toc||cp.toc.tocCreated)if(!cp.loadedModules.border||cp.borderCreated){var a=cp("initialLoading");a&&a.parentElement.removeChild(a);cp.unblockFromLMS();if(cp.passwordAccepted){cp.completed=true;cp.responsive&&cp.adjustResponsiveItems(cp.ReasonForDrawing.kRegularDraw);cp.fireModuleReadyEvent(cp.currentWindow);cp.device==cp.DESKTOP&&cp.D.project_main.autoplay&&cp.movie.play()}}};cp.newElem=
function(a){a=document.createElement(a);cp.shouldScale&&cp.fixWebkitScaling(a);return a};cp.fixWebkitScaling=function(a){if(cp.shouldScale&&a&&a.style){var c=a.style.WebkitTransform;c&&c.toString().indexOf("translate3d")!=-1||(a.style.WebkitTransform=a.style.WebkitTransform+"translate3d(0px, 0px, 0px)")}};cp.addDCHDiv=function(a,c){var d=document.createElement("div");d.style.width=a.style.width;d.style.height=a.style.height;d.style.display="block";d.style.position="absolute";d.style.left="0px";d.style.top=
"0px";d.style.backgroundColor="#ffffff";d.style.opacity=0;cp.registerGestureEvent(d,cp.GESTURE_EVENT_TYPES.TAP,c);a.appendChild(d);return d};cp.clearCanvasProperly=function(a){a.element.width=a.element.width};cp.cloneObject=function(a){if(null==a||"object"!=typeof a)return a;var c=a.constructor(),d;for(d in a)a.hasOwnProperty(d)&&(c[d]=cp.cloneObject(a[d]));return c};cp.enable=function(a){if(a=cp.D[a]){a.enabled=1;if(a.mdi){if(a.type==cp.kCPOTTextEntryBoxItem){var c=cp(a.mdi);if(c)if((c=c.firstChild)&&
(c.tagName=="INPUT"||c.tagName=="TEXTAREA"))c.disabled=false}if(c=G[a.mdi])c.enabled=1;a.type==cp.kCPOTAutoShape&&a.canvasPainterObject&&a.canvasPainterObject.addMouseHandlers()}}};cp.markTOCEntryComplete=function(a){(a=cp.D[cp.movie.stage.slides[a]])&&a.tocEntry&&a.tocEntry.setVisited()};cp.animateItem=function(a,c,d,e,f){d=G[e];e=cp.D[e];if(e!=void 0){e.qtp!=void 0&&(d=G[e.sn]);if(d!=void 0){d.m_triggerTimelineIds=e["JSONTT_"+f];PPTXLib.processTriggerForObject(d,a+"_"+c)}}};cp.disable=function(a){if(a=
cp.D[a]){a.enabled=0;if(a.mdi){if(a.type==cp.kCPOTTextEntryBoxItem){var c=cp(a.mdi);if(c)if((c=c.firstChild)&&(c.tagName=="INPUT"||c.tagName=="TEXTAREA"))c.disabled=true}if(c=G[a.mdi])c.enabled=0;a.type==cp.kCPOTAutoShape&&a.canvasPainterObject&&a.canvasPainterObject.removeMouseHandlers()}}};cp.showHint=function(a,c){c.hintFeedback=new cp.Feedback(a,null,false,cp.FeedbackType.HINT);c.hintFeedback.onRollover()};cp.hideHint=function(a,c){if(c&&c.hintFeedback)c.hintFeedback.onRollout()};cp.addRewrapObjectAsPerRestOfProjectItem=
function(a){if(a){var c=cp.movie.stage.getSlideDiv().firstChild;if(c){var d=cp.movie.stage.m_lowestRewrapElementThatIsRestOfProjectAndOnTop;d?c.insertBefore(a,d):c.appendChild(a)}}};cp.addDivObjectAsPerRestOfProjectItem=function(a){if(a){var c=cp.movie.stage.getSlideDiv();if(c){var d=cp.movie.stage.m_lowestElementThatIsRestOfProjectAndOnTop;d?c.insertBefore(a,d):c.appendChild(a)}}};cp.moveRewrapElemToTop=function(a){if(a){a.parentNode.removeChild(a);cp.addRewrapObjectAsPerRestOfProjectItem(a)}};cp.moveDivElemToTop=
function(a){if(a){a.parentNode.removeChild(a);cp.addDivObjectAsPerRestOfProjectItem(a)}};cp.redrawVideo=function(a){cp.DESKTOP==cp.device&&cp.SAFARI===cp.browser&&cp.browserVersion>=7&&setTimeout(function(){a.controls=false},40)};cp.redrawItem=function(a){var c=cp(a);if(c&&!cp("dummyStyle")){var d=c.style.display,e=document.createElement("style");e.id="dummyStyle";document.body.appendChild(e);setTimeout(function(){document.body.removeChild(e);c.style.display=d},50)}};cp.contains=function(a,c){typeof a==
"string"||a instanceof String||(a=""+a+"");typeof c=="string"||c instanceof String||(c=""+c+"");return a.indexOf(c)!=-1};cp.show=function(a){var c=0,d=[],e,f=null;d.push(a);var g=G[a];cp.movie.stage.getChildrenForParent(a,d);for(var k=cpInfoCurrentFrame>cp.movie.stage.lastFrame?cp.movie.stage.lastFrame:cpInfoCurrentFrame,m=false,c=0;c<d.length;++c){a=d[c];if(e=cp.D[a]){e.visible=1;if(e.mdi){if(f=cp.D[e.mdi])f.visible=1;if(f=G[e.mdi]){f.visible=1;if(f.type==cp.kCPOTVideo&&f.nativeVideo){m=true;f.nativeVideo.style.display=
"block"}if(f.element){var l=f.element.firstElementChild;if(l&&l.tagName=="VIDEO"){m=true;f.nativeVideo.style.display="block";f.seekTo(f.from);if(f.showControls&&cp.kCPOTFLVItem==f.type)if(cp.IDEVICE!=cp.device||cp.IOSMajor>=cp.IOS8){if(cp.movie.stage.NativeVideoElement)cp.movie.stage.NativeVideoElement.style.backgroundColor="#000000";cp.addVideoSkin(f.actualParent,f,f.autoPlay)}else f.nativeVideo.controls=true;if(f.autoPlay)f.play();else{f.nativeVideo.style.position="static";f.nativeVideo.style.left=
"0px"}}}}}if(f=cp(a)){if(m||g&&g.isInRange(k)){f.style.visibility="visible";f.style.display="block"}if(e.type==cp.kCPOTWebObject)if(f=f.getElementsByTagName("iframe")[0]){f.style.visibility="visible";f.style.display="block"}}e.ia&&cp.movie.am.showHideObjectAudio(e.ia,true);e.iea&&cp.movie.am.playPauseEventAudio(e.iea,true)}else if((f=cp(a))&&(m||g&&g.isInRange(k))){f.style.visibility="visible";e=a.indexOf("-vtext_Handler");if(cp.responsive&&e!=-1){e=a.substr(0,e);if((e=cp.D[e])&&e.hl){f.style.backgroundColor=
"#ffffff";f.style.opacity=0}}}cp.redrawItem(a)}};cp.hide=function(a){var c=0,d=[],e;d.push(a);cp.movie.stage.getChildrenForParent(a,d);for(c=0;c<d.length;++c){e=d[c];if(a=cp.D[e]){a.visible=0;if(a.mdi){if(canvasDataItem=cp.D[a.mdi])canvasDataItem.visible=0;var f=G[a.mdi];if(f){f.visible=0;var g=false;if(f.type==cp.kCPOTVideo)g=true;else if(f.element){var k=f.element.firstElementChild;k&&k.tagName=="VIDEO"&&(g=true)}if(g){if(f.nativeVideo)f.nativeVideo.style.display="none";f.pause&&f.pause()}}}if(e=
cp(e)){e.style.visibility="hidden";if(a.type==cp.kCPOTWebObject)if(e=e.getElementsByTagName("iframe")[0]){e.style.visibility="hidden";e.style.display="none"}}a.ia&&cp.movie.am.showHideObjectAudio(a.ia,false);a.iea&&cp.movie.am.playPauseEventAudio(a.iea,false)}else if(e=cp(e))e.style.visibility="hidden"}};cp.jumpToPreviousSlide=function(){var a=cp.movie.stage.previousSlideStartFrame;a<=0&&(a=1);cp.movie.jumpToFrame(a)&&cp.movie.play()};cp.jumpToNextSlide=function(){var a=cp.movie.stage.nextSlideStartFrame;
a!=-1?cp.movie.jumpToFrame(a)&&cp.movie.play():!cp.movie.virgin&&cp.movie.stage.slides.length-1==cpInfoCurrentSlideIndex&&cp.movie.play()};cp.jumpToLastVisitedSlide=function(){cp.movie.jumpToFrame("cpInfoLastVisitedSlide");cp.movie.play()};cp.openURL=function(a,c){var d=a;cp.MSIE!=cp.browser&&(d=encodeURI(a));cp.m_isPreview?cp.parentWindow.open(d,c):cp.currentWindow.open(d,c)};cp.openMovie=function(a,c){return cp.openURL(a,c)};cp.sendEmail=function(a){(a=cp.m_isPreview?cp.parentWindow.open("mailto:"+
a,"_blank"):cp.currentWindow.open("mailto:"+a,"_blank"))&&a.close()};cp.showMessage=function(a){cp.alert(a)};cp.runJavascript=function(a,c){cp.verbose&&cp.log("runJavascript ["+a+"]");try{var d=window;switch(c){case "_self":d=window;break;case "_blank":d=window.open("");break;case "_parent":d=window.parent;break;case "_top":d=window.top}d.execScript?d.execScript(a):d.eval.call(d,a)}catch(e){cp.log(e)}};cp.stopMovie=function(){};cp.loopMovie=function(){cpCmndGotoSlideAndResume=0};cp.closeMovie=function(){DoCPExit&&
DoCPExit()};cp.pauseWidgetAudio=function(a){var c=cp.movie.am;if(!c||c.widgetAudios==void 0)return false;a=c.widgetAudios[a];if(a==void 0)return false;a.pause();return true};cp.stopWidgetAudio=function(a){var c=cp.movie.am;if(!c||c.widgetAudios==void 0)return false;a=c.widgetAudios[a];if(a==void 0)return false;a.pause();try{if(a.nativeAudio)a.nativeAudio.currentTime=0}catch(d){cp.verbose&&cp.log("Could not stop the audio.");return false}return true};cp.playWidgetAudio=function(a){var c=cp.movie.am;
if(!c)return false;if(c.widgetAudios==void 0)c.widgetAudios={};var d=c.widgetAudios[a];if(d==void 0){d=new cp.AudioObject(c,a,a,-1,-1);c.widgetAudios[a]=d}d.play();return true};cp.playAudio2=function(a){return cp.playAudio(a,false)};cp.playAudio=function(a,c){var d=cp.movie.am;if(cp.lastMediaPlayReqTime&&(new Date).getTime()-cp.lastMediaPlayReqTime.getTime()<50){d.verbose&&cp.log("crowded request postponed "+a);setTimeout(function(){cp.playAudio(a,c)},50)}else if(!(d.muted||1!=cp.movie.speed)){d.verbose&&
cp.log("cp.playAudio "+a+", "+c);if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)if(!cp.multiAudioTrack&&(d.audioPlaying||cp.movie.stage.VideoPlaying)){d.verbose&&cp.log("audioPlaying "+d.audioPlaying+" videoPlaying "+cp.movie.stage.VideoPlaying);return}var e=cp.D["PA"+a].src;void 0==c&&(c=true);d=d.singletonPlayAudio;d.pause();if(d.nativeAudio!=null){d.nativeAudio.cpAudio=null;d.nativeAudio=null}d.onEndAutoPlayMovie=c;d.setSrc(e);d.resetAndPlay()}};cp.stopAudio=function(){cp.movie.am.singletonPlayAudio.pause()};
cp.cv=function(a,c,d,e){return cp.vm.createVariable(a,c,d==1?true:false,e)};cp.ho=function(a){if(typeof a=="string"){var c;try{isNaN(Number(a))&&(c=window[a])}catch(d){}if(void 0!=c)return c;try{isNaN(Number(a))||(c=eval(a))}catch(e){}if(void 0!=c){if(typeof c=="string"){var f;try{f=eval(c)}catch(g){}if(void 0!=f)return f}return c}}return a};cp.g_clickTimer=0;cp.isClickTimerRunning=function(){return 0!=cp.g_clickTimer};cp.startClickTimer=function(a,c){if(!cp.isClickTimerRunning())cp.g_clickTimer=
setInterval(c,a)};cp.stopClickTimer=function(){if(cp.isClickTimerRunning()){clearInterval(cp.g_clickTimer);cp.g_clickTimer=0}};cp.HandleInteractiveWidget=function(a,c){if(void 0!=c){var d=G[c];d&&d.HandleClickEvent&&d.HandleClickEvent(a)}};cp.clickSuccessHandler=function(a){if(a){if(a.cpa==false)a.clickedOnce=true;a.ssc&&cp.movie.am.pauseCurrentSlideAudioForInteractiveClick();var c=a.ca;c&&cp.movie.am.playPauseEventAudio(c,true);var c=a.osct,d=a.osc,e=a.oca,f=null,g=true;d==void 0&&(g=false);d!=void 0&&
d.length<2&&(g=false);c&&g&&(f=e);var k=a.pfc==1&&c;a.handled&&(k=false);var m=null;g&&(m=new cp.Feedback(d,f,k,cp.FeedbackType.SUCCESS,a));(!c||!g)&&cp.movie.executeAction(e);g&&m.show();return true}return false};cp.clickFailureHandler=function(a,c,d){var e=false;if(a){if(a.handled&&"cpCmndResume = 1;"==a.oca)return true;var f=a.ofct,e=a.ofc,g=a.ofa;if(!e||e.length<2)d=false;var k=null;f&&(c&&d)&&(k=g);var m=null;d&&(m=new cp.Feedback(e,k,false,cp.FeedbackType.FAILURE,a));e=true;if((!f||!d)&&c){if(a.cpa==
false)a.clickedOnce=true;cp.movie.executeAction(g)}else e=false;d?m.show():e=false}return e};cp.cbKH=function(a,c,d){if(!a||(!a||!a.enabled||!c||!c.visible)||a.actionInProgress)return false;var e,f=0,g=false,g=a.currentAttempt;g!=void 0&&(f=g);if(c!=void 0)e=c.dn;if(d){e&&cp.SubmitInteractions(e,cp.QuestionStatusEnum.CORRECT,f);g=cp.clickSuccessHandler(a);a.handled=true;return g}c=a.ma;f=f+1;a.currentAttempt=f;d=c!=-1&&f==c;g=c==-1||f<=c;e&&cp.SubmitInteractions(e,cp.QuestionStatusEnum.INCORRECT,
f-1);g=cp.clickFailureHandler(a,d,g);if(!a.handled)a.handled=c!=-1&&f>=c;return g};cp.qbKH=function(a,c,d){if(!a||!c||!a.enabled||!c.visible)return false;a=a.qbt;if(!a||!d)return false;c=c.dn;if(!c)return false;c=document.getElementById(c);if(!c)return false;d=false;switch(a){case "clear":cp.quizClearButtonClickHandler(c);d=true;break;case "back":cp.quizBackButtonClickHandler(c);d=true;break;case "skip":cp.quizSkipButtonClickHandler(c);d=true;break;case "submit":cp.quizSubmitButtonClickHandler(c);
d=true;break;case "submitAll":cp.quizSubmitAllButtonClickHandler(c);d=true;break;case "continue":cp.quizContinueButtonClickHandler(c);d=true;break;case "review":cp.quizReviewButtonClickHandler(c);d=true;break;case "retake":cp.quizRetakeButtonClickHandler(c);d=true}return d};cp.isTEBValueCorrect=function(a,c){if(!c.vuin)return true;var d=document.getElementById(a+"_inputField");if(!d)return false;var d=d.value,e=c.exp||[],f=c.cs,g=e.length,k=false;if(0==g&&""==d)return true;for(var m=0;m<g&&!k;++m)k=
f?d==e[m]:d.toLowerCase()==e[m].toLowerCase();return k};cp.tebKH=function(a,c,d){var e=false,f=0,e=1E3,g=false,k;if(!a)return false;if(c&&c.keyHandledOnce)return c.keyHandledOnce=false;if(!d||a&&a.handled||!a||!a.enabled||!c||!c.visible)return false;d=a.currentAttempt;d!=void 0&&(f=d);if(c!=void 0)k=c.dn;if(e=cp.isTEBValueCorrect(a.id,a)){a.handled=true;k&&cp.SubmitInteractions(k,cp.QuestionStatusEnum.CORRECT,f);return cp.clickSuccessHandler(a)}e=a.ma;f=f+1;a.currentAttempt=f;g=e!=-1&&f==e;c=e==-1||
f<=e;if(!a.handled)a.handled=e!=-1&&f>=e;k&&cp.SubmitInteractions(k,cp.QuestionStatusEnum.INCORRECT,f-1);return cp.clickFailureHandler(a,g,c)};cp.ClickData=function(a,c,d){this.m_obj=a;this.m_objc=c;this.m_htmlElem=d;this.m_from=a.from;this.m_to=a.to};cp.ClickData.prototype.isValid=function(){return void 0!=this.m_obj&&void 0!=this.m_objc&&void 0!=this.m_htmlElem&&this.m_to>=this.m_from};cp.ClickData.prototype.isClickable=function(a){return!this.m_obj||!this.m_obj.enabled||!this.m_objc||!this.m_objc.visible?
false:this.m_from<=a&&a<=this.m_to};cp.preventEventDefault=function(a){if(a)a.preventDefault?a.preventDefault():a.returnValue=false};cp.getHitTestingRect=function(a){var c={minX:0,minY:0,maxX:0,maxY:0};if(!a)return c;var d=a.getBoundingClientRect(),a=cp.getScaledPosition(d.left,d.top),d=cp.getScaledPosition(d.right,d.bottom);c.minX=a.X;c.minY=a.Y;c.maxX=d.X;c.maxY=d.Y;c.width=c.maxX-c.minX;c.height=c.maxY-c.minY;return c};cp.IsPointWithElem=function(a,c,d,e,f,g,k){var m=0,l=0,n=0;if(a.rotateAngle)m=
a.rotateAngle;a=c-(e+g)/2;d=d-(f+k)/2;l=a*Math.cos(Math.PI*-m/180)-d*Math.sin(Math.PI*-m/180);n=a*Math.sin(Math.PI*-m/180)+d*Math.cos(Math.PI*-m/180);l=l+(e+g)/2;n=n+(f+k)/2;return l>=e&&l<=g&&n>=f&&n<=k?true:false};cp.handleDblClick=function(a){var c=null,d=null,c=null,c=cp.getScaledPosition(getPageX(a),getPageY(a)),a=c.X,e=c.Y,f=null,g=0,c=cp.movie.stage.getClickManager(),d=c.getDoubleClickArr(cpInfoCurrentFrame);if(!(null==d||0==d.length)){cp.stopClickTimer();for(g=0;g<d.length;++g)if(c=d[g]){f=
c.m_htmlElem;if(!c.m_obj||!c.m_obj.actionInProgress){var k=cp.getHitTestingRect(f);if(c.m_obj&&cp.IsPointWithElem(f,a,e,k.minX,k.minY,k.maxX,k.maxY)){var a=0,m,l,e=c.m_obj.currentAttempt;e!=void 0&&(a=e);c.m_obj.mdi&&(l=cp.D[c.m_obj.mdi]);if(l!=void 0)m=l.dn;m&&cp.SubmitInteractions(m,cp.QuestionStatusEnum.CORRECT,a);cp.clickSuccessHandler(c.m_obj);c.m_obj.handled=true;return}}}if((c=d[0])&&c.m_obj&&!c.m_obj.actionInProgress){a=cp.D[c.m_obj.mdi].visible;d=0;e=c.m_obj.currentAttempt;e!=void 0&&(d=
e);d=d+1;c.m_obj.currentAttempt=d;e=c.m_obj.ma;f=e!=-1&&d==e&&a;g=(e==-1||d<=e)&&a;c.m_obj.mdi&&(l=cp.D[c.m_obj.mdi]);if(l!=void 0)m=l.dn;m&&cp.SubmitInteractions(m,cp.QuestionStatusEnum.INCORRECT,d-1);cp.clickFailureHandler(c.m_obj,f,g);if(!c.m_obj.handled)c.m_obj.handled=e!=-1&&d>=e&&a}}};cp.handleRightClick=function(a){var c=null,d=null,c=null,c=cp.getScaledPosition(getPageX(a),getPageY(a)),e=c.X,f=c.Y,g=null,d=false,k=0,c=cp.movie.stage.getClickManager(),d=c.getRightClickArr(cpInfoCurrentFrame);
if(!(null==d||0==d.length)){cp.stopClickTimer();for(k=0;k<d.length;++k)if((c=d[k])&&(!c.m_obj||!c.m_obj.actionInProgress)){var g=c.m_htmlElem,m=cp.getHitTestingRect(g);if(c.m_obj&&cp.IsPointWithElem(g,e,f,m.minX,m.minY,m.maxX,m.maxY)){var e=0,l,n,f=c.m_obj.currentAttempt;f!=void 0&&(e=f);c.m_obj.mdi&&(n=cp.D[c.m_obj.mdi]);if(n!=void 0)l=n.dn;l&&cp.SubmitInteractions(l,cp.QuestionStatusEnum.CORRECT,e);d=cp.clickSuccessHandler(c.m_obj);c.m_obj.handled=true;d&&cp.preventEventDefault(a);return}}if((c=
d[0])&&c.m_obj&&!c.m_obj.actionInProgress){a=cp.D[c.m_obj.mdi].visible;e=0;f=c.m_obj.currentAttempt;f!=void 0&&(e=f);e=e+1;c.m_obj.currentAttempt=e;f=c.m_obj.ma;d=f!=-1&&e==f&&a;g=(f==-1||e<=f)&&a;c.m_obj.mdi&&(n=cp.D[c.m_obj.mdi]);if(n!=void 0)l=n.dn;l&&cp.SubmitInteractions(l,cp.QuestionStatusEnum.INCORRECT,e-1);cp.clickFailureHandler(c.m_obj,d,g);if(!c.m_obj.handled)c.m_obj.handled=f!=-1&&e>=f&&a}}};cp.handleMouseOut=function(){if(cp.device==cp.DESKTOP){var a=cp.movie.stage.getSlideDiv();if(a){a.touchstartX=
null;a.isMoving=false}}};cp.handleMouseMove=function(a){a=a.pageX+","+a.pageY;if(cp.LastMousePosition!=a){cp.LastMousePosition=a;a=document.getElementById("playbar");a!=void 0&&a.animator&&a.animator.showPlaybar(cpInfoCurrentFrame>=cp.movie.stage.lastFrame?true:false)}};cp.handleMouseOver=function(){var a=document.getElementById("playbar");a!=void 0&&a.animator&&a.animator.showPlaybar(cpInfoCurrentFrame>=cp.movie.stage.lastFrame?true:false)};cp.ClickManager=function(){this.m_rightClickArr=[];this.m_doubleClickArr=
[]};cp.ClickManager.prototype.addRightClick=function(a,c,d){a=new cp.ClickData(a,c,d);this.m_rightClickArr.push(a)};cp.ClickManager.prototype.addDoubleClick=function(a,c,d){a=new cp.ClickData(a,c,d);this.m_doubleClickArr.push(a)};cp.ClickManager.prototype.removeRightClick=function(a){for(var c=0,c=0;c<this.m_rightClickArr.length;++c)if(this.m_rightClickArr[c].m_obj==a){this.m_rightClickArr.splice(c,1);break}};cp.ClickManager.prototype.removeDoubleClick=function(a){for(var c=0,c=0;c<this.m_doubleClickArr.length;++c)if(this.m_doubleClickArr[c].m_obj==
a){this.m_doubleClickArr.splice(c,1);break}};cp.ClickManager.prototype.clearClicks=function(){this.m_rightClickArr=[];this.m_doubleClickArr=[]};cp.ClickManager.prototype.getRightClickArr=function(a){for(var c=[],d=0,d=this.m_rightClickArr.length-1;d>=0;--d)this.m_rightClickArr[d].isClickable(a)&&c.push(this.m_rightClickArr[d]);return c};cp.ClickManager.prototype.getDoubleClickArr=function(a){for(var c=[],d=0,d=this.m_doubleClickArr.length-1;d>=0;--d)this.m_doubleClickArr[d].isClickable(a)&&c.push(this.m_doubleClickArr[d]);
return c};cp.Shortcut=function(a,c,d,e){this.m_keyCode=void 0!=a?a:null;this.m_isCtrl=void 0!=c&&c?c:false;this.m_isShift=void 0!=d&&d?d:false;this.m_isAlt=void 0!=e&&e?e:false};cp.Shortcut.prototype.isValid=function(){return this.m_keyCode!=void 0&&this.m_keyCode!=null};cp.Shortcut.prototype.isSame=function(a){return this.m_keyCode==a.m_keyCode&&this.m_isCtrl==a.m_isCtrl&&this.m_isShift==a.m_isShift&&this.m_isAlt==a.m_isAlt};cp.getShortCutFromKeyEvent=function(a){return new cp.Shortcut(a.keyCode,
1==a.ctrlKey,1==a.shiftKey,1==a.altKey)};cp.KeyHandler=function(a,c,d,e,f){this.m_handler=a;this.m_shortcut=null;if(c instanceof cp.Shortcut)this.m_shortcut=c;this.m_startFrame=d;this.m_endFrame=e;this.m_name=f};cp.KeyHandler.prototype.isValid=function(){return this.m_handler&&this.m_shortcut};cp.SHIFT=16;cp.CONTROL=17;cp.ALT=18;cp.KeyManager=function(){this.m_keys=[];this.m_shift=this.m_alt=this.m_ctrl=false;this.m_keyHandlers=[]};cp.KeyManager.prototype.handleKeyDown=function(a){a:{var c=false;
if(a.keyCode==cp.SHIFT)c=this.m_shift=true;else if(a.keyCode==cp.CONTROL)c=this.m_ctrl=true;else if(a.keyCode==cp.ALT)c=this.m_alt=true;this.m_shift=1==a.shiftKey;this.m_ctrl=1==a.ctrlKey;this.m_alt=1==a.altKey;if(!c){for(c=0;c<this.m_keys.length;++c)if(a.keyCode==this.m_keys[c])break a;this.m_keys.push(a.keyCode)}}};cp.KeyManager.prototype.handleKeyUp=function(a){this.check(a);a:{var c=false;if(a.keyCode==cp.SHIFT){this.m_shift=false;c=true}else if(a.keyCode==cp.CONTROL){this.m_ctrl=false;c=true}else if(a.keyCode==
cp.ALT){this.m_alt=false;c=true}this.m_shift=1==a.shiftKey;this.m_ctrl=1==a.ctrlKey;this.m_alt=1==a.altKey;if(!c)for(c=0;c<this.m_keys.length;++c)if(a.keyCode==this.m_keys[c]){this.m_keys.splice(c,1);break a}}};cp.KeyManager.prototype.handleFocusOut=function(){this.m_keys=[];this.m_shift=this.m_alt=this.m_ctrl=false};cp.KeyManager.prototype.check=function(a){var c=null,d=cpInfoCurrentFrame,e=0,f=false,g=null;if(this.m_keys.length==0)return false;for(e=0;e<this.m_keyHandlers.length;++e){c=this.m_keyHandlers[e];
if(c.m_startFrame<=d&&c.m_endFrame>=d){for(var f=c.m_shortcut,k=false,m=0;m<this.m_keys.length&&!k;++m)f.m_keyCode==this.m_keys[m]&&(k=true);f=k?this.m_ctrl==f.m_isCtrl&&this.m_shift==f.m_isShift&&this.m_alt==f.m_isAlt:false;if(f){g=c;if(c.m_handler(f))return true;break}}}for(e=0;e<this.m_keyHandlers.length;++e){c=this.m_keyHandlers[e];if(g!=c&&c.m_shortcut.isValid()!=false&&c.m_startFrame<=d&&c.m_endFrame>=d&&c.m_handler(false))return true}var l;if(a.keyCode)l=a.keyCode;else if(a.which)l=a.which;
if(l==13||l==32){var n,g="";if(a.target)n=a.target;else if(a.srcElement)n=a.srcElement;if(n.nodeType==3)n=n.parentNode;if(n)g=n.id;if(g!="")for(e=0;e<this.m_keyHandlers.length;++e){c=this.m_keyHandlers[e];if(c.m_name==g&&c.m_startFrame<=d&&c.m_endFrame>=d&&c.m_handler(true))return true}}return false};cp.KeyManager.prototype.addHandler=function(a){a&&a.isValid()&&this.m_keyHandlers.push(a)};cp.KeyManager.prototype.clearHandlers=function(){this.m_keyHandlers=[]};cp.getGradientSvgStr=function(a,c,d,
e,f){var g="";if(!a.cs||a.cs.length<2)return"";if(0==a.t){g="linearGradient";if(void 0==a.x1||void 0==a.x2||void 0==a.y1||void 0==a.y2)return""}else if(1==a.t){g="radialGradient";if(void 0==a.cx||void 0==a.cy||void 0==a.r)return""}else return"";if(e==void 0||e==0)e=1;if(f==void 0||f==0)f=1;var k="<"+g+' id="grad1" gradientUnits="userSpaceOnUse"';if(0==a.t)k=k+(' x1="'+a.x1*e+'" y1="'+a.y1*f+'" x2="'+a.x2*e+'" y2="'+a.y2*f+'"');else{k=k+(' cx="'+a.cx*e+'" cy="'+a.cy*f+'" r="'+a.r*e+'"');void 0!=a.tf&&
(void 0!=a.tf.x&&void 0!=a.tf.y)&&(k=k+(' gradientTransform="translate('+a.tf.x*e+" "+a.tf.y*f+')"'))}var m="pad";void 0!=a.s&&(1==a.s?m="reflect":2==a.s&&(m="repeat"));for(var l="",n=0;n<a.cs.length;++n)var o=a.cs[n],l=l+('<stop offset="'+o.p+'%" style="stop-color:'+o.c+";stop-opacity:"+o.o+'" />');return'<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'+c*e+'" height="'+d*f+'"><defs>'+(k+(' spreadMethod="'+m+'">'))+l+"</"+g+"></defs>"+('<rect x="0" y="0" width="'+c*e+'" height="'+d*
f+'" fill="url(#grad1)"/>')+"</svg>"};cp.getGradientFill=function(a,c,d,e){if(!c||!a.cs||a.cs.length<2)return null;d==void 0&&(d=1);e==void 0&&(e=1);var f=null;if(0==a.t){if(void 0==a.x1||void 0==a.x2||void 0==a.y1||void 0==a.y2)return null;f=c.createLinearGradient(a.x1*d,a.y1*e,a.x2*d,a.y2*e)}else if(1==a.t){if(void 0==a.cx||void 0==a.cy||void 0==a.r)return null;var f=a.cx,g=a.cy;if(void 0!=a.tf&&void 0!=a.tf.x&&void 0!=a.tf.y){f=f+a.tf.x;g=g+a.tf.y}f=c.createRadialGradient(f*d,g*e,0,f*d,g*e,a.r*
d)}else return null;for(c=0;c<a.cs.length;++c){d=a.cs[c];e=cp.getRGBA(d.c,d.o);f.addColorStop(d.p/100,e)}return f};cp.drawLineCapStyle=function(a,c,d,e,f,g,k,m,l){if(Math.sqrt((e-c)*(e-c)+(f-d)*(f-d))!=0)switch(m){case 1:cp.drawSquareCap(a,c,d,e,f,g,k,l);break;case 2:cp.drawRoundCap(a,c,d,e,f,g,k,l);break;case 3:cp.drawDiamondCap(a,c,d,e,f,g,k,l);break;case 4:cp.drawArrowCap(a,c,d,e,f,g,k,l)}};cp.drawRoundCap=function(a,c,d,e,f,g,k,m){var l=0,n=0,o=0,l=0,l=Math.sin(0.349),o=(4+k/(2*l))/2;if(0==m){l=
c;n=d}else{l=e;n=f}a.save();a.beginPath();a.arc(l,n,o,0,2*Math.PI,false);a.closePath();a.fillStyle=g;a.fill();a.restore()};cp.drawSquareCap=function(a,c,d,e,f,g,k,m){var l=0,n=0,o=0,q=0,p=q=0,u=0,s=l=0,n=0,n=Math.sin(0.349),l=(4+k/(2*n))/2;if(0==m){n=c;o=d}else{n=e;o=f}q=e-c;if(q==0){q=0;u=p=l;l=0}else{s=(f-d)/q;if(s!=0){q=Math.sqrt(l*l/(s*s+1));p=s*q;s=-1/s;u=Math.sqrt(l*l/(s*s+1));l=s*u}else{q=l;u=p=0}}a.save();a.beginPath();a.moveTo(n-q-u,o-p-l);a.lineTo(n+q-u,o+p-l);a.lineTo(n+q+u,o+p+l);a.lineTo(n-
q+u,o-p+l);a.lineTo(n-q-u,o-p-l);a.closePath();a.fillStyle=g;a.fill();a.restore()};cp.drawDiamondCap=function(a,c,d,e,f,g,k,m){var l=0,n=0,o=0,q=0,p=q=0,u=0,s=l=0,n=0,n=Math.sin(0.349),l=(4+k/(2*n))/2;if(0==m){n=c;o=d}else{n=e;o=f}q=e-c;if(q==0){q=0;u=p=l;l=0}else{s=(f-d)/q;if(s!=0){q=Math.sqrt(l*l/(s*s+1));p=s*q;s=-1/s;u=Math.sqrt(l*l/(s*s+1));l=s*u}else{q=l;u=p=0}}a.save();a.beginPath();a.moveTo(n-q,o-p);a.lineTo(n-u,o-l);a.lineTo(n+q,o+p);a.lineTo(n+u,o+l);a.lineTo(n-q,o-p);a.closePath();a.fillStyle=
g;a.fill();a.restore()};cp.drawArrowCap=function(a,c,d,e,f,g,k,m){var l=0,n=0,o=0,q=0,p=l=q=0,u=0,s=0,v=0,x=u=v=s=0,q=0,q=Math.sqrt((e-c)*(e-c)+(f-d)*(f-d));if(q!=0){s=(e-c)/q;v=(f-d)/q;u=Math.cos(0.349);x=Math.sin(0.349);l=1;k>1&&(l=Math.sqrt(k));var q=k/(2*x),n=6*l+q,o=4+q,q=n*(s*u-v*x),l=n*(v*u+s*x),p=n*(s*u+v*x),u=n*(v*u-s*x),s=o*s,v=o*v,w=n=x=o=k=0,y=0;if(0==m){k=c-s;o=d-v;x=c+q-s;n=d+l-v;w=c+p-s;y=d+u-v}else{k=e+s;o=f+v;x=e-q+s;n=f-l+v;w=e-p+s;y=f-u+v}a.save();a.beginPath();a.moveTo(k,o);a.lineTo(x,
n);a.lineTo(w,y);a.lineTo(k,o);a.closePath();a.fillStyle=g;a.fill();a.restore()}};cp.getPattern=function(a,c,d){var e=[];switch(a){case 1:e[0]=d*c;e[1]=c;break;case 2:e[0]=c;e[1]=c;break;case 3:e[0]=d*c;e[1]=c;e[2]=c;e[3]=c;break;case 4:e[0]=d*c;e[1]=c;e[2]=c;e[3]=c;e[4]=c;e[5]=c;break;default:e[0]=1E4*c;e[1]=0}return e};cp.dashStruct=function(){this.m_drawingDash=true;this.m_offset=this.m_patternIndex=0};cp.drawDashedLineImpl=function(a,c,d,e,f,g,k){var g=g-e,k=k-f,m=Math.sqrt(g*g+k*k),l=0,n=0,o=
0,q=0,p=0;if(0!=m){g=g/m;k=k/m;l=m;n=-d.m_offset;m=d.m_drawingDash;for(o=d.m_patternIndex;n<l;){n=n+c[o];if(n>=l){d.m_offset=c[o]-(n-l);d.m_patternIndex=o;d.m_drawingDash=m;n=l}q=e+n*g;p=f+n*k;m?a.lineTo(q,p):a.moveTo(q,p);m=!m;o=(o+1)%c.length}}};cp.drawDashedLine=function(a,c,d,e,f,g){var g=cp.getPattern(g,7,3),k=new cp.dashStruct;cp.drawDashedLineImpl(a,g,k,c,d,e,f)};cp.drawDashedCurve=function(a,c,d,e,f,g,k,m,l,n,o,q){var p=n=0,u=o=0,s=u=0,v=0,x=-d.m_offset,w=d.m_drawingDash,y=d.m_patternIndex,
B=v=0,z=0,A=s=0,F=p=0,J=0;if(q<0){q=0;n=e;p=f;for(v=1;v<100;++v){u=v/100;s=1-u;o=s*s*n+2*u*s*g+u*u*m;u=s*s*p+2*u*s*k+u*u*l;q=q+Math.sqrt((o-n)*(o-n)+(u-p)*(u-p));n=o;p=u}if(q<0||q==0)return}Math.sqrt((g-e)*(g-e)+(k-f)*(k-f));o=e;u=f;n=g;for(p=k;x<q;){x=x+c[y];if(x>=q){d.m_offset=c[y]-(x-q);d.m_patternIndex=y;d.m_drawingDash=w;x=q}F=o;J=u;v=u-p;B=n-o;z=o*p-u*n;u=x/q;u>1&&(u=1);s=1-u;n=s*e+u*g;p=s*f+u*k;o=s*s*e+2*u*s*g+u*u*m;u=s*s*f+2*u*s*k+u*u*l;s=u-p;A=n-o;p=o*p-u*n;if(A*v-B*s!=0){n=(B*p-A*z)/(A*
v-B*s);p=(v*p-s*z)/(B*s-A*v)}else{n=F;p=J}w?a.quadraticCurveTo(n,p,o,u):a.moveTo(o,u);w=!w;y=(y+1)%c.length}};cp.drawDashedOval=function(a,c,d,e,f,g){var k=0,m=0,l=0,n=0,o=0,q=o=0,p=0,u=0,s=0,v=0,x=0,w=new cp.dashStruct,g=cp.getPattern(g,7,3);f<0&&(f=e);k=Math.PI/4;m=e/Math.cos(k/2);l=f/Math.cos(k/2);a.beginPath();n=0;a.moveTo(c+e,d);s=c+e;v=d;for(x=0;x<8;++x){n=n+k;o=n-k/2;p=c+Math.cos(o)*m;u=d+Math.sin(o)*l;o=c+Math.cos(n)*e;q=d+Math.sin(n)*f;cp.drawDashedCurve(a,g,w,s,v,p,u,o,q,e,f,-1);s=o;v=q}a.closePath()};
cp.drawDashedArc=function(a,c,d,e,f,g,k,m,l){var n=0,o=0,q=0,p=0,u=0,s=u=0,v=0,x=0,w=e-g,y=f,B=0;k<0&&(k=g);n=Math.PI/4;o=g/Math.cos(n/2);q=k/Math.cos(n/2);p=0;a.moveTo(e-g,f);for(B=0;B<16;++B){p=p+n;u=p-n/2;v=e+Math.cos(u)*o;x=f+Math.sin(u)*q;u=e+Math.cos(p)*g;s=f+Math.sin(p)*k;if(p>m&&p<=l){cp.drawDashedCurve(a,c,d,w,y,v,x,u,s,g,k,Math.PI*g/4);w=u;y=s}else if(p<=m){w=u;y=s;a.moveTo(w,y)}else if(p>l)break}};cp.drawDashedRectangle=function(a,c,d,e,f,g,k){var m=new cp.dashStruct,k=cp.getPattern(k,
7,3);g<=0&&(g=0);a.beginPath();a.moveTo(c,d+f-g);cp.drawDashedLineImpl(a,k,m,c,d+f-g,c,d+g);g>0&&cp.drawDashedArc(a,k,m,c+g,d+g,g,g,Math.PI,3*Math.PI/2);cp.drawDashedLineImpl(a,k,m,c+g,d,c+e-g,d);g>0&&cp.drawDashedArc(a,k,m,c+e-g,d+g,g,g,3*Math.PI/2,2*Math.PI);cp.drawDashedLineImpl(a,k,m,c+e,d+g,c+e,d+f-g);g>0&&cp.drawDashedArc(a,k,m,c+e-g,d+f-g,g,g,2*Math.PI,5*Math.PI/2);cp.drawDashedLineImpl(a,k,m,c+e-g,d+f,c+g,d+f);g>0&&cp.drawDashedArc(a,k,m,c+g,d+f-g,g,g,Math.PI/2,Math.PI);a.closePath()};cp.drawDashedPolyLine=
function(a,c,d,e,f){var g=new cp.dashStruct,d=cp.getPattern(d,7,3),k=0,m=0,l=0,n=0,o=0;if(0!=c.length){k=c[0].x;m=c[0].y;a.beginPath();a.moveTo(k,m);for(o=1;o<c.length;++o){l=c[o].x;n=c[o].y;cp.drawDashedLineImpl(a,d,g,k*e,m*f,l*e,n*f);k=l;m=n}l=c[0].x;n=c[0].y;cp.drawDashedLineImpl(a,d,g,k*e,m*f,l*e,n*f);a.closePath()}};cp.moveTo=function(a,c,d){a.moveTo(c,d)};cp.lineTo=function(a,c,d){a.lineTo(c,d)};cp.bezierCurveTo=function(a,c,d,e,f,g,k){a.bezierCurveTo(c,d,e,f,g,k)};cp.getBezierLength=function(a,
c,d,e,f,g,k,m,l){for(var n=0,o=0,q=0,p=0,u=0,o=0,s=a,v=c,n=1;n<l;++n){o=n/l;q=1-o;u=q*q*q*a+3*o*q*q*d+3*o*o*q*f+o*o*o*k;o=q*q*q*c+3*o*q*q*e+3*o*o*q*g+o*o*o*m;p=p+Math.sqrt((u-s)*(u-s)+(o-v)*(o-v));s=u;v=o}return p};cp.getCPSlideData=function(){var a=[],c=cp.movie.stage.slides.length;for(i=0;i<c;++i){var d=cp.D[cp.movie.stage.slides[i]],e={};e.slideNumber=i+1;e.title=d.lb;e.idealTime=(d.to-d.from+1)/cpInfoFPS;e.isQuestionSlide=false;if(cp.movie.playbackController)if(d=cp.movie.playbackController.GetQuizController()){d=
d.GetSlideType(i);e.isQuestionSlide=d=="Question"?true:false}e.isEndSlide=false;a[i]=e}e.isEndSlide=true;return a};cp.doesCourseHasQuiz=function(){return!cp.movie.playbackController?false:cp.movie.playbackController.HasQuiz()};cp.drawDashedBezierCurve=function(a,c,d,e,f,g,k,m,l,n,o){var q=0,p=0,u=0,s=0,v=q=0,x=3,v=-d.m_offset,w=d.m_drawingDash,y=d.m_patternIndex,B=0,z=0,A=0,s=0,F=false,u=cp.getBezierLength(e,f,g,k,m,l,n,o,100);if(!(u<=0))for(;v<u;){A=v;B=c[y];if(v+B>=u){d.m_offset=c[y]-(v+B-u);d.m_patternIndex=
y;d.m_drawingDash=w;B=u-v;B>u&&(B=u);F=true;if(!w){a.moveTo(n,o);break}}else{if(v<0){for(s=v;s<0;)s=s+B;B=s;v=0}d.m_offset=0;d.m_patternIndex=0;d.m_drawingDash=true}A<0&&(A=0);if(w&&B>0){B>u&&(B=u);x=B>3?3:B;z=B;do{A=z>x?A+x:A+z;q=A/u;p=1-q;if(q>=1){s=n;q=o}else{s=p*p*p*e+3*q*p*p*g+3*q*q*p*m+q*q*q*n;q=p*p*p*f+3*q*p*p*k+3*q*q*p*l+q*q*q*o}a.lineTo(s,q);z=z-x}while(z>0);if(F)break}else{q=(v+B)/u;p=1-q;if(q>=1){s=n;q=o}else{s=p*p*p*e+3*q*p*p*g+3*q*q*p*m+q*q*q*n;q=p*p*p*f+3*q*p*p*k+3*q*q*p*l+q*q*q*o}a.moveTo(s,
q)}w=!w;y=(y+1)%c.length;v<0&&(v=0);v=v+B}};cp.handleQuizzingItemsInReviewMode=function(a,c,d){if(cp.movie.playbackController){var e=cp.movie.playbackController.GetQuizController();if(e){var f=c.iqb,e=e.GetIsInReviewMode();if(f)switch(c.qbt){case "submit":case "submitAll":case "clear":if(e==true){cp.hide(d);a.tabIndex=-1}break;case "postResult":c=cp.movie.playbackController.GetLMSType();if(!cp.movie.playbackController.CanPostResults()||c&&c.toUpperCase()=="INTERNALSERVER"){cp.hide(d);a.tabIndex=-1}}}}};
cp.Canvas=function(a){this.element=a;this.gc=a.getContext("2d")};cp.createCanvas=function(a,c,d,e,f,g,k){f||(f=cp.newElem("canvas"));f.width=d;f.height=e;f.style.width=g==void 0?d+"px":g;f.style.height=k==void 0?e+"px":k;f.left=a;f.top=c;f.style.left=a+"px";f.style.top=c+"px";return new cp.Canvas(f)};cp.createResponsiveCanvas=function(a,c,d,e,f){e||(e=cp.newElem("canvas"));if(a.ipiv){e.width=c;e.height=d}else{e.width=0;e.height=0}cp.applyResponsiveStyles(e,a,f,true);return new cp.Canvas(e)};if(typeof PPTXLib==
"undefined"||PPTXLib==void 0){cp.dummyPPTXLib={};PPTXLib=cp.dummyPPTXLib;PPTXLib.PptxAnimatableDisplayItem=function(){};PPTXLib.PptxAnimatableDisplayItem.prototype.updateEffects=function(){};PPTXLib.initializeAnimationManagerForCPSlide=function(){};PPTXLib.hasAnimationInfo=function(){return false};PPTXLib.updateNoSkipFramesFromEffectData=function(){};PPTXLib.updateAnimationManager=function(){};PPTXLib.initializePPTXLibrary=function(){};PPTXLib.processTriggerForObject=function(){}}cp.DisplayObject=
function(a){var c=cp.D[a.id];if(c){this.isCpObject=true;c.isCpObject=true}cp.DisplayObject.baseConstructor.call(this,a.id,c);this.element=a;this.hasEffect=this.getAttribute("JSONEffectData");if(cp.responsive)this.isStarted=false};cp.inherits(cp.DisplayObject,PPTXLib.PptxAnimatableDisplayItem);cp.DisplayObject.prototype.updateInputFontStyle=function(a){if(a){this.ResponsiveFontProp=this.getAttribute("rpfont");if(this.font=this.ResponsiveFontProp[cp.ResponsiveProjWidth].font){a.style["font-family"]=
this.font.n;a.style["font-size"]=this.font.s+"px";a.style.color=this.font.c;this.font.B&&(a.style["font-weight"]="bold");this.font.u&&(a.style["text-decoration"]="underline");this.font.i&&(a.style["font-style"]="italic")}}};cp.DisplayObject.prototype.subscribeToItemDrawingCompleteHandler=function(){if(cp.responsive){var a=this,c=cp.getResponsiveCSS(a.getAttribute("css"));c&&(c.lhID&&c.lvID&&(c.lhID!=-1||c.lvID!=-1))&&cp.em.addEventListener(function(c){a.linkedItemDrawingCompleteHandler(c)},cp.ITEMDRAWINGCOMPLETEEVENT)}};
cp.DisplayObject.prototype.linkedItemDrawingCompleteHandler=function(a){if(cp.responsive&&this.drawForResponsive&&this.isStarted){var c=cp.getResponsiveCSS(this.getAttribute("css"));if(a.cpData&&a.cpData.uid&&!(a.cpData.uid!=c.lhID&&a.cpData.uid!=c.lvID)){cp.linksVerbose&&cp.log("drawing "+this.element.id+", for "+a.cpData.uid);this.drawForResponsive(true,cp.ReasonForDrawing.kLinkedToItemAppeared);Y(this.actualParent.id,true,true)}}};cp.DisplayObject.prototype.forEachChild=function(a,c){if(this.children)for(var d=
this.children,e=d.length,f=0;f<e;++f)a(d[f],c)};cp.DisplayObject.prototype.updateFrame=function(){this.updateEffects(this.hasEffect);this.forEachChild(function(a){cp.responsive&&!a.isDrawn&&a.drawIfNeeded?a.drawIfNeeded():a.updateFrame()})};cp.DisplayObject.prototype.updateEffects=function(a){cp.DisplayObject.superClass.updateEffects.call(this,a);if(this.actualParent&&a){var a=cp.D[this.actualParent.id],c=a.from;if(!a.rp&&!a.rpa)if(cpInfoCurrentFrame<=c+2){cp.verbose&&cp.log("hiding "+this.parentDivName);
c=this.visible;cp.hide(this.parentDivName);a.hiddenFromFrame=cpInfoCurrentFrame;a.hiddenFromFlicker=true;this.visible=c}else if(a.hiddenFromFlicker&&this.visible){cp.verbose&&cp.log("showing "+this.parentDivName);cp.show(this.parentDivName);a.hiddenFromFlicker=false}}};cp.DisplayObject.prototype.isSizeNPositionUpdated=function(a,c){if(!cp.responsive)return false;if(!a||!c){cp.linksVerbose&&cp.log("first time initialization. lastSizeNPosition = null");return true}if(a.l!=c.l){cp.linksVerbose&&cp.log(a.l+
"!="+c.l);return true}if(a.t!=c.t){cp.linksVerbose&&cp.log(a.t+"!="+c.t);return true}if(a.r!=c.r){cp.linksVerbose&&cp.log(a.r+"!="+c.r);return true}if(a.b!=c.b){cp.linksVerbose&&cp.log(a.b+"!="+c.b);return true}if(a.w!=c.w){cp.linksVerbose&&cp.log(a.w+"!="+c.w);return true}if(a.h!=c.h){cp.linksVerbose&&cp.log(a.h+"!="+c.h);return true}return false};cp.DisplayObject.prototype.drawComplete=function(a){if(!this.isRegistered){cp.verbose&&cp.log("draw completed: "+this.element.id);var c=cp.movie.stage.getCurrentSlideInteractionManager();
c!=null&&c.registerDisplayObject(this.element.id)}if(cp.responsive){if(c=cp.D[this.element.id]){var d=cp.D[c.dn],e=true;d&&d.type==cp.kCPOTStageMatchingAnswerEntry&&(e=false);if(c&&e&&c){c=cp.getAccessibilityString(c);c!=void 0&&cp.modifyAlternativeAccessibleText(this.actualParent,c)}}if(a==cp.ReasonForDrawing.kRegularDraw||a==cp.ReasonForDrawing.kOrientationChangeOrResize){cp.linksVerbose&&cp.log("subscribeToItemDrawingCompleteHandler : "+this.element.id);this.subscribeToItemDrawingCompleteHandler()}c=
this.actualParent.getBoundingClientRect();d=cp("div_Slide").getBoundingClientRect();c={l:c.left-d.left,t:c.top-d.top,r:c.right-d.right,b:c.bottom-d.bottom,w:c.width,h:c.height};if(a==cp.ReasonForDrawing.kMoviePaused&&!this.isStarted||a==cp.ReasonForDrawing.kRegularDraw||a==cp.ReasonForDrawing.kOrientationChangeOrResize||a==cp.ReasonForDrawing.kTextGrow||a==cp.ReasonForDrawing.kLinkedToItemAppeared){a={uid:this.getAttribute("uid")};this.isStarted=this.isDrawnComplete=true;if(this.isSizeNPositionUpdated(this.lastSizeNPosition,
c)){cp.linksVerbose&&cp.log("firing event for : "+this.actualParent.id);this.lastSizeNPosition=c;return cp.em.fireEvent("CPItemDrawingCompleteEvent",a)}}this.lastSizeNPosition=c}};cp.DisplayObject.prototype.setTransformOrigin=function(a){if(a){var c=cp.D[cp.D[a.id].dn],d=c.xorig,c=c.yorig,e="0px",f="0px";if(this.actualParent){parseFloat(this.actualParent.style.left);parseFloat(this.actualParent.style.top);e=parseFloat(this.actualParent.style.width);f=parseFloat(this.actualParent.style.height);if(cp.responsive){e=
d*100+"%";f=c*100+"%"}else{e=d*e+"px";f=c*f+"px"}}d=e+" "+f;if(a!=void 0){a.parentElement.style["-ms-transform-origin"]=d;a.parentElement.style["-moz-transform-origin"]=d;a.parentElement.style["-webkit-transform-origin"]=d;a.parentElement.style["-o-transform-origin"]=d;a.parentElement.style["transform-origin"]=d}}};cp.DisplayObject.prototype.start=function(a,c){if(!this.effectIsStarted||a){this.updateEffects();this.effectIsStarted=true}this.forEachChild(function(d){d.start(a,c);if(cp.responsive)d.isStarted=
true})};cp.DisplayObject.prototype.reset=function(a){this.isRegistered=false;this.forEachChild(function(c){c.reset(a);if(cp.responsive){c.currentCSS=void 0;c.isStarted=false}})};cp.DisplayObject.prototype.onEndOfMovie=function(){this.forEachChild(function(a){a.onEndOfMovie()})};cp.DisplayObject.prototype.getAttribute=function(a){var c=cp.D[this.element.id];return!c?null:c[a]};cp.DisplayObject.prototype.setAttribute=function(a,c){var d=cp.D[this.element.id];d&&(d[a]=c)};cp.DisplayObject.prototype.restOfProjectDoOnNewSlide=
function(){};cp.DisplayObject.prototype.deleteFromRopMap=function(a){delete cp.ropMap[a.id]};cp.ResultSlideLabel=function(a,c){cp.ResultSlideLabel.baseConstructor.call(this,a);this.id=this.getAttribute("id");this.visible=this.getAttribute("visible");this.textAlign=this.getAttribute("ta");this.bold=this.getAttribute("B");this.color=this.getAttribute("c");this.font=this.getAttribute("f");this.italic=this.getAttribute("i");this.size=this.getAttribute("sz");this.underline=this.getAttribute("u");this.parentDivName=
this.getAttribute("dn");this.quizParam=this.getAttribute("qp");var d="";if(cp.movie.playbackController){var e=cp.movie.playbackController.GetQuizController();if(e){if(this.quizParam!=null)d=e.GetParameterValueByName(this.quizParam);else if(cp.movie.playbackController.HasQuiz()){this.textAlign="left";d=e.GetIsPassed()?e.GetPassedScoreFeedback():e.GetFailedScoreFeedback()}this.text=d;d=this.getAttribute("b");this.bounds={minX:d[0],minY:d[1],maxX:d[2],maxY:d[3]};this.tr=this.getAttribute("tr");this.re=
this.getAttribute("re");this.sh=this.getAttribute("sh");d=this.getAttribute("vb");this.vbounds={minX:d[0],minY:d[1],maxX:d[2],maxY:d[3]};if(this.element){this.element.parentElement.drawingBoard=this.element.parentElement;this.element.parentElement.bounds=this.bounds}this.args=c;this.isDrawn=false;if(cp.responsive)this.responsiveCSS=this.getAttribute("css")}}};cp.inherits(cp.ResultSlideLabel,cp.DisplayObject);cp.ResultSlideLabel.prototype.start=function(a,c){this.addIfNeeded(a,c);if(!this.effectIsStarted||
a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.ResultSlideLabel.prototype.reset=function(){delete cp.ropMap[this.element.id];this.isDrawn=false;this.element.width="0";this.element.height="0";this.element.style.width="0px";this.element.style.height="0px";this.element.left="0";this.element.top="0";this.element.style.left="0px";this.element.style.top="0px"};cp.ResultSlideLabel.prototype.drawForResponsive=function(a,c){if(!this.responsiveCSS)return false;if(this.isDrawn&&!a)return true;
var d=cp.getResponsiveCSS(this.responsiveCSS),e=false,e=this.sh&&!this.sh.i||this.fillOuterArea,f=this.tr!=void 0;if(this.isDrawn&&this.currentCSS==d&&!e&&!f&&(!a||c==cp.ReasonForDrawing.kMoviePaused))return true;this.currentCSS=d;e=this.getAttribute("dn");if(!this.parentDivName)this.parentDivName=e;this.actualParent=cp(this.parentDivName);e=cp.D[this.parentDivName];f=cp("re-"+this.element.id);if(!f){cp.applyResponsiveStyles(this.element.parentElement,d,true);this.element.parentNode.removeChild(this.element);
f=cp.newElem("div");f.id="re-"+this.element.id;cp.fixWebkitScaling(f);cp.movie.stage.getSlideDiv();cp.addRewrapObjectAsPerRestOfProjectItem(f);f.setAttribute("class","cp-rewrap");f.appendChild(this.element);f.setAttribute("tabIndex",-1);this.zIndex=e.zIndex;f.style.zIndex=this.zIndex}cp.applyResponsiveStyles(f,d,true);if(!this.isDrawn){this.element.style.left="0px";this.element.style.top="0px";this.element.style.width="100%";this.element.style.position="absolute";if(this.sh)this.element.style.textShadow=
this.sh.d*Math.cos(Math.PI*this.sh.a/180)+"px "+this.sh.d*Math.sin(Math.PI*this.sh.a/180)+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)+(this.sh.i?" inset":"");if(this.re)f.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";this.actualParentElem=cp(this.parentDivName);this.actualParentElem.setAttribute("tabIndex",-1);cp.createAlternativeAccessibleText(this.actualParentElem,
this.text);cp.removeAccessibilityOutline(this.actualParentElem)}cp.applyResponsiveStyles(this.actualParentElem,d,true);d=this.getAttribute("rpfont")[cp.ResponsiveProjWidth].font;this.element.style.fontWeight=d.B?"bold":"normal";this.element.style.fontStyle=d.i?"italic":"normal";this.element.style.textDecoration=d.u?"underline":"none";this.element.style.color=d.c;this.element.style.fontFamily=d.n;this.element.style.fontSize=d.s+"px";this.element.style.textAlign=this.textAlign;this.element.style.verticalAlign=
"middle";if(this.element.innerHTML=="")this.element.innerHTML=this.element.innerHTML+this.text;this.isDrawn=true;this.drawComplete(c);this.visible||cp.hide(this.parentDivName);d=this.actualParentElem.clientHeight;if(d>0&&this.element.clientHeight<=d)this.element.style.top=(d-this.element.clientHeight)/2+"px";return true};cp.ResultSlideLabel.prototype.addIfNeeded=function(a,c){if((!cp.responsive||!this.drawForResponsive(a,c))&&!this.isDrawn){var d=cp.newElem("div");d.id="re-"+this.element.id;cp.fixWebkitScaling(d);
this.element.parentElement.style.position="absolute";this.element.parentElement.style.left=this.vbounds.minX+"px";this.element.parentElement.style.top=this.vbounds.minY+"px";this.element.parentElement.style.width=this.vbounds.maxX-this.vbounds.minX+"px";this.element.parentElement.style.height=this.vbounds.maxY-this.vbounds.minY+"px";d.style.position="absolute";d.style.left=this.vbounds.minX+"px";d.style.top=this.vbounds.minY+"px";d.style.width=this.vbounds.maxX-this.vbounds.minX+"px";d.style.height=
this.vbounds.maxY-this.vbounds.minY+"px";this.element.style.left="0px";this.element.style.top="0px";this.element.style.width="100%";if(this.sh)this.element.style.textShadow=this.sh.d*Math.cos(Math.PI*this.sh.a/180)+"px "+this.sh.d*Math.sin(Math.PI*this.sh.a/180)+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)+(this.sh.i?" inset":"");if(this.re)d.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/
100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";this.element.style.position="absolute";this.element.style.textAlign=this.textAlign;this.element.style.verticalAlign="middle";this.element.style.color=this.color;this.element.style.fontFamily=this.font;this.element.style.fontSize=this.size+"px";this.element.style.fontWeight=this.bold?"bold":"normal";this.element.style.fontStyle=this.italic?"italic":"normal";this.element.style.textDecoration=this.underline?"underline":"none";if(this.element.innerHTML==
"")this.element.innerHTML=this.element.innerHTML+this.text;this.element.parentNode.removeChild(this.element);cp.movie.stage.getSlideDiv();cp.addRewrapObjectAsPerRestOfProjectItem(d);d.setAttribute("class","cp-rewrap");d.appendChild(this.element);d.setAttribute("tabIndex",-1);this.zIndex=cp.D[this.parentDivName].zIndex;d.style.zIndex=this.zIndex;this.actualParentElem=cp(this.parentDivName);this.actualParentElem.setAttribute("tabIndex",-1);cp.createAlternativeAccessibleText(this.actualParentElem,this.text);
cp.removeAccessibilityOutline(this.actualParentElem);this.isDrawn=true;this.visible||cp.hide(this.parentDivName);var e=cp.newElem("div");e.style.color=this.element.style.color;e.style.fontFamily=this.element.style.fontFamily;e.style.fontSize=this.element.style.fontSize;e.style.fontWeight=this.element.style.fontWeight;e.style.fontStyle=this.element.style.fontStyle;e.style.textDecoration=this.element.style.textDecoration;if(this.sh)e.style.textShadow=this.element.style.textShadow;e.style.visibility=
"hidden";e.innerHTML=this.element.innerHTML;document.body.appendChild(e);d=e.clientHeight;document.body.removeChild(e);e=this.vbounds.maxY-this.vbounds.minY;if(d>0&&e>0&&d<=e)this.element.style.top=(e-d)/2+"px"}};cp.HighlightBox=function(a,c){cp.HighlightBox.baseConstructor.call(this,a);this.visible=this.getAttribute("visible");this.parentDivName=this.getAttribute("dn");this.transIn=cp.D[this.parentDivName].trin;var d=this.getAttribute("b"),e=document.getElementById(this.parentDivName);this.actualParent=
e;this.bounds={minX:d[0],minY:d[1],maxX:d[2],maxY:d[3]};d=this.getAttribute("vb");this.vbounds={minX:d[0],minY:d[1],maxX:d[2],maxY:d[3],width:d[2]-d[0],height:d[3]-d[1]};if(e){e.drawingBoard=this.element.parentElement;e.bounds=this.bounds;e.drawingBoard.bounds=this.vbounds}this.args=c;this.isDrawn=false;this.tr=this.getAttribute("tr");this.sh=this.getAttribute("sh");this.re=this.getAttribute("re");this.fillColor=this.getAttribute("fc");this.strokeColor=this.getAttribute("sc");this.strokeWidth=this.getAttribute("sw");
this.fillOpacity=this.getAttribute("fo")/100;this.fillOuterArea=this.getAttribute("foa");if(cp.responsive)this.responsiveCSS=this.getAttribute("css")};cp.inherits(cp.HighlightBox,cp.DisplayObject);cp.HighlightBox.prototype.start=function(a,c){this.drawIfNeeded(a,c);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.HighlightBox.prototype.reset=function(){delete cp.ropMap[this.element.id];this.isDrawn=false;this.element.width="0";this.element.height="0";
this.element.style.width="0px";this.element.style.height="0px";this.element.left="0";this.element.top="0";this.element.style.left="0px";this.element.style.top="0px"};cp.HighlightBox.prototype.drawForResponsive=function(a,c){if(!this.responsiveCSS)return false;if(this.isDrawn&&!a)return true;var d=cp.getResponsiveCSS(this.responsiveCSS),e=false,e=this.sh&&!this.sh.i||this.fillOuterArea,f=this.tr!=void 0;if(this.isDrawn&&this.currentCSS==d&&!e&&!f&&(!a||c==cp.ReasonForDrawing.kMoviePaused))return true;
this.currentCSS=d;var g=this.getAttribute("dn");if(!this.parentDivName)this.parentDivName=g;var k=d,g=this.actualParent,m=true;cp.applyResponsiveStyles(this.actualParent,d,m);this.actualParent.offsetHeight=this.actualParent.offsetHeight;this.actualParentClientBoundingRect=this.actualParent.getBoundingClientRect();var l=0;if(this.tr){l=cp.getAngleFromRotateStr(this.tr);m=cp.getCenterForRotation(this.actualParent);l=cp.getBoundsForRotatedItem(this.actualParent.clientWidth,this.actualParent.clientHeight,
m,l,this.strokeWidth);m=t=r=b=void 0;if(d.l!="auto")m=l.l;if(d.t!="auto")t=l.t;if(d.r!="auto")r=l.r;if(d.b!="auto")b=l.b;k=cp.createResponsiveStyleObj(d,d.p,m,t,r,b,l.w,l.h,d.crop);m=false}cp.applyResponsiveStyles(this.element.parentElement,k,m);m=cp.movie.stage.mainSlideDiv.getBoundingClientRect();this.parentElementClientBoundingRect=this.element.parentElement.getBoundingClientRect();var l=this.parentElementClientBoundingRect.left-m.left,n=this.parentElementClientBoundingRect.top-m.top,o=k=0,m=g.clientWidth-
this.strokeWidth,q=g.clientHeight-this.strokeWidth,p=o=0;if(e){o=cp("div_Slide").clientWidth;p=cp("div_Slide").clientHeight;k=cp.createResponsiveStyleObj(d,void 0,"0px","0px","0px","0px",o+"px",p+"px",void 0)}else{o=this.element.parentElement.clientWidth;p=this.element.parentElement.clientHeight;k=cp.createResponsiveStyleObj(d,void 0,"0px","0px","0px","0px","100%","100%",void 0)}d=(this.canvas=cp.createResponsiveCanvas(k,o,p,this.element)).gc;d.clearRect(0,0,this.element.getBoundingClientRect().width,
this.element.getBoundingClientRect().height);cp.DESKTOP==cp.device&&cp.MSIE==cp.browser&&d.beginPath();if(!this.isParentOfTypeSlide&&e){this.element.style["margin-left"]=(l<0?1:-1)*l+"px";this.element.style["margin-top"]=(n<0?1:-1)*n+"px"}if(this.tr){cp.applyTransform(g,this.tr);g.tr=this.tr}if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+
(1-this.re.p/100)+")))";cp.movie.stage.addToParentChildMap(g.id,this.element.id);this.element.originalParent=g;d.save();if(e){d.setTransform(1,0,0,1,l<0?-l:0,n<0?-n:0);d.translate(l,n)}else if(f){d.translate(this.element.parentElement.clientWidth/2,this.element.parentElement.clientHeight/2);d.translate(this.strokeWidth/2,this.strokeWidth/2)}d.fillStyle=cp.ConvertColorToRGBA(this.fillColor,this.fillOpacity);d.lineWidth=0;if(this.fillOuterArea){d.translate(-l,-n);d.fillRect(0,0,this.element.getBoundingClientRect().width,
this.element.getBoundingClientRect().height);d.fillStyle="rgba(0,0,0,0)";d.translate(l,n)}if(this.sh&&!this.sh.i){d.shadowOffsetX=this.sh.d*Math.cos(Math.PI*this.sh.a/180);d.shadowOffsetY=this.sh.d*Math.sin(Math.PI*this.sh.a/180);d.shadowBlur=this.sh.b;d.shadowColor=cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)}l=0;this.tr&&(l=cp.getAngleFromRotateStr(this.tr));e&&d.translate(this.element.parentElement.clientWidth/2,this.element.parentElement.clientHeight/2);l?d.rotate(Math.PI*l/180):this.sh&&d.rotate(Math.PI*
0.02/180);k=!e&&!f?0+this.strokeWidth/2:-g.clientWidth/2;o=!e&&!f?0+this.strokeWidth/2:-g.clientHeight/2;d.lineWidth=this.strokeWidth;d.lineJoin="miter";d.lineCap="square";d.strokeStyle=this.strokeColor;d.rect(k,o,m,q);this.strokeWidth!=0&&d.stroke();d.fill();if(this.strokeWidth!=0){d.shadowOffsetX=0;d.shadowOffsetY=0;d.shadowBlur=0;d.shadowColor="rgba(0,0,0,0)";d.stroke()}this.fillOuterArea&&d.clearRect(k+this.strokeWidth/2,o+this.strokeWidth/2,m-this.strokeWidth,q-this.strokeWidth);d.restore();
this.isDrawn=true;this.drawComplete(c);if(this.transIn&&c==cp.ReasonForDrawing.kRegularDraw)this.element.parentElement.style.opacity=0;this.visible||cp.hide(this.parentDivName);return true};cp.HighlightBox.prototype.drawIfNeeded=function(a,c){if((!cp.responsive||!this.drawForResponsive(a,c))&&!this.isDrawn){var d=this.bounds,e=this.vbounds,f=this.fillColor,g=this.strokeColor,k=this.strokeWidth,m=this.fillOpacity,l=this.fillOuterArea,n=d.minX,o=d.minY,q=d.maxX-d.minX,p=d.maxY-d.minY,u=this.actualParent;
u.style.left=n+"px";u.style.top=o+"px";u.style.width=q+"px";u.style.height=p+"px";var s=n=0,v=d.maxX-d.minX,x=d.maxY-d.minY,s=false,s=this.re||this.sh&&!this.sh.i||this.fillOuterArea,w=this.tr!=void 0,n=0<e.minX&&s?0:e.minX,o=0<e.minY&&s?0:e.minY,p=s&&cp.D.project.h>e.maxY?cp.D.project.h:e.maxY,q=(s&&cp.D.project.w>e.maxX?cp.D.project.w:e.maxX)-n,p=p-o,e=this.canvas=cp.createCanvas(0,0,q,p,this.element);if(this.tr){cp.applyTransform(u,this.tr);u.tr=this.tr}this.element.style.display="block";this.element.style.position=
"absolute";this.element.parentElement.style.left=this.vbounds.minX+"px";this.element.parentElement.style.top=this.vbounds.minY+"px";this.element.parentElement.style.width=this.vbounds.maxX-this.vbounds.minX+"px";this.element.parentElement.style.height=this.vbounds.maxY-this.vbounds.minY+"px";this.element.style.marginLeft=n-this.vbounds.minX+"px";this.element.style.marginTop=o-this.vbounds.minY+"px";if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+
(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";cp.movie.stage.addToParentChildMap(u.id,this.element.id);this.element.originalParent=u;u=e.gc;u.save();var y=e=0;if(s){e=n<0?-n:0;y=o<0?-o:0;u.translate(e,y);u.setTransform(1,0,0,1,e,y)}else w&&u.translate(q/2,p/2);u.fillStyle=cp.ConvertColorToRGBA(f,m);u.lineWidth=0;if(l){u.fillRect(0,0,q,p);u.fillStyle="rgba(0,0,0,0)"}if(this.sh&&!this.sh.i){u.shadowOffsetX=this.sh.d*Math.cos(Math.PI*this.sh.a/180);u.shadowOffsetY=
this.sh.d*Math.sin(Math.PI*this.sh.a/180);u.shadowBlur=this.sh.b;u.shadowColor=cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)}f=0;this.tr&&(f=cp.getAngleFromRotateStr(this.tr));s&&u.translate((d.minX+d.maxX)/2,(d.minY+d.maxY)/2);f?u.rotate(Math.PI*f/180):this.sh&&u.rotate(Math.PI*0.02/180);n=!s&&!w?0+k/2:(d.minX-d.maxX)/2;s=!s&&!w?0+k/2:(d.minY-d.maxY)/2;u.lineWidth=k;u.lineJoin="miter";u.lineCap="square";u.strokeStyle=g;u.rect(n,s,v,x);k!=0&&u.stroke();u.fill();if(k!=0){u.shadowOffsetX=0;u.shadowOffsetY=
0;u.shadowBlur=0;u.shadowColor="rgba(0,0,0,0)";u.stroke()}l&&u.clearRect(n+k/2,s+k/2,v-k,x-k);u.restore();this.isDrawn=true;this.drawComplete();if(this.transIn)this.element.parentElement.style.opacity=0;this.visible||cp.hide(this.parentDivName)}};cp.Zoom=function(a,c){cp.Zoom.baseConstructor.call(this,a);this.visible=this.getAttribute("visible");this.parentDivName=this.getAttribute("dn");var d=cp.D[this.parentDivName];this.transIn=d.trin;var e=this.getAttribute("b"),f=document.getElementById(this.parentDivName);
this.actualParent=f;this.bounds={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};e=this.getAttribute("db");this.destbounds={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};this.vbounds=this.bounds;if(f){f.drawingBoard=this.element.parentElement;f.bounds=this.bounds;f.drawingBoard.bounds=this.vbounds}this.args=c;this.isDrawn=false;this.tr=this.getAttribute("tr");this.fillColor=this.getAttribute("fc");this.strokeColor=this.getAttribute("sc");this.strokeWidth=this.getAttribute("sw");this.fillOpacity=this.getAttribute("fo")/
100;this.fillOuterArea=this.getAttribute("foa");this.destfillColor=this.getAttribute("dfc");this.deststrokeColor=this.getAttribute("dsc");this.deststrokeWidth=this.getAttribute("dsw");this.destfillOpacity=this.getAttribute("dfo")/100;this.zoomfor=this.getAttribute("zf");this.from=d.from;this.to=d.to;this.currImage=this.getAttribute("ip");this.prevDrawnFrame=0;if(cp.responsive){this.responsiveCSS=this.getAttribute("css");this.destinationResponsiveCSS=this.getAttribute("dcss")}};cp.inherits(cp.Zoom,
cp.DisplayObject);cp.Zoom.prototype.subscribeToItemDrawingCompleteHandler=function(a){if(cp.responsive){cp.Zoom.superClass.subscribeToItemDrawingCompleteHandler.call(this,a);var c=this;(a=cp.getResponsiveCSS(c.getAttribute("dcss")))&&(a.lhID&&a.lvID&&(a.lhID!=-1||a.lvID!=-1))&&cp.em.addEventListener(function(a){c.linkedItemDrawingCompleteHandler(a)},cp.ITEMDRAWINGCOMPLETEEVENT)}};cp.Zoom.prototype.start=function(a,c){this.drawIfNeeded(a,c);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);
this.effectIsStarted=true}};cp.Zoom.prototype.updateFrame=function(){this.drawIfNeeded()};cp.Zoom.prototype.reset=function(){delete cp.ropMap[this.element.id];this.isDrawn=false;this.prevDrawnFrame=0;this.element.width="0";this.element.height="0";this.element.style.width="0px";this.element.style.height="0px";this.canvas=null;this.element.left="0";this.element.top="0";this.element.style.left="0px";this.element.style.top="0px"};cp.Zoom.prototype.drawForResponsive=function(a,c){if(!this.responsiveCSS)return false;
var d=cpInfoCurrentFrame-this.from+1;if(d>0&&d<=this.zoomfor)this.isDrawn=false;else{if(this.isDrawn&&!a)return true;d=this.zoomfor}if(this.prevDrawnFrame==d&&!a)return true;var e=cp.getResponsiveCSS(this.responsiveCSS);if(!this.isDrawn||!(this.currentCSS==e&&a&&c==cp.ReasonForDrawing.kMoviePaused)){var f=this.currentCSS=e;cp.applyResponsiveStyles(this.element.parentElement,e,true);this.prevDrawnFrame=d;var g=this.actualParent;cp.applyResponsiveStyles(g,e,true);cp.applyResponsiveStyles(this.element.parentElement,
f,true);var k=cp.movie.stage.mainSlideDiv.getBoundingClientRect();this.parentElementClientBoundingRect=this.element.parentElement.getBoundingClientRect();this.actualParentClientBoundingRect=g.getBoundingClientRect();var m=this.parentElementClientBoundingRect.left-k.left,l=this.parentElementClientBoundingRect.top-k.top,n=0,o=0,k=g.clientWidth-this.strokeWidth,q=g.clientHeight-this.strokeWidth,o=cp("div_Slide").getBoundingClientRect(),p=o.width,u=o.height,f=cp.createResponsiveStyleObj(e,void 0,"0px",
"0px","0px","0px",p+"px",u+"px",void 0),f=this.canvas=cp.createResponsiveCanvas(f,p,u,this.element),f=f.gc;if(!this.isParentOfTypeSlide){this.element.style["margin-left"]=(m<0?1:-1)*m+"px";this.element.style["margin-top"]=(l<0?1:-1)*l+"px"}cp.movie.stage.addToParentChildMap(g.id,this.element.id);this.element.originalParent=g;f=this.canvas;f=f.gc;f.clearRect(0,0,p,u);f.beginPath();var s=this.fillColor,m=this.strokeColor,g=this.strokeWidth,l=this.fillOpacity,v=this.fillOuterArea,x=this.destfillColor,
w=this.deststrokeColor,y=this.deststrokeWidth,B=this.destfillOpacity,n=this.destinationResponsiveCSS[cp.ResponsiveProjWidth];n.ipiv=e.ipiv;var n=cp.createTempElemAndGetBoundingRect(n,void 0,true),e=n.width,z=n.height,A=n.left-o.left,F=n.top-o.top,n=this.actualParentClientBoundingRect.left-o.left,o=this.actualParentClientBoundingRect.top-o.top;if(v){f.fillStyle=cp.ConvertColorToRGBA(s,l);f.lineWidth=0;f.fillRect(0,0,p,u);f.fillStyle="rgba(0,0,0,0)";f.lineWidth=g;f.lineJoin="miter";f.lineCap="square";
f.strokeStyle=m;f.rect(n,o,k,q);g!=0&&f.stroke();f.clearRect(n+g/2,o+g/2,k-g,q-g);f.beginPath()}for(var u=parseInt(s.substr(1,2),16),p=parseInt(s.substr(3,2),16),s=parseInt(s.substr(5,2),16),J=parseInt(x.substr(1,2),16),v=parseInt(x.substr(3,2),16),C=parseInt(x.substr(5,2),16),x="#",u=Math.round(u+(J-u)*d/this.zoomfor).toString(16);u.length<2;)u="0"+u;x=x+u;for(u=Math.round(p+(v-p)*d/this.zoomfor).toString(16);u.length<2;)u="0"+u;x=x+u;for(u=Math.round(s+(C-s)*d/this.zoomfor).toString(16);u.length<
2;)u="0"+u;n=n+(A-n)*d/this.zoomfor;o=o+(F-o)*d/this.zoomfor;k=k+(e-k)*d/this.zoomfor;q=q+(z-q)*d/this.zoomfor;f.fillStyle=cp.ConvertColorToRGBA(x+u,l+(B-l)*d/this.zoomfor);g=g+(y-g)*d/this.zoomfor;f.lineWidth=g;f.lineJoin="miter";f.lineCap="square";u=parseInt(m.substr(1,2),16);p=parseInt(m.substr(3,2),16);s=parseInt(m.substr(5,2),16);J=parseInt(w.substr(1,2),16);v=parseInt(w.substr(3,2),16);C=parseInt(w.substr(5,2),16);x="#";for(u=Math.round(u+(J-u)*d/this.zoomfor).toString(16);u.length<2;)u="0"+
u;x=x+u;for(u=Math.round(p+(v-p)*d/this.zoomfor).toString(16);u.length<2;)u="0"+u;x=x+u;for(u=Math.round(s+(C-s)*d/this.zoomfor).toString(16);u.length<2;)u="0"+u;x=x+u;this.currImage=this.getAttribute("ip");if(typeof this.currImage==="object")this.currImage=this.currImage[cp.ResponsiveProjWidth];(m=cp.movie.im.images[this.currImage])&&m.nativeImage.complete&&f.drawImage(m.nativeImage,n,o,k,q);f.strokeStyle=x;f.rect(n,o,k,q);f.fill();g!=0&&f.stroke();if(d==this.zoomfor)this.isDrawn=true;if(this.transIn&&
d==1&&c==cp.ReasonForDrawing.kRegularDraw)this.element.parentElement.style.opacity=0;this.visible||cp.hide(this.parentDivName);return true}};cp.Zoom.prototype.drawIfNeeded=function(a,c){if(!cp.responsive||!this.drawForResponsive(a,c)){var d=cpInfoCurrentFrame-this.from+1;if(d>0&&d<=this.zoomfor)this.isDrawn=false;else{if(this.isDrawn)return;d=this.zoomfor}if(this.prevDrawnFrame!=d){this.prevDrawnFrame=d;var e=this.bounds,f=this.destbounds,g=this.fillColor,k=this.strokeColor,m=this.strokeWidth,l=this.fillOpacity,
n=this.fillOuterArea,o=this.destfillColor,q=this.deststrokeColor,p=this.deststrokeWidth,u=this.destfillOpacity,s=e.maxX-e.minX,v=e.maxY-e.minY,x=0,w=0,y=f.maxX-f.minX,B=f.maxY-f.minY,z=f.minX,f=f.minY,x=this.actualParent;if(!this.canvas){var w=e.minY,A=e.maxX-e.minX,F=e.maxY-e.minY;x.style.left=e.minX+"px";x.style.top=w+"px";x.style.width=A+"px";x.style.height=F+"px";A=cp.D.project.w;F=cp.D.project.h;this.canvas=cp.createCanvas(0,0,A,F,this.element);this.element.style.display="block";this.element.style.position=
"absolute";this.element.parentElement.style.left=this.vbounds.minX+"px";this.element.parentElement.style.top=this.vbounds.minY+"px";this.element.parentElement.style.width=this.vbounds.maxX-this.vbounds.minX+"px";this.element.parentElement.style.height=this.vbounds.maxY-this.vbounds.minY+"px";this.element.style.marginLeft=-this.vbounds.minX+"px";this.element.style.marginTop=-this.vbounds.minY+"px";cp.movie.stage.addToParentChildMap(x.id,this.element.id);this.element.originalParent=x}A=this.canvas.gc;
A.clearRect(0,0,cp.D.project.w,cp.D.project.h);A.beginPath();x=e.minX;w=e.minY;if(n){A.fillStyle=cp.ConvertColorToRGBA(g,l);A.lineWidth=0;A.fillRect(0,0,cp.D.project.w,cp.D.project.h);A.fillStyle="rgba(0,0,0,0)";A.lineWidth=m;A.lineJoin="miter";A.lineCap="square";A.strokeStyle=k;A.rect(x,w,s,v);m!=0&&A.stroke();A.clearRect(x+m/2,w+m/2,s-m,v-m);A.beginPath()}for(var n=parseInt(g.substr(1,2),16),e=parseInt(g.substr(3,2),16),g=parseInt(g.substr(5,2),16),J=parseInt(o.substr(1,2),16),F=parseInt(o.substr(3,
2),16),C=parseInt(o.substr(5,2),16),o="#",n=Math.round(n+(J-n)*d/this.zoomfor).toString(16);n.length<2;)n="0"+n;o=o+n;for(n=Math.round(e+(F-e)*d/this.zoomfor).toString(16);n.length<2;)n="0"+n;o=o+n;for(n=Math.round(g+(C-g)*d/this.zoomfor).toString(16);n.length<2;)n="0"+n;x=x+(z-x)*d/this.zoomfor;w=w+(f-w)*d/this.zoomfor;s=s+(y-s)*d/this.zoomfor;v=v+(B-v)*d/this.zoomfor;A.fillStyle=cp.ConvertColorToRGBA(o+n,l+(u-l)*d/this.zoomfor);m=m+(p-m)*d/this.zoomfor;A.lineWidth=m;A.lineJoin="miter";A.lineCap=
"square";n=parseInt(k.substr(1,2),16);e=parseInt(k.substr(3,2),16);g=parseInt(k.substr(5,2),16);J=parseInt(q.substr(1,2),16);F=parseInt(q.substr(3,2),16);C=parseInt(q.substr(5,2),16);o="#";for(n=Math.round(n+(J-n)*d/this.zoomfor).toString(16);n.length<2;)n="0"+n;o=o+n;for(n=Math.round(e+(F-e)*d/this.zoomfor).toString(16);n.length<2;)n="0"+n;o=o+n;for(n=Math.round(g+(C-g)*d/this.zoomfor).toString(16);n.length<2;)n="0"+n;o=o+n;(k=cp.movie.im.images[this.currImage])&&k.nativeImage.complete&&A.drawImage(k.nativeImage,
x,w,s,v);A.strokeStyle=o;A.rect(x,w,s,v);A.fill();m!=0&&A.stroke();if(d==this.zoomfor)this.isDrawn=true;if(this.transIn&&d==1)this.element.parentElement.style.opacity=0;this.visible||cp.hide(this.parentDivName)}}};cp.AnimationItem=function(a,c){cp.AnimationItem.baseConstructor.call(this,a);this.visible=this.getAttribute("visible");this.imgSrc=this.getAttribute("ip");var d=this.getAttribute("b");this.bounds={minX:d[0],minY:d[1],maxX:d[2],maxY:d[3]};this.tr=this.getAttribute("tr");this.re=this.getAttribute("re");
this.sh=this.getAttribute("sh");this.alpha=this.getAttribute("a");d=this.getAttribute("vb");this.vbounds={minX:d[0],minY:d[1],maxX:d[2],maxY:d[3]};if(cp.responsive)this.responsiveCSS=this.getAttribute("css");this.parentDivName=this.getAttribute("dn");this.parentData=cp.D[this.parentDivName];this.isParentOfTypeSlide=void 0==this.parentData.type;this.modifyParent=!this.isParentOfTypeSlide;this.actualParent=document.getElementById(this.parentDivName);if(this.element){if(this.actualParent)this.actualParent.drawingBoard=
this.element;this.element.parentElement.drawingBoard=this.element.parentElement;this.element.parentElement.bounds=this.bounds;cp.movie.stage.addToParentChildMap(this.actualParent.id,this.element.id)}this.args=c;this.isDrawn=false};cp.inherits(cp.AnimationItem,cp.DisplayObject);cp.AnimationItem.prototype.start=function(a,c){this.addIfNeeded(a,c);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.AnimationItem.prototype.reset=function(){delete cp.ropMap[this.element.id];
this.isDrawn=false;this.element.width="0";this.element.height="0";this.element.style.width="0px";this.element.style.height="0px";this.element.left="0";this.element.top="0";this.element.style.left="0px";this.element.style.top="0px";if(this.re)this.element.parentElement.style.webkitBoxReflect="";this.element.style.display="none"};cp.AnimationItem.prototype.addIfNeeded=function(a,c){if((!cp.responsive||!this.drawForResponsive(a,c))&&!this.isDrawn){var d=this.bounds;this.element.style.width=d.maxX-d.minX+
"px";this.element.style.height=d.maxY-d.minY+"px";this.element.style.verticalAlign="middle";var e=0;this.element.parentElement.style.position="absolute";this.element.parentElement.style.left=this.vbounds.minX+"px";this.element.parentElement.style.top=this.vbounds.minY+"px";this.element.parentElement.style.width=this.vbounds.maxX-this.vbounds.minX+"px";this.element.parentElement.style.height=this.vbounds.maxY-this.vbounds.minY+"px";this.element.style.marginLeft=-(this.vbounds.minX-d.minX)+"px";this.element.style.marginTop=
-(this.vbounds.minY-d.minY)+"px";this.element.style.display="block";this.element.style.position="absolute";this.element.rotateAngle=e;var f=this.modifyParent&&!this.isParentOfTypeSlide,g=this.actualParent;if(g){var d=this.bounds,k=d.minX,m=d.minY,l=d.maxX-d.minX,d=d.maxY-d.minY;if(f){g.style.left=k+"px";g.style.top=m+"px";g.style.width=l+"px";g.style.height=d+"px"}if(this.tr){if(f){cp.applyTransform(g,this.tr);g.tr=this.tr}e=cp.getAngleFromRotateStr(this.tr)}if(f)g.rotateAngle=e}if(this.tr){cp.applyTransform(this.element,
this.tr);this.element.tr=this.tr}this.actualDrawingElement=this.element;this.element.innerHTML="<img id='"+this.element.id+"imgSrc' src='"+this.imgSrc+"' alt=' ' style='width:"+(this.vbounds.maxX-this.vbounds.minX)+"px; height:"+(this.vbounds.maxY-this.vbounds.minY)+"px'/>";f=document.getElementById(this.element.id+"imgSrc");if(this.sh&&!this.sh.i){e=this.sh.a-e;cp.applyShadow(f,this.sh.d*Math.cos(Math.PI*e/180)+"px "+this.sh.d*Math.sin(Math.PI*e/180)+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,
this.sh.o)+(this.sh.i?" inset":""))}if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";this.isDrawn=true;this.drawComplete();this.visible||cp.hide(this.parentDivName)}};cp.AnimationItem.prototype.drawForResponsive=function(a,c){if(!this.responsiveCSS)return false;if(this.isDrawn&&!a)return true;var d=cp.getResponsiveCSS(this.responsiveCSS);
if(this.isDrawn&&this.currentCSS==d&&(!a||c==cp.ReasonForDrawing.kMoviePaused))return true;this.currentCSS=d;cp.applyResponsiveStyles(this.element.parentElement,d,true);this.element.style.verticalAlign="middle";var e=0;this.element.rotateAngle=e;var f=this.modifyParent&&!this.isParentOfTypeSlide,g=this.actualParent;if(g){f&&cp.applyResponsiveStyles(g,d,true);if(this.tr){if(f){cp.applyTransform(g,this.tr);g.tr=this.tr}e=cp.getAngleFromRotateStr(this.tr)}if(f)g.rotateAngle=e}if(this.tr){cp.applyTransform(this.element,
this.tr);this.element.tr=this.tr}this.actualDrawingElement=this.element;this.element.innerHTML="<img id='"+this.element.id+"imgSrc' src='"+this.imgSrc+"' alt=' ' style='width:100%;height:100%'/>";d=document.getElementById(this.element.id+"imgSrc");if(this.sh&&!this.sh.i){e=this.sh.a-e;cp.applyShadow(d,this.sh.d*Math.cos(Math.PI*e/180)+"px "+this.sh.d*Math.sin(Math.PI*e/180)+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)+(this.sh.i?" inset":""))}if(this.re)this.element.parentElement.style.webkitBoxReflect=
"below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";this.isDrawn=true;this.drawComplete(c);this.visible||cp.hide(this.parentDivName);return true};cp.TextAnimation=function(a,c){cp.TextAnimation.baseConstructor.call(this,a);this.visible=this.getAttribute("visible");this.bold=this.getAttribute("B");this.color=this.getAttribute("c");this.font=this.getAttribute("f");this.italic=
this.getAttribute("i");this.size=this.getAttribute("sz");this.text=this.getAttribute("text");this.m_delay=this.getAttribute("del");this.m_letterCount=this.getAttribute("nchar");this.m_loop=this.getAttribute("l");this.animType=this.getAttribute("animT");this.m_TextAnimationObj=this;switch(this.animType){case "Typing Text":this.m_TextAnimationObj=new cp.TypingTextAnimation(a,this.m_loop,this.m_letterCount,this.m_delay);break;case "Typing Text With Sound":this.m_TextAnimationObj=new cp.TypingTextAnimation(a,
this.m_loop,this.m_letterCount,this.m_delay,true);break;default:this.m_TextAnimationObj=this}var d=this.getAttribute("b");this.bounds={minX:d[0],minY:d[1],maxX:d[2],maxY:d[3]};this.tr=this.getAttribute("tr");this.re=this.getAttribute("re");this.sh=this.getAttribute("sh");this.alpha=this.getAttribute("a");d=this.getAttribute("vb");this.vbounds={minX:d[0],minY:d[1],maxX:d[2],maxY:d[3]};this.parentDivName=this.getAttribute("dn");if(this.element){if(d=document.getElementById(this.parentDivName))d.drawingBoard=
this.element;this.actualParent=d;this.element.parentElement.drawingBoard=this.element.parentElement;this.element.parentElement.bounds=this.bounds;cp.movie.stage.addToParentChildMap(d.id,this.element.id)}this.args=c;this.isDrawn=false};cp.inherits(cp.TextAnimation,cp.DisplayObject);cp.TextAnimation.prototype.start=function(a,c){this.addIfNeeded(a,c);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.TextAnimation.prototype.reset=function(){this.m_TextAnimationObj!=
this&&this.m_TextAnimationObj.reset();delete cp.ropMap[this.element.id];this.isDrawn=false;this.element.width="0";this.element.height="0";this.element.style.width="0px";this.element.style.height="0px";this.element.left="0";this.element.top="0";this.element.style.left="0px";this.element.style.top="0px";this.element.style.display="none"};cp.TextAnimation.prototype.draw=function(){this.element.innerHTML=this.text};cp.TextAnimation.prototype.addIfNeeded=function(){if(!this.isDrawn){var a=this.bounds,
c=-a.minX+a.maxX;this.actualDrawingElement=this.element;this.element.style.width=(cp.device==cp.IDEVICE?c*1.5:c)+"px";this.element.style.height=a.maxY-a.minY+"px";this.element.style.verticalAlign="middle";var d=0;if(this.tr){cp.applyTransform(this.element,this.tr);d=cp.getAngleFromRotateStr(this.tr);this.element.tr=this.tr}this.element.rotateAngle=d;if(this.sh){var c=this.sh.d*Math.cos(Math.PI*this.sh.a/180),e=this.sh.d*Math.sin(Math.PI*this.sh.a/180),f=c,g=e;if(d!=0){for(f=d;f<0;)f=360+d;f=360-d;
d=Math.sin(Math.PI*f/180);g=Math.cos(Math.PI*f/180);f=c*g-e*d;g=c*d+e*g}this.element.style.textShadow=f+"px "+g+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)+(this.sh.i?" inset":"")}if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";this.element.parentElement.style.position="absolute";this.element.parentElement.style.left=
this.vbounds.minX+"px";this.element.parentElement.style.top=this.vbounds.minY+"px";this.element.parentElement.style.width=(cp.device==cp.IDEVICE?(this.vbounds.maxX-this.vbounds.minX)*1.5:this.vbounds.maxX-this.vbounds.minX)+"px";this.element.parentElement.style.height=this.vbounds.maxY-this.vbounds.minY+"px";this.element.style.marginLeft=-(this.vbounds.minX-a.minX)+"px";this.element.style.marginTop=-(this.vbounds.minY-a.minY)+"px";this.element.style.display="block";this.element.style.position="absolute";
this.element.style.color=this.color;this.element.style.fontFamily=this.font;this.element.style.fontSize=this.size+"px";this.element.style.lineHeight="100%";this.element.style.opacity=this.alpha;this.element.setAttribute("aria-hidden","true");this.element.style.fontWeight=this.bold?"bold":"normal";this.element.style.fontStyle=this.italic?"italic":"normal";this.m_TextAnimationObj.draw(this.text);this.isDrawn=true;this.drawComplete();this.visible||cp.hide(this.parentDivName)}};cp.TypingTextAnimation=
function(a,c,d,e,f){this.element=a;this.loop=c;this.letterCount=d;this.delay=e;this.hasAudio=f;this.canPlayAnimation=false;this.lTimer=void 0};cp.TypingTextAnimation.prototype.reset=function(){clearInterval(this.lTimer);this.lTimer=void 0;this.canPlayAnimation=false};cp.TypingTextAnimation.prototype.draw=function(a){this.text=a;var a=this.delay*1E3/cpInfoFPS,c=this,d=0;this.txtElement=cp.newElem("div");this.txtElement.id=this.element.id+"_txt";this.txtElement.style.display="inline";this.element.appendChild(c.txtElement);
this.cursorElement=cp.newElem("div");this.cursorElement.id=this.element.id+"_cursor";this.cursorElement.style.display="inline";this.element.appendChild(c.cursorElement);this.canPlayAnimation=true;this.lTimer=setInterval(function(){if(!cp.movie.paused)if(c.canPlayAnimation){var a;if(d>=c.text.length)a=void 0;else{a="";var e=false,f=e=false;a=c.text[d];if(a=="&"){var e=true,l="",n=0;do{l=l+a;d++;n++;a=c.text[d];if(a=="&"&&e){d=d-(n-1);break}if(a==";"&&e){l=l+a;d++;a=c.text[d];e=false;f=true}if(l=="&nbsp;"){cp.verbose&&
cp.log("Next Characters : "+c.text.substring(d,d+18));c.text.substring(d,d+18)=="&nbsp;&nbsp;&nbsp;"&&(l=l+c.text.substring(d,d+18));break}}while(!f);d--;a=l}else if(a=="<"){e=true;l="";n=0;do{l=l+a;d++;n++;a=c.text[d];if(a=="<"&&e){d=d-(n-1);break}if(a==">"&&e){l=l+a;l!="<br>"&&(d=d-n);break}}while(a!=">");a=l}d++}if(a!=void 0){c.hasAudio&&(c.element.style.visibility!="hidden"||c.element.style.display!="block")&&cp.movie.am.playKeyTap();c.txtElement.innerHTML=c.txtElement.innerHTML+a}else if(c.loop){d=
0;c.txtElement.innerHTML=""}else{clearInterval(c.lTimer);c.lTimer=void 0}}else{clearInterval(c.lTimer);c.lTimer=void 0}},a);var e=true,f=setInterval(function(){if(cp.movie.paused)c.cursorElement.innerHTML="";else if(c.lTimer!=void 0){c.cursorElement.innerHTML=e?"|":"";e=!e}else if(!c.loop){c.cursorElement.innerHTML="";clearInterval(f);f=void 0}},a/2)};cp.TextButton=function(a,c){cp.TextButton.baseConstructor.call(this,a);this.id=this.getAttribute("id");this.type="button";this.accstring=this.getAttribute("accstr");
this.visible=this.getAttribute("visible");this.parentDivName=this.getAttribute("dn");var d=cp.D[this.parentDivName];this.parentDivName=this.getAttribute("dn");this.transIn=d.trin;d=this.getAttribute("b");this.bounds={minX:d[0],minY:d[1],maxX:d[2],maxY:d[3]};d=this.getAttribute("vb");this.vbounds={minX:d[0],minY:d[1],maxX:d[2],maxY:d[3]};if(this.actualParent=d=document.getElementById(this.parentDivName)){d.drawingBoard=this.element.parentElement;d.bounds=this.bounds;d.drawingBoard.bounds=this.vbounds;
var e=this,f=function(){if(e.enabled&&!e.isTransparent)e.buttonElem.style.borderStyle="inset"},g=function(){if(e.enabled&&!e.isTransparent)e.buttonElem.style.borderStyle="outset"};if(cp.DESKTOP!=cp.device){cp.registerGestureEvent(d,cp.GESTURE_EVENT_TYPES.TOUCH,f);cp.registerGestureEvent(d,cp.GESTURE_EVENT_TYPES.RELEASE,g)}else{d.onmousedown=f;d.onmouseup=g}}this.args=c;this.isDrawn=false;this.font=this.getAttribute("font");this.tr=this.getAttribute("tr");this.sh=this.getAttribute("sh");this.re=this.getAttribute("re");
if(cp.responsive)this.responsiveCSS=this.getAttribute("css")};cp.inherits(cp.TextButton,cp.DisplayObject);cp.TextButton.prototype.start=function(a,c){this.addIfNeeded(a,c);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.TextButton.prototype.reset=function(){delete cp.ropMap[this.element.id];this.isDrawn=false;this.element.width="0";this.element.height="0";this.element.style.width="0px";this.element.style.height="0px";this.element.left="0";this.element.top=
"0";this.element.style.left="0px";this.element.style.top="0px"};cp.TextButton.prototype.drawForResponsive=function(a,c){if(!this.responsiveCSS)return false;if(this.isDrawn&&!a)return true;var d=cp.getResponsiveCSS(this.responsiveCSS),e=false,e=this.sh&&!this.sh.i,f=this.tr!=void 0;if(this.isDrawn&&this.currentCSS==d&&!e&&!f&&(!a||c==cp.ReasonForDrawing.kMoviePaused))return true;this.currentCSS=d;this.parentDivName=this.getAttribute("dn");cp.applyResponsiveStyles(this.actualParent,d,true);cp.applyResponsiveStyles(this.element.parentElement,
d,true);this.element.style.left="0px";this.element.style.top="0px";this.element.style.width="100%";this.element.style.height="100%";this.parentElementClientBoundingRect=this.element.parentElement.getBoundingClientRect();d=this.type;e="";f=cp.D[this.parentDivName];this.isTransparent=f.itr;var g=0;this.tr&&(g=cp.getAngleFromRotateStr(this.tr));this.element.rotateAngle=g;this.actualParent.rotateAngle=g;if(this.tr){cp.applyTransform(this.actualParent,this.tr);cp.applyTransform(this.element,this.tr);this.actualParent.tr=
this.tr;this.element.tr=this.tr}if(this.sh&&!this.sh.i){g=this.sh.a-g;cp.applyShadow(this.element,this.sh.d*Math.cos(Math.PI*g/180)+"px "+this.sh.d*Math.sin(Math.PI*g/180)+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)+(this.sh.i?" inset":""))}if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+
")))";this.enabled=f.enabled;if(this.element.innerHTML==""){e=e+" -webkit-appearance:none;";e=this.isTransparent?e+"background-color:transparent;":e+"background-color:#d1d1d1;";this.element.innerHTML=this.element.innerHTML+("<input type='"+d+"'"+(this.enabled==0?" disabled ":"")+" aria-label=' ' id='"+this.element.id+"_button' style='display:block;left: 0px; top: 0px;position:relative; "+(this.enabled==0?"opacity:0.5;":"")+"width:100%;height:100%;"+(e+"border-radius:0px;")+"'> </input>")}if(!this.buttonElem)this.buttonElem=
document.getElementById(this.element.id+"_button");this.updateInputFontStyle(this.buttonElem);if(cp.MSIE!=cp.browser)this.buttonElem.style.border="none";this.buttonElem.style.borderStyle="none";if(!this.isTransparent)this.buttonElem.style.borderStyle="outset";this.buttonElem.value=f.rpvt[cp.ResponsiveProjWidth].text;if(!this.isDrawnForResponsive){if(this.buttonElem){this.buttonElem.setAttribute("tabindex",-1);cp.D.pref.hsr===1&&cp.removeAccessibilityOutline(this.buttonElem)}if(this.transIn)this.element.parentElement.style.opacity=
0;this.isDrawnForResponsive=true}cp.movie.stage.addToParentChildMap(this.actualParent.id,this.element.id);this.element.originalParent=this.actualParent;cp.handleQuizzingItemsInReviewMode(this.element,f,this.parentDivName);this.isDrawn=true;this.drawComplete(c);this.visible||cp.hide(this.parentDivName)};cp.TextButton.prototype.addIfNeeded=function(a,c){if((!cp.responsive||!this.drawForResponsive(a,c))&&!this.isDrawn){var d=this.id,e=this.bounds,f=this.type,g="",k=cp.D[this.element.id],m=cp.D[k.dn],
l=0;this.tr&&(l=cp.getAngleFromRotateStr(this.tr));var n=this.element.parentElement,o=this.vbounds.minY,q=this.vbounds.maxY-this.vbounds.minY;if(cp.MSIE==cp.browser&&!this.showBorder){o=o-1;q=q+1}n.style.left=this.vbounds.minX+"px";n.style.top=o+"px";n.style.width=this.vbounds.maxX-this.vbounds.minX+"px";n.style.height=q+"px";this.element.rotateAngle=l;this.element.style.left=e.minX-this.vbounds.minX+"px";this.element.style.top=e.minY-this.vbounds.minY+"px";this.element.style.width=e.maxX-e.minX+
"px";this.element.style.height=e.maxY-e.minY+3+"px";if(this.tr){cp.applyTransform(this.element,this.tr);this.element.tr=this.tr}if(this.sh&&!this.sh.i){l=this.sh.a-l;cp.applyShadow(this.element,this.sh.d*Math.cos(Math.PI*l/180)+"px "+this.sh.d*Math.sin(Math.PI*l/180)+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)+(this.sh.i?" inset":""))}if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+
(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";if(this.element.innerHTML==""){if(this.font){g=g+" -webkit-appearance:none;"+(' font-family:"'+this.font.n+'";');g=g+("font-size:"+this.font.s+"px;");g=g+("color: "+this.font.c+";");this.font.B&&(g=g+"font-weight:bold;");this.font.u&&(g=g+"text-decoration: underline;");this.font.i&&(g=g+"font-style: italic;");g=g+"border-radius:0px;"}this.element.innerHTML=this.element.innerHTML+("<button type='"+f+"'"+(this.enabled==
0?" disabled ":"")+" aria-label='"+this.accstring+"' id='"+d+"_button' style='display:block;left: 0px; top: 0px;position:relative; width:"+(e.maxX-e.minX)+"px; height:"+inputHeight+"px;"+g+"'>"+m.vt+"</button>")}if(this.buttonElem=document.getElementById(d+"_button")){this.buttonElem.setAttribute("tabIndex",k.ti);cp.D.pref.hsr===1&&cp.removeAccessibilityOutline(this.buttonElem);this.actualParent=this.element.parentElement}cp.handleQuizzingItemsInReviewMode(this.element,m,this.parentDivName);this.isDrawn=
true;this.drawComplete(iReason);if(this.transIn)this.element.parentElement.style.opacity=0;this.visible||cp.hide(this.parentDivName)}};cp.TextInput=function(a,c){function d(a){var c=f.tebData,d=c.sc,e=void 0;d&&(e=new cp.Shortcut(d.k,1==d.c,1==d.s,1==d.a));d=cp.getShortCutFromKeyEvent(a);if(f.canBeAutoSubmitted||e&&e.isSame(d)){f.canBeAutoSubmitted=0;f.tebcData.keyHandledOnce=true;a.currentTarget&&a.currentTarget.parentElement?cp.vTEB(a.currentTarget.parentElement.id):a.srcElement&&(a.srcElement.parentElement&&
a.srcElement.parentElement.parentElement)&&cp.vTEB(a.srcElement.parentElement.parentElement.id)}setTimeout(function(){if(f.inputField){if(c.vn.length>0){var a=f.inputField.value;f.m_isNumeric?a=Number(a):f.m_isUppercase?a=a.toUpperCase():f.m_isLowercase&&(a=a.toLowerCase());isNaN(Number(a))||(a=Number(a));var d=[];d.push(c.vn);svvi(c.vn,a,d)}if(f.retainText)if(cp.responsive){f.getAttribute("txt");for(var e in f.tebcData.txt)f.tebcData.txt[e]=f.inputField.value}else f.tebcData.txt=f.inputField.value}},
200)}function e(a){if(f.inputField.value.length>=f.m_charLimit&&f.m_charLimit!=-1){f.canBeAutoSubmitted=1;d(a)}}cp.TextInput.baseConstructor.call(this,a);var f=this;this.id=this.getAttribute("id");this.type="text";if(this.getAttribute("ft")=="pw")this.type="password";this.expectedStrings=this.getAttribute("exp")||[];this.defaultText=this.getAttribute("txt");this.accstring=this.getAttribute("accstr");this.visible=this.getAttribute("visible");this.parentDivName=this.getAttribute("dn");var g=cp.D[this.parentDivName];
this.transIn=g.trin;this.m_isAutoSubmit=g.as;this.m_isLowercase=g.lcase;this.m_isUppercase=g.ucase;this.m_isNumeric=g.num;this.m_hasNoCondition=g.nc;this.m_charLimit=g.cl;this.canBeAutoSubmitted=0;this.element.parentElement.drawingBoard=this.element.parentElement;g=this.getAttribute("b");this.bounds={minX:g[0],minY:g[1],maxX:g[2],maxY:g[3]};g=this.getAttribute("vb");this.vbounds={minX:g[0],minY:g[1],maxX:g[2],maxY:g[3]};this.element.parentElement.bounds=this.vbounds;this.args=c;this.isDrawn=false;
this.inputField=null;this.showScroll=this.getAttribute("ss");this.fillColor=this.getAttribute("fc");this.fillAlpha=this.getAttribute("fa");if(void 0==this.fillAlpha)this.fillAlpha=1;this.font=this.getAttribute("font");this.showBorder=this.getAttribute("sb");this.retainText=this.getAttribute("rtx");this.focusLostAction="";if(cp.D[this.id].ofla)this.focusLostAction=cp.D[this.id].ofla;this.tebcData=cp.D[this.element.id];this.tebData=cp.D[this.tebcData.id];this.element.onkeyup=d;this.element.onkeypress=
function(){var a,c;if(window.event)a=event.keyCode;else if(event.which)a=event.which;c=String.fromCharCode(a);if(a!=8)if(f.m_isNumeric){a=/\d/;a.test(c)||cp.preventEventDefault(event)}else if(f.m_isUppercase){a=/[A-Za-z ]/;a.test(c)||cp.preventEventDefault(event)}else if(f.m_isLowercase){a=/[a-zA-Z ]/;a.test(c)||cp.preventEventDefault(event)}};if(this.m_isAutoSubmit)this.element.onkeyup=e;this.tr=this.getAttribute("tr");this.sh=this.getAttribute("sh");this.re=this.getAttribute("re");if(cp.responsive)this.responsiveCSS=
this.getAttribute("css")};cp.inherits(cp.TextInput,cp.DisplayObject);cp.TextInput.prototype.start=function(a,c){this.addIfNeeded(a,c);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.TextInput.prototype.reset=function(){delete cp.ropMap[this.element.id];if(this.retainText)if(cp.responsive){var a=this.inputField.value;if(this.tebcData&&this.tebcData.txt&&this.tebcData.txt[cp.ResponsiveProjWidth]!=a)for(var c in this.tebcData)this.tebcData.txt[c]=a}else this.setAttribute("txt",
this.inputField.value);this.setAttribute("keyHandledOnce",false);if(this.inputField){this.inputField.onblur=null;this.inputField.onchange=null}this.inputField=null;this.isDrawn=false;this.element.width="0";this.element.height="0";this.element.style.width="0px";this.element.style.height="0px";this.element.left="0";this.element.top="0";this.element.style.left="0px";this.element.style.top="0px"};cp.TextInput.prototype.saveState=function(a){if(cp.responsive&&this.inputField){var c=this.inputField.value;
if(this.defaultText[a]!=c)for(var d in this.defaultText)this.defaultText[d]=c}};cp.TextInput.prototype.drawForResponsive=function(a,c){if(!this.responsiveCSS)return false;if(this.isDrawn&&!a)return true;var d=cp.getResponsiveCSS(this.responsiveCSS),e=false,e=this.sh&&!this.sh.i,f=this.tr!=void 0;if(this.isDrawn&&this.currentCSS==d&&!e&&!f&&(!a||c==cp.ReasonForDrawing.kMoviePaused))return true;this.currentCSS=d;this.parentDivName=this.getAttribute("dn");e=d;this.getAttribute("useV")&&(e=cp.createResponsiveStyleObj(d,
d.p,d.vl,d.vt,d.vr,d.vb,d.vw,d.vh,d.crop));cp.applyResponsiveStyles(this.element.parentElement,e,true);this.element.style.left="0px";this.element.style.top="0px";this.element.style.width="100%";this.element.style.height="100%";this.parentElementClientBoundingRect=this.element.parentElement.getBoundingClientRect();var d=this.id,e=this.type,f="input",g="";this.showScroll&&(f="textarea");var k=0;this.tr&&(k=cp.getAngleFromRotateStr(this.tr));this.element.rotateAngle=k;if(this.tr){cp.applyTransform(this.element,
this.tr);this.element.tr=this.tr}if(this.sh&&!this.sh.i){k=this.sh.a-k;cp.applyShadow(this.element,this.sh.d*Math.cos(Math.PI*k/180)+"px "+this.sh.d*Math.sin(Math.PI*k/180)+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)+(this.sh.i?" inset":""))}if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+
")))";if(this.element.innerHTML==""){g=g+" -webkit-appearance:none;";this.showScroll&&(g=g+"resize: none;");g=void 0!=this.showBorder&&!this.showBorder?g+"border:0px;":g+"border:1px solid;border-top-color:#696969;border-left-color:#696969;border-right-color:#E6E6E6;border-bottom-color:#E6E6E6;";g=g+"border-radius:0px;";this.m_isUppercase?g=g+"text-transform: uppercase;":this.m_isLowercase&&(g=g+"text-transform: lowercase;");g=cp.device!=cp.DESKTOP?g+"padding:0px;":g+"padding-left:2px;";if(void 0!=
this.fillColor&&7==this.fillColor.length&&"#"==this.fillColor[0])var k=parseInt(this.fillColor.substr(1,2),16),m=parseInt(this.fillColor.substr(3,2),16),l=parseInt(this.fillColor.substr(5,2),16),g=g+("background-color: rgba("+k+", "+m+", "+l+", "+this.fillAlpha+");");this.element.innerHTML=this.element.innerHTML+("<"+f+" type='"+e+"'"+(this.enabled==0?" disabled ":"")+" aria-label='"+this.accstring+"' id='"+d+"_inputField' style='display:block;left: 0px; top: 0px;position:relative; width:100%;height:100%;"+
g+"'></"+f+">")}if(this.tebData.vn.length>0){e=[];e.push(this.tebData.vn);f=this.defaultText[cp.ResponsiveProjWidth];if(f!=""&&(this.m_isNumeric||!isNaN(Number(f))))f=Number(f);svvi(this.tebData.vn,f,e)}if(!this.inputField)this.inputField=document.getElementById(d+"_inputField");this.updateInputFontStyle(this.inputField);if(!this.isDrawnForResponsive){if(this.inputField){this.inputField.setAttribute("tabIndex",cp.D[this.tebData.mdi].ti);cp.D.pref.hsr===1&&cp.removeAccessibilityOutline(this.inputField);
this.inputField.value=this.defaultText[cp.ResponsiveProjWidth];d=this.inputField.value.length;this.inputField.setSelectionRange&&this.inputField.setSelectionRange(0,d);this.m_charLimit!=-1&&this.inputField.setAttribute("maxlength",this.m_charLimit);this.actualParent=this.element.parentElement}if(this.focusLostAction.length>0){var n=this.inputField;this.inputField.onchange=function(){n.cp_has_changed=true};var o=this.focusLostAction,q=this.inputField,p=this.tebData;this.inputField.onblur=function(){if((!p||
!p.handled)&&q.cp_has_changed){q.cp_has_changed=false;cp.movie.executeAction(o)}}}if(this.transIn&&c==cp.ReasonForDrawing.kRegularDraw)this.element.parentElement.style.opacity=0;this.isDrawnForResponsive=true}lTxt=this.defaultText[cp.ResponsiveProjWidth];if(this.inputField)this.inputField.value=lTxt;this.isDrawn=true;this.drawComplete(c);this.visible||cp.hide(this.parentDivName)};cp.TextInput.prototype.addIfNeeded=function(a,c){if((!cp.responsive||!this.drawForResponsive(a,c))&&!this.isDrawn){var d=
this.id,e=this.bounds,f=this.type,g="input",k="";this.showScroll&&(g="textarea");var m=0;this.tr&&(m=cp.getAngleFromRotateStr(this.tr));var l=this.element.parentElement,n=this.vbounds.minY,o=this.vbounds.maxY-this.vbounds.minY;if(cp.MSIE==cp.browser&&!this.showBorder){n=n-1;o=o+1}l.style.left=this.vbounds.minX+"px";l.style.top=n+"px";l.style.width=this.vbounds.maxX-this.vbounds.minX+"px";l.style.height=o+"px";this.element.rotateAngle=m;this.element.style.left=e.minX-this.vbounds.minX+"px";this.element.style.top=
e.minY-this.vbounds.minY+"px";this.element.style.width=e.maxX-e.minX+"px";this.element.style.height=e.maxY-e.minY+3+"px";if(this.tr){cp.applyTransform(this.element,this.tr);this.element.tr=this.tr}if(this.sh&&!this.sh.i){m=this.sh.a-m;cp.applyShadow(this.element,this.sh.d*Math.cos(Math.PI*m/180)+"px "+this.sh.d*Math.sin(Math.PI*m/180)+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)+(this.sh.i?" inset":""))}if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+
"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";if(this.element.innerHTML==""){if(this.font){k=k+" -webkit-appearance:none;"+(' font-family:"'+this.font.n+'";');k=k+("font-size:"+this.font.s+"px;");k=k+("color: "+this.font.c+";");this.m_isUppercase?k=k+"text-transform: uppercase;":this.m_isLowercase&&(k=k+"text-transform: lowercase;");this.font.B&&(k=k+"font-weight:bold;");this.font.u&&
(k=k+"text-decoration: underline;");this.font.i&&(k=k+"font-style: italic;");this.showScroll&&(k=k+"resize: none;");k=void 0!=this.showBorder&&!this.showBorder?k+"border:0px;":k+"border:1px solid;border-top-color:#696969;border-left-color:#696969;border-right-color:#E6E6E6;border-bottom-color:#E6E6E6;";k=k+"border-radius:0px;";k=cp.device!=cp.DESKTOP?k+"padding:0px;":k+"padding-left:2px;";if(void 0!=this.fillColor&&7==this.fillColor.length&&"#"==this.fillColor[0]){m=parseInt(this.fillColor.substr(1,
2),16);l=parseInt(this.fillColor.substr(3,2),16);n=parseInt(this.fillColor.substr(5,2),16);k=k+("background-color: rgba("+m+", "+l+", "+n+", "+this.fillAlpha+");")}}m=e.maxY-e.minY;cp.MSIE==cp.browser&&(m=m+1);this.element.innerHTML=this.element.innerHTML+("<"+g+" type='"+f+"'"+(this.enabled==0?" disabled ":"")+" aria-label='"+this.accstring+"' id='"+d+"_inputField' style='display:block;left: 0px; top: 0px;position:relative; width:"+(e.maxX-e.minX)+"px; height:"+m+"px;"+k+"'></"+g+">");if(this.tebData.vn.length>
0){e=[];e.push(this.tebData.vn);if(this.defaultText!=""&&(this.m_isNumeric||!isNaN(Number(this.defaultText))))this.defaultText=Number(this.defaultText);svvi(this.tebData.vn,this.defaultText,e)}}if(this.inputField=document.getElementById(d+"_inputField")){this.inputField.setAttribute("tabIndex",cp.D[this.tebData.mdi].ti);cp.D.pref.hsr===1&&cp.removeAccessibilityOutline(this.inputField);this.inputField.value=this.defaultText;d=this.inputField.value.length;this.inputField.setSelectionRange&&this.inputField.setSelectionRange(0,
d);this.m_charLimit!=-1&&this.inputField.setAttribute("maxlength",this.m_charLimit);this.actualParent=this.element.parentElement}this.isDrawn=true;this.drawComplete(c);if(this.focusLostAction.length>0){var q=this.inputField;this.inputField.onchange=function(){q.cp_has_changed=true};var p=this.focusLostAction,u=this.inputField,s=this.tebData;this.inputField.onblur=function(){if((!s||!s.handled)&&u.cp_has_changed){u.cp_has_changed=false;cp.movie.executeAction(p)}}}if(this.transIn)this.element.parentElement.style.opacity=
0;this.visible||cp.hide(this.parentDivName)}};cp.Gradient=function(a,c,d){cp.Gradient.baseConstructor.call(this,a);this.visible=1;this.parentId=c;if(this.parentObj=cp.D[c]){this.gradientData=this.parentObj.gf;a=this.gradientData.b;this.bounds={minX:a[0],minY:a[1],maxX:a[2],maxY:a[3]};this.args=d}this.isDrawn=false};cp.inherits(cp.Gradient,cp.DisplayObject);cp.Gradient.prototype.start=function(a,c){this.drawIfNeeded(a,c);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);this.effectIsStarted=
true}};cp.Gradient.prototype.reset=function(){delete cp.ropMap[this.element.id];this.isDrawn=false;this.element.width="0";this.element.height="0";this.element.style.width="0px";this.element.style.height="0px";this.element.left="0";this.element.top="0";this.element.style.left="0px";this.element.style.top="0px"};cp.Gradient.prototype.drawIfNeeded=function(a,c){if((!cp.responsive||!this.drawForResponsive(a,c))&&!this.isDrawn&&this.gradientData){if(void 0==this.canvasElem)for(var d=this.element.firstChild;d;d=
d.nextSibling)if(d.nodeType==Node.ELEMENT_NODE&&d.id&&d.id==this.parentId+"gf"){this.canvasElem=d;break}if(this.canvasElem){var e=this.bounds,f=e.minX,g=e.minY,d=e.maxX-e.minX,e=e.maxY-e.minY;this.canvasElem.style.position="absolute";f=(this.canvas=cp.createCanvas(f,g,d,e,this.canvasElem)).gc;f.save();if(g=cp.getGradientFill(this.gradientData,f)){f.fillStyle=g;f.fillRect(0,0,d,e)}f.restore();this.isDrawn=true}}};cp.Gradient.prototype.drawForResponsive=function(a){if(!cp.responsive)return false;if(this.isDrawn&&
!a)return true;if(!this.gradientData)return false;if(void 0==this.canvasElem)for(a=this.element.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE&&a.id&&a.id==this.parentId+"gf"){this.canvasElem=a;break}if(!this.canvasElem)return false;this.canvasElem.style.width="100%";this.canvasElem.style.height="100%";a=cp.createResponsiveStyleObj(void 0,void 0,"0px","0px",void 0,void 0,"100%","100%",void 0);a.ipiv=true;a=(this.canvas=cp.createResponsiveCanvas(a,this.canvasElem.clientWidth,this.canvasElem.clientHeight,
this.canvasElem)).gc;a.save();var c=cp.getGradientFill(this.gradientData,a,this.canvasElem.clientWidth/cp.D.project.w,this.canvasElem.clientHeight/cp.D.project.h);if(c){a.fillStyle=c;a.fillRect(0,0,this.canvasElem.clientWidth,this.canvasElem.clientHeight)}a.restore();return this.isDrawn=true};cp.ImageFill=function(a,c,d){cp.ImageFill.baseConstructor.call(this,a);this.visible=1;this.parentId=c;if(this.parentObj=cp.D[c]){this.tileData=this.parentObj.imgf;a=this.tileData.b;this.bounds={minX:a[0],minY:a[1],
maxX:a[2],maxY:a[3]};this.args=d}this.isDrawn=false};cp.inherits(cp.ImageFill,cp.DisplayObject);cp.ImageFill.prototype.start=function(a,c){this.drawIfNeeded(a,c);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.ImageFill.prototype.reset=function(){delete cp.ropMap[this.element.id];this.isDrawn=false;this.element.width="0";this.element.height="0";this.element.style.width="0px";this.element.style.height="0px";this.element.left="0";this.element.top="0";this.element.style.left=
"0px";this.element.style.top="0px"};cp.ImageFill.prototype.drawIfNeeded=function(a,c){if((!cp.responsive||!this.drawForResponsive(a,c))&&!this.isDrawn&&this.tileData&&this.tileData.img&&this.tileData.img.ip){if(void 0==this.canvasElem)for(var d=this.element.firstChild;d;d=d.nextSibling)if(d.nodeType==Node.ELEMENT_NODE&&d.id&&d.id==this.parentId+"imgf"){this.canvasElem=d;break}if(this.canvasElem){var e=this.bounds,f=e.minX,g=e.minY,d=e.maxX-e.minX,e=e.maxY-e.minY;this.canvasElem.style.position="absolute";
this.canvasElem.style.backgroundColor="#FFFFFF";var k=cp.movie.im.images[this.tileData.img.ip];if(k&&k.nativeImage.complete){f=(this.canvas=cp.createCanvas(f,g,d,e,this.canvasElem)).gc;f.save();var g=this.tileData.img.x,m=this.tileData.img.y;f.translate(g,m);var l=this.tileData.s;if(this.tileData.t){k=f.createPattern(k.nativeImage,"repeat");f.rect(0,0,d-g,e-m);f.fillStyle=k;f.fill()}else l?f.drawImage(k.nativeImage,0,0,d-g,e-m):f.drawImage(k.nativeImage,0,0);f.restore();this.isDrawn=true}}}};cp.ImageFill.prototype.drawForResponsive=
function(a){if(!cp.responsive)return false;if(this.isDrawn&&!a)return true;if(!this.tileData||!this.tileData.img||!this.tileData.img.ip)return false;if(void 0==this.canvasElem)for(a=this.element.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE&&a.id&&a.id==this.parentId+"imgf"){this.canvasElem=a;break}if(!this.canvasElem)return false;this.canvasElem.style.width="100%";this.canvasElem.style.height="100%";this.canvasElem.style.position="absolute";this.canvasElem.style.backgroundColor="#FFFFFF";
if((a=cp.movie.im.images[this.tileData.img.ip])&&a.nativeImage.complete){var c=cp.createResponsiveStyleObj(void 0,void 0,"0px","0px",void 0,void 0,"100%","100%",void 0);c.ipiv=true;c=(this.canvas=cp.createResponsiveCanvas(c,this.canvasElem.clientWidth,this.canvasElem.clientHeight,this.canvasElem)).gc;c.save();var d=Math.floor(this.tileData.img.x*this.canvasElem.clientWidth/cp.D.project.w),e=Math.floor(this.tileData.img.y*this.canvasElem.clientHeight/cp.D.project.h);c.translate(d,e);var f=this.tileData.s;
if(this.tileData.t){a=c.createPattern(a.nativeImage,"repeat");c.rect(0,0,this.canvasElem.clientWidth-d,this.canvasElem.clientHeight-e);c.fillStyle=a;c.fill()}else f?c.drawImage(a.nativeImage,0,0,this.canvasElem.clientWidth-d,this.canvasElem.clientHeight-e):c.drawImage(a.nativeImage,0,0,a.nativeImage.width*this.canvasElem.clientWidth/cp.D.project.w,a.nativeImage.height*this.canvasElem.clientHeight/cp.D.project.h);c.restore();return this.isDrawn=true}return false};cp.Line=function(a,c){cp.Line.baseConstructor.call(this,
a);this.visible=this.getAttribute("visible");this.data=cp.D[this.element.id];this.parentDivName=this.getAttribute("dn");var d=document.getElementById(this.parentDivName);this.actualParent=d;var e=this.data.b;this.bounds={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};e=this.data.vb;this.vbounds={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3],width:e[2]-e[0],height:e[3]-e[1]};if(d){d.drawingBoard=this.element.parentElement;d.bounds=this.bounds;d.drawingBoard.bounds=this.vbounds}this.args=c;this.isDrawn=false;this.sh=
this.getAttribute("sh");this.re=this.getAttribute("re");if(cp.responsive)this.responsiveCSS=this.getAttribute("css")};cp.inherits(cp.Line,cp.DisplayObject);cp.Line.prototype.start=function(a,c){this.drawIfNeeded(a,c);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.Line.prototype.reset=function(){delete cp.ropMap[this.element.id];this.isDrawn=false;this.element.width="0";this.element.height="0";this.element.style.width="0px";this.element.style.height=
"0px";this.element.left="0";this.element.top="0";this.element.style.left="0px";this.element.style.top="0px"};cp.Line.prototype.getLinkOffsets=function(a){var c={l:0,t:0,r:0,b:0,hOff:{}};c.hOff.offset=0;c.hOff.poleVal={init:0,curr:0};c.vOff={};c.vOff.offset=0;c.vOff.poleVal={init:0,curr:0};var d=cp("div_Slide").getBoundingClientRect(),e=cp("project").clientWidth,f=cp("project").clientHeight,g=false,k=false,m=void 0,l=void 0;if(a.lhID||a.lvID){m=cp.getDisplayObjByCP_UID(a.lhID);l=a.lhID==a.lvID?m:cp.getDisplayObjByCP_UID(a.lvID);
m&&(g=m.isStarted&&m.isDrawnComplete);l&&(k=l.isStarted&&l.isDrawnComplete)}if(g&&a.lhID!=-1){var n=m.actualParent;if(n){g=n.getBoundingClientRect();if(n.tr){var o=m.actualParent.style.transform||m.actualParent.style.msTransform||m.actualParent.style.MozTransform||m.actualParent.style.WebkitTransform||m.actualParent.style.OTransform;cp.applyTransform(m.actualParent,"");g=n.getBoundingClientRect();cp.applyTransform(m.actualParent,o)}if(g){n=a.lhV;if(n.indexOf("%")!=-1){n=n.split("%")[0];n=cp.getRoundedValue(n*
e/100)+"px"}g=g[cp.rLinkEdges[a.lhEID]];g=g-d.left;c.hOff.poleVal.curr=g;if(a.l!="auto"&&a.l!="")c.hOff.offset=parseFloat(n);if(a.r!="auto"&&a.r!="")c.hOff.offset=-parseFloat(n)}m=cp.createTempElemAndGetBoundingRect(m.currentCSS,void 0,false);c.hOff.poleVal.init=m[cp.rLinkEdges[a.lhEID]]-d.left}}else c.hOff=void 0;if(k&&a.lvID!=-1){if(n=l.actualParent){g=n.getBoundingClientRect();if(n.tr){o=l.actualParent.style.transform||l.actualParent.style.msTransform||l.actualParent.style.MozTransform||l.actualParent.style.WebkitTransform||
l.actualParent.style.OTransform;cp.applyTransform(l.actualParent,"");g=n.getBoundingClientRect();cp.applyTransform(l.actualParent,o)}if(g){n=a.lvV;if(n.indexOf("H%")!=-1){n=n.split("H%")[0];n=cp.getRoundedValue(n*e/100)+"px"}else if(n.indexOf("%")!=-1){n=n.split("%")[0];n=cp.getRoundedValue(n*f/100)+"px"}g=g[cp.rLinkEdges[a.lvEID]];g=g-d.top;c.vOff.poleVal.curr=g;if(a.t!="auto"&&a.t!="")c.vOff.offset=parseFloat(n);if(a.b!="auto"&&a.b!="")c.vOff.offset=-parseFloat(n)}m=cp.createTempElemAndGetBoundingRect(l.currentCSS,
void 0,false);c.vOff.poleVal.init=m[cp.rLinkEdges[a.lvEID]]-d.top}}else c.vOff=void 0;return c};cp.Line.prototype.drawForResponsive=function(a,c){if(!this.responsiveCSS)return false;if(this.isDrawn&&!a)return true;if(!this.data)return false;var d=cp.getResponsiveCSS(this.responsiveCSS),e=false,e=this.sh&&!this.sh.i,f=this.tr!=void 0;if(this.isDrawn&&this.currentCSS==d&&!e&&!f&&(!a||c==cp.ReasonForDrawing.kMoviePaused))return true;this.currentCSS=d;this.parentDivName=this.getAttribute("dn");var g=
d,e=this.getLinkOffsets(d);cp.applyResponsiveStyles(this.element.parentElement,g,true);cp.applyResponsiveStyles(this.actualParent,d,true);var k=cp.movie.stage.mainSlideDiv.getBoundingClientRect();this.parentElementClientBoundingRect=this.element.parentElement.getBoundingClientRect();var f=this.parentElementClientBoundingRect.left-k.left,m=this.parentElementClientBoundingRect.top-k.top;this.actualParentClientBoundingRect=this.actualParent.getBoundingClientRect();var l=this.actualParent,n=0,o=0,k=cp("div_Slide").clientWidth,
q=cp("div_Slide").clientHeight,n=k>this.element.parentElement.clientWidth?k:this.element.parentElement.clientWidth,o=q>this.element.parentElement.clientHeight?q:this.element.parentElement.clientHeight,g=cp.createResponsiveStyleObj(d,void 0,"0px","0px","0px","0px",n+"px",o+"px",void 0),g=this.canvas=cp.createResponsiveCanvas(g,n,o,this.element);this.element.style["margin-left"]=-f+"px";this.element.style["margin-top"]=-m+"px";if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+
"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";cp.movie.stage.addToParentChildMap(l.id,this.element.id);this.element.originalParent=l;f=g.gc;f.clearRect(0,0,this.element.getBoundingClientRect().width,this.element.getBoundingClientRect().height);cp.DESKTOP==cp.device&&cp.MSIE==cp.browser&&f.beginPath();f.save();if(this.sh&&!this.sh.i){f.shadowOffsetX=this.sh.d*Math.cos(Math.PI*this.sh.a/
180);f.shadowOffsetY=this.sh.d*Math.sin(Math.PI*this.sh.a/180);f.shadowBlur=this.sh.b;f.shadowColor=cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)}n=d.l;o=d.t;m=d.w;l=d.h;g=cp.getResponsiveCSS(this.data);if(m.indexOf("%")!=-1)var p=m.split("%")[0],m=cp.getRoundedValue(p*k/100);else m=m.split("px")[0];if(l.indexOf("H%")!=-1){p=l.split("H%")[0];l=cp.getRoundedValue(p*k/100)}else if(l.indexOf("%")!=-1){p=l.split("%")[0];l=cp.getRoundedValue(p*q/100)}else l=l.split("px")[0];m=parseFloat(m);l=parseFloat(l);
if(d.l!="auto")if(n.indexOf("%")!=-1){p=n.split("%")[0];n=cp.getRoundedValue(p*k/100)}else n=n.split("px")[0];else{n=d.r;if(n.indexOf("%")!=-1){p=n.split("%")[0];n=cp.getRoundedValue(p*k/100)}else n=n.split("px")[0];n=parseFloat(n);n=k-(n+m)}if(d.t!="auto")if(o.indexOf("H%")!=-1){p=o.split("H%")[0];o=cp.getRoundedValue(p*k/100)}else if(o.indexOf("%")!=-1){p=o.split("%")[0];o=cp.getRoundedValue(p*q/100)}else o=o.split("px")[0];else{o=d.b;if(o.indexOf("H%")!=-1){p=o.split("H%")[0];o=cp.getRoundedValue(p*
k/100)}else if(o.indexOf("%")!=-1){p=o.split("%")[0];o=cp.getRoundedValue(p*q/100)}else o=o.split("px")[0];o=parseFloat(o);o=q-(o+l)}var n=parseFloat(n),o=parseFloat(o),u=p=q=k=0;if(g.rpX1IsLeft!="false"){k=n;q=n+m}else{k=n+m;q=n}if(g.rpY1IsTop!="false"){p=o;u=o+l}else{p=o+l;u=o}m=lRightPoint=lTopPoint=lBottomPoint=0;if(k>q){m=q;lRightPoint=k}else{m=k;lRightPoint=q}if(p>u){lTopPoint=u;lBottomPoint=p}else{lTopPoint=p;lBottomPoint=u}if(e.hOff){l=0;if(d.l!=""&&d.l!="auto"){l=m;m=e.hOff.poleVal.curr+
e.hOff.offset;lRightPoint=lRightPoint+(m-l)}else if(d.r!=""&&d.r!="auto"){l=lRightPoint;lRightPoint=e.hOff.poleVal.curr+e.hOff.offset;m=m+(lRightPoint-l)}}if(e.vOff){l=0;if(d.t!=""&&d.t!="auto"){l=lTopPoint;lTopPoint=e.vOff.poleVal.curr+e.vOff.offset;lBottomPoint=lBottomPoint+(lTopPoint-l)}else if(d.b!=""&&d.b!="auto"){l=lBottomPoint;lBottomPoint=e.vOff.poleVal.curr+e.vOff.offset;lTopPoint=lTopPoint+(lBottomPoint-l)}}if(k>q){q=m;k=lRightPoint}else{k=m;q=lRightPoint}if(p>u){u=lTopPoint;p=lBottomPoint}else{p=
lTopPoint;u=lBottomPoint}d=this.data.sw;d<5&&(d=5);f.lineWidth=this.data.sw;f.strokeStyle=this.data.sc;f.moveTo(k,p);0==this.data.ss?f.lineTo(q,u):cp.drawDashedLine(f,k,p,q,u,this.data.ss);f.stroke();cp.drawLineCapStyle(f,k,p,q,u,this.data.sc,d,this.data.sst,0);cp.drawLineCapStyle(f,k,p,q,u,this.data.sc,d,this.data.est,1);f.restore();this.isDrawn=true;this.drawComplete(c);this.visible||cp.hide(this.parentDivName);return true};cp.Line.prototype.drawIfNeeded=function(a,c){if((!cp.responsive||!this.drawForResponsive(a,
c))&&!this.isDrawn&&this.data){var d=this.bounds,e=this.vbounds,f=this.data.sw;f<5&&(f=5);var g=d.minX,k=d.minY,m=d.maxX-d.minX,l=d.maxY-d.minY,d=this.actualParent;d.style.left=g+"px";d.style.top=k+"px";d.style.width=m+"px";d.style.height=l+"px";g=0<e.minX?0:e.minX;k=0<e.minY?0:e.minY;l=cp.D.project.h>e.maxY?cp.D.project.h:e.maxY;m=(cp.D.project.w>e.maxX?cp.D.project.w:e.maxX)-g;e=this.canvas=cp.createCanvas(0,0,m,l-k,this.element);this.element.style.display="block";this.element.style.position="absolute";
this.element.parentElement.style.left=this.vbounds.minX+"px";this.element.parentElement.style.top=this.vbounds.minY+"px";this.element.parentElement.style.width=this.vbounds.maxX-this.vbounds.minX+"px";this.element.parentElement.style.height=this.vbounds.maxY-this.vbounds.minY+"px";this.element.style.marginLeft=g-this.vbounds.minX+"px";this.element.style.marginTop=k-this.vbounds.minY+"px";if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+
(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";cp.movie.stage.addToParentChildMap(d.id,this.element.id);this.element.originalParent=d;e=e.gc;e.save();e.translate(g<0?-g:0,k<0?-k:0);if(this.sh&&!this.sh.i){e.shadowOffsetX=this.sh.d*Math.cos(Math.PI*this.sh.a/180);e.shadowOffsetY=this.sh.d*Math.sin(Math.PI*this.sh.a/180);e.shadowBlur=this.sh.b;e.shadowColor=cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)}g=this.data.x1;k=this.data.y1;m=this.data.x2;d=this.data.y2;e.lineWidth=
this.data.sw;e.strokeStyle=this.data.sc;e.moveTo(g,k);0==this.data.ss?e.lineTo(m,d):cp.drawDashedLine(e,g,k,m,d,this.data.ss);e.stroke();cp.drawLineCapStyle(e,g,k,m,d,this.data.sc,f,this.data.sst,0);cp.drawLineCapStyle(e,g,k,m,d,this.data.sc,f,this.data.est,1);e.restore();this.isDrawn=true;this.visible||cp.hide(this.parentDivName)}};cp.DrawingItem=function(a,c,d){cp.DrawingItem.baseConstructor.call(this,a);this.visible=this.getAttribute("visible");this.parentId=cp.D[c].dn;this.parentObj=cp.D[this.parentId];
this.canvasObj=null;this.transIn=this.parentObj.trin;if(void 0!=this.parentObj)this.canvasObj=cp.D[this.parentObj.mdi];this.parentDivName=this.getAttribute("dn");this.actualParent=a=document.getElementById(this.parentDivName);if(this.canvasObj){this.type=this.canvasObj.t;c=this.canvasObj.b;this.bounds={minX:c[0],minY:c[1],maxX:c[2],maxY:c[3],width:c[2]-c[0],height:c[3]-c[1]};this.args=d;d=this.canvasObj.vb;this.vbounds={minX:d[0],minY:d[1],maxX:d[2],maxY:d[3],width:d[2]-d[0],height:d[3]-d[1]};this.sh=
this.canvasObj.sh;this.re=this.canvasObj.re;this.tr=this.canvasObj.tr;this.currImage=this.getAttribute("ip")}if(a){a.drawingBoard=this.element.parentElement;a.bounds=this.bounds;a.drawingBoard.bounds=this.vbounds}this.isDrawn=false;if(cp.responsive)this.responsiveCSS=this.getAttribute("css")};cp.inherits(cp.DrawingItem,cp.DisplayObject);cp.DrawingItem.prototype.start=function(a,c){this.drawIfNeeded(a,c);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.DrawingItem.prototype.reset=
function(){delete cp.ropMap[this.element.id];this.isDrawn=false;this.element.width="0";this.element.height="0";this.element.style.width="0px";this.element.style.height="0px";this.element.left="0";this.element.top="0";this.element.style.left="0px";this.element.style.top="0px"};cp.DrawingItem.prototype.drawForResponsive=function(a,c){if(!this.responsiveCSS)return false;if(this.isDrawn&&!a)return true;var d=cp.getResponsiveCSS(this.responsiveCSS),e=false,e=this.sh&&!this.sh.i;if(!this.isDrawn||!(this.currentCSS==
d&&a&&c==cp.ReasonForDrawing.kMoviePaused)){this.currentCSS=d;if(this.canvasObj&&this.type){var f=this.canvasObj,g=this.getAttribute("dn"),k=cp.D[g];this.parentDivName=g;var m=d;cp.applyTransform(this.actualParent,"rotate(0)");cp.applyResponsiveStyles(this.actualParent,d,true);if(k.rpvt&&k.autoGrow&&(c==cp.ReasonForDrawing.kTextGrow||c==cp.ReasonForDrawing.kMouseEvent)){g=k.minItemHeight;if(!g){g=k.variableText;if(g==void 0)g=k.rpvt[cp.ResponsiveProjWidth].vt;var l=this.actualParent.clientWidth,n=
k.offsets;n&&(l=l-(n[0]+n[2]));l=l-((k.rplm?k.rplm[cp.ResponsiveProjWidth]:0)+(k.rprm?k.rprm[cp.ResponsiveProjWidth]:0));g=cp.createTempTextElemAndGetBoundingRect(l,k,g).height}if(this.actualParent.clientHeight<g)this.actualParent.style.height=g+"px";cp.createResponsiveStyleObj(d,d.p,d.l,d.t,d.r,d.b,this.actualParent.clientWidth+"px",this.actualParent.clientHeight+"px",d.crop)}this.actualParent.offsetHeight=this.actualParent.offsetHeight;this.actualParentClientBoundingRect=this.actualParent.getBoundingClientRect();
var o=cp.movie.stage.mainSlideDiv.getBoundingClientRect();this.HFactor=this.WFactor=1;this.WFactor=Math.round(100*this.actualParent.clientWidth/this.bounds.width)/100;this.HFactor=Math.round(100*this.actualParent.clientHeight/this.bounds.height)/100;g=0;this.tr&&(g=cp.getAngleFromRotateStr(this.tr));if(!this.m_centrePoint||c==cp.ReasonForDrawing.kOrientationChangeOrResize||c==cp.ReasonForDrawing.kLinkedToItemAppeared)this.m_centrePoint=cp.getCenterForRotation(this.actualParent);l=cp.getBoundsForRotatedItem1(this.actualParentClientBoundingRect.left-
o.left,this.actualParentClientBoundingRect.top-o.top,this.actualParentClientBoundingRect.width,this.actualParentClientBoundingRect.height,this.m_centrePoint,g,this.strokeWidth);n=t=r=b=void 0;if(d.l!="auto")n=l.l;if(d.t!="auto")t=l.t;if(d.r!="auto")r=l.r;if(d.b!="auto")b=l.b;m=cp.createResponsiveStyleObj(d,d.p,n,t,r,b,l.w,l.h,d.crop);cp.applyResponsiveStyles(this.element.parentElement,m);this.parentElementClientBoundingRect=this.element.parentElement.getBoundingClientRect();n=l=0;if(this.m_centrePoint){l=
this.m_centrePoint.X-(this.actualParentClientBoundingRect.left-o.left);n=this.m_centrePoint.Y-(this.actualParentClientBoundingRect.top-o.top)}if(k.rpvt){var q=this.actualParent.id+"_vTxtHandlerHolder",p=cp(q);if(!p){p=cp.newElem("div");p.id=q;p.style.display="block";p.style.position="absolute";p.style.width=this.actualParent.clientWidth+"px";p.style.height=this.actualParent.clientHeight+"px";p.style.visibility="hidden";this.actualParent.appendChild(p)}p.style.left="0px";p.style.top="0px";p.style.width=
this.actualParent.clientWidth+"px";p.style.height=this.actualParent.clientHeight+"px";p=this.actualParent.id+"_vTxtHolder";q=cp(p);if(!q){q=cp.newElem("div");q.id=p;q.style.display="block";q.style.position="absolute";this.element.parentElement.appendChild(q);q.style.width=this.actualParent.clientWidth+"px";q.style.height=this.actualParent.clientHeight+"px"}cp.applyTransform(q,"rotate(0)");p=this.actualParentClientBoundingRect.top-this.parentElementClientBoundingRect.top+this.actualParent.clientHeight/
2;q.style.left=this.actualParentClientBoundingRect.left-this.parentElementClientBoundingRect.left+this.actualParent.clientWidth/2-this.actualParent.clientWidth/2+"px";q.style.top=p-this.actualParent.clientHeight/2+"px";q.style.width=this.actualParent.clientWidth+"px";q.style.height=this.actualParent.clientHeight+"px";c==cp.ReasonForDrawing.kOrientationChangeOrResize&&cp.updateVarText(this.actualParent,true,true);if(this.tr){q.style.left=(this.element.parentElement.clientWidth-q.clientWidth)/2+"px";
q.style.top=(this.element.parentElement.clientHeight-q.clientHeight)/2+"px";p="center center";q.style["-ms-transform-origin"]=p;q.style["-moz-transform-origin"]=p;q.style["-webkit-transform-origin"]=p;q.style["-o-transform-origin"]=p;q.style["transform-origin"]=p;cp.applyTransform(q,this.tr)}}var q=this.actualParent,u=0,s=0;if(e){u=cp("div_Slide").clientWidth;s=cp("div_Slide").clientHeight}else{u=this.element.parentElement.clientWidth;s=this.element.parentElement.clientHeight}var m=cp.createResponsiveStyleObj(d,
void 0,"0px","0px","0px","0px",u+"px",s+"px",void 0),p=this.parentElementClientBoundingRect.left-o.left,v=this.parentElementClientBoundingRect.top-o.top,m=this.canvas=cp.createResponsiveCanvas(m,u,s,this.element);if(!this.isParentOfTypeSlide&&e){this.element.style["margin-left"]=(p<0?1:-1)*p+"px";this.element.style["margin-top"]=(v<0?1:-1)*v+"px"}if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+
(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";cp.movie.stage.addToParentChildMap(q.id,this.element.id);this.element.originalParent=q;o=m.gc;o.crop=d.crop?d.crop:void 0;o.save();if(e){o.setTransform(1,0,0,1,p<0?-p:0,v<0?-v:0);o.translate(p,v);o.shadowOffsetX=this.sh.d*Math.cos(Math.PI*this.sh.a/180);o.shadowOffsetY=this.sh.d*Math.sin(Math.PI*this.sh.a/180);o.shadowBlur=this.sh.b;d=this.sh.o;d==1&&(d=0.999);o.shadowColor=cp.ConvertRGBToRGBA(this.sh.c,d)}this.element.style.display=
"block";this.element.style.position="absolute";o=m.gc;o.save();if(this.tr){p=l?l*100/q.clientWidth+"%":"center";p=p+" ";p=n?p+(n*100/q.clientHeight+"%"):p+"center";q.style["-ms-transform-origin"]=p;q.style["-moz-transform-origin"]=p;q.style["-webkit-transform-origin"]=p;q.style["-o-transform-origin"]=p;q.style["transform-origin"]=p;cp.applyTransform(q,this.tr);q.tr=this.tr}q.rotateAngle=g;d=this.element.parentElement.clientWidth/2;e=this.element.parentElement.clientHeight/2;d=this.actualParentClientBoundingRect.left-
this.parentElementClientBoundingRect.left+l;e=this.actualParentClientBoundingRect.top-this.parentElementClientBoundingRect.top+n;o.translate(d,e);0!=g?o.rotate(Math.PI*g/180):o.rotate(Math.PI*0.02/180);o.translate(-l,-n);d=0;if(void 0!=f.ss)d=f.ss;if((f=this.draw(o,d))&&void 0!=this.normalImage)if((d=cp.movie.im.images[this.normalImage])&&d.nativeImage.complete){if(this.sh&&!this.sh.i){o.shadowOffsetX=0;o.shadowOffsetY=0;o.shadowBlur=0;o.shadowColor="rgba(0,0,0,0)"}o.drawImage(d.nativeImage,-d.nativeImage.width/
2,-d.nativeImage.height/2,d.nativeImage.width,d.nativeImage.height)}else f=false;o.restore();if(this.transIn&&c==cp.ReasonForDrawing.kRegularDraw)this.element.parentElement.style.opacity=0;cp.handleQuizzingItemsInReviewMode(this.element,k,this.parentDivName);this.isDrawn=f;this.isDrawn==true&&this.drawComplete(c);this.visible||cp.hide(this.parentDivName);return true}}};cp.DrawingItem.prototype.drawIfNeeded=function(a,c){if((!cp.responsive||!this.drawForResponsive(a,c))&&!this.isDrawn&&this.canvasObj&&
this.type&&this.canvasObj.b){this.HFactor=this.WFactor=1;var d=this.bounds,e=this.vbounds,f=this.getAttribute("dn"),f=cp.D[f],g=d.minX,k=d.minY,m=d.maxX-d.minX,l=d.maxY-d.minY,n=this.actualParent;n.style.left=g+"px";n.style.top=k+"px";n.style.width=m+"px";n.style.height=l+"px";var l=false,l=this.re||this.sh&&!this.sh.i,g=0<e.minX&&l?0:e.minX,k=0<e.minY&&l?0:e.minY,o=l&&cp.D.project.h>e.maxY?cp.D.project.h:e.maxY,m=(l&&cp.D.project.w>e.maxX?cp.D.project.w:e.maxX)-g,m=this.canvas=cp.createCanvas(0,
0,m,o-k,this.element);this.element.style.display="block";this.element.style.position="absolute";this.element.parentElement.style.left=this.vbounds.minX+"px";this.element.parentElement.style.top=this.vbounds.minY+"px";this.element.parentElement.style.width=this.vbounds.maxX-this.vbounds.minX+"px";this.element.parentElement.style.height=this.vbounds.maxY-this.vbounds.minY+"px";this.element.style.marginLeft=g-this.vbounds.minX+"px";this.element.style.marginTop=k-this.vbounds.minY+"px";if(this.re)this.element.parentElement.style.webkitBoxReflect=
"below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";cp.movie.stage.addToParentChildMap(n.id,this.element.id);this.element.originalParent=n;e=m.gc;e.save();l?e.setTransform(1,0,0,1,g<0?-g:0,k<0?-k:0):e.translate(-this.vbounds.minX,-this.vbounds.minY);if(this.sh&&!this.sh.i){e.shadowOffsetX=this.sh.d*Math.cos(Math.PI*this.sh.a/180);e.shadowOffsetY=this.sh.d*Math.sin(Math.PI*
this.sh.a/180);e.shadowBlur=this.sh.b;e.shadowColor=cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)}this.element.style.display="block";this.element.style.position="absolute";e=m.gc;e.save();g=0;this.tr&&(g=cp.getAngleFromRotateStr(this.tr));n.rotateAngle=g;if(this.sh||0!=g){e.translate((d.minX+d.maxX)/2,(d.minY+d.maxY)/2);0!=g?e.rotate(Math.PI*g/180):e.rotate(Math.PI*0.02/180);e.translate(-(d.minX+d.maxX)/2,-(d.minY+d.maxY)/2)}n=0;if(void 0!=this.canvasObj.ss)n=this.canvasObj.ss;if((n=this.draw(e,n))&&void 0!=
this.currImage)if((g=cp.movie.im.images[this.currImage])&&g.nativeImage.complete){e.translate((d.minX+d.maxX)/2,(d.minY+d.maxY)/2);e.drawImage(g.nativeImage,-g.nativeImage.width/2,-g.nativeImage.height/2,g.nativeImage.width,g.nativeImage.height)}else n=false;cp.handleQuizzingItemsInReviewMode(this.element,f,this.parentDivName);e.restore();if(this.transIn)this.element.parentElement.style.opacity=0;this.isDrawn=n;this.isDrawn==true&&this.drawComplete(c)}};cp.DrawingItem.prototype.draw=function(a,c){switch(this.type){case cp.kCPOTOvalItem:this.drawOval(a,
0);break;case cp.kCPOTAnswerArea:case cp.kCPOTMatchingQuestionArea:case cp.kCPOTMatchingAnswerArea:case cp.kCPOTStageQuestionText:case cp.kCPOTStageQuestionTitle:case cp.kCPOTRectangleItem:case cp.kCPOTLikertQuestionArea:case cp.kCPOTLikertTotalGroupArea:case cp.kCPOTScorableButtonItem:case cp.kCPOTTextEntryButtonItem:case cp.kCPOTRetakeButton:case cp.kCPOTStageQuestionNextButton:case cp.kCPOTStageQuestionClearButton:case cp.kCPOTStageQuestionBackButton:case cp.kCPOTStageQuestionSubmitButton:case cp.kCPOTScoringReviewButton:case cp.kCPOTScoringContinueButton:case cp.kCPOTSubmitAllButton:case cp.kCPOTResetButton:case cp.kCPOTUndoButton:case cp.kCPOTDDSubmitButton:this.drawRectangle(a,
0);break;case cp.kCPOTPolygon:this.drawPolygon(a,0);break;default:return true}var d=1;void 0!=this.canvasObj.fa&&(d=this.canvasObj.fa/100);var e=a.globalAlpha;a.globalAlpha=d;if(cp.responsive&&cp.D[this.parentDivName].shouldShowDisabledState)a.globalAlpha=0.5;d=this.setFill(a);a.globalAlpha=e;if(0!=c&&this.canvasObj.sw>0)switch(this.type){case cp.kCPOTOvalItem:this.drawOval(a,c);break;case cp.kCPOTAnswerArea:case cp.kCPOTMatchingQuestionArea:case cp.kCPOTMatchingAnswerArea:case cp.kCPOTStageQuestionText:case cp.kCPOTStageQuestionTitle:case cp.kCPOTRectangleItem:case cp.kCPOTLikertQuestionArea:case cp.kCPOTLikertTotalGroupArea:case cp.kCPOTScorableButtonItem:case cp.kCPOTTextEntryButtonItem:case cp.kCPOTRetakeButton:case cp.kCPOTStageQuestionNextButton:case cp.kCPOTStageQuestionClearButton:case cp.kCPOTStageQuestionBackButton:case cp.kCPOTStageQuestionSubmitButton:case cp.kCPOTScoringReviewButton:case cp.kCPOTScoringContinueButton:case cp.kCPOTSubmitAllButton:case cp.kCPOTResetButton:case cp.kCPOTUndoButton:case cp.kCPOTDDSubmitButton:this.drawRectangle(a,
c);break;case cp.kCPOTPolygon:this.drawPolygon(a,c);break;default:return true}if(this.canvasObj.sw>0){a.lineWidth=this.canvasObj.sw;a.strokeStyle=this.canvasObj.sc;a.stroke()}return d};cp.DrawingItem.prototype.setFill=function(a){var c=null,d="",d=null,e=[],f=0,g=0,k=0,m=1,c=c=null,k=true,l=0,e=l=1,n=false,o=false;if(this.canvasObj.gf){if(c=cp.getGradientFill(this.canvasObj.gf,a))a.fillStyle=c}else if(this.canvasObj.imgf){k=false;c=this.canvasObj.imgf;if(void 0==c.img||void 0==c.img.ip)return false;
d=c.img.ip;if((d=cp.movie.im.images[d])&&d.nativeImage.complete){f=c.img.x;g=c.img.y;if(cp.responsive){f=Math.floor(f*this.WFactor)+this.canvasObj.sw;g=Math.floor(g*this.HFactor)+this.canvasObj.sw}else{f=f+this.canvasObj.b[0];g=g+this.canvasObj.b[1]}n=true;a.translate(f,g);k=c.s;if(m=c.t){c=a.createPattern(d.nativeImage,"repeat");a.fillStyle=c}else if(k){if(void 0!=this.canvasObj.b&&4==this.canvasObj.b.length){e=this.canvasObj.b;l=e[2]-e[0];h=e[3]-e[1];if(cp.responsive){l=l*this.WFactor;h=h*this.HFactor}l=
l/c.img.w;e=h/c.img.h;a.scale(l,e);c=a.createPattern(d.nativeImage,"no-repeat");a.fillStyle=c}}else{c=a.globalAlpha;a.globalAlpha=0;a.fillStyle="#FFFFFF";a.fill();a.globalAlpha=c;c=a.createPattern(d.nativeImage,"no-repeat");a.fillStyle=c}k=true}}else if(this.canvasObj.bc)a.fillStyle=this.canvasObj.bc;else if(this.currImage){o=true;k=false}k&&a.fill();(1!=l||1!=e)&&a.scale(1/l,1/e);n&&a.translate(-f,-g);return k||o};cp.DrawingItem.prototype.drawRectangle=function(a,c){var d=0,e=[],f=0,g=0,k=0,m=k=
0,l=0,e=0;if(!(void 0==this.canvasObj.b||4!=this.canvasObj.b.length)){e=this.canvasObj.b;f=e[2]-e[0];g=e[3]-e[1];k=f;g<f&&(k=g);if(void 0!=this.canvasObj.cr){d=this.canvasObj.cr;d=k*d/100}k=e[0];m=e[1];l=e[2];e=e[3];if(cp.responsive){l=this.WFactor*(l-k);e=this.HFactor*(e-m);k=this.WFactor*(k-k);m=this.HFactor*(m-m);g=e-m;f=l-k}if(0!=c)cp.drawDashedRectangle(a,k,m,f,g,d,c);else{a.beginPath();cp.moveTo(a,k,e-d,c);cp.lineTo(a,k,m+d,c);d>0&&cp.bezierCurveTo(a,k,m+d,k,m,k+d,m,c);cp.lineTo(a,k+d,m,c);
cp.lineTo(a,l-d,m,c);d>0&&cp.bezierCurveTo(a,l-d,m,l,m,l,m+d,c);cp.lineTo(a,l,m+d,c);cp.lineTo(a,l,e-d,c);d>0&&cp.bezierCurveTo(a,l,e-d,l,e,l-d,e,c);cp.lineTo(a,l-d,e,c);cp.lineTo(a,k+d,e,c);d>0&&cp.bezierCurveTo(a,k+d,e,k,e,k,e-d,c);a.closePath()}}};cp.DrawingItem.prototype.drawOval=function(a,c){var d=[],e=d=0,f=0,g=0,k=0,m=0,l=0,n=0;if(!(void 0==this.canvasObj.b||4!=this.canvasObj.b.length)){d=this.canvasObj.b;f=d[0];g=d[1];k=d[2];m=d[3];if(cp.responsive){f=this.WFactor*f;g=this.HFactor*g;k=this.WFactor*
k;m=this.HFactor*m}d=(k-f)/2;e=(m-g)/2;l=0.55285*d;n=0.55285*e;if(0!=c)cp.drawDashedOval(a,(f+k)/2,(g+m)/2,d,e,c);else{a.beginPath();cp.moveTo(a,k,g+e,c);cp.bezierCurveTo(a,k,g+e+n,f+d+l,m,f+d,m,c);cp.bezierCurveTo(a,f+d-l,m,f,g+e+n,f,g+e,c);cp.bezierCurveTo(a,f,g+e-n,f+d-l,g,f+d,g,c);cp.bezierCurveTo(a,f+d+l,g,k,g+e-n,k,g+e,c);a.closePath()}}};cp.DrawingItem.prototype.drawPolygon=function(a,c){var d=null,e=this.canvasObj.pta,f=0;if(!(void 0==e||e.length<2))if(0!=c)cp.drawDashedPolyLine(a,e,c,this.WFactor,
this.HFactor);else{a.beginPath();d=e[0];cp.moveTo(a,this.WFactor*d.x,this.HFactor*d.y,c);for(f=1;f<e.length;++f){d=e[f];cp.lineTo(a,this.WFactor*d.x,this.HFactor*d.y,c)}a.closePath()}};cp.AnswerArea=function(a,c){cp.AnswerArea.baseConstructor.call(this,a,c);this.canvasElem=this.element};cp.inherits(cp.AnswerArea,cp.DrawingItem);cp.RectWithText=function(a,c){cp.RectWithText.baseConstructor.call(this,a,c);this.canvasElem=this.element;this.currImage=this.getAttribute("ip")};cp.inherits(cp.RectWithText,
cp.DrawingItem);cp.TypingText=function(a,c){cp.TypingText.baseConstructor.call(this,a,c);this.id=this.getAttribute("id");this.positions=this.getAttribute("b");this.left=this.getAttribute("l");this.top=this.getAttribute("t");this.srcimage=this.getAttribute("ip");this.playKeyTap=this.getAttribute("pkt");this.isDrawn=false;if(cp.responsive)this.responsiveCSS=this.getAttribute("css")};cp.inherits(cp.TypingText,cp.DisplayObject);cp.TypingText.prototype.start=function(a,c){this.addIfNeeded(a,c);if(!this.effectIsStarted||
a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.TypingText.prototype.reset=function(){delete cp.ropMap[this.element.id];this.top=this.left=this.srcimage=this.positions=this.id="";this.isDrawn=false};cp.TypingText.prototype.drawForResponsive=function(a){if(this.isDrawn&&!a)return true;for(var c=0;c<1;++c){var d=this.positions,e=d[2],f=d[3],g=d[0],d=d[1],k=cp.movie.im.images[this.srcimage];if(k&&k.nativeImage.complete){var m=cp.movie.stage.currentSlide;if(m){var l=cp.D["Slide"+
m.id+"c"];if(!(l.aip?l.aip:l.ip))break}l=cp("Slide"+m.id+"sf_c");if(!l){this.canvas=cp.createCanvas(0,0,cp.D.project.w,cp.D.project.h,l);l=this.canvas.element;l.id="Slide"+m.id+"sf_c";l.style.display="block";l.style.position="absolute";l.style.left="0px";l.style.top="0px";var n=document.getElementById("Slide"+m.id+"c");n.parentElement.insertBefore(l,n.nextSibling)}if(cp.movie.stage.isSlideBGCropped()){m=cp.D[m.mdi].css[cp.ResponsiveProjWidth];l.style.left=-m.crop.x+"px";l.style.top=-m.crop.y+"px";
l.style.width=cp.D.project.w+"px";l.style.height=cp.D.project.h+"px"}else{l.style.left="0px";l.style.top="0px";l.style.width="100%";l.style.height="100%"}if(!a){m=l.getContext("2d");m.setTransform(1,0,0,1,this.left<0?-this.left:0,this.top<0?-this.top:0);m.translate(0,0);m.drawImage(k.nativeImage,g,d,e,f,Math.floor(this.left),Math.floor(this.top),Math.floor(e),Math.floor(f))}this.playKeyTap&&(cp.movie.playKeyTap&&!a)&&cp.movie.am.playKeyTap();this.isDrawn=true}}return true};cp.TypingText.prototype.addIfNeeded=
function(a,c){if((!cp.responsive||!this.drawForResponsive(a,c))&&!this.isDrawn){for(var d=this.id,e=0,f=0;f<1;++f){var g=this.positions,e=e+1,g="#"+d+e+"{position: absolute; width:"+(g[2]+"px")+"; height:"+(g[3]+"px")+"; display:block; background:url("+this.srcimage+") "+(-g[0]+"px")+" "+(-g[1]+"px")+"; }",k=document.getElementsByTagName("style")[0];k.innerHTML.indexOf(g)!=-1==false&&k.appendChild(document.createTextNode(g));g=cp.newElem("img");g.id=d+e;g.src="assets/htmlimages/img_trans.gif";g.style.left=
this.left+"px";g.style.top=this.top+"px";g.width=1;g.height=1;this.element.appendChild(g)}this.isDrawn=true;this.playKeyTap&&cp.movie.playKeyTap&&cp.movie.am.playKeyTap()}};cp.mouseStateOver=1;cp.mouseStateOut=2;cp.mouseStateDown=3;cp.mouseStateUp=4;cp.mouseStateTouchStart=5;cp.mouseStateTouchMove=6;cp.mouseStateTouchEnd=7;cp.Shape=function(a,c){function d(){m.visible=m.getAttribute("visible");m.isDrawn=false;if(cp.responsive)m.currentCSS=void 0;m.currImage=cp.device==cp.IDEVICE||cp.device==cp.ANDROID?
m.downImage:m.hoverImage;var a=m.transIn,c=m.modifyParent;m.modifyParent=false;m.transIn=null;m.drawIfNeeded();m.transIn=a;m.modifyParent=c}function e(){m.visible=m.getAttribute("visible");m.isDrawn=false;if(cp.responsive)m.currentCSS=void 0;m.currImage=m.normalImage;var a=m.transIn,c=m.modifyParent;m.modifyParent=false;m.transIn=null;m.drawIfNeeded();m.transIn=a;m.modifyParent=c}function f(){m.isDrawn=false;if(cp.responsive)m.currentCSS=void 0;m.currImage=m.downImage;var a=m.transIn,c=m.modifyParent;
m.modifyParent=false;m.transIn=null;m.drawIfNeeded();m.transIn=a;m.modifyParent=c}function g(){m.isDrawn=false;if(cp.responsive)m.currentCSS=void 0;m.currImage=m.hoverImage&&cp.device!=cp.IDEVICE&&cp.device!=cp.ANDROID?m.hoverImage:m.normalImage;var a=m.transIn,c=m.modifyParent;m.modifyParent=false;m.transIn=null;m.drawIfNeeded();m.transIn=a;m.modifyParent=c}function k(a,c,d,e){return function(){if(!(m.parentData&&void 0!=m.parentData.enabled)||m.parentData.enabled){e&&e();if(!(d&&m.mouseState==a)){m.mouseState=
a;c()}}}}var m=this;this.mouseState=cp.mouseStateOut;cp.Shape.baseConstructor.call(this,a);var l=this.getAttribute("sr");if(l)this.shape=l;if(cp.responsive)this.responsiveCSS=this.getAttribute("css");l=this.getAttribute("b");this.bounds={minX:l[0],minY:l[1],maxX:l[2],maxY:l[3]};l=this.getAttribute("vb");this.vbounds=null;this.vbounds=l?{minX:l[0],minY:l[1],maxX:l[2],maxY:l[3]}:this.bounds;this.args=c;this.isDrawn=false;this.canvas=null;this.visible=this.getAttribute("visible");this.divName=this.getAttribute("dns")?
this.getAttribute("dns"):this.getAttribute("dn");this.tex=this.getAttribute("tex")?this.getAttribute("tex"):0;this.tey=this.getAttribute("tey")?this.getAttribute("tey"):0;this.parentData=cp.D[this.divName];this.isParentOfTypeSlide=void 0==this.parentData.type;this.modifyParent=!this.isParentOfTypeSlide;this.transIn=this.parentData.trin;this.normalImage=this.getAttribute("ip");if(cp.responsive&&!this.normalImage&&this.parentData.subt&&this.parentData.subt==cp.kImageButton)this.normalImage=this.getAttribute("uImg");
if(!this.normalImage&&(cp.device==cp.IDEVICE||cp.device==cp.ANDROID))this.normalImage=this.getAttribute("aip");this.currImage=this.normalImage;this.isMouse=false;if(this.parentData.mp)this.isMouse=true;var l=this.getAttribute("hImg"),n=this.getAttribute("pImg"),o=document.getElementById(this.divName);if(o){o.drawingBoard=this.element.parentElement;o.bounds=this.bounds;o.drawingBoard.bounds=this.vbounds}this.actualParent=o;if(l){this.hoverImage=l;if(o){o.onmouseover=k(cp.mouseStateOver,d,false,o.onmouseover);
o.onmouseout=k(cp.mouseStateOut,e,false,o.onmouseout);if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)o.ontouchstart=k(cp.mouseStateTouchStart,d);if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)o.ontouchend=k(cp.mouseStateTouchEnd,e);if(n){this.downImage=n;o.onmousedown=k(cp.mouseStateDown,f);o.onmouseup=k(cp.mouseStateUp,g);if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)o.ontouchmove=k(cp.mouseStateTouchMove,f,true)}}}this.tr=this.getAttribute("tr");this.sh=this.getAttribute("sh");this.re=this.getAttribute("re")};
cp.inherits(cp.Shape,cp.DisplayObject);cp.Shape.prototype.start=function(a,c){this.drawIfNeeded(a,c);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.Shape.prototype.reset=function(){delete cp.ropMap[this.element.id];this.canvas=null;this.isDrawn=false;var a=true;this.parentData&&this.parentData.st&&(a=false);if(a){this.element.width="0";this.element.height="0";this.element.style.width="0px";this.element.style.height="0px";this.element.left="0";this.element.top=
"0";this.element.style.left="0px";this.element.style.top="0px"}};cp.Shape.prototype.drawIfNeeded=function(a,c){if((!cp.responsive||!this.drawForResponsive(a,c))&&!this.isDrawn){var d=this.getAttribute("dn"),e=cp.D[d];this.parentDivName=d;var d=this.bounds,f=-d.minX+d.maxX,g=-d.minY+d.maxY;if(f==0||g==0){this.isDrawn=true;this.drawComplete()}else{if(this.args){f=f+(Number(this.args[1])+Number(this.args[2]));g=g+(Number(this.args[1])+Number(this.args[3]))}var k=e.type,f=(k==cp.kCPOTClickBoxItem?this.canvas=
cp.createCanvas(d.minX,d.minY,0,0,this.element):this.canvas=cp.createCanvas(d.minX,d.minY,Math.ceil(f),Math.ceil(g),this.element)).gc;this.element.style.left=d.minX+"px";this.element.style.top=d.minY+"px";this.element.style.width=d.maxX-d.minX+"px";this.element.style.height=d.maxY-d.minY+"px";var g=false,g=this.re||this.sh&&!this.sh.i,m=this.tr!=void 0,l=this.currImage,n=this.modifyParent&&!this.isParentOfTypeSlide;f.save();if(!this.isMouse){var o=d.minX,q=d.minY,p=d.maxX-d.minX,u=d.maxY-d.minY,s=
this.actualParent;if(s){if(n){s.style.left=o+"px";s.style.top=q+"px";s.style.width=p+"px";s.style.height=u+"px"}var v=0;if(this.tr){if(n){cp.applyTransform(s,this.tr);s.tr=this.tr}v=cp.getAngleFromRotateStr(this.tr)}this.element.style.display="block";this.element.style.position="absolute";if(n){s.rotateAngle=v;cp.movie.stage.addToParentChildMap(s.id,this.element.id);this.element.parentElement.style.left=this.vbounds.minX+"px";this.element.parentElement.style.top=this.vbounds.minY+"px";this.element.parentElement.style.width=
this.vbounds.maxX-this.vbounds.minX+"px";this.element.parentElement.style.height=this.vbounds.maxY-this.vbounds.minY+"px";if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))"}}this.init=true;this.element.originalParent=s;o=0<this.vbounds.minX&&g?0:this.vbounds.minX;q=0<this.vbounds.minY&&g?0:this.vbounds.minY;
n=g&&cp.D.project.h>this.vbounds.maxY?cp.D.project.h:this.vbounds.maxY;p=(g&&cp.D.project.w>this.vbounds.maxX?cp.D.project.w:this.vbounds.maxX)-o;u=n-q;this.canvas=k==cp.kCPOTClickBoxItem?cp.createCanvas(0,0,0,0,this.element):cp.createCanvas(e.st!=void 0?o:0,e.st!=void 0?q:0,p,u,this.element);this.element.style.display="block";this.element.style.position="absolute";if(!this.isParentOfTypeSlide){this.element.style.marginLeft=o-this.vbounds.minX+"px";this.element.style.marginTop=q-this.vbounds.minY+
"px"}if(this.sh&&!this.sh.i){f.shadowOffsetX=this.sh.d*Math.cos(Math.PI*this.sh.a/180);f.shadowOffsetY=this.sh.d*Math.sin(Math.PI*this.sh.a/180);f.shadowBlur=this.sh.b;f.shadowColor=cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)}v=0;this.tr&&(v=cp.getAngleFromRotateStr(this.tr));if(g){f.setTransform(1,0,0,1,o<0?-o:0,q<0?-q:0);f.translate((d.minX+d.maxX)/2,(d.minY+d.maxY)/2)}else m&&f.translate(p/2,u/2);f.rotate(Math.PI*v/180);f.tex=this.tex;f.tey=this.tey;f.centreImage=true;f.width=p;f.height=u}if(this.shape)try{var x=
this.getAttribute("objectToBeHidden");if(this.shape(f,l,x,this.visible,this.divName,g,m)||k==cp.kCPOTClickBoxItem){this.isDrawn=true;this.drawComplete()}}catch(w){}f.restore();cp.handleQuizzingItemsInReviewMode(this.element,e,this.divName);if(this.transIn)this.element.parentElement.style.opacity=0;this.visible||cp.hide(this.divName)}}};cp.Shape.prototype.drawForResponsive=function(a,c){if(!this.responsiveCSS)return false;if(this.isDrawn&&!a)return true;var d=cp.getResponsiveCSS(this.responsiveCSS),
e=false,e=this.sh&&!this.sh.i,f=this.tr!=void 0;if(this.isDrawn&&this.currentCSS==d&&(!a||c==cp.ReasonForDrawing.kMoviePaused))return true;var g=true;this.currentCSS=d;var k=this.getAttribute("dn"),m=cp.D[k];this.parentDivName=k;var l=this.getAttribute("aan"),n=d,k=this.modifyParent&&!this.isParentOfTypeSlide,o=0;cp.applyTransform(this.actualParent,"rotate(0)");this.parentElementClientBoundingRect=this.element.parentElement.getBoundingClientRect();var q=cp.movie.stage.mainSlideDiv.getBoundingClientRect();
if(!this.isMouse){if(k){cp.applyResponsiveStyles(this.actualParent,d,g);if(m.rpvt&&m.autoGrow&&(c==cp.ReasonForDrawing.kTextGrow||c==cp.ReasonForDrawing.kMoviePaused)){var p=m.minItemHeight;if(p&&this.actualParent.clientHeight<p)this.actualParent.style.height=p+"px";n=cp.createResponsiveStyleObj(d,d.p,d.l,d.t,d.r,d.b,this.actualParent.clientWidth+"px",this.actualParent.clientHeight+"px",d.crop)}cp.adjustPositionWithAnswerArea&&(m.type==cp.kCPOTStageAnswerLabel||m.type==cp.kCPOTStageAnswerItem||m.type==
cp.kCPOTFillBlankCaption||m.type==cp.kCPOTStageMatchingAnswerEntry)&&cp.adjustPositionWithAnswerArea(d,this.actualParent,l);this.actualParent.offsetHeight=this.actualParent.offsetHeight;this.actualParentClientBoundingRect=this.actualParent.getBoundingClientRect();if(this.tr){o=cp.getAngleFromRotateStr(this.tr);if(!this.m_centrePoint||c==cp.ReasonForDrawing.kOrientationChangeOrResize||c==cp.ReasonForDrawing.kLinkedToItemAppeared)this.m_centrePoint=cp.getCenterForRotation(this.actualParent);g=cp.getBoundsForRotatedItem1(this.actualParentClientBoundingRect.left-
q.left,this.actualParentClientBoundingRect.top-q.top,this.actualParentClientBoundingRect.width,this.actualParentClientBoundingRect.height,this.m_centrePoint,o,this.strokeWidth);p=t=r=b=void 0;if(d.l!="auto")p=g.l;if(d.t!="auto")t=g.t;if(d.r!="auto")r=g.r;if(d.b!="auto")b=g.b;n=cp.createResponsiveStyleObj(d,d.p,p,t,r,b,g.w,g.h,d.crop);g=false}}this.isParentOfTypeSlide||cp.applyResponsiveStyles(this.element.parentElement,n,g)}p=g=0;if(this.m_centrePoint){g=this.m_centrePoint.X-(this.actualParentClientBoundingRect.left-
q.left);p=this.m_centrePoint.Y-(this.actualParentClientBoundingRect.top-q.top)}if(m.rpvt){var u=m.offsets;u||(u=[0,0,0,0]);var o=this.actualParent.id+"_vTxtHandlerHolder",s=cp(o);if(!s){s=cp.newElem("div");s.id=o;s.style.display="block";s.style.position="absolute";s.style.width=this.actualParent.clientWidth+"px";s.style.height=this.actualParent.clientHeight+"px";s.style.visibility="hidden";this.actualParent.appendChild(s)}s.style.left=u[0]+"px";s.style.top=u[1]+"px";s.style.width=this.actualParent.clientWidth-
(u[0]+u[2])+"px";s.style.height=this.actualParent.clientHeight-(u[1]+u[3])+"px";o=this.actualParent.id+"_vTxtHolder";s=cp(o);if(!s){s=cp.newElem("div");s.id=o;s.style.display="block";s.style.position="absolute";s.style.width=this.actualParent.clientWidth+"px";s.style.height=this.actualParent.clientHeight+"px";this.element.parentElement.appendChild(s)}cp.applyTransform(s,"rotate(0)");s.style.left=u[0]+"px";s.style.top=u[1]+"px";s.style.width=this.actualParent.clientWidth-(u[0]+u[2])+"px";s.style.height=
this.actualParent.clientHeight-(u[1]+u[3])+"px";c==cp.ReasonForDrawing.kOrientationChangeOrResize&&cp.updateVarText(this.actualParent,true,true);if(this.tr){s.style.left=(this.element.parentElement.clientWidth-s.clientWidth)/2+"px";s.style.top=(this.element.parentElement.clientHeight-s.clientHeight)/2+"px";o="center center";s.style["-ms-transform-origin"]=o;s.style["-moz-transform-origin"]=o;s.style["-webkit-transform-origin"]=o;s.style["-o-transform-origin"]=o;s.style["transform-origin"]=o;cp.applyTransform(s,
this.tr)}}cp.adjustPositionWithAnswerArea&&(m.type==cp.kCPOTStageAnswerLabel||m.type==cp.kCPOTStageAnswerItem||m.type==cp.kCPOTFillBlankCaption||m.type==cp.kCPOTStageMatchingAnswerEntry)&&cp.adjustPositionWithAnswerArea(d,this.element.parentElement,l);this.parentElementClientBoundingRect=this.element.parentElement.getBoundingClientRect();l=m.type;s=o=0;u=this.parentElementClientBoundingRect.left-q.left;q=this.parentElementClientBoundingRect.top-q.top;if(l==cp.kCPOTClickBoxItem)n=cp.createResponsiveStyleObj(d,
void 0,"0px","0px","0px","0px","0px","0px",void 0);else if(e){o=cp("div_Slide").clientWidth;s=cp("div_Slide").clientHeight;n=cp.createResponsiveStyleObj(d,void 0,"0px","0px","0px","0px",o+"px",s+"px",void 0)}else if(this.isMouse){o=this.bounds.maxX-this.bounds.minX;s=this.bounds.maxY-this.bounds.minY;m.clientWidth=o;m.clientHeight=s;var v="0px",x="0px";if(n=m.mpa){x=(v=cp.movie.stage.isSlideBGCropped())?cp.RespDefaultBptW:cp.project.clientWidth;n=n.b[cp.ResponsiveProjWidth];v=v?n[0]:cp.getRoundedValue(x*
n[0]/cp.ResponsiveProjWidth);v=v+"px";x=cp.getRoundedValue(n[1])+"px"}n=cp.createResponsiveStyleObj(d,void 0,v,x,"0px","0px",o+"px",s+"px",void 0)}else{o=this.element.parentElement.clientWidth;s=this.element.parentElement.clientHeight;n=cp.createResponsiveStyleObj(d,void 0,"0px","0px","0px","0px","100%","100%",void 0)}this.canvas=this.isParentOfTypeSlide?cp.movie.stage.isSlideBGCropped()?cp.createCanvas(0,0,cp("div_Slide").clientWidth,cp("div_Slide").clientHeight,this.element):cp.createCanvas((cp("project").clientWidth-
this.element.clientWidth)/2,(cp("project").clientHeight-this.element.clientHeight)/2,this.element.clientWidth,this.element.clientHeight,this.element):cp.createResponsiveCanvas(n,o,s,this.element);s=this.canvas.gc;s.crop=d.crop?d.crop:void 0;if(!this.isParentOfTypeSlide&&e){this.element.style["margin-left"]=(u<0?1:-1)*u+"px";this.element.style["margin-top"]=(q<0?1:-1)*q+"px"}n=this.currImage;s.save();if(!this.isMouse){if(v=this.actualParent){o=0;if(this.tr){if(k){o=g?g*100/v.clientWidth+"%":"center";
o=o+" ";o=p?o+(p*100/v.clientHeight+"%"):o+"center";v.style["-ms-transform-origin"]=o;v.style["-moz-transform-origin"]=o;v.style["-webkit-transform-origin"]=o;v.style["-o-transform-origin"]=o;v.style["transform-origin"]=o;cp.applyTransform(v,this.tr);v.tr=this.tr}o=cp.getAngleFromRotateStr(this.tr)}if(k){v.rotateAngle=o;cp.movie.stage.addToParentChildMap(v.id,this.element.id);if(this.re)this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+
(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))"}}this.init=true;this.element.originalParent=v;if(this.sh&&!this.sh.i){s.shadowOffsetX=this.sh.d*Math.cos(Math.PI*this.sh.a/180);s.shadowOffsetY=this.sh.d*Math.sin(Math.PI*this.sh.a/180);s.shadowBlur=this.sh.b;s.shadowColor=cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)}o=0;this.tr&&(o=cp.getAngleFromRotateStr(this.tr));if(e){s.setTransform(1,0,0,1,u<0?-u:0,q<0?-q:0);s.translate(u+this.element.parentElement.clientWidth/2,
q+this.element.parentElement.clientHeight/2)}else f&&s.translate(this.element.parentElement.clientWidth/2,this.element.parentElement.clientHeight/2);s.rotate(Math.PI*o/180);s.tex=this.tex;s.tey=this.tey;s.centreImage=true;s.width=this.element.clientWidth;s.height=this.element.clientHeight;if(this.isParentOfTypeSlide){m.clientWidth=this.element.clientWidth;m.clientHeight=this.element.clientHeight}else if(f){m.clientWidth=this.actualParent.clientWidth;m.clientHeight=this.actualParent.clientHeight}else{m.clientWidth=
this.element.parentElement.clientWidth;m.clientHeight=this.element.parentElement.clientHeight}if(cp.isCaptionItem(m.type))if(this.shape)m.pixelColor=this.getAttribute("bc");else{this.isDrawn=true;this.drawComplete(c)}}if(this.shape)try{var w=this.getAttribute("objectToBeHidden");if(this.shape(s,n,w,this.visible,this.divName,e,f)||l==cp.kCPOTClickBoxItem||!d.ipiv){this.isDrawn=true;this.drawComplete(c)}else return false}catch(y){}if(m.type==cp.kCPOTScoringResultItem||m.type==cp.kCPOTStageAnswerLabel||
m.type==cp.kCPOTStageAnswerItem||m.type==cp.kCPOTFillBlankCaption||m.type==cp.kCPOTStageMatchingAnswerEntry||m.type==cp.kCPOTQuestionColumn){this.isDrawn=true;this.drawComplete(c)}s.restore();cp.handleQuizzingItemsInReviewMode(this.element,m,this.divName);if(this.transIn&&c==cp.ReasonForDrawing.kRegularDraw)this.element.parentElement.style.opacity=0;this.visible||cp.hide(this.divName);return true};cp.Shape.prototype.playPath=function(a){var c=a.length,d=0,e=this.canvas.gc;for(e.beginPath();d<c;)switch(a[d++]){case "M":e.moveTo(a[d++],
a[d++]);break;case "L":e.lineTo(a[d++],a[d++]);break;case "Z":e.closePath();break;case "Q":e.quadraticCurveTo(a[d++],a[d++],a[d++],a[d++]);break;case "C":e.bezierCurveTo(a[d++],a[d++],a[d++],a[d++],a[d++],a[d++])}};cp.WebObject=function(a,c){cp.WebObject.baseConstructor.call(this,a);this.visible=this.getAttribute("visible");this.parentDivName=this.getAttribute("dn");var d=this.getAttribute("b");this.actualParent=document.getElementById(this.parentDivName);this.actualDrawingElement=this.element;this.bounds=
{minX:d[0],minY:d[1],maxX:d[2],maxY:d[3]};d=this.getAttribute("vb");this.vbounds={minX:d[0],minY:d[1],maxX:d[2],maxY:d[3],width:d[2]-d[0],height:d[3]-d[1]};this.args=c;this.isDrawn=false;this.tr=this.getAttribute("tr");this.clientURI=this.getAttribute("wou");this.autoLoad=this.getAttribute("woal");this.useBorder=this.getAttribute("wob");this.useScroll=this.getAttribute("wos");this.loadingAnimation=this.getAttribute("wolanim");this.container=this.getAttribute("woc");this.windowsizingType=this.getAttribute("wows");
this.windowWidth=this.getAttribute("woww");this.windowHeight=this.getAttribute("wowh");this.resourceType=this.getAttribute("wort");if(cp.responsive)this.responsiveCSS=this.getAttribute("css");this.webObjectCreated=false;if(window&&window.location.protocol==="https:"){d=this.clientURI.indexOf("http:");if(d==0)this.clientURI="https:"+this.clientURI.slice(d+5)}};cp.inherits(cp.WebObject,cp.DisplayObject);cp.WebObject.prototype.start=function(a,c){this.drawIfNeeded(a,c)};cp.WebObject.prototype.reset=
function(){delete cp.ropMap[this.element.id];this.isDrawn=false;this.element.parentElement.width="0";this.element.parentElement.height="0";this.element.parentElement.style.width="0px";this.element.parentElement.style.height="0px";this.element.parentElement.left="0";this.element.parentElement.top="0";this.element.parentElement.style.left="0px";this.element.parentElement.style.top="0px";this.webObjectCreated=false;$("#"+this.element.id).empty()};cp.WebObject.prototype.drawForResponsive=function(a,c){if(!this.responsiveCSS)return false;
if(this.isDrawn&&!a)return true;var d=cp.getResponsiveCSS(this.responsiveCSS),e=this.tr!=void 0;if(this.isDrawn&&this.currentCSS==d&&!e&&(!a||c==cp.ReasonForDrawing.kMoviePaused))return true;this.currentCSS=d;e=0;this.tr&&(e=cp.getAngleFromRotateStr(this.tr));var f=this.element.parentElement;cp.applyResponsiveStyles(f,d,true);f.rotateAngle=e;if(this.tr){cp.applyTransform(f,this.tr);f.tr=this.tr}if(!this.webObjectCreated){f.style.position="absolute";f.style.color="#00FF00";f.style.border=this.container==
0&&this.useBorder?"1px solid #9A9A9A":"0px";if(cp.device==cp.IDEVICE){f.style.overflow="scroll";f.style["-webkit-overflow-scrolling"]="touch"}cp.movie.stage.addToParentChildMap(this.parentDivName,this.element.id);if(this.autoLoad==false){d="clicktoload_"+this.element.id;jQuery("<div>",{id:d,style:"background:url(assets/htmlimages/Play_icon.png) no-repeat center center;background-color:#ffffff;position:absolute;margin:auto;top:0;left:0;right:0;bottom:0;"}).appendTo("#"+this.element.id);var g=this;
$("#"+d).click(function(){g.loadWebObject();$(this).hide()})}else this.loadWebObject();this.webObjectCreated=true}this.positionWebObject();this.visible||cp.hide(this.parentDivName);this.isDrawn=true;this.drawComplete(c);return true};cp.WebObject.prototype.drawIfNeeded=function(a,c){if((!cp.responsive||!this.drawForResponsive(a,c))&&!this.isDrawn){this.element.style.left="0px";this.element.style.top="0px";this.element.style.width="100%";this.element.style.height="100%";this.element.parentElement.style.left=
this.bounds.minX+"px";this.element.parentElement.style.top=this.bounds.minY+"px";this.element.parentElement.style.width=this.bounds.maxX-this.bounds.minX+"px";this.element.parentElement.style.height=this.bounds.maxY-this.bounds.minY+"px";this.element.parentElement.style.position="absolute";this.element.parentElement.style.color="#00FF00";this.element.parentElement.style.border=this.container==0&&this.useBorder?"1px solid #9A9A9A":"0px";if(cp.device==cp.IDEVICE){this.element.parentElement.style.overflow=
"scroll";this.element.parentElement.style["-webkit-overflow-scrolling"]="touch"}cp.movie.stage.addToParentChildMap(this.parentDivName,this.element.id);if(this.autoLoad==false){var d="clicktoload_"+this.element.id;jQuery("<div>",{id:d,style:"background:url(assets/htmlimages/Play_icon.png) no-repeat center center;background-color:#ffffff;position:absolute;margin:auto;top:0;left:0;right:0;bottom:0;"}).appendTo("#"+this.element.id);var e=this;$("#"+d).click(function(){e.loadWebObject();$(this).hide()})}else this.loadWebObject();
this.webObjectCreated=true;rotateAngle=0;if(this.tr){cp.applyTransform(this.element.parentElement,this.tr);rotateAngle=cp.getAngleFromRotateStr(this.tr)}this.isDrawn=true;this.drawComplete();this.visible||cp.hide(this.parentDivName)}};cp.WebObject.prototype.loadWebObject=function(){var a=this;if(this.container==0){var c="no";this.useScroll&&(c="auto");var d="myFrame_"+this.element.id,e="loading_"+this.element.id;jQuery("<iframe>",{src:this.clientURI,id:d,allowtransparency:"true",style:"visibility : hidden ; position:absolute ; border:0px;",
scrolling:c,width:this.element.parentElement.clientWidth,height:this.element.parentElement.clientHeight}).appendTo("#"+this.element.id);this.loadingAnimation&&jQuery("<div>",{id:e,style:"background:url(assets/htmlimages/loader_transparent.gif) no-repeat center center;background-color:#ffffff;position:absolute;margin:auto;top:0;left:0;right:0;bottom:0;"}).appendTo("#"+this.element.id);if(this.resourceType==3){$("#"+d).css("visibility","visible");$("#"+e).css("display","none")}$("#"+d).load(function(){if(a.visible){this.style.visibility=
"visible";$("#"+e).css("display","none")}})}else if(this.container==1){c="";this.windowsizingType==0?c=c+",top=0,left=0'":this.windowsizingType==1?c=c+",width="+screen.width+",height="+screen.height+",top=0,left=0,fullscreen=yes'":this.windowsizingType==2&&(c=c+",width="+parseInt(this.windowWidth)+",height="+parseInt(this.windowHeight)+"'");cp.m_isPreview?cp.parentWindow.open(this.clientURI,"_blank",c):cp.currentWindow.open(this.clientURI,"_blank",c)}};cp.WebObject.prototype.positionWebObject=function(){var a=
cp("myFrame_"+this.element.id);if(a){a.style.width=this.element.parentElement.clientWidth+"px";a.style.height=this.element.parentElement.clientHeight+"px"}};cp.MouseClick=function(a,c){cp.MouseClick.baseConstructor.call(this,a,c);this.data=this.getAttribute("data")};cp.inherits(cp.MouseClick,cp.Shape);cp.MouseClick.prototype.drawForResponsive=cp.MouseClick.prototype.drawIfNeeded=function(a){if(!this.isDrawn||a){a=this.bounds;if(cp.responsive){a=this.getAttribute("b");a=a[cp.ResponsiveProjWidth];a=
{minX:a[0],minY:a[1],maxX:a[2],maxY:a[3]}}var c=-a.minY+a.maxY,c=(this.canvas=cp.createCanvas(a.minX,a.minY,Math.ceil(-a.minX+a.maxX),Math.ceil(c),this.element)).gc;c.save();var d=cp.movie.stage.isSlideBGCropped(),e=0,e=cp.responsive?d?a.minX:cp.project.clientWidth*a.minX/cp.ResponsiveProjWidth:a.minX;this.element.style.left=e+"px";this.element.style.top=a.minY+"px";this.element.style.width=a.maxX-a.minX+"px";this.element.style.height=a.maxY-a.minY+"px";if(this.shape)try{var f=this.getAttribute("objectToBeHidden");
if(this.shape(c,this.data,f,this.visible,this.divName))this.isDrawn=true}catch(g){}c.restore()}};cp.FrameSet=function(a,c){function d(a,c,d,e,f,o){var c=new cp.Shortcut(c.k,c.c?true:false,c.s?true:false,c.a?true:false),q="";if(d.eh!=void 0)q=e.dn;return new cp.KeyHandler(function(c){return a(d,e,c)},c,f,o,q)}cp.FrameSet.baseConstructor.call(this,a);this.children=c;this.from=this.getAttribute("from");this.to=this.getAttribute("to");this.afrom=this.getAttribute("afrom");this.ato=this.getAttribute("ato");
this.transIn=this.getAttribute("trin");if(!this.transIn)this.transIn=0;this.transOut=this.getAttribute("trout");if(!this.transOut)this.transOut=0;if(this.element.drawingBoard){this.element.drawingBoard.style.display="block";this.element.drawingBoard.style.opacity=this.transIn>0?0:1}if(this.getAttribute("mp")=="mouse"){this.motionPathMover=cp.movie.mousePath;this.motionPathArgs=this.getAttribute("mpa")}this.type=this.getAttribute("type");this.itemData=cp.D[this.element.id];this.itemCanvasData=null;
if(this.itemData&&this.itemData.mdi)this.itemCanvasData=cp.D[this.itemData.mdi];if(this.itemCanvasData)cp.cpIDMap[this.itemCanvasData.uid]=this.itemData.mdi;this.pa=this.getAttribute("pa");this.alwaysPause=this.getAttribute("cpa");var e=this.getAttribute("psv");if(e)this.psv=e;if(void 0!=this.pa){this.element.style.WebkitTapHighlightColor="rgba(0,0,0,0.3)";this.setAttribute("handled",false);this.setAttribute("clickedOnce",false);this.setAttribute("currentAttempt",0);this.setAttribute("actionInProgress",
false);if(this.getAttribute("iqb")!=void 0&&this.getAttribute("iqb")){var e=this.getAttribute("sn"),e=cp.D[e].qs,f;e&&e.indexOf(",")==-1&&(f=cp.getQuestionObject(e));e=this.getAttribute("qbt");this.element.style.cursor="pointer";if(e)switch(e){case "submit":f.registerSubmitButton(this.element);break;case "back":f.registerBackButton(this.element);break;case "skip":f.registerSkipButton(this.element);break;case "clear":f.registerClearButton(this.element);break;case "submitAll":f.registerSubmitAllButton(this.element);
break;default:cp.registerGestureEvent(this.element,cp.GESTURE_EVENT_TYPES.TAP,cp.QuizButtonCH)}}this.dependents=this.getAttribute("dep");if(cp.kCPOTAutoShape==this.type&&1==this.getAttribute("rp"))if((f=cp.movie.stage.currentSlide)&&f.from>this.pa)this.rp_pa=f.from+this.pa-this.from}this.htmlDependents=[];void 0!=this.psv&&this.setAttribute("pausedOnce",false);if(f=this.getAttribute("onShow"))this.onShow=window[f];if(this.keyHandler=this.getAttribute("kh"))if(this.keyShortcut=this.getAttribute("sc"))(f=
d(this.keyHandler,this.keyShortcut,cp.D[this.element.id],cp.D[this.element.id+"c"],this.from,this.to))&&cp.movie.stage.addKeyHandler(f);if(!this.keyHandler)if(this.keyHandler=this.getAttribute("eh"))(f=d(this.keyHandler,"",cp.D[this.element.id],cp.D[this.element.id+"c"],this.from,this.to))&&cp.movie.stage.addKeyHandler(f);this.isStarted=false;if(cp.kCPOTClickBoxItem==this.type||cp.kCPOTScorableButtonItem==this.type||cp.kCPOTAutoShape==this.type)if(this.dblClick=this.getAttribute("dclk"))cp.movie.stage.getClickManager().addDoubleClick(cp.D[this.element.id],
cp.D[this.element.id+"c"],this.element);else if(cp.kCPOTClickBoxItem==this.type)(this.rightClick=this.getAttribute("rclk"))&&cp.movie.stage.getClickManager().addRightClick(cp.D[this.element.id],cp.D[this.element.id+"c"],this.element);if(cp.kCPOTTextEntryButtonItem==this.type)(this.parentId=this.getAttribute("vid"))&&cp.movie.stage.addToParentChildMap(this.parentId,this.element.id);if(cp.MSIE==cp.browser&&void 0!=this.type)switch(this.type){case cp.kCPOTStageShortAnswer:case cp.kCPOTQuestionFillBlank:case cp.kCPOTFillBlankCaption:case cp.kCPOTWidgetItem:case cp.kCPOTWebObject:case cp.kCPOTProgressIndicator:case cp.kCPOTReviewArea:case cp.kCPOTScoringResult:case cp.kCPOTStageAnswerItem:case cp.kCPOTStageAnswerLabel:case cp.kCPOTStageMatchingQuestion:case cp.kCPOTStageMatchingAnswerEntry:case cp.kCPOTFLVItem:break;
default:a.style.backgroundColor="#FFFFFF";a.style.opacity=0}};cp.inherits(cp.FrameSet,cp.DisplayObject);cp.FrameSet.prototype.isInRange=function(a){return this.from==0&&this.to==0||cp.kCPOTSuccessCaptionItem==this.type||cp.kCPOTFailureCaptionItem==this.type||cp.kCPOTHintCaptionItem==this.type||cp.kCPRolloverCaptionItem==this.type||cp.kCPRolloverImageItem==this.type||cp.kCPOTRolloverAutoShape==this.type||cp.kCPOTSuccessShapeItem==this.type||cp.kCPOTFailureShapeItem==this.type||cp.kCPOTHintShapeItem==
this.type?true:this.from<=a&&this.to>=a};cp.FrameSet.prototype.updateOpacity=function(){if(this.element.drawingBoard&&!(cp.kCPOTSuccessCaptionItem==this.type||cp.kCPOTFailureCaptionItem==this.type||cp.kCPOTHintCaptionItem==this.type||cp.kCPOTSuccessShapeItem==this.type||cp.kCPOTFailureShapeItem==this.type||cp.kCPOTHintShapeItem==this.type)){var a=cpInfoCurrentFrame-this.from+1,c=this.to-cpInfoCurrentFrame;this.element.drawingBoard.style.opacity=a<=this.transIn?a/this.transIn:a>this.to-this.from-this.transOut?
c/this.transOut:1}};cp.FrameSet.prototype.updateFrame=function(a){this.updateOpacity();cp.FrameSet.superClass.updateFrame.call(this);a==cp.Timeline.ReasonForUpdate.JUMP&&this.setAttribute("clickedOnce",false)};cp.FrameSet.prototype.start=function(a,c){var d=0,e=!this.isStarted;this.isStarted=true;this.element.style.display="block";if(this.element.drawingBoard)this.element.drawingBoard.style.display="block";if(void 0!=this.pa&&null!=cp.movie.stage.currentSlide){(d=-1!=this.pa)||(d=cp.kCPOTClickBoxItem==
this.type||cp.kCPOTScorableButtonItem==this.type||cp.kCPOTAutoShape==this.type||cp.kCPOTTextEntryBoxItem==this.type);if(d)cp.movie.stage.currentSlide.topMostObjectInteractiveObject=this.element.id}cp.FrameSet.superClass.start.call(this,a,c);if(this.itemCanvasData&&1==this.itemCanvasData.visible)for(d=0;d<this.htmlDependents.length;++d)this.htmlDependents[d].style.visibility="visible";this.updateOpacity();if(this.onShow)try{this.onShow.call(this.timeline)}catch(f){}if(typeof cptb!="undefined"&&!cptb.isObjectDrawn(this))cptb.onObjectEnter(this);
if(cp.responsive&&e){cp.updateVarText(this.element,true,true);if(this.element)(e=cp.D[this.element.id])&&(e.rpvt!=void 0||e.vt!=void 0)&&cp.updateVarText(this.element,true,true)}};cp.FrameSet.prototype.reset=function(a){if(typeof cptb!="undefined"&&!cptb.isObjectReset(this))cptb.onObjectExit(this);var c=0;delete cp.ropMap[this.element.id];cp.FrameSet.superClass.reset.call(this,a);this.isStarted=false;var d=true;this.itemData.st&&(d=false);a&&this.children&&(this.children[0]&&this.children[0].continueToNextSlide)&&
(d=false);if(d)this.element.style.display="none";if(void 0!=this.pa){this.setAttribute("handled",false);this.setAttribute("clickedOnce",false);if(void 0!=this.dependents)for(c=0;c<this.dependents.length;++c)cp.hide(this.dependents[c])}for(c=0;c<this.htmlDependents.length;++c)this.htmlDependents[c].style.visibility="hidden";void 0!=this.psv&&this.setAttribute("pausedOnce",false);if(d&&this.element.drawingBoard){this.element.drawingBoard.style.opacity=0;this.element.drawingBoard.style.display="none"}};
cp.FrameSet.prototype.ApplyMotion=function(a,c){if(this.motionPathMover!=null)try{this.motionPathMover(this,a,c)}catch(d){}};cp.FrameSet.prototype.handleRewind=function(){if(void 0!=this.pa){this.setAttribute("handled",false);this.setAttribute("clickedOnce",false)}void 0!=this.psv&&this.setAttribute("pausedOnce",false);void 0!=this.type&&cp.kCPOTWidgetItem==this.type&&!this.itemData.rp&&1==this.children.length&&this.reset()};cp.FrameSet.prototype.onEndOfSlide=function(a){var c=this.isStarted&&!this.isInRange(cpInfoCurrentFrame);
if(!c)(c=cp.kCPOTSuccessCaptionItem==this.type||cp.kCPOTFailureCaptionItem==this.type||cp.kCPOTHintCaptionItem==this.type||cp.kCPOTAutoShape==this.type&&this.getAttribute("rp")!=1||cp.kCPRolloverCaptionItem==this.type||cp.kCPRolloverImageItem==this.type||cp.kCPOTRolloverAutoShape==this.type||cp.kCPOTSuccessShapeItem==this.type||cp.kCPOTFailureShapeItem==this.type||cp.kCPOTHintShapeItem==this.type)||this.type==cp.kCPOTWidgetItem&&!this.itemData.rp&&(c=true);if(c)this.reset(a==cp.Timeline.ReasonForUpdate.PROGRESS);
else if(cp.kCPOTAutoShape==this.type&&this.getAttribute("uab")==1)(a=this.children[0])&&a.removeMouseHandlers()};cp.VideoFrameSet=function(a,c){this.suppliedElement=a;this.children=c;this.element=a;this.from=this.getAttribute("from");this.to=this.getAttribute("to");this.type=this.getAttribute("type");this.itemData=cp.D[this.element.id];this.pa=this.getAttribute("pa");var d=this.getAttribute("psv");if(d)this.psv=d;void 0!=this.pa&&this.setAttribute("pausedOnce",false);void 0!=this.psv&&this.setAttribute("pausedOnce",
false);this.isStarted=false};cp.inherits(cp.VideoFrameSet,cp.FrameSet);cp.VideoFrameSet.prototype.start=function(a,c){if(!cp.movie.stage.VideoPlaying){var d=cp.movie.stage.VideoElement;if(!d){d=this.suppliedElement;cp.movie.stage.VideoElement=d}cp.VideoFrameSet.baseConstructor.call(this,d,this.children);cp.VideoFrameSet.superClass.start.call(this,a,c);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}}};cp.VideoFrameSet.prototype.reset=function(a){var c=this.suppliedElement;
c==this.element&&(c=null);cp.VideoFrameSet.superClass.reset.call(this,a);if(c)c.style.display="none"};cp.VideoFrameSet.prototype.getAttribute=function(a){var c=cp.D[this.suppliedElement.id];return!c?null:c[a]};cp.VideoFrameSet.prototype.setAttribute=function(a,c){var d=cp.D[this.suppliedElement.id];d&&(d[a]=c)};cp.FeedbackType={SUCCESS:0,FAILURE:1,HINT:2,OTHER:3};cp.FeedbackCloseReason={SHOW_SUCCESS:1,SHOW_FAILURE:2,SHOW_HINT:3,SLIDE_CHANGE:4,OTHER:5};cp.Feedback=function(a,c,d,e,f){this.lastFrame=
this.startFrame=this.currentFrame=0;this.itemName=a;this.endAction=c;this.parentSlide=cp.movie.stage.currentSlide;this.element=document.getElementById(a);this.item=cp.D[a];this.type=cp.FeedbackType.OTHER;if(void 0!=e)switch(e){case cp.FeedbackType.SUCCESS:case cp.FeedbackType.FAILURE:case cp.FeedbackType.HINT:this.type=e}this.actionObj=f;if(cp.FeedbackType.SUCCESS==this.type&&this.actionObj)this.actionObj.actionInProgress=true;if(this.item){this.transIn=this.item.trin;this.effectObj=this.item.ef}if(!this.transIn)this.transIn=
0;this.drawingBoard=null;if(this.element&&this.element.drawingBoard){this.element.drawingBoard.style.opacity=0;this.drawingBoard=this.element.drawingBoard}if(this.item)this.transOut=this.item.trout;if(!this.transOut)this.transOut=0;this.pause=d;this.onMouse=false;if(this.item&&this.item.to&&this.item.from)this.lastFrame=this.item.to-this.item.from;if(this.item&&void 0!=this.item.du)this.lastFrame=this.item.du;this.createCSSAnimationRule()};cp.Feedback.prototype={update:function(){this.currentFrame++;
if(this.currentFrame>this.lastFrame){cp.movie.stage.RemoveFeedback(this);this.hide();this.endAction&&cp.movie.executeAction(this.endAction)}if(this.effectObj){var a=this.effectObj["ef"+this.effectObj.id];if(a&&a.length)for(var c=0;c<a.length;++c){var d=a[c],e=this.currentFrame;if(d.sf-1>e||d.sf-1+d.du<=e)d.ci=-1;else{for(var f,e=e-(d.sf-1),g=0;g<d.kf.length-1;++g)if(d.kf[g].f<=e&&d.kf[g+1].f>e){d.ci=g;break}f=d.kf[d.ci];var k=d.io,m=d.fo,l=d.kf[d.ci+1],n=e-f.f,o=d.ease<0?-d.ease/100+1:1-d.ease/200,
g=f.x+(l.x-f.x)*Math.pow(n/(l.f-f.f),o);f=f.y+(l.y-f.y)*Math.pow(n/(l.f-f.f),o);d=(k+(m-k)*e/d.du)/100;d=d<0?0:d;d=d>1?1:d;this.element.style.left=this.element.bounds.minX+g+"px";this.element.style.top=this.element.bounds.minY+f+"px";if(this.element.drawingBoard){this.element.drawingBoard.style.left=this.element.drawingBoard.bounds.minX+g+"px";this.element.drawingBoard.style.top=this.element.drawingBoard.bounds.minY+f+"px";this.element.drawingBoard.style.opacity=d+""}}}}if(this.drawingBoard){a=cp.canUseWebkitAnimations()&&
cp.FeedbackType.HINT!=this.type;c=this.currentFrame;d=this.lastFrame-this.currentFrame;if(c<this.transIn){if(!a)this.drawingBoard.style.opacity=cp.device!=cp.DESKTOP?1:c/this.transIn}else{if(!a)this.drawingBoard.style.opacity=cp.device!=cp.DESKTOP?1:c>this.lastFrame-this.transOut?d/this.transOut:1;if(this.onMouse)this.currentFrame=this.lastFrame-this.transOut-1}}},onRollover:function(){this.onMouse=true;this.currentFrame=0;this.show()},onRollout:function(){this.onMouse=false;this.currentFrame=this.lastFrame-
this.transOut},createCSSAnimationRule:function(){function a(){var a=document.styleSheets[0];if(a&&!a.cssRules)return false;for(var c=0;c<a.cssRules.length;++c)if(a.cssRules[c].type==window.CSSRule.WEBKIT_KEYFRAMES_RULE&&a.cssRules[c].name==d)return true;return false}var c=cp.D[this.itemName];if(c&&cp.canUseWebkitAnimations()&&cp.FeedbackType.HINT!=this.type){var d=this.itemName+"_rule";if(a())cp.verbose&&cp.log("rule exists");else{var e="";if(c.trin!=0&&c.trin!=void 0)var f=Math.round(c.trin*1E4/
c.du)/100,e=e+(" { 0% { opacity:0; } "+f+"% { opacity:1; } ");else e=e+" { 0% { opacity:1; } ";if(c.trout!=0&&c.trout!=void 0){c=Math.round((c.du-c.trout)*1E4/c.du)/100;e=e+(" "+c+"% { opacity:1; }  100% { opacity:0; } }")}else e=e+" 100% { opacity:1; } }";c=document.styleSheets[0];cp.verbose&&cp.log(d+", "+e);c.insertRule("@-webkit-keyframes "+d+e)}this.webkitAnimationRule=d}},show:function(){var a=cp.D[this.itemName];if(a){if(this.drawingBoard)if(cp.canUseWebkitAnimations()&&cp.FeedbackType.HINT!=
this.type){cp.verbose&&cp.log("Using Webkit animation");this.drawingBoard.style.webkitAnimationName=this.webkitAnimationRule;this.drawingBoard.style.webkitAnimationDuration=a.du/cp.movie.fps+"s"}else this.drawingBoard.style.opacity=cp.device!=cp.DESKTOP?1:0;if(this.parentSlide!=void 0&&this.parentSlide==cp.movie.stage.currentSlide){this.pause&&!cp.movie.paused&&cp.movie.pause(cp.ReasonForPause.FEEDBACK_ITEM);var c=cp.FeedbackCloseReason.OTHER;switch(this.type){case cp.FeedbackType.SUCCESS:c=cp.FeedbackCloseReason.SHOW_SUCCESS;
break;case cp.FeedbackType.FAILURE:c=cp.FeedbackCloseReason.SHOW_FAILURE;break;case cp.FeedbackType.HINT:c=cp.FeedbackCloseReason.SHOW_HINT}cp.movie.stage.RemoveFeedbacks(c);cp.movie.stage.AddFeedback(this);cp.moveDivElemToTop(this.element);a=document.getElementById(a.mdi);a!=void 0&&cp.moveRewrapElemToTop(a.parentNode);cp.show(this.itemName)}}},hide:function(){if(cp.FeedbackType.SUCCESS==this.type&&this.actionObj)this.actionObj.actionInProgress=false;cp.hide(this.itemName);if(this.drawingBoard)this.drawingBoard.style.opacity=
1},canHide:function(a){return cp.FeedbackType.HINT==this.type||cp.FeedbackType.OTHER==this.type||cp.FeedbackCloseReason.SLIDE_CHANGE==a||cp.FeedbackCloseReason.OTHER==a?true:cp.FeedbackCloseReason.SHOW_HINT==a||cp.FeedbackType.SUCCESS==this.type?false:true}};cp.SlideGraphManager=function(){this.m_CurrentBranch=[];this.m_BranchHistory=[];this.m_SlideGraphObj={};this.m_RootSlideIndex=-1;this.m_InvalidSlideJump=false;this.m_CompletionBranch=[];this.m_CompletionBranchSet=false;this.m_CompletionBranchSlideCount=
-1;this.m_CompletionBranchSlideCountSet=false;this.m_BranchNumber=0;if(!this.BranchEnum){this.BranchEnum={};this.BranchEnum.kBranchNotFound=0;this.BranchEnum.kBranchFound=1;this.BranchEnum.kLoopBranchFound=2;this.BranchEnum.kMultipleBranchFound=3}};cp.SlideGraphManager.prototype={countUniqItems:function(a){for(var c={},d=0,e=0;e<a.length;++e){var f=a[e];if(c[f]==void 0){c[f]=f;++d}}return d},findCompletionBranchTraverse:function(a,c,d){var e=false,f=-1;if(!e&&this.m_SlideGraphObj[a]==void 0){f=this.BranchEnum.kBranchFound;
e=true}if(!e&&d[a]!=void 0){f=this.BranchEnum.kLoopBranchFound;e=true}c.push(a);d[a]=a;if(e){++this.m_BranchNumber;if(this.m_BranchNumber==1){this.m_CompletionBranch=this.m_CurrentBranch.concat(c);this.m_CompletionBranchSet=true;if(!(f==this.BranchEnum.kLoopBranchFound&&a==c[0])){this.m_CompletionBranchSlideCount=this.countUniqItems(this.m_CurrentBranch.concat(c));this.m_CompletionBranchSlideCountSet=true}c.pop();delete d[a];return this.BranchEnum.kBranchFound}if(this.m_BranchNumber>=2){this.m_CompletionBranchSet=
false;if(this.m_CompletionBranchSlideCountSet){var g=this.countUniqItems(this.m_CurrentBranch.concat(c));if(!(f==this.BranchEnum.kLoopBranchFound&&a==c[0])&&g==this.m_CompletionBranchSlideCount){c.pop();delete d[a];return this.BranchEnum.kBranchFound}this.m_CompletionBranchSlideCountSet=false;c.pop();delete d[a];return this.BranchEnum.kMultipleBranchFound}c.pop();delete d[a];return this.BranchEnum.kMultipleBranchFound}}f=this.m_SlideGraphObj[a];e=false;for(g in f)switch(this.findCompletionBranchTraverse(Number(g),
c,d)){case this.BranchEnum.kBranchFound:e=true;case this.BranchEnum.kBranchNotFound:break;case this.BranchEnum.kMultipleBranchFound:return this.BranchEnum.kMultipleBranchFound}c.pop();delete d[a];return e?this.BranchEnum.kBranchFound:this.BranchEnum.kBranchNotFound},findCompletionBranch:function(){this.m_CompletionBranch=[];this.m_CompletionBranchSet=false;this.m_BranchNumber=0;this.findCompletionBranchTraverse(this.m_CurrentBranch.length>=1?this.m_CurrentBranch[this.m_CurrentBranch.length-1]:this.m_RootSlideIndex,
[],{})},initialize:function(){if(cp.D.baq){var a=cp.D.sgMgr;if(a!=void 0){var c=a.ri,a=a.sg;if(!(c==void 0||a==void 0)){this.m_InvalidSlideJump=false;this.m_RootSlideIndex=c;for(c=0;c<a.length;++c){var d=a[c];if(!(d==void 0||d.length!=2)){this.m_SlideGraphObj[d[0]]={};for(var e=d[1],f=0;f<e.length;++f){var g=e[f];if(!(g==void 0||g.length!=2)){this.m_SlideGraphObj[d[0]][g[0]]={};for(var k=g[1],m=0;m<k.length;++m){var l=k[m];l!=void 0&&(this.m_SlideGraphObj[d[0]][g[0]][l]=l)}}}}}}}}},onSlideJump:function(a){if(this.m_CurrentBranch.length>
0){var c=this.m_CurrentBranch[this.m_CurrentBranch.length-1];if(a==c)return;if(this.m_SlideGraphObj[c]==void 0){this.m_BranchHistory.push(a);this.m_InvalidSlideJump=true;return}if(this.m_SlideGraphObj[c][a]==void 0){this.m_InvalidSlideJump=true;this.updateCurrentBranch(a);this.m_BranchHistory.push(a);return}}this.m_BranchHistory.push(a);this.m_CurrentBranch.push(a)},getSlideViewPercentage:function(){!this.m_CompletionBranchSet&&!this.m_CompletionBranchSlideCountSet&&this.findCompletionBranch();if(!this.m_CompletionBranchSet&&
!this.m_CompletionBranchSlideCountSet)return"NaN";var a=this.countUniqItems(this.m_CurrentBranch),c=-1,c=this.m_CompletionBranchSlideCountSet?this.m_CompletionBranchSlideCount:this.countUniqItems(this.m_CompletionBranch);return c<=0?"NaN":a*100/c},isSlidePartOfCurrentBranch:function(a){return this.m_CurrentBranch.length>0&&this.m_CurrentBranch.indexOf(a)!=-1?true:false},getCompletionBranch:function(){this.m_CompletionBranchSet||this.findCompletionBranch();return!this.m_CompletionBranchSet?[]:this.m_CompletionBranch},
getCurrentBranch:function(){return this.m_CurrentBranch},getBranchHistory:function(){return this.m_BranchHistory},restoreCompletionBranchState:function(a){if(a.length>0){this.m_CompletionBranch=[];this.m_CompletionBranch=a;this.m_CompletionBranchSet=true}},restoreCurrentBranchState:function(a){if(a.length>0){this.m_CurrentBranch=[];this.m_CurrentBranch=a;this.m_BranchHistory=[];this.m_BranchHistory=a.slice()}},resetCurrentBranch:function(a){if(!(a<0)){for(var c=-1,d=0;d<this.m_CurrentBranch.length;++d)if(this.m_CurrentBranch[d]==
a){c=a;break}c>=0&&c+1<this.m_CurrentBranch.length&&this.m_CurrentBranch.splice(c+1)}},updateCurrentBranch:function(){},getMaxQuizScore:function(){return 0},getMinQuizScore:function(){return 0},getQuizScorePercentage:function(){return 0},getNextAttemptFirstQuestionSlideIndex:function(){return-1},getReviewFirstQuestionSlideIndex:function(){return-1},getNumQuestions:function(){return 0},getQuestionSlideProgressNumber:function(){return"NaN"},setQuestionSlideProgressNumber:function(){},getLastQuestionSlideIndex:function(){return-1},
getNextSlideList:function(a){var c=[];if(this.m_SlideGraphObj[a]!=void 0){var a=this.m_SlideGraphObj[a],d;for(d in a)c.push(Number(d))}return c},getIsJumpValid:function(a,c){return this.m_SlideGraphObj[a]==void 0||this.m_SlideGraphObj[a][c]==void 0?false:true}};cp.Timeline=function(a){cp.Timeline.baseConstructor.call(this,a);this.updateTimeline();this.pools=this.getAttribute("pools");this.currentSlideStartFrame=this.nextSlideStartFrame=this.previousSlideStartFrame=-1;this.movieEndAction=this.getAttribute("endAction");
this.fadeInAtStart=this.getAttribute("fadeInAtStart");this.fadeOutAtEnd=this.getAttribute("fadeOutAtEnd");this.noSkipFrames={};this.m_useWidgetVersion7=this.getAttribute("useWidgetVersion7");var c=this;this.paused=false;this.cStart=this.lastFrame+1;this.cEnd=-1;this.imagesToBeCleared=[];this.slideDiv=null;this.eventListeners=[];this.feedbacks=[];this.m_keyManager=new cp.KeyManager;this.m_clickManager=new cp.ClickManager;this.parentChildMap=[];this.videoCCItems=this.audioCCItems=null;this.curVidCCItem=
this.curAudCCItem=-1;this.itemsNotLoaded=[];this.interactivePauseFrame=-1;this.m_interactionManagers=[];this.mainSlideDiv=this.element.children[0];this.mainSlideDiv.style.display="block";if(a=document.getElementById("cpDocument")){jQuery(document).keydown(function(a){c.m_keyManager.handleKeyDown(a)});jQuery(document).keyup(function(a){c.m_keyManager.handleKeyUp(a)});jQuery(document).focusout(function(a){c.m_keyManager.handleFocusOut(a)})}a.style.backgroundColor=cp.D.project.htmlBgColor;this.verbose=
false};cp.inherits(cp.Timeline,cp.DisplayObject);cp.Timeline.prototype.updateTimeline=function(){this.slides=(this.getAttribute("slides")||"").split(",");this.questions=[];var a=this.getAttribute("questions")||"";if(a.length>0)this.questions=a.split(",");this.lastFrame=this.getAttribute("to")};cp.Timeline.prototype.addToItemNotLoaded=function(a){this.itemsNotLoaded.push(a)};cp.Timeline.prototype.removeFromItemNotLoaded=function(a){for(var c=0;c<this.itemsNotLoaded.length;++c)if(a==this.itemsNotLoaded[c]){this.itemsNotLoaded.splice(c,
1);break}};cp.Timeline.prototype.hasItemsLoaded=function(){var a=this.itemsNotLoaded.length>0;cp.verbose&&a>0&&cp.log(a+" widgets pending");return!a};cp.Timeline.prototype.addToParentChildMap=function(a,c){var d=0,e="",d=null;if(!(""==a||""==c)){for(d=0;d<this.parentChildMap.length;++d){e=this.parentChildMap[d].m_parent;if(e==a){this.parentChildMap[d].m_childArr.push(c);return}}d={};d.m_parent=a;d.m_childArr=[];d.m_childArr.push(c);this.parentChildMap.push(d)}};cp.Timeline.prototype.clearParentChildMap=
function(){this.parentChildMap=[]};cp.Timeline.prototype.getChildrenForParent=function(a,c){var d=0,e="";if(""!=a)for(d=0;d<this.parentChildMap.length;++d){e=this.parentChildMap[d].m_parent;if(e==a)for(j=0;j<this.parentChildMap[d].m_childArr.length;++j){c.push(this.parentChildMap[d].m_childArr[j]);this.getChildrenForParent(this.parentChildMap[d].m_childArr[j],c)}}};cp.Timeline.prototype.addKeyHandler=function(a){a&&this.m_keyManager.addHandler(a)};cp.Timeline.prototype.getClickManager=function(){return this.m_clickManager};
cp.Timeline.prototype.setupSlideItemDiv=function(a,c,d,e,f,g,k){var m="canvas",g="cp-shape",d=true;if(cp.kCPHighlight==a.t)g="cp-hb";else if(cp.kCPRolloverAreaItem==a.t)g="cp-rai";else if(cp.kCPZoomSource==a.t)g="cp-zoom";else if(cp.kCPMouse==a.t)d=true;else if(cp.kCPMouseClick==a.t){g="cp-mc";d=true}else if(cp.kCPOTReviewArea==a.t){m="div";g="cp-questionSlideReviewLabel";d=false}else if(cp.kCPOTProgressIndicator==a.t){m="div";g="cp-progressSlideLabel";d=false}else if(cp.kCPOTScoringResult==a.t){m=
"div";g="cp-resultSlideLabel";d=false}else if(cp.kCPTypingText==a.t){m="div";g="cp-typingtext"}else if(cp.kCPOTTextEntryBoxItem==a.t){m="div";g="cp-input";d=false}else if(cp.kCPOTLineItem==a.t)g="cp-line";else if(cp.kCPOTAnswerArea==a.t||cp.kCPOTMatchingQuestionArea==a.t||cp.kCPOTMatchingAnswerArea==a.t||cp.kCPOTLikertQuestionArea==a.t||cp.kCPOTLikertTotalGroupArea==a.t)g="cp-answerArea";else if(cp.kCPOTStageQuestionText==a.t||cp.kCPOTStageQuestionTitle==a.t)g="cp-rectWithText";else if(cp.kCPOTWidgetItem==
a.t){m="div";g="cp-widget";d=this.m_useWidgetVersion7}else if(cp.kCPOTWebObject==a.t){m="div";g="cp-WebObject";d=this.m_useWidgetVersion7}else if(cp.kCPOTTAItem==a.t){m="div";g="cp-ta"}else if(cp.kCPOTFLVItem==a.t){m="div";g="cp-eventVideo";d=true}else if(cp.kCPOTVideo==a.t){m="div";g="cp-slideVideo";d=true}else if(cp.kCPFullMotion==a.t){m="div";g="cp-fmrVideo";d=true}else if(cp.kCPOTVideoResource==a.t){m="div";g="cp-cpvcVideo";d=true}else if(cp.kCPOTAnimationItem==a.t){m="div";g="cp-animationItem";
d=true}else if(cp.extObjInfo)for(var l=0;l<cp.extObjInfo.length;++l)if(cp.IsValidObj(cp.extObjInfo[l].cb)){var n={};n.elemType=m;n.classType=g;n.rewrap=d;if(cp.extObjInfo[l].cb(a.t,n)){m=n.elemType;g=n.classType;d=n.rewrap;break}}l="c";if(cp.kCPOTStageAnswerItem==a.t){n=cp.D[a.n+"c"];n=n.at;if(n==cp.kCPOTStageSingleChoiceMultipleAnswer){l="r";g="cp-singleChoiceInput"}else if(n==cp.kCPOTStageMultipleChoiceMultipleAnswer){l="ch";g="cp-multipleChoiceInput"}else if(n==cp.kCPOTStageSequenceAnswer){l="seq";
g="cp-sequenceInput"}else if(n==cp.kCPOTStageMatchingAnswer){l="mtcha";g="cp-matchingAnswer"}m="div";d=false}if(cp.kCPOTQuestionFillBlank==a.t){g="cp-fibAnswer";l="fib";m="div";d=false}if(cp.kCPOTStageShortAnswer==a.t){g="cp-shortAnswer";l="sha";m="div";d=false}if(cp.kCPOTItemHotSpot==a.t){g="cp-hotspotInput";l="hotspot";m="div";d=false}if(cp.kCPOTStageMatchingQuestion==a.t){g="cp-matchingItem";l="mtchi";m="div";d=false}if(cp.kCPOTStageLikertQuestion==a.t){g="cp-likertItem";l="li";m="div";d=false}else if(cp.kCPOTOvalItem==
a.t||cp.kCPOTRectangleItem==a.t||cp.kCPOTPolygon==a.t||cp.kCPOTAnswerArea==a.t||cp.kCPOTMatchingQuestionArea==a.t||cp.kCPOTMatchingAnswerArea==a.t||cp.kCPOTLikertQuestionArea==a.t||cp.kCPOTLikertTotalGroupArea==a.t)g="cp-drawingItem";else if(cp.kCPOTTitleAutoShape==a.t||cp.kCPOTSubTitleAutoShape==a.t||cp.kCPOTAutoShape==a.t||cp.kCPOTRolloverAutoShape==a.t||cp.kCPOTStageCorrectFeedbackShape==a.t||cp.kCPOTSuccessShapeItem==a.t||cp.kCPOTStageIncorrectFeedbackShape==a.t||cp.kCPOTFailureShapeItem==a.t||
cp.kCPOTHintShapeItem==a.t||cp.kCPOTStagePartialCorrectFeedbackShape==a.t||cp.kCPOTRetryFeedbackShape==a.t||cp.kCPOTIncompleteFeedbackShape==a.t||cp.kCPOTTimeoutFeedbackShape==a.t||cp.kCPOTAnswerFeedbackShape==a.t)g="cp-autoShape";else if(cp.responsive&&(cp.kCPOTScorableButtonItem==a.t||cp.kCPOTRetakeButton==a.t||cp.kCPOTStageQuestionNextButton==a.t||cp.kCPOTStageQuestionClearButton==a.t||cp.kCPOTStageQuestionBackButton==a.t||cp.kCPOTStageQuestionSubmitButton==a.t||cp.kCPOTScoringReviewButton==a.t||
cp.kCPOTScoringContinueButton==a.t||cp.kCPOTSubmitAllButton==a.t||cp.kCPOTResetButton==a.t||cp.kCPOTUndoButton==a.t||cp.kCPOTDDSubmitButton==a.t||cp.kCPOTTextEntryButtonItem==a.t)){n=cp.D[a.n];if(n.subt!=cp.kImageButton)if(n.subt==cp.kTextButton){m="div";g="cp-textbutton"}else g="cp-drawingItem"}this.SetItemVisibility(a);if(k)m=cp(a.n+l);else{m=cp.newElem(m);m.id=a.n+l;m.setAttribute("class",g)}if(cp.kCPOTStageAnswerItem==a.t){c=cp.D[a.n+"c"];n=c.at;if(n==cp.kCPOTStageSequenceAnswer){m.setAttribute("tabIndex",
"-1");m.setAttribute("aria-label",c.accstr);cp.removeAccessibilityOutline(m);m.setAttribute("role","img")}}if(cp.kCPOTTextEntryBoxItem==a.t&&a.d){if(a.d.hc&&a.d.hc.length>0&&cp.device!=cp.IDEVICE&&cp.device!=cp.ANDROID){m.setAttribute("onmouseover",'cp.showHint("'+a.d.hc+'",this)');f.setAttribute("onmousemove",'cp.showHint("'+a.d.hc+'",this)');m.setAttribute("onmouseout",'cp.hideHint("'+a.d.hc+'",this)')}if(a.d.cur)m.style.cursor="text"}g=void 0;if(d){if(k)f=cp("re-"+m.id);else{f=cp.newElem("div");
f.id="re-"+m.id;f.setAttribute("tabIndex",-1);f.setAttribute("class","cp-rewrap");f.appendChild(m)}cp.kCPOTTAItem==a.t&&cp.removeAccessibilityOutline(f);g=f;(!k||!(cp.kCPOTWidgetItem==a.t||cp.kCPOTWebObject==a.t))&&e.appendChild(f)}else{g=f;k?cp.kCPOTWidgetItem!=a.t&&cp.kCPOTWebObject!=a.t&&e.appendChild(f):f.appendChild(m)}g.style.zIndex=c.zIndex;cp.fixWebkitScaling(g)};cp.Timeline.prototype.SetItemVisibility=function(a){if(a&&cp.kCPOTRetakeButton==a.t&&cp.movie.playbackController)if(a=cp.D[a.n]){var a=
cp.D[a.mdi],c=cp.movie.playbackController.GetQuizController();a&&c&&(a.visible=c.CanShowRetakeButton())}};cp.setupSlideBGDivAndCanvasInternal=function(a,c,d){var e=cp.D.project.w,f=cp.D.project.h,g=false,k=c.firstChild;if(!k){k=cp.newElem("div");k.setAttribute("class","cp-frameset");g=true}var m=k.id;k.id="Slide"+a.id;k.style.zIndex="0";if(cp.responsive){k.style.width="100%";k.style.height="100%"}else{k.style.left="0px";k.style.width=e+"px";k.style.height=f+"px"}g&&c.appendChild(k);var l,c=false;
if(g)c=false;else if(k.firstChild&&k.firstChild.id=="__bgDiv__"){l=k.firstChild;c=true}var n=false,o=false;if(a.gf){o=true;if(!c){l=cp.newElem("div");l.id="__bgDiv__";n=true}if(cp.browser_supports_svg){var q=cp.getGradientSvgStr(a.gf,e,f,cp("project").clientWidth/e,cp("project").clientHeight/f);if(q.length>0){l.setAttribute("class","");l.style.position="absolute";if(cp.responsive){l.style.width="100%";l.style.height="100%"}else{l.style.width=e+"px";l.style.height=f+"px"}l.innerHTML=q}}else{l.setAttribute("class",
"cp-gf");l.style.position="absolute";if(cp.responsive){l.style.width="100%";l.style.height="100%"}else{l.style.width=e+"px";l.style.height=f+"px"}l.firstChild&&l.firstChild.nodeName=="CANVAS"?l.firstChild.id="Slide"+a.id+"gf":l.innerHTML='<canvas id="Slide'+a.id+'gf"></canvas>'}}else if(a.imgf){o=true;if(!c){l=cp.newElem("div");l.id="__bgDiv__";n=true}l.setAttribute("class","cp-imgf");l.style.position="absolute";if(cp.responsive){l.style.width="100%";l.style.height="100%"}else{l.style.width=e+"px";
l.style.height=f+"px"}l.firstChild&&l.firstChild.nodeName=="CANVAS"?l.firstChild.id="Slide"+a.id+"imgf":l.innerHTML='<canvas id="Slide'+a.id+'imgf"></canvas>'}o?n&&(k.firstChild?k.insertBefore(l,k.firstChild):k.appendChild(l)):c&&k.removeChild(l);var p;g||(p=document.getElementById(m+"c"));if(!p){p=cp.newElem("canvas");p.setAttribute("class","cp-shape");k.appendChild(p)}p.id="Slide"+a.id+"c";g=cp.D[p.id];c=g.b;m=c[2]-c[0];l=c[3]-c[1];e=m!=e||l!=f;if(cp.responsive){var n=cp("project").clientWidth,
o=cp("project").clientHeight,f=m,c=l,q=n/m,u=o/l,q=q<u?q:u;if(g.aip){e=true;f=f*q;c=c*q}else{m>n&&(f=n);l>o&&(c=o)}if(n=g.css[cp.ResponsiveProjWidth].crop)if((o=cp.movie.im.images[g.ip])&&o.nativeImage&&o.nativeImage.complete){n=cp.getIntersectionRect([0,0,o.nativeImage.width,o.nativeImage.height],[n.x,n.y,f,c]);if(n.w>=0&&n.w<f||n.h>=0&&n.h<c)e=true}p.style.width=f+"px";p.style.height=c+"px";p.style.left=(cp("project").clientWidth-f)/2+"px";p.style.top=(cp("project").clientHeight-c)/2+"px"}else{p.style.width=
m+"px";p.style.height=l+"px";p.style.left=c[0]+"px";p.style.top=c[1]+"px"}if(d&&m>0&&l>0)if(d=g.aip?g.aip:g.ip)(d=cp.movie.im.images[d])&&d.nativeImage.complete&&p.getContext("2d").drawImage(d.nativeImage,0,0,p.clientWidth,p.clientHeight);if(k.style.backgroundColor!=a.bc&&e)k.style.backgroundColor=a.bc};cp.Timeline.prototype.isSlideBGCropped=function(){if(!cp.responsive||!this.currentSlide||!cp.D[this.currentSlide.mdi])return false;var a=cp.D[this.currentSlide.mdi];if(!a)return false;a=a.css;if(!a)return false;
a=a[cp.ResponsiveProjWidth];if(!a)return false;var c=a.crop!=void 0;if(c){this.currentSlide.cropX=a.crop.x;this.currentSlide.cropY=a.crop.y}return c};cp.Timeline.prototype.setupSlideDiv=function(a,c){cp.setupSlideBGDivAndCanvasInternal(a,c,false);var d=c.firstChild,e=document.getElementById("Slide"+a.id+"c");d.offsetHeight=d.offsetHeight;e.offsetHeight=e.offsetHeight;if(a.st=="Question Slide"){c.onclick=void 0;var f=cp.getQuestionObjectName(d.id);(f=cp.D[f])&&(f.qtp!="Hotspot"?cp.removeGestureEvent(c,
cp.GESTURE_EVENT_TYPES.TAP):cp.registerGestureEvent(c,cp.GESTURE_EVENT_TYPES.TAP,cp.handleClick))}else cp.registerGestureEvent(c,cp.GESTURE_EVENT_TYPES.TAP,cp.handleClick);this.m_EffectAnimationManager=void 0;if(this.m_SlideHasEffects||cp.movie.PPTXSlide)this.m_EffectAnimationManager=PPTXLib.initializeAnimationManagerForCPSlide(a);if(a.si.length>0)for(var f=a.si,g=0;g<f.length;++g){var k=f[g],m=cp.D[k.n];m.zIndex=g;var l,n=document.getElementById(k.n);if(n){l=n;this.setupSlideItemDiv(k,m,a,d,l,e,
true);m.rp==1&&l.tabIndex!==-1&&(m.rpa==1?l.setAttribute("tabIndex",2499):l.setAttribute("tabIndex",2500+m.zIndex))}else{l=cp.newElem("div");l.id=k.n;cp.device==cp.IDEVICE||cp.device==cp.ANDROID?cp.kCPOTFLVItem==k.t||cp.kCPOTVideo==k.t||cp.kCPFullMotion==k.t||cp.kCPOTVideoResource==k.t?l.setAttribute("class","cp-videoframeset"):l.setAttribute("class","cp-frameset"):l.setAttribute("class","cp-frameset");this.setupAccessibility(k,l);this.addHyperLinks(k,l);if(cp.kCPOTTextEntryButtonItem==k.t){var o=
l;cp.registerGestureEvent(l,cp.GESTURE_EVENT_TYPES.TAP,function(){cp.TEBValidator(o)})}if((cp.kCPOTScorableButtonItem==k.t||cp.kCPOTClickBoxItem==k.t||cp.kCPOTAutoShape==k.t)&&k.d){if(k.d.hc&&k.d.hc.length>0&&cp.device!=cp.IDEVICE&&cp.device!=cp.ANDROID){l.setAttribute("onmouseover",'cp.showHint("'+k.d.hc+'",this)');l.setAttribute("onmouseout",'cp.hideHint("'+k.d.hc+'",this)')}if(k.d.cur)cp.kCPOTAutoShape==k.t?m.handCursor=true:l.style.cursor="pointer"}this.setupSlideItemDiv(k,m,a,d,l,e);m.immo===
true&&l.tabIndex!==-1&&(a.mmot?l.setAttribute("tabIndex",2499):l.setAttribute("tabIndex",2500+f.length))}m=m.zIndex;cp.kCPOTWidgetItem==k.t||cp.kCPOTWebObject==k.t?(this.m_useWidgetVersion7||!n)&&c.appendChild(l):c.appendChild(l);l.style.zIndex=m;cp.fixWebkitScaling(l)}cp.createAlternativeAccessibleText(d,a.accstr,"img");cp.removeAccessibilityOutline(d);f=a.accstr;cp.D.pref.acc===0&&(f=" ");if(cp.SAFARI===cp.browser){d.setAttribute("role","img");d.setAttribute("aria-label",f)}else{e=cp.newElem("p");
e.innerHTML=f;f=cp.newElem("div");f.id=d.id+"accStr2";f.style.opacity=0;f.style.width="0px";f.style.height="0px";f.style.left="-1999px";f.style.position="fixed";f.appendChild(e);f.setAttribute("tabIndex","2400");d.appendChild(f)}};cp.Timeline.prototype.addHyperLinks=function(a,c){var d=function(a){return function(){cp.hyperlinkClick(a)}};if(a){var e=cp.D[a.n+"c"];if(e!=void 0&&e.hasOwnProperty("hl")!=false)for(var e=e.hl.split(","),f=0;f<e.length;++f){var g=e[f];if(g!=""){var k=cp.D[g];if(k==void 0)break;
if(k.oca=="")break;var m=k.b;if(m=="")break;var l;if(cp.responsive){if(l=cp(g))break;l=g.split("_");l=l[0].substr(2);l=document.getElementsByClassName(l);l=l[0];if(!l)continue}else l=cp.newElem("div");l.id=g;l.setAttribute("tabIndex",k.ti);l.setAttribute("aria-label",k.accstr);cp.D.pref.hsr===1&&cp.removeAccessibilityOutline(l);l.setAttribute("role","link");if(!cp.responsive){l.style.display="block";l.style.position="absolute";l.style.width=m[2]-m[0]+"px";l.style.height=m[3]-m[1]+"px";l.style.top=
m[1]+"px";l.style.left=m[0]+"px";l.style.backgroundColor="#FFFFFF";l.style.opacity=0;c.appendChild(l)}cp.responsive||cp.registerGestureEvent(l,cp.GESTURE_EVENT_TYPES.TAP,d(g));l.style.cursor="pointer"}}}};cp.Timeline.prototype.setupAccessibility=function(a,c){if(a){var d=cp.D[a.n+"c"];if(d!=void 0&&d.hasOwnProperty("accstr")!==false){var e=d.ti,f=cp.getAccessibilityString(d);if(a.t==cp.kCPOTCaptionItem||a.t==cp.kCPOTTitleAutoShape||a.t==cp.kCPOTScoringResultItem||cp.kCPOTSuccessCaptionItem==a.t||
cp.kCPOTImageBoxItem==a.t||cp.kCPOTFailureCaptionItem==a.t||cp.kCPOTHintCaptionItem==a.t||cp.kCPOTIncompleteFeedbackItem==a.t||cp.kCPOTStageCorrectFeedback==a.t||cp.kCPOTStageIncorrectFeedback==a.t||cp.kCPOTStagePartialCorrectFeedback==a.t||cp.kCPOTTimeoutFeedbackItem==a.t||cp.kCPOTRetryFeedbackItem==a.t||cp.kCPOTFillBlankCaption==a.t||cp.kCPOTStageMatchingQuestion==a.t||cp.kCPOTStageMatchingAnswer==a.t||cp.kCPOTStageAnswerItem==a.t||cp.kCPOTQuestionColumn==a.t||cp.kCPRolloverCaptionItem==a.t||cp.kCPRolloverImageItem==
a.t||cp.kCPOTStageCorrectFeedbackShape==a.t||cp.kCPOTSuccessShapeItem==a.t||cp.kCPOTStageIncorrectFeedbackShape==a.t||cp.kCPOTFailureShapeItem==a.t||cp.kCPOTHintShapeItem==a.t||cp.kCPOTStagePartialCorrectFeedbackShape==a.t||cp.kCPOTRetryFeedbackShape==a.t||cp.kCPOTIncompleteFeedbackShape==a.t||cp.kCPOTTimeoutFeedbackShape==a.t){c.setAttribute("tabIndex",-1);cp.kCPOTFillBlankCaption==a.t?cp.createAlternativeAccessibleText(c,d.fibText,"img"):cp.createAlternativeAccessibleText(c,f,"img");cp.removeAccessibilityOutline(c)}else if(cp.kCPOTStageMatchingAnswerEntry==
a.t){c.setAttribute("tabIndex",-1);cp.createAlternativeAccessibleText(c,"","img");cp.removeAccessibilityOutline(c)}else if(a.t==cp.kCPOTScorableButtonItem||a.t==cp.kCPOTRetakeButton||a.t==cp.kCPOTScoringReviewButton||a.t==cp.kCPOTScoringContinueButton){c.setAttribute("tabIndex",e);cp.createAlternativeAccessibleText(c,f,"button");cp.D.pref.hsr===1&&cp.removeAccessibilityOutline(c)}else if(a.t==cp.kCPOTTextEntryButtonItem){c.setAttribute("tabIndex",e);cp.createAlternativeAccessibleText(c,f,"button");
cp.D.pref.hsr===1&&cp.removeAccessibilityOutline(c)}else if(a.t==cp.kCPOTClickBoxItem){c.setAttribute("tabIndex",-1);cp.removeAccessibilityOutline(c);cp.createAlternativeAccessibleText(c,f,"button")}else if(a.t==cp.kCPOTLineItem||a.t==cp.kCPOTOvalItem||a.t==cp.kCPOTRectangleItem||a.t==cp.kCPOTPolygon||a.t==cp.kCPOTAutoShape){c.setAttribute("tabIndex",e);cp.createAlternativeAccessibleText(c,f,"img");cp.D.pref.hsr===1&&cp.removeAccessibilityOutline(c)}else if(a.t==cp.kCPOTStageQuestionText||a.t==cp.kCPOTStageQuestionTitle){c.setAttribute("tabIndex",
-1);cp.removeAccessibilityOutline(c);cp.createAlternativeAccessibleText(c,f,"img")}else if(a.t==cp.kCPOTStageQuestionNextButton||a.t==cp.kCPOTStageQuestionClearButton||a.t==cp.kCPOTStageQuestionBackButton||a.t==cp.kCPOTStageQuestionSubmitButton||a.t==cp.kCPOTSubmitAllButton){c.setAttribute("tabIndex",e);cp.createAlternativeAccessibleText(c,f,"button");cp.D.pref.hsr===1&&cp.removeAccessibilityOutline(c)}else if(a.t==cp.kCPOTAnimationItem||a.t==cp.kCPOTTAItem||a.t==cp.kCPOTTitleAutoShape||a.t==cp.kCPOTSubTitleAutoShape){c.setAttribute("tabIndex",
-1);cp.removeAccessibilityOutline(c);cp.createAlternativeAccessibleText(c,f,"img")}else if(a.t==cp.kCPOTFLVItem){c.setAttribute("tabIndex",e);cp.createAlternativeAccessibleText(c,f,"presentation")}else if(a.t==cp.kCPOTWidgetItem){c.setAttribute("tabIndex",e);cp.createAlternativeAccessibleText(c,f,"application");cp.D.pref.hsr===1&&cp.removeAccessibilityOutline(c)}}}};cp.Timeline.prototype.getSlideDiv=function(){return this.mainSlideDiv};cp.Timeline.prototype.canUpdateToFrame=function(a,c){var d=c;
d||(d=this.getSlideIndexForFrame(a));return this.canUpdateToSlide(d)};cp.Timeline.prototype.canUpdateToSlide=function(a){return a>=this.slides.length||a<0?false:cp.movie.playbackController?cp.movie.playbackController.AllowedToGoToSlide(cpInfoCurrentSlideIndex,a)=="":true};cp.Timeline.prototype.getSlideIndexForFrame=function(a){for(var c=0;c<this.slides.length;++c){var d=cp.D[this.slides[c]],e=d.to;if(a>=d.from&&a<=e)return c}return-1};cp.Timeline.prototype.getSlideNameForIndex=function(a){return 0<=
a&&a<this.slides.length?this.slides[a]:""};cp.Timeline.prototype.getSlideIndexForName=function(a){if(a==void 0||a=="")return-1;for(var c=0;c<this.slides.length;++c)if(a==this.slides[c])return c;return-1};cp.Timeline.prototype.updatePlaybar=function(a){cp.verbose&&cp.log("update playbar "+a);if(cp.responsive&&cp.PB&&cp.PB.playbarCreated&&cp.PB.rootObj&&cp.PB.rootObj.slider)this.frameSlider=cp.PB.rootObj.slider;if(!this.frameSlider)this.frameSlider=document.getElementById("playbarSlider");this.frameSlider!=
void 0&&this.frameSlider.updateSlider&&this.frameSlider.updateSlider(a-(Math.floor(cp.movie.framesToSkipForPlaybar)-cp.movie.framesToSkipForPlaybar))};cp.Timeline.prototype.updateToc=function(a){if(cp.loadedModules.toc&&cp.D.tocProperties.showTotalD){if(!this.toc)this.toc=document.getElementById("tocFooterText");this.toc!=void 0&&this.toc.updateTime(a)}};cp.Timeline.prototype.updateSlideNumber=function(){};cp.Timeline.prototype.setAdjacentSlidesStartFrames=function(a,c){this.updateSlideNumber(c);
var d=cp.D[a[c-1]];this.previousSlideStartFrame=d?d.from:-1;this.nextSlideStartFrame=(d=cp.D[a[c+1]])?d.from:-1};cp.Timeline.prototype.AddEventListeners=function(a){if(a.si.length>0)for(var a=a.si,c=0;c<a.length;++c){var d=a[c],e=cp.D[d.n];if((d=cp(d.n))&&e){var f=false,g={};if(cp.responsive){if(e.rpvt){var k=e.rpvt,m;for(m in k){var l=k[m].vt;g[m]=[];g[m].push(l)}}}else{g[cp.D.project.w]=[];g[cp.D.project.w].push(e.vt)}for(var n in g){k=g[n];if(void 0==e.vars&&void 0==e.varLens&&void 0==e.texts){e.vars=
{};e.varLens={};e.texts={}}for(l=0;l<k.length;++l){text=k[l];if(text!=void 0&&text!="")if(void 0==e.vars[n]&&void 0==e.varLens[n]&&void 0==e.texts[n]){var o=[],q=[],p=[],u=text.split("$$");if(u.length>=3)for(var s=0;s<u.length;s=s+2){p.push(u[s]);if(s+1<u.length){var v=u[s+1];if(!cp.vm||!cp.vm.hasOwnProperty(v))p.push("$$"+v+"$$");else{var x=0;if(v&&""!=v){f=cp.em.addEventListener(d,cp.SPECIFIC_VARIABLE_CHANGED_EVENT,v);x=cp.vm.getVariableLength(v)}void 0==v&&(v="");o.push(v);q.push(x)}}}else p.push(text);
e.vars[n]=o;e.varLens[n]=q;e.texts[n]=p}else for(var w in e.vars)if(o=e.vars[w])for(s=0;s<o.length;++s)cp.em.addEventListener(d,cp.SPECIFIC_VARIABLE_CHANGED_EVENT,o[s])}}f&&this.eventListeners.push(d)}}};cp.Timeline.prototype.AddFeedback=function(a){a&&this.feedbacks.push(a)};cp.Timeline.prototype.RemoveFeedbacks=function(a){for(var c=0,d=[],c=0;c<this.feedbacks.length;++c)cp.FeedbackCloseReason.SLIDE_CHANGE==a||this.feedbacks[c].canHide(a)?this.feedbacks[c].hide():d.push(this.feedbacks[c]);this.feedbacks=
[];for(c=0;c<d.length;++c)this.feedbacks.push(d[c])};cp.Timeline.prototype.RemoveFeedback=function(a){for(var c=0;c<this.feedbacks.length;++c)if(this.feedbacks[c]==a){this.feedbacks.splice(c,1);break}};cp.Timeline.prototype.UpdateFeedbacks=function(){for(var a=0;a<this.feedbacks.length;++a)this.feedbacks[a].update()};cp.Timeline.prototype.RemoveEventListeners=function(){for(var a=0;a<this.eventListeners.length;++a)cp.em.removeEventListener(this.eventListeners[a],cp.SPECIFIC_VARIABLE_CHANGED_EVENT);
this.eventListeners.length=0};cp.Timeline.prototype.getFrameset=function(a){for(var c=0,c=0;c<this.children.length;++c)if(a==this.children[c].element.id)return this.children[c];return null};cp.Timeline.prototype.correctReWrapZOrder=function(a,c){if(a&&(c&&a.id!=c.id)&&!(c.className!="cp-rewrap"||a.className!="cp-rewrap")){var d=c.parentElement;if(d)for(var e=d.firstChild;e.id!=c.id;e=e.nextSibling)if(e.id!=a.id&&e.className=="cp-rewrap"){var f=e.firstChild;if(f)if((f=f.firstChild)&&f.tagName=="VIDEO")continue;
cp.verbose&&cp.log("inserting "+e.id+" before "+a.id);d.insertBefore(e,a)}}};cp.Timeline.prototype.correctParentZOrder=function(a,c){if(a&&(c&&a.id!=c.id)&&!(c.className!="cp-frameset"||a.className!="cp-frameset")){var d=c.parentElement;if(d)for(var e=d.firstChild;e.id!=c.id;e=e.nextSibling)if(e.id!=a.id&&e.className=="cp-frameset"){cp.verbose&&cp.log("inserting "+e.id+" before "+a.id);d.insertBefore(e,a)}}};cp.Timeline.prototype.selectivelyRemoveHTMLObjects=function(a){var c=a.firstChild;if(c){var d=
{};if(this.children)for(var e=1;e<this.children.length;++e){var f=this.children[e],g=false;if(f.itemData.rp||f.itemData.ddv)f.itemData.from<=cpInfoCurrentFrame&&f.itemData.to>=cpInfoCurrentFrame&&(g=true);if(cp.kCPOTVideo==f.type){var k=f.children[0];if(k&&k.element)(k=k.element.firstChild)&&k.tagName=="VIDEO"&&(g=true)}else if(cp.IDEVICE==cp.device||cp.device==cp.ANDROID)if(cp.kCPOTFLVItem==f.type||cp.kCPFullMotion==f.type||cp.kCPOTVideo==f.type||cp.kCPOTVideoResource==f.type)if((k=f.children[0])&&
k.element)(k=k.element.firstChild)&&k.tagName=="VIDEO"&&(g=true);if(g){for(var m in f.children){k=f.children[m];if(k.element)(g=k.element.parentElement)&&(g.className=="cp-rewrap"?d[g.id]=1:d[k.element.id]=1)}f.element&&(d[f.element.id]=1);if(cp.IDEVICE==cp.device||cp.device==cp.ANDROID)f.suppliedElement&&(d[f.suppliedElement.id]=1)}}for(f=c.firstChild;f;f=e){e=f.nextSibling;if(f&&!(f.id=="__bgDiv__"||c.id+"c"==f.id||d[f.id])){f.onmouseover=null;f.onmouseout=null;f.ontouchstart=null;f.ontouchend=
null;f.onmousedown=null;f.onmouseup=null;f.ontouchmove=null;f.onclick=null;cp.removeGestureEvent(f,cp.GESTURE_EVENT_TYPES.TAP);cp.verbose&&cp.log("removing "+f.id);c.removeChild(f)}}for(c=c.nextSibling;c;c=e){e=c.nextSibling;if(!d[c.id]){c.onmouseover=null;c.onmouseout=null;c.ontouchstart=null;c.ontouchend=null;c.onmousedown=null;c.onmouseup=null;c.ontouchmove=null;c.onclick=null;cp.removeGestureEvent(c,cp.GESTURE_EVENT_TYPES.TAP);cp.verbose&&cp.log("removing "+c.id);a.removeChild(c)}}for(e=this.parentChildMap.length-
1;e>=0;--e)d[this.parentChildMap[e].m_parent]||this.parentChildMap.splice(e,1)}};cp.Timeline.prototype.loadAssetsForSlideAtIndex=function(a){cp.verbose&&cp.log("loadAssetsForSlideAtIndex "+a);cp.movie.pm.loadSlideAssets(a);var c=cp.movie.pm.numSlidesToAttemptPreloaded(),d=false,e=cp.D.sgMgr;if(e)if((e=e.sg)&&e.length>a)for(var e=e[a][1],f=e.length,g=0;c-- >0&&g<f;){a<this.slides.length-1&&cp.movie.pm.preloadSlideAssets(e[g][0]);++g;d=true}d||a<this.slides.length-1&&cp.movie.pm.preloadSlideAssets(a+
1)};cp.Timeline.prototype.addFramesetsForSlideAtIndex=function(a){cp.verbose&&cp.log("addFramesetsForSlideAtIndex "+a);var c=cp.D[this.slides[a]],d=this.getSlideDiv();this.RemoveFeedbacks(cp.FeedbackCloseReason.SLIDE_CHANGE);this.m_keyManager.clearHandlers();this.m_clickManager.clearClicks();this.selectivelyRemoveHTMLObjects(d);this.m_lowestRewrapElementThatIsRestOfProjectAndOnTop=this.m_lowestElementThatIsRestOfProjectAndOnTop=null;this.itemsNotLoaded=[];this.setupSlideDiv(c,d);var e=c.qs.split(",");
if(this.m_GraphManager)this.m_GraphManager.onSlideJump(a);if(cp.movie.playbackController){var f=cp.movie.playbackController.GetQuizController();if(e&&e!=""&&e.length>0){if(!f)return;for(var g=0;g<e.length;++g){var k=cp.getQuestionObject(e[g]);if(k){this.verbose&&cp.log("Starting question for : "+e[g]);k.m_isStarted=false}}}if(f)if(a==f.GetAnyScoreSlideIndex()){f.GetScore();if(!f.GetIsAllowReviewMode()&&f.GetIsQuizCompleted()){cp.movie.paused=true;shouldShowSlide=false}if(f.GetCurrentAttempt()>=f.GetNumberOfQuizAttempts()){f.GetIsAllowReviewMode()&&
f.SetIsInReviewMode(true);f.SetIsQuizCompleted(true)}f.GetIsPassed()&&f.SetIsQuizCompleted(true);f.GetScore()}else shouldShowSlide=false}ka={};a=[];for(d=d.firstChild;d;d=d.nextSibling)if(d.nodeType==Node.ELEMENT_NODE&&d.nodeName!="IMG"){e=false;if("Slide"+c.id==d.id)e=true;else for(f=0;f<c.si.length;++f)if(c.si[f].n==d.id){e=true;break}g=(d.className+"").split(" ");f=g.indexOf("cp-frameset")!=-1||g.indexOf("cp-videoframeset")!=-1;g=g.indexOf("cp-mask")!=-1;if((f||g)&&f){f=cp.parseFrameset(d);f.considerForUpdate=
e;f.timeline=self;a.push(f)}}this.children=a;c=null;a=cp.D[this.slides[cpInfoCurrentSlideIndex]].iph;if(null!=a&&a.length>0){c=this.m_interactionManagers[this.slides[cpInfoCurrentSlideIndex]];if(c==void 0)(c=cp.CreateInteractionManager(a))&&(this.m_interactionManagers[this.slides[cpInfoCurrentSlideIndex]]=c);cp.SetCurrentInteractionManager(c)}this.m_EffectAnimationManager&&this.m_EffectAnimationManager.start()};cp.Timeline.prototype.getCurrentSlideInteractionManager=function(){return this.m_interactionManagers[this.slides[cpInfoCurrentSlideIndex]]};
cp.Timeline.prototype.handleRewindForFramesets=function(){for(var a=0;a<this.children.length;++a)this.children[a].handleRewind()};cp.Timeline.prototype.initializeGraphManager=function(){if(cp.D.baq&&cp.D.sgMgr!=void 0){this.m_GraphManager=cp.movie.playbackController?cp.movie.playbackController.GetGraphManager():new cp.SlideGraphManager;this.m_GraphManager!=void 0&&this.m_GraphManager.initialize()}};cp.Timeline.prototype.createQuestionObjs=function(){this.questions=[];var a=this.getAttribute("questions")||
"";if(a.length>0)this.questions=a.split(",");for(a=0;a<this.questions.length;++a){var c=this.questions[a];if(""!=c){var d=cp.D[c],e=d.sn;switch(d.qtp){case "MCQ":c=new cp.MultipleChoiceQuestion(c,e);break;case "Hotspot":c=new cp.HotspotQuestion(c,e);break;case "Sequence":c=new cp.SequenceQuestion(c,e);break;case "Matching":c=new cp.MatchingQuestion(c,e);break;case "FIB":c=new cp.FIBQuestion(c,e);break;case "ShortAnswer":c=new cp.ShortAnswerQuestion(c,e);break;case "Widget":c=new cp.WidgetQuestion(c,
e);break;case "InteractiveItemQuestion":c=new cp.InteractiveItemQuestion(c,e);break;case "InteractiveWidgetQuestion":c=new cp.InteractiveWidgetQuestion(c,e);break;case "DragDropQuestion":d=d.itn;c=new cp.DragDropQuestion(c,e,d);break;case "LIKERT":d=d.itn;c=new cp.LikertQuestion(c,e,d);break;default:c=new cp.Question(c,e)}if(!c)break;cp.movie.questionObjs[a]=c}}};cp.Timeline.prototype.getNextBoundForNoLoad=function(a){a=a<this.slides.length?a:this.slides.length-1;return cp.D[this.slides[a]].to};cp.Timeline.prototype.getPreviousBoundForNoLoad=
function(a){return cp.D[this.slides[a>=0?a:0]].from};cp.Timeline.prototype.loadSlideAtIndex=function(a){if(!(this.slides.length<=0)){G={};cp.cpIDMap={};var c=this.slides[a],d=cp.D[c],e=d.from,f=d.to;svvi("cpInfoCurrentSlide",a+1,["cpInfoCurrentSlide"]);svvi("cpInfoCurrentSlideLabel",d.lb,["cpInfoCurrentSlideLabel"]);this.currentSlide=d;cp.adjustProjectHeight(this.currentSlide);this.cStart=e;this.cEnd=f;this.audioCCItems=d.audCC;this.videoCCItems=d.vidCC;this.curVidCCItem=this.curAudCCItem=-1;cp.movie.ccText.innerHTML=
"";cp.movie.PPTXSlide="PPTX Slide"==d.st;this.m_SlideHasEffects=PPTXLib.hasAnimationInfo(d);cp.movie.resetMovieElapsedTime(cp.movie.PPTXSlide);cp.movie.am.changeCurrentSlide(a,e,true);d.v=true;cp.D.project_main.currentFrame=e;this.slideEnterAction=d.sea;this.slideExitAction=d.sxa;this.currentSlideStartFrame=e;this.currentSlideStartTime=this.currentSlideStartFrame*1E3/cp.getCpInfoOriginalFPS();this.setAdjacentSlidesStartFrames(this.slides,a);try{this.RemoveEventListeners();this.addFramesetsForSlideAtIndex(a);
this.AddEventListeners(d);this.noSkipFrames={};this.forEachChild(Ra);PPTXLib.updateNoSkipFramesFromEffectData(d);this.noSkipFrames[this.cEnd]=this.cEnd;this.noSkipFrames[this.cEnd+1]=this.cEnd+1;var g=this.m_interactionManagers[c];if(g){var k=g.PauseAtFrame();k!=-1&&(this.noSkipFrames[k]=k)}}catch(m){cp.log(m);m.stack&&cp.log(m.stack)}}};cp.Timeline.ReasonForUpdate={};cp.Timeline.ReasonForUpdate.PROGRESS=1;cp.Timeline.ReasonForUpdate.JUMP=2;cp.Timeline.prototype.fallsOutsideCurrentSlide=function(){return this.cEnd<
cpInfoCurrentFrame||this.cStart>cpInfoCurrentFrame};cp.Timeline.prototype.updateFrame=function(a){var c=true;this.updatingFrame=cpInfoCurrentFrame;if(cp.movie.executedActionOnFrame!=this.updatingFrame)cp.movie.executedActionOnFrame=void 0;this.updatePlaybar(cpInfoCurrentFrame);this.updateToc(cpInfoCurrentFrame);var d={};d.frame=cpInfoCurrentFrame;d.timeInMillSecs=1E3*(cpInfoCurrentFrame/cpInfoFPS);cp.em.fireEvent("CPTime_Update",d);if(cpInfoCurrentFrame>this.lastFrame)this.onEndOfMovie();else{if(this.cEnd==
cpInfoCurrentFrame){if(cp.movie.playbackController)if(d=cp.movie.playbackController.GetQuizController()){var e=cp.movie.playbackController.GetLMSType();e&&(e=e.toUpperCase());d.GetIsReportingEnabled()&&(e!="EMAIL"&&e!="ACROBAT"&&e!="INTERNALSERVER")&&cp.movie.playbackController.SendCourseData(false)}e=1;cpInfoCurrentSlideIndex&&(e=cpInfoCurrentSlideIndex+1);if(e>=this.slides.length&&cp.movie.playbackController)if((d=cp.movie.playbackController.GetQuizController())&&d.DoSubmitAll(cpInfoCurrentSlideIndex)){cp.movie.pause(cp.ReasonForPause.CANNOT_MOVE_AHEAD);
return}if(!this.canUpdateToSlide(e)&&e<this.slides.length){cp.movie.pause(cp.ReasonForPause.CANNOT_MOVE_AHEAD);return}cp.movie.play();var e=cpInfoCurrentFrame,f=false;if(cp.movie.playbackController)if(d=cp.movie.playbackController.GetQuizController()){var g=d.GetSlideType(cpInfoCurrentSlideIndex);if(g=="Question"||g=="AnyScoreSlide")f=d.LeaveSlide(cpInfoCurrentSlideIndex)}if(typeof cptb!="undefined"&&cptb.onSlideExit)cptb.onSlideExit(cp.D[this.slides[cpInfoCurrentSlideIndex]]);f||cp.movie.frameBasedExecuteAction(this.slideExitAction);
if(e!=cpInfoCurrentFrame)return}d=false;if(this.fallsOutsideCurrentSlide(cpInfoCurrentFrame)){if(this.cEnd!=-1){c=this.slides[cpInfoCurrentSlideIndex];(d=this.m_interactionManagers[c])&&d.handleSlideExit();c=cp.D[c];c.slideNumber=cpInfoCurrentSlideIndex+1;c.lcpversion=ca();c.frameNumber=cpInfoCurrentFrame;e=-1;if(cp.movie)(f=cp.movie.playbackController)&&(e=f.GetPercentageSlidesSeen());c.percentageSlideSeen=e;if(cp.IsRunningInACAP)c.navid=this.slides[cpInfoCurrentSlideIndex];cp.em.fireEvent("CPSlideExit",
c)}this.onEndOfSlide(a);svvi("cpInfoPrevSlide",cpInfoCurrentSlideIndex,["cpInfoPrevSlide"]);svvi("cpInfoLastVisitedSlide",cpInfoCurrentSlideIndex,["cpInfoLastVisitedSlide"]);cp.movie.cpInfoLastVisitedSlideStartFrame=this.currentSlideStartFrame;g=this.getSlideIndexForFrame(cpInfoCurrentFrame);cp.movie.playbackController&&cp.movie.playbackController.LeaveCurrentSlide(g);this.loadSlideAtIndex(g);d=true;cp.movie.playbackController&&cp.movie.playbackController.SetCurrentSlide(g);if(typeof cptb!="undefined"&&
cptb.onSlideEnter)cptb.onSlideEnter(cp.D[this.slides[cpInfoCurrentSlideIndex]]);cp.movie.frameBasedExecuteAction(this.slideEnterAction);c=cp.D[this.slides[cpInfoCurrentSlideIndex]];c.slideNumber=cpInfoCurrentSlideIndex+1;c.frameNumber=cpInfoCurrentFrame;c.lcpversion=ca();e=-1;if(cp.movie)(f=cp.movie.playbackController)&&(e=f.GetPercentageSlidesSeen());c.percentageSlideSeen=e;if(cp.IsRunningInACAP)c.navid=this.slides[cpInfoCurrentSlideIndex];cp.em.fireEvent("CPSlideEnter",c);if(c=document.getElementById(this.slides[g]))(c=
document.getElementById(c.id+"accStr2"))&&c.focus();c=false}this.syncMotionToFrame(cpInfoCurrentFrame);this.updateToFrame(cpInfoCurrentFrame,false,a);cp.responsive&&!c&&cp.adjustResponsiveItems(cp.ReasonForDrawing.kSlideChanged);if(a==cp.Timeline.ReasonForUpdate.JUMP){cp.movie.am.seekTo(cpInfoCurrentFrame,c);cp.movie.vdm.seekTo(cpInfoCurrentFrame,true)}if(d){a=this.getSlideIndexForFrame(cpInfoCurrentFrame)+1;c=cp.movie.stage.getSlideNameForIndex(a);cp.multiAudioTrack&&c!=""&&cp.movie.am.preload(c);
c!=""&&cp.movie.vdm.preload(c)}c=cp.D[this.slides[cpInfoCurrentSlideIndex]];if(c.si.length>0){a=c.si;c=-1;for(d=0;d<a.length;++d){f=a[d];e=document.getElementById(f.n);if(f.t===cp.kCPOTTextEntryBoxItem)if(c===-1)c=d;else{f=document.getElementById(a[c].n);e.tabIndex<f.tabIndex&&(c=d)}}if(c!==-1)(this.inputField=document.getElementById(a[c].n+"_inputField"))&&this.inputField.focus()}this.pauseAtFrame(cpInfoCurrentFrame);cp.movie.paused?cpInfoCurrentFrame==1&&cp.movie.am.play(1,true):cp.movie.am.play(cpInfoCurrentFrame)}};
cp.Timeline.prototype.attemptToAdvanceCurrentFrameByOffset=function(a){if(!(a<=0)){var c=true,a=cpInfoCurrentFrame+a,d;for(d in this.noSkipFrames){var e=this.noSkipFrames[d];if(cpInfoCurrentFrame<e&&a>e){a=e;c=false;break}}L(a,c)}};cp.Timeline.prototype.updateFrameCurrentOnPause=function(){this.updateToFrame(cpInfoCurrentFrame,true)};cp.Timeline.prototype.pauseAtFrame=function(a){if(!this.paused){this.paused=false;this.forEachChild(function(c){var e=cp.D[c.element.id],f=cp.D[e.mdi].visible;if(a!=
cp.movie.stage.interactivePauseFrame)if(f&&(c.pa==a||c.rp_pa&&a==c.rp_pa)){if((f=e.handled)&&(cp.kCPOTClickBoxItem==e.type||cp.kCPOTScorableButtonItem==e.type||cp.kCPOTAutoShape==e.type))f=false;if(!f&&(!e.iqb&&!e.clickedOnce)&&(void 0==e.enabled||e.enabled)){cp.movie.am.interactiveItemFound=true;if(cp.D[c.element.id].ssp)cp.movie.am.ssp=1;cp.movie.pause(cp.ReasonForPause.INTERACTIVE_ITEM);if(cp.movie.paused&&null!=cp.movie.stage.currentSlide)cp.movie.stage.currentSlide.topMostObjectInteractiveObject=
c.element.id}}else if(c.psv==a&&f&&!e.pausedOnce&&(void 0==e.enabled||e.enabled)){if(c=c.children[0])if(f=c.element)if((f=f.firstChild)&&f.tagName=="VIDEO"&&c.started&&(f.paused||f.ended))return;e.pausedOnce=true;cp.movie.pause(cp.ReasonForPause.EVENT_VIDEO_PAUSE)}});var c=this.m_interactionManagers[this.slides[cpInfoCurrentSlideIndex]];c!=void 0&&a!=cp.movie.stage.interactivePauseFrame&&c.CheckInteractionPause(a)&&cp.movie.pause(cp.ReasonForPause.INTERACTIVE_ITEM)}};cp.Timeline.prototype.updateAudioCC=
function(){if(this.audioCCItems){var a=cp.movie.am.slideAudios[cp.movie.am.currentSlideAudio];if(a&&a.nativeAudio){var c=a.nativeAudio.currentTime*cp.movie.fps,d=0;c!=0&&(d=c+a.from);this.updateCC(this.audioCCItems,this.curAudCCItem,d)}}};cp.Timeline.prototype.updateVideoCC=function(a){this.videoCCItems&&this.updateCC(this.videoCCItems,this.curVidCCItem,a)};cp.Timeline.prototype.updateCC=function(a,c,d){if(cpCmndCC){var e=cp.movie.ccText,f=cp.movie.ccLines,d=d-(this.cStart-1),g=a.length-1,k=1,m=this.cEnd-
this.cStart+1;if(g>=0){k=a[g].sf;m=a[g].ef}for(;g>=0;--g){if(k>a[g].sf)k=a[g].sf;if(m<a[g].ef)m=a[g].ef;if(a[g].sf<=d&&a[g].ef>=d){if(c==g)return;var l="",n=a[g].t.split("<br/>");if(n.length>0)for(var l=n[0],o=1;o<n.length&&o<f;++o)l=l+"<br/>"+n[o];e.innerHTML=l}}if(d<k||d>m)e.innerHTML=""}};cp.Timeline.prototype.updateToFrame=function(a,c,d){if(!(a>this.lastFrame)){this.updateAudioCC();if(!this.paused&&!this.yield){var e=this.lastFrame-a;this.mainSlideDiv.style.opacity=this.fadeInAtStart&&a<=this.fadeInAtStart?
a/this.fadeInAtStart:this.fadeOutAtEnd&&a>this.lastFrame-this.fadeOutAtEnd?e/this.fadeOutAtEnd:1;this.updateVideoCC(a);if(!cp.movie.waitingForResources()){if(this.interactivePauseFrame!=a)this.interactivePauseFrame=-1;this.forEachChild(function(e){e.considerForUpdate&&(e.isInRange(a)?e.isStarted?c?e.start(c,cp.ReasonForDrawing.kMoviePaused):e.updateFrame(d):e.start(c,cp.ReasonForDrawing.kRegularDraw):e.isStarted&&e.reset())});this.m_EffectAnimationManager!=void 0&&(cp.movie.PPTXSlide||this.m_SlideHasEffects)&&
PPTXLib.updateAnimationManager()}}}};cp.Timeline.prototype.onEndOfSlide=function(a){this.forEachChild(function(c){c.onEndOfSlide(a)})};cp.Timeline.prototype.onEndOfMovie=function(){if(!(this.onEndOfMovieExecutedFrame!=void 0&&this.onEndOfMovieExecutedFrame<this.updatingFrame)){this.onEndOfMovieExecutedFrame=this.updatingFrame;cp.em.fireEvent("CPMovieStop");this.forEachChild(function(a){a.onEndOfMovie()});cp.movie.pause(cp.ReasonForPause.MOVIE_ENDED);cp.movie.frameBasedExecuteAction(this.movieEndAction)}};
cp.Timeline.prototype.syncMotionToFrame=function(a,c){this.forEachChild(function(d){d.isStarted&&d.isInRange(a)&&d.ApplyMotion(a,c)})};cp.Timeline.prototype.start=function(){this.paused=false;this.element.style.display="block";this.m_keyManager.clearHandlers();this.m_clickManager.clearClicks();cpInfoCurrentFrame<=1&&L(1);this.updateToFrame(cpInfoCurrentFrame);this.RemoveFeedbacks(cp.FeedbackCloseReason.SLIDE_CHANGE);this.clearParentChildMap()};cp.Timeline.prototype.reset=function(){this.paused=false;
this.element.style.display="none";this.m_keyManager.clearHandlers();this.m_clickManager.clearClicks();L(0);this.updateToFrame(cpInfoCurrentFrame);this.RemoveFeedbacks(cp.FeedbackCloseReason.SLIDE_CHANGE);this.clearParentChildMap()};cp.Timeline.prototype.stop=function(){this.paused=true};var z={};cp.initObjectFactory=function(){z.questionSlideReviewLabel=cp.QuestionSlideReviewLabel;z.progressSlideLabel=cp.ProgressSlideLabel;z.fibAnswer=cp.FIBAnswer;z.shortAnswer=cp.ShortAnswer;z.sequenceInput=cp.SequenceInput;
z.matchingAnswer=cp.MatchingAnswer;z.matchingItem=cp.MatchingItem;z.likertItem=cp.LikertItem;z.hotspotInput=cp.HotspotInput;z.multipleChoiceInput=cp.MCQInput;z.resultSlideLabel=cp.ResultSlideLabel;z.singleChoiceInput=cp.MCQInput;z.input=cp.TextInput;z.textbutton=cp.TextButton;z.shape=cp.Shape;z.image=cp.DisplayObject;z.group=cp.Group;z.svg=cp.DisplayObject;z.text=cp.DisplayObject;z.placeholder=cp.Placeholder;z.hb=cp.HighlightBox;z.rai=cp.RolloverAreaItem;z.mc=cp.MouseClick;z.gf=cp.Gradient;z.imgf=
cp.ImageFill;z.typingtext=cp.TypingText;z.line=cp.Line;z.drawingItem=cp.DrawingItem;z.answerArea=cp.AnswerArea;z.rectWithText=cp.RectWithText;z.autoShape=cp.AutoShape;z.widget=cp.Widget;z.WebObject=cp.WebObject;z.eventVideo=cp.EventVideo;z.slideVideo=cp.SlideVideo;z.fmrVideo=cp.FMRVideo;z.cpvcVideo=cp.CPVCVideo;z.zoom=cp.Zoom;z.ta=cp.TextAnimation;z.animationItem=cp.AnimationItem;if(cp.extObjInfo&&cp.IsValidObj(cp.extObjInfo))for(var a=0;a<cp.extObjInfo.length;++a)if(cp.IsValidObj(cp.extObjInfo[a]))z[cp.extObjInfo[a].n]=
cp.extObjInfo[a].cls};var ka={};cp.ropMap={};var G={};cp.cpIDMap={};cp.parseChildren=function(a,c){var d=[],e=a.id+"c";ka[e]&&d.push(ka[e]);for(e=a.firstChild;e;e=e.nextSibling){var f=e,g=false;if(e.className=="cp-rewrap"){f=e.firstChild;g=true}if(f.nodeType==Node.ELEMENT_NODE){for(var k=(f.className+"").split(" "),m=null,l,n=false,o="",q=0;q<k.length&&m==null;++q)if(k[q].substr(0,3)=="cp-"){l=k[q].substr(3);var m=z[l],p=k[q].substr(3);if(p=="gf"||p=="imgf"||p=="drawingItem"||p=="answerArea"||p==
"rectWithText"||p=="autoShape")n=true;if((p=="gf"||p=="imgf")&&f.parentElement)o=f.parentElement.id}if(m){if(k=cp.ropMap[f.id]){k.restOfProjectDoOnNewSlide();cp.verbose&&cp.log("resued childObj from cp.ropMap for "+f.id)}else{if(n){if(0==o.length)o=f.id;k=new m(f,o,c)}else k=new m(f,c);cp.verbose&&cp.log("created new "+l);m=0;if(n=k.getAttribute("dn"))m=cp.D[n].rp;if(f.id&&1==m){cp.ropMap[f.id]=k;cp.verbose&&cp.log("added "+f.id+" to cp.ropMap")}}G[f.id]=k;g?ka[f.id]=k:d.push(k)}}}return d};cp.removeFromDisplayObjectMap=
function(a){G[a]=void 0};cp.parseFrameset=function(a){cp.verbose&&cp.log("parseFrameset "+a.id);var c=cp.parseChildren(a);PPTXLib.instanceManager&&PPTXLib.addToInstanceManager(a.id,c[0]);if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID){var d=cp.D[a.id];if(d){d=d.type;if(cp.kCPOTFLVItem==d||cp.kCPOTVideo==d||cp.kCPFullMotion==d||cp.kCPOTVideoResource==d)return new cp.VideoFrameSet(a,c)}}c=new cp.FrameSet(a,c);return G[a.id]=c};cp.parseTimeline=function(a){return new cp.Timeline(a)};cp.CacheView=function(a){this.index=
a;if(!cp.CacheView.DIM){cp.CacheView.DIM=20;cp.CacheView.GAP=5;cp.CacheView.LEFT_OFFSET=100;cp.CacheView.TOP_OFFSET=30;cp.CacheView.NUM_CACHE_VIEWS=0}this.view=cp.newElem("div");document.body.appendChild(this.view);this.view.style.cssText="z-index:100;display:block; position:fixed; left:"+(cp.CacheView.LEFT_OFFSET+cp.CacheView.NUM_CACHE_VIEWS*(cp.CacheView.DIM+cp.CacheView.GAP))+"px; top:"+cp.CacheView.TOP_OFFSET+"px; width:"+cp.CacheView.DIM+"px; height:"+cp.CacheView.DIM+"px; background-color:#555555;opacity:0.8";
this.view.innerHTML="<font color='#000000' style='font-size:10px'>-1</font>";++cp.CacheView.NUM_CACHE_VIEWS};cp.CacheView.prototype={update:function(){var a=cp.movie.pm.cache[this.index];this.view.innerHTML="<font color='#000000' style='font-size:10px'>"+a+"</font>";this.view.style.backgroundColor=this.index==cp.movie.pm.tail?"#ffff00":this.index==cp.movie.pm.head?"#0000ff":a!=-1?"#00ff00":"#555555"}};cp.PrefetchManager=function(){cp.movie.pm=this;this.cache=cp.device==cp.DESKTOP?Array(7):Array(4);
for(var a=0;a<this.cache.length;++a)this.cache[a]=-1;this.tail=this.head=0;this.viewCache=false};cp.PrefetchManager.prototype={numSlidesToAttemptPreloaded:function(){return this.cache.length-3},print:function(){for(var a="[ ",c=this.tail;c!=this.head;c=(c+1)%this.cache.length){a=a+this.cache[c];a=a+" "}console.log("cached slides:"+(a+"]"))},showCache:function(){if(this.viewCache)for(var a=0;a<this.cacheViews.length;++a)this.cacheViews[a].update()},slideWasPrefetched:function(a){for(var c=this.tail;c!=
this.head;c=(c+1)%this.cache.length)if(this.cache[c]==a)return true;return false},ifPrefetchedMakeMRU:function(a){for(var c=this.tail;c!=this.head;c=(c+1)%this.cache.length)if(this.cache[c]==a){for(var d=(c+1)%this.cache.length;d!=this.head;){this.cache[c]=this.cache[d];c=d;d=(c+1)%this.cache.length}this.cache[c]=a;return true}return false},throwAwayLRUSlide:function(){if(this.head!=this.tail){var a=this.cache[this.tail];cp.movie.im.verbose&&cp.log("throwing Away LRU Slide "+a);var c=cp.D[cp.movie.stage.slides[a]],
d=cp.D[c.mdi].ip;d!=""&&cp.movie.im.unloadImage(a,d);if(c=c.si)for(d=0;d<c.length;++d){var e=cp.D[c[d].n],f=cp.D[e.mdi];if(f){var g=f.ip;if(g){var k=false;e.pa||(k=e.rp=="1");if(!k){cp.movie.im.unloadImage(a,g);(g=f.uImg)&&cp.movie.im.unloadImage(a,g);(g=f.hImg)&&cp.movie.im.unloadImage(a,g);(g=f.pImg)&&cp.movie.im.unloadImage(a,g);(e=f.imgf)&&(e.img&&e.img.ip&&e.img.ip.length>0)&&cp.movie.im.unloadImage(a,e.img.ip);if(f=f[cp.kPPTXSlideImagesStr])for(e=0;e<f.length;++e)f[e].ip.length>0&&cp.movie.im.unloadImage(a,
cp.kPPTXSlideImagesDir+f[e].ip)}}}}this.cache[this.tail]=-1;this.tail=(this.tail+1)%this.cache.length}},isLoading:function(){return this.loading},loadSlideAssets:function(a){if(this.loading)return false;this.loading=true;try{cp.movie.im.verbose&&cp.log("loading assets of slide "+a);if(this.ifPrefetchedMakeMRU(a))M(a,true);else{var c=(this.head+1)%this.cache.length;c==this.tail&&this.throwAwayLRUSlide();M(a,true);this.cache[this.head]=a;this.head=c}cp.movie.im.verbose&&this.print()}catch(d){}this.loading=
false;this.showCache();return true},preloadSlideAssets:function(a){cp.movie.im.verbose&&cp.log("preloading assets of slide "+a);if(!this.slideWasPrefetched(a)){var c=(this.head+1)%this.cache.length;c==this.tail&&this.throwAwayLRUSlide();M(a);this.cache[this.head]=a;this.head=c}cp.movie.im.verbose&&this.print();this.showCache()}};cp.ImageObject=function(a,c,d){this.im=a;this.nativeImage=new Image;this.nativeImage.cpImage=this;this.src=c;this.complete=false;this.loaders={};this.preloaded=false;this.isProjectImage=
d;this.includedInViews={};this.monitorFunc=function(a){a.target.cpImage.complete=true;cp.responsive&&cp.movie.stage&&cp.movie.stage.lastFrame<cpInfoCurrentFrame&&cp.movie.im&&!cp.movie.im.imagesNotLoaded()&&cp.adjustResponsiveItems();cp.movie.im.verbose&&cp.log("loaded "+a.target.src)}};cp.ImageObject.prototype={isIncludedInView:function(){var a=!cp.responsive;if(cp.responsive){if(this.isProjectImage)return true;var c=cp.ResponsiveProjWidth;if(cp.DESKTOP!=cp.device){if(window.innerWidth>window.innerHeight){a=
window.innerWidth;c=window.innerHeight}else{a=window.innerHeight;c=window.innerWidth}a=cp.getCorrectBreakpoint(a);c=cp.getCorrectBreakpoint(c);a=this.includedInViews[a]==1||this.includedInViews[c]==1}else if(cp.m_isPreview)a=true;else{a=cp.getCorrectBreakpoint(window.innerWidth);a=this.includedInViews[a]==1}}return a},load:function(a,c){if(!(void 0==this.src||""==this.src||null==this.src))if(!cp.responsive||this.isIncludedInView()){if(this.im.verbose){cp.log("load (monitor = "+c+") "+this.src);this.complete&&
cp.log("completed");this.nativeImage.onload&&cp.log("onload is set")}if(!this.complete&&!this.nativeImage.onload){this.monitor=true==c?true:false;this.nativeImage.onload=this.monitorFunc}if(!this.complete&&this.nativeImage.onload&&true==c)this.monitor=true;this.loaders[a]=1;this.im.verbose&&cp.log("loaded by = "+a);if(true!=c)this.preloaded=true;if(this.nativeImage.src==""){this.im.verbose&&cp.log("loading "+this.src);this.nativeImage.src=this.src;return true}}},unload:function(a){this.im.verbose&&
cp.log("unload "+this.src+" preloaded = "+this.preloaded);this.loaders[a]&&delete this.loaders[a];var a=0,c;for(c in this.loaders)++a;if(a==0){this.im.verbose&&cp.log("unloading "+this.src);this.nativeImage=new Image;this.nativeImage.cpImage=this;this.monitor=this.preloaded=this.complete=false;return true}return false}};cp.ImageManager=function(){cp.movie.im=this;this.images={};this.preloadingProjectImages=false;this.m_projectImages={};this.verbose=false;this.reset();for(var a=cp.model.projectImages,
c=0;c<a.length;++c)this.m_projectImages[a[c]]=new cp.ImageObject(this,a[c],true);a=cp.model.images;for(c=0;c<a.length;++c){var d=a[c],e=new cp.ImageObject(this,cp.responsive?d.ip:d,false);if(cp.responsive)e.includedInViews=d.ipiv;this.images[d.ip]=e}};cp.ImageManager.prototype={imagesNotLoaded:function(){var a=0;if(this.preloadingProjectImages)for(var c in this.m_projectImages)this.m_projectImages[c].monitor&&!this.m_projectImages[c].complete&&++a;else for(c in this.images)this.images[c].monitor&&
!this.images[c].complete&&++a;this.verbose&&a>0&&cp.log(a+" imaged pending");return a>0},loadImages:function(a,c,d,e){if(c.length!=0){this.preloadingProjectImages=e?true:false;for(var f=0;f<c.length;++f){var g=c[f],k=e?this.m_projectImages[g]:this.images[g];if(!k){k=new cp.ImageObject(this,g,e);e?this.m_projectImages[g]=k:this.images[g]=k}k.load(a,d)}}},unloadImage:function(a,c){var d=this.images[c];d&&d.unload(a)},reset:function(){if(this.preloadingProjectImages)for(var a in this.m_projectImages)this.m_projectImages[a].monitor=
false;else for(a in this.images)this.images[a].monitor=false}};cp.MediaSeeker=function(){cp.movie.ms=this;this.retryQueue={};this.enabled=this.verbose=false;if(cp.browser==cp.MSIE&&cp.browserVersion>=cp.MSIE_MIN_SUPPORTED_VERSION||cp.OS==cp.WINDOWS&&cp.browser==cp.CHROME&&cp.browserVersion>=cp.CHROME_MIN_SUPPORTED_VERSION||cp.device==cp.IDEVICE&&cp.IOSMajor>=cp.IOS4||cp.device==cp.ANDROID)this.enabled=true;this.verbose&&cp.log("MediaSeeker enabled = "+this.enabled)};cp.MediaSeeker.prototype={resetFlags:function(a){delete a.retryCount;
delete a.lastKnownBuffered;delete a.thulped;delete a.resting;delete a.rested;delete a.failure1;delete a.failure2},addToQueue:function(a){if(this.enabled){this.retryQueue[a.id]=a;a.retryCount=1;a.lastKnownBuffered=0;a.thulped=false;a.resting=false;a.rested=false;a.failure1=0;a.failure2=0}},removeFromQueue:function(a){if(this.enabled){this.resetFlags(a);delete this.retryQueue[a.id]}},inQueue:function(a){return!this.enabled?false:this.retryQueue[a.id]?true:false},hasSeeked:function(a){if(!this.enabled)return true;
++a.retryCount;var c=a.nativeAudio;if(!c)c=a.nativeVideo;if(!c){this.verbose&&cp.log("MediaSeeker: no native media to seek "+a.id);return true}if(void 0==a.seekToTime){this.verbose&&cp.log("MediaSeeker: seekToTime is undefined "+a.id);return true}if(a.thulped){if(!(a.retryCount<3)){this.verbose&&cp.log("retrying thulped media "+a.id+" seekToTime = "+a.seekToTime);a.thulped=false;a.retryCount=0;c.src=a.src;c.load()}return false}if(a.resting){if(a.retryCount>=3){this.verbose&&cp.log("retrying rested media "+
a.id+" seekToTime = "+a.seekToTime);a.resting=false;a.rested=true;a.retryCount=0}return false}if(a.seekToTime<0)a.seekToTime=0;if(isNaN(c.duration)||!isFinite(c.duration)){this.verbose&&cp.log("MediaSeeker: duration is NAN "+a.id);if(a.seekToTime==0)return true;if(a.rested){a.rested=false;++a.failure1;if(a.failure1>=2){cp.exceptionalLogs&&console.log(a.id+" gotStuck while seeking (NAN). gave up seeking");return true}a.thulped=true;try{c.src="_cp_n_m_"}catch(d){}try{c.load()}catch(e){}}else a.resting=
true;return false}if(a.seekToTime>c.duration)a.seekToTime=c.duration;var f=true;try{c.currentTime=a.seekToTime;var g=Math.abs(c.currentTime-a.seekToTime);if(g>=0.05){var f=false,k=c.buffered;k.end(k.length-1);if(a.lastKnownBuffered==k)if(a.rested){a.rested=false;++a.failure2;if(a.failure2>=2){cp.exceptionalLogs&&console.log(a.id+" gotStuck while seeking (CONST BUFF). gave up seeking");return true}a.thulped=true;try{c.src="_cp_n_m_"}catch(m){}try{c.load()}catch(l){}}else a.resting=true;else a.lastKnownBuffered=
k}}catch(n){g=Math.abs(c.currentTime-a.seekToTime);f=g>=0.05?false:true}this.verbose&&f&&cp.log("MediaSeeker: "+a.id+" currentTime = "+c.currentTime);return f},pendingItems:function(){if(!this.enabled)return 0;var a=0,c;for(c in this.retryQueue){var d=this.retryQueue[c];if(this.hasSeeked(d)){delete d.seekToTime;this.removeFromQueue(d);if(d.revoke){delete d.revoke;this.verbose&&cp.log("MediaSeeker revoking play of "+d.id);d.play()}}else++a}this.verbose&&(a&&this.numPending!=a)&&cp.log("MediaSeeker: "+
a+" items pending seek");this.numPending=a;cp.verbose&&a>0&&cp.log(a+" pendingForSeek");return a},reset:function(){for(var a in this.retryQueue){var c=this.retryQueue[a];delete c.seekToTime;delete c.revoke;this.resetFlags(c)}this.retryQueue={}}};cp.NativeAudio=function(){var a=function(){this.duration=this.currentTime=0;this.ended=this.paused=true;this.defaultPlaybackRate=0;this.playbackRate=1;this.fastSeek=this.seekable=this.seeking=this.played=false;this.src="";this.autoplay=this.preload=this.crossorigin=
false;this.mediagroup="";this.controls=this.muted=this.loop=false};a.prototype={load:function(){},play:function(){},pause:function(){},addEventListener:function(){},removeEventListener:function(){}};if(typeof Audio==="undefined"||!Audio){var c=document.createElement("audio");return c.load==void 0||c.play==void 0||c.pause==void 0||c.addEventListener==void 0?new a:c}return new Audio};cp.AudioObject=function(a,c,d,e,f,g,k){this.am=a;this.id=c;this.nativeAudio=null;this.src=cp.getCorrectMediaPath(d);
this.from=e;this.to=f;if(g)this.duration=g/1E3;this.hidden=this.ended=false;this.paused=true;this.cploop=this.loop=false;this.gotStuck=0;this.rp=k};cp.AudioObject.prototype={load:function(){this.nativeAudio&&this.nativeAudio.load()},setSrc:function(a){this.src=cp.getCorrectMediaPath(a);if(this.nativeAudio){this.nativeAudio.cpSrc=cp.getCorrectMediaPath(a);this.nativeAudio.src=cp.getCorrectMediaPath(a);this.load()}},play:function(){if(!(this.ended==true||this.hidden))if(this.paused)if(this.paused&&
this.am.webAudio&&this.am.playWebAudio(this))this.paused=false;else if(cp.lastMediaPlayReqTime&&(new Date).getTime()-cp.lastMediaPlayReqTime.getTime()<50)if(cp.movie.paused){this.am.verbose&&cp.log("crowded request postponed "+this.id);var a=this;setTimeout(function(){a.play()},50)}else this.am.verbose&&cp.log("crowded request denied "+this.id);else{this.paused=false;this.am.verbose&&cp.log("AdObjPlay "+this.id+" "+this.src);this.nativeAudio||this.am.allocAudioChannel(this,cp.IDEVICE!=cp.device&&
cp.device!=cp.ANDROID);if(this.nativeAudio)if(this.isSeekPending())this.finishPendingSeek();else{if(cp.device==cp.IDEVICE&&cp.multiAudioTrack)cp.lastMediaPlayReqTime=new Date;this.nativeAudio.play()}}else if(cp.device==cp.IDEVICE&&!cp.multiAudioTrack&&this.nativeAudio)if(this.lastTime==this.nativeAudio.currentTime){++this.gotStuck;if(this.gotStuck>=30){cp.exceptionalLogs&&cp.log(this.id+" "+this.src+" gotStuck @"+this.nativeAudio.currentTime);this.gotStuck=0;try{this.nativeAudio.src="_cp_n_m_"}catch(c){}this.nativeAudio.src=
this.src;this.nativeAudio.load();this.nativeAudio.play()}}else{this.lastTime=this.nativeAudio.currentTime;this.gotStuck=0}},resetAndPlay:function(){this.am.verbose&&cp.log("AudioObject "+this.id+" resetAndPlay()");this.ended=false;this.setCurrentTime(0);this.play()},show:function(){this.am.verbose&&cp.log("AudioObject "+this.id+" show()");this.hidden=false;this.shownAt=cpInfoCurrentFrame;this.resetAndPlay()},hide:function(){this.am.verbose&&cp.log("AudioObject "+this.id+" hide()");this.hidden=true;
delete this.shownAt;this.pause()},pause:function(){if(!this.paused&&this.am.webAudio&&this.am.pauseWebAudio(this.src)){this.paused=true;this.am.verbose&&cp.log("webAudio:pause "+this.id+" "+this.src)}else{if(this.isSeekPending()){this.am.verbose&&this.revoke&&cp.log("AdObjPause deleting revoke "+this.id);delete this.revoke}if(!this.paused){this.paused=true;this.am.verbose&&cp.log("AdObjPause "+this.id+" "+this.src);if(this.nativeAudio){this.nativeAudio.pause();this.nativeAudio.pausedAt=(new Date).getTime()}}}},
setLoop:function(a,c){this.loop=a;this.loopFrames=c;if(cp.IDEVICE==cp.device||cp.device==cp.ANDROID)this.cploop=a;else if(this.nativeAudio)a?this.nativeAudio.loop=true:delete this.nativeAudio.loop},setCurrentTime:function(a){if(!(this.from==-1&&this.to==-1)){this.am.verbose&&cp.log("AudioObject "+this.id+" setCurrentTime("+a+")");if(this.nativeAudio){this.am.verbose&&cp.log("this.nativeAudio.currentTime = "+this.nativeAudio.currentTime);if(Math.abs(this.nativeAudio.currentTime-a)<0.1){this.am.verbose&&
cp.log("not seeking delta < 0.1");cp.movie.ms.inQueue(this)||delete this.seekToTime}else{delete this.seekToTime;if(!this.paused){this.am.verbose&&cp.log("setting revoke to true");this.revoke=true;this.pause()}var c=true;try{this.nativeAudio.currentTime=a;var d=Math.abs(this.nativeAudio.currentTime-a);d>=0.05&&(c=false)}catch(e){d=Math.abs(this.nativeAudio.currentTime-a);c=d>=0.05?false:true}this.am.verbose&&cp.log("seekSuccess = "+c);if(cp.movie.ms.enabled)if(c){if(this.revoke){this.am.verbose&&cp.log("revoking play");
delete this.revoke;this.play()}}else{this.am.verbose&&cp.log("pause movie and add to seekQueue");this.seekToTime=a;cp.movie.ms.addToQueue(this)}else if(this.revoke){this.am.verbose&&cp.log("revoking play");delete this.revoke;this.play()}}}else{this.seekToTime=a;this.am.verbose&&cp.log("no native audio. Kept in pending...")}}},isSeekPending:function(){return this.from==-1&&this.to==-1?false:void 0!=this.seekToTime},finishPendingSeek:function(){if(this.nativeAudio&&this.isSeekPending()){this.am.verbose&&
cp.log("AudioObject "+this.id+" finishPendingSeek");this.setCurrentTime(this.seekToTime)}},seekTo:function(a){if(this.from==-1&&this.to==-1)return true;this.am.verbose&&cp.log("AudioObject "+this.id+" seekTo("+a+")");if(this.loop&&this.loopFrames){if(this.from<=a){this.setCurrentTime((a-this.from)%this.loopFrames/cpInfoFPS);this.ended=false;return true}}else{if(this.from<=a&&this.to>=a){this.setCurrentTime((a-this.from)/cpInfoFPS);this.ended=false;return true}if(this.to>=a){this.setCurrentTime(0);
this.ended=false}}if(this.id=="bga"&&!this.loop)this.ended=true;return false}};cp.RegisterExternalObjects=function(a,c,d,e){if(!cp.IsValidObj(cp.extObjInfo))cp.extObjInfo=[];for(var f=false,g=0;g<cp.extObjInfo.length;++g)if(cp.extObjInfo[g].cb==d){f=true;break}if(!f){f={};f.n=a;f.cls=c;f.cb=d;f.chcb=e;cp.extObjInfo.push(f)}};cp.AddNoSkipFrameExternal=function(a){cp.movie.stage&&(cp.movie.stage.noSkipFrames[a]=a)};cp.AddExternalAudioCb=function(a){var c=false;if(void 0==cp.extAudioCallbacks)cp.extAudioCallbacks=
[];for(var d=0;d<cp.extAudioCallbacks.length;++d)if(cp.extAudioCallbacks[d]==a){c=true;break}c||cp.extAudioCallbacks.push(a)};cp.ExtAudioObject=function(a,c,d,e,f){this.am=a;this.id=c;this.nativeAudio=null;this.src=cp.getCorrectMediaPath(d);this.from=e;this.to=f;this.hidden=this.ended=false;this.paused=true;this.cploop=this.loop=false;this.gotStuck=0};cp.ExtAudioObject.prototype={load:function(){this.nativeAudio&&this.nativeAudio.load()},play:function(){},pause:function(){if(!this.paused){this.paused=
true;if(this.nativeAudio){this.nativeAudio.pause();this.nativeAudio.pausedAt=(new Date).getTime()}}},isSeekPending:function(){return false},finishPendingSeek:function(){},seekTo:function(){return true},reset:function(){}};cp.MediaView=function(a){this.a=a;if(!cp.MediaView.PROGRESS_WIDTH){cp.MediaView.PROGRESS_WIDTH=300;cp.MediaView.STATUS1_WIDTH=100;cp.MediaView.STATUS2_WIDTH=100;cp.MediaView.STATUS3_WIDTH=100;cp.MediaView.STATUS4_WIDTH=50;cp.MediaView.STATUS_WIDTH=cp.MediaView.STATUS1_WIDTH+cp.MediaView.STATUS2_WIDTH+
cp.MediaView.STATUS3_WIDTH+cp.MediaView.STATUS4_WIDTH;cp.MediaView.LEFT_OFFSET=260;cp.MediaView.TOP_OFFSET=5;cp.MediaView.HEIGHT=15;cp.MediaView.GAP=5;cp.MediaView.NUM_MEDIA_VIEWS=0}this.view=cp.newElem("div");this.status=cp.newElem("div");this.status2=cp.newElem("div");this.status3=cp.newElem("div");this.status4=cp.newElem("div");this.progressBar=cp.newElem("div");this.srcNameBar=cp.newElem("div");this.downloaded=cp.newElem("div");this.playHead=cp.newElem("div");document.body.appendChild(this.view);
this.view.appendChild(this.status);this.view.appendChild(this.status2);this.view.appendChild(this.status3);this.view.appendChild(this.status4);this.view.appendChild(this.progressBar);this.progressBar.appendChild(this.downloaded);this.progressBar.appendChild(this.playHead);this.progressBar.appendChild(this.srcNameBar);this.view.style.cssText="z-index:100;display:block; position:fixed; left:"+cp.MediaView.LEFT_OFFSET+"px; top:"+(cp.MediaView.TOP_OFFSET+cp.MediaView.NUM_MEDIA_VIEWS*(cp.MediaView.HEIGHT+
cp.MediaView.GAP))+"px; width:"+(cp.MediaView.STATUS_WIDTH+cp.MediaView.PROGRESS_WIDTH)+"px; height:"+cp.MediaView.HEIGHT+"px; background-color:#555555;opacity:0.5";this.status.style.cssText="z-index:100;display:block; position:absolute; left:0px; top:0px; width:"+cp.MediaView.STATUS1_WIDTH+"px; height:"+cp.MediaView.HEIGHT+"px;background-color:#0000ff";this.status2.style.cssText="z-index:100;display:block; position:absolute; left:"+cp.MediaView.STATUS1_WIDTH+"px; top:0px; width:"+cp.MediaView.STATUS2_WIDTH+
"px; height:"+cp.MediaView.HEIGHT+"px;background-color:#ffffff";this.status3.style.cssText="z-index:100;display:block; position:absolute; left:"+(cp.MediaView.STATUS1_WIDTH+cp.MediaView.STATUS2_WIDTH)+"px; top:0px; width:"+cp.MediaView.STATUS3_WIDTH+"px; height:"+cp.MediaView.HEIGHT+"px;background-color:#ffffff";this.status4.style.cssText="z-index:100;display:block; position:absolute; left:"+(cp.MediaView.STATUS1_WIDTH+cp.MediaView.STATUS2_WIDTH+cp.MediaView.STATUS3_WIDTH)+"px; top:0px; width:"+cp.MediaView.STATUS4_WIDTH+
"px; height:"+cp.MediaView.HEIGHT+"px;background-color:#ffffff";this.progressBar.style.cssText="z-index:100;display:block; position:absolute; left:"+cp.MediaView.STATUS_WIDTH+"px; top:0px; width:"+cp.MediaView.PROGRESS_WIDTH+"px; height:"+cp.MediaView.HEIGHT+"px;background-color:#888888";this.srcNameBar.style.cssText="z-index:100;display:block; position:absolute; left:0px; top:0px; width:"+cp.MediaView.PROGRESS_WIDTH+"px; height:"+cp.MediaView.HEIGHT+"px;white-space: nowrap; overflow: hidden;";this.downloaded.style.cssText=
"z-index:100;display:block; position:absolute; left:0px; top:0px; width:0px; height:"+cp.MediaView.HEIGHT/3+"px;background-color:#10ff10;";this.playHead.style.cssText="z-index:100;display:block; position:absolute; left:0px; top:0px; width:2px; height:"+cp.MediaView.HEIGHT/3+"px;background-color:#101010";++cp.MediaView.NUM_MEDIA_VIEWS};cp.MediaView.prototype={update:function(){var a=this.a.cpAudio;if(!a)a=this.a.cpVideo;var c=this.a.src.indexOf("/ar/");c==-1&&(c=this.a.src.indexOf("/vr/"));c==-1&&
(c=this.a.src.indexOf("_cp_n_m_"));c==-1&&(c=0);c=this.a.src.substr(c);a&&(c=c+("|"+a.src+"|"+a.id));this.srcNameBar.innerHTML="<font style='font-size:9px'>"+c+"</font>";c=this.a.paused?"paused":"playing";this.a.ended&&(c=c+" end");this.status2.innerHTML="<font color='#000000' style='font-size:8px'>"+c+"</font>";if(a){c=a.paused?"paused":"playing";a.ended&&(c=c+" end");a.hidden&&(c=c+" hdn")}else c="NULL";this.status3.innerHTML="<font color='#000000' style='font-size:8px'>"+c+"</font>";switch(this.a.readyState){case cp.HAVE_NOTHING:c=
"HaveNone";this.status4.style.backgroundColor="#ff0000";break;case cp.HAVE_METADATA:c="HaveMeta";this.status4.style.backgroundColor="#ffaa00";break;case cp.HAVE_CURRENT_DATA:c="HaveCurr";this.status4.style.backgroundColor="#aacc00";break;case cp.HAVE_FUTURE_DATA:c="HaveMore";this.status4.style.backgroundColor="#55ff00";break;case cp.HAVE_ENOUGH_DATA:c="HaveAll";this.status4.style.backgroundColor="#00ff00";break;default:c="???";this.status4.style.backgroundColor="#555555"}this.status4.innerHTML="<font color='#000000' style='font-size:8px'>"+
c+"</font>";if(this.a.ended){this.status.style.backgroundColor="#ffff00";this.status.innerHTML="<font color='#000000' style='font-size:8px'>Ended</font>"}else if(this.a&&this.a.networkState==this.a.NETWORK_EMPTY){this.status.style.backgroundColor="#000000";this.status.innerHTML="<font color='#ffffff' style='font-size:8px'>Empty</font>"}else if(this.a&&this.a.networkState==this.a.NETWORK_IDLE){this.status.style.backgroundColor="#aaaaaa";this.status.innerHTML="<font color='#000000' style='font-size:8px'>Idle</font>"}else if(this.a&&
this.a.networkState==this.a.NETWORK_LOADING){this.status.style.backgroundColor="#00ff00";this.status.innerHTML="<font color='#000000' style='font-size:8px'>Loading</font>"}else if(this.a&&this.a.networkState==this.a.NETWORK_NO_SOURCE){this.status.style.backgroundColor="#ff0000";this.status.innerHTML="<font color='#ffffff' style='font-size:8px'>NoSrc</font>"}var d;if(this.a&&!isNaN(this.a.duration)&&isFinite(this.a.duration))d=this.a.duration;else if(a&&a.duration)d=a.duration;if(d){a=this.a.buffered;
if(a.length){a=a.end(a.length-1);this.downloaded.style.width=a/d*cp.MediaView.PROGRESS_WIDTH+"px"}this.playHead.style.left=this.a.currentTime/d*cp.MediaView.PROGRESS_WIDTH+"px"}else{this.downloaded.style.width="0px";this.playHead.style.left="0px"}}};cp.AudioView=cp.MediaView;cp.VideoView=cp.MediaView;cp.AudioManager=function(){cp.movie.am=this;this.volume=1;this.viewAudio=this.verbose=this.loaded=this.muted=false;if(window.location.protocol.substr(0,4)=="http"&&window.webkitAudioContext){this.webAudio=
new window.webkitAudioContext;this.webAudioCache={};this.webAudioLoaded=this.webAudioReq=0}this.errorCallBackFn=function(a){if(-1==this.src.indexOf("_cp_n_m_")){if(cp.exceptionalLogs){cp.log("src = "+this.src+" error code = "+(this.error?this.error.code:"NULL")+" n/w state = "+this.networkState);cp.log(a)}this.waitCount=0}};this.waitingFn=function(a){var c;if(!isNaN(this.duration)&&isFinite(this.duration))c=this.duration;else if(this.cpAudio&&this.cpAudio.duration)c=this.cpAudio.duration;if(c){var f=
Math.abs(this.currentTime-c);cp.movie.am.verbose&&cp.log(this.cpSrc+" wait came when delta = "+f+" duration = "+c);if(f<0.3){if(!(c<0.3)){cp.movie.am.verbose&&cp.log("simulating arrival of ended event");cp.movie.am.onEndedCallBackFn.call(this,a)}return}}++this.waitCount;if(cp.movie.am.verbose){a="wait "+this.waitCount+" "+this.cpSrc+" currTime = "+this.currentTime+" duration = "+c+" curFrame = "+cpInfoCurrentFrame;if(this.cpAudio){a=a+(" id = "+this.cpAudio.id);a=a+(" from "+this.cpAudio.from);a=
a+(" to "+this.cpAudio.to)}cp.log(a)}};this.canPlayCallBackFn=function(){this.waitCount=0;cp.movie.am.verbose&&cp.log("cnPly "+this.cpSrc+" "+(this.cpAudio?this.cpAudio.id:""))};this.onEndedCallBackFn=function(){this.waitCount=0;if(this.cploop){cp.movie.am.verbose&&cp.log(this.cpSrc+" loop");if(this.cpAudio){this.cpAudio.pause();this.cpAudio.seekTo(this.cpAudio.from);this.cpAudio.play()}}else{cp.movie.am.verbose&&cp.log(this.cpSrc+" ended");this.endedAt=(new Date).getTime();if(this.cpAudio){this.cpAudio.ended=
true;this.cpAudio.pause();if(this.cpAudio.onEndAutoPlayMovie){delete this.cpAudio.onEndAutoPlayMovie;cp.movie.play()}}}};this.onWebAudioEndedCallBackFn=function(a){if(a){cp.movie.am.verbose&&cp.log(a.cpSrc+" ended");a.ended=true;a.pause();if(a.onEndAutoPlayMovie){delete a.onEndAutoPlayMovie;cp.movie.play()}}};this.PlayPauseCallBackFn=function(){if(this.paused)this.pausedAt=(new Date).getTime();if(this.cpAudio)this.cpAudio.paused=this.paused};this.MAX_AUDIO_CHANNELS=cp.multiAudioTrack?10:1;this.audioChannels=
[];for(var a=0;a<this.MAX_AUDIO_CHANNELS;++a){var c=cp.NativeAudio();c.cpSrc="";c.cpAudio=null;c.ended=false;c.addEventListener("ended",this.onEndedCallBackFn,false);c.addEventListener("error",this.errorCallBackFn,false);if(cp.waitForAudio){c.addEventListener("waiting",this.waitingFn,false);c.addEventListener("canplay",this.canPlayCallBackFn,false)}c.addEventListener("play",this.PlayPauseCallBackFn,false);c.addEventListener("pause",this.PlayPauseCallBackFn,false);c.waitCount=0;c.muted=this.muted;
c.volume=this.volume;this.audioChannels[a]=c}if(this.verbose){a=cp.NativeAudio();cp.log("NetworkStates: NETWORK_EMPTY = "+a.NETWORK_EMPTY+" NETWORK_IDLE = "+a.NETWORK_IDLE+" NETWORK_LOADING = "+a.NETWORK_LOADING+" NETWORK_NO_SOURCE = "+a.NETWORK_NO_SOURCE);a=null}};cp.AudioManager.prototype={unlockWebAudio:function(){if(this.webAudio){var a=this.webAudio.createBuffer(1,1,22050),c=this.webAudio.createBufferSource();c.buffer=a;c.connect(this.webAudio.destination);c.noteOn=c.noteOn||c.start;c.noteOn(0);
var d=this;setTimeout(function(){if(c.playbackState===c.PLAYING_STATE||c.playbackState===c.FINISHED_STATE){d.webAudioUnlocked=true;d.verbose&&cp.log("web audio unlocked")}},100)}},loadWebAudio:function(a){function c(e){try{d.webAudio.decodeAudioData(e.buf,function(c){var e={};e.buffer=c;d.webAudioCache[a]=e},function(){cp.exceptionalLogs&&cp.log(a+" Error decoding. Attempting to sync stream");var d;var f=new Uint8Array(e.buf);f.indexOf=Array.prototype.indexOf;for(d=e.sync;;){++e.retry;d=f.indexOf(255,
d);if(d==-1||f[d+1]&1)break;++d}if(d!=-1){f=e.buf.slice(d);delete e.buf;e.buf=f;e.sync=d;d=true}else d=false;d&&c(e)})}catch(f){cp.exceptionalLogs&&cp.log(a+" Error decoding2 "+f)}}var d=this,e={sync:0,retry:0};if(this.webAudio&&!this.webAudioCache[a]){++this.webAudioReq;this.webAudioCache[a]={};var f=new XMLHttpRequest;f.open("GET",a,true);f.responseType="arraybuffer";f.onload=function(f){d.verbose&&cp.log("webAudio:loaded "+a);++d.webAudioLoaded;e.buf=f.target.response;c(e)};f.send()}},playWebAudio:function(a){if(this.webAudio){var c=
a.src,d=this.webAudioCache[c];if(d&&d.buffer){d.source=this.webAudio.createBufferSource();d.source.buffer=d.buffer;d.source.loop=false;d.source.connect(this.webAudio.destination);d.source.noteOn=d.source.noteOn||d.source.start;d.source.noteOn(0);setTimeout(function(){cp.movie.am.onWebAudioEndedCallBackFn(a)},d.buffer.duration*1E3);this.verbose&&cp.log("webAudio:play "+c);return true}}return false},pauseWebAudio:function(a){if(this.webAudio){var c=this.webAudioCache[a];if(c){if(c.source){c.source.noteOff=
c.source.noteOff||c.source.stop;c.source.noteOff(0);delete c.source}this.verbose&&cp.log("webAudio:pause "+a);return true}}return false},pendingAudios:function(){var a=0;this.webAudio&&(a=this.webAudioReq-this.webAudioLoaded);for(var c=0;c<this.MAX_AUDIO_CHANNELS;++c){var d=this.audioChannels[c];d.waitCount>0&&(!d.endedAt&&!d.paused)&&++a}if(a>0){if(this.numPending!=a){this.numPending=a;cp.verbose&&cp.log(a+" audios pending")}}else{this.numPending&&cp.verbose&&cp.log("no audios pending");this.numPending=
0}return a},resetAllWaitingAudios:function(){for(var a=0;a<this.MAX_AUDIO_CHANNELS;++a)this.audioChannels[a].waitCount=0},LRUAudioIndex:function(){for(var a=(new Date).getTime(),c=-1,d=cpInfoCurrentFrame,e=0;e<this.MAX_AUDIO_CHANNELS;++e){var f=this.audioChannels[e];if(f.ended||f.paused)if(f.endedAt){if(a>f.endedAt){a=f.endedAt;c=e}}else if(f.pausedAt){if(a>f.pausedAt){a=f.pausedAt;c=e}}else c==-1&&d>f.cpTo&&(c=e)}return c},allocAudioChannel:function(a){this.verbose&&cp.log("allocAudioChannel "+a.id+
" "+a.src);if(this.webAudio&&this.webAudioCache[a.src])this.verbose&&cp.log("found in web-audio cache");else{if(cp.multiAudioTrack){for(var c=0;c<this.MAX_AUDIO_CHANNELS;++c){var d=this.audioChannels[c];if(d.cpSrc==a.src&&(d.ended||d.paused)){if(d.cpAudio!=null){d.cpAudio.nativeAudio=null;d.cpAudio=null}a.nativeAudio=d;d.cpAudio=a;cp.device==cp.IDEVICE||cp.device==cp.ANDROID?d.cploop=a.cploop:d.loop=a.loop;d.ended=false;delete d.endedAt;delete d.pausedAt;d.cpTo=a.to;a.isSeekPending()||a.seekTo(a.from);
a.finishPendingSeek();d.load();this.verbose&&cp.log("allocAudioChannel found existing @ "+c);return true}}for(c=0;c<this.MAX_AUDIO_CHANNELS;++c){d=this.audioChannels[c];if(d.cpSrc==""){d.waitCount=0;d.cpSrc=a.src;d.src=a.src;a.nativeAudio=d;d.cpAudio=a;cp.device==cp.IDEVICE||cp.device==cp.ANDROID?d.cploop=a.cploop:d.loop=a.loop;d.ended=false;delete d.endedAt;delete d.pausedAt;d.cpTo=a.to;a.finishPendingSeek();d.load();this.verbose&&cp.log("allocAudioChannel found empty slot @ "+c);return true}}c=
this.LRUAudioIndex();if(-1!=c){d=this.audioChannels[c];if(d.cpAudio!=null){d.cpAudio.nativeAudio=null;d.cpAudio=null}a.nativeAudio=d;d.cpAudio=a;cp.device==cp.IDEVICE||cp.device==cp.ANDROID?d.cploop=a.cploop:d.loop=a.loop;d.ended=false;delete d.endedAt;delete d.pausedAt;d.cpTo=a.to;if(d.cpSrc!=a.src){d.waitCount=0;d.cpSrc=a.src;d.src=a.src}else a.isSeekPending()||a.seekTo(a.from);a.finishPendingSeek();d.load();this.verbose&&cp.log("allocAudioChannel re-used LRU slot @ "+c);return true}return false}d=
this.audioChannels[0];d.paused||(d.cpAudio!=null?d.cpAudio.pause():d.pause());if(d.cpAudio!=null)d.cpAudio.nativeAudio=null;a.nativeAudio=d;d.cpAudio=a;d.cploop=a.cploop;d.ended=false;delete d.endedAt;delete d.pausedAt;if(d.cpSrc!=a.src){d.waitCount=0;d.cpSrc=a.src;d.src=a.src;d.currentTime>0&&this.verbose&&cp.log("currentTime after changing src = "+d.currentTime+" going to wait...");if(cp.IOSFlavor<=cp.IOS5)for(;d.currentTime>0;)d.load();else for(c=0;d.currentTime>0&&++c<100;){cp.verbose&&cp.log("waiting for "+
c+" time");d.load()}this.verbose&&cp.log("finished waiting")}else a.isSeekPending()||a.seekTo(a.from);a.finishPendingSeek();d.load()}},allocSingletonAudioChannelForPlayAudioAction:function(a){this.verbose&&cp.log("allocSingletonAudioChannelForPlayAudioAction "+a);var c=cp.NativeAudio();c.addEventListener("ended",this.onEndedCallBackFn,false);c.addEventListener("error",this.errorCallBackFn,false);if(cp.waitForAudio){c.addEventListener("waiting",this.waitingFn,false);c.addEventListener("canplay",this.canPlayCallBackFn,
false)}c.addEventListener("play",this.PlayPauseCallBackFn,false);c.addEventListener("pause",this.PlayPauseCallBackFn,false);c.waitCount=0;c.cpSrc=a;c.src=a;cp.movie.am.singletonPlayAudio.nativeAudio=c;c.cpAudio=cp.movie.am.singletonPlayAudio;c.muted=this.muted;c.volume=this.volume;c.ended=false;c.load();this.audioViews&&this.audioViews.push(new cp.AudioView(c))},load:function(){var a=cp.D.pbga;if(a){this.bgAudio=new cp.AudioObject(this,"bga",a.src,1,a.to,a.du);a.l&&this.bgAudio.setLoop(true);this.bgAudio.stopAtProjectEnd=
a.spe;this.bgAudio.lowerVolumeOnSlidesWithAudio=a.lv;this.bgAudio.lowerVolumePercentage=a.vp}a=(cp.D.project_main.slideAudios||"").split(",");this.slideAudios={};for(var c=0;c<a.length;++c)if(""!=a[c]){var d=cp.D[a[c]],e=new cp.AudioObject(this,a[c],d.src,d.from,d.to,d.du);d.l&&e.setLoop(true,d.lf);this.slideAudios[a[c]]=e}a={};this.objectAudios={};this.eventAudios={};c=(cp.D.project_main.slides||"").split(",");for(d=0;d<c.length;++d){for(var f=cp.D[c[d]],g=(f.oa||"").split(","),k={},m=false,e=0;e<
g.length;++e)if(""!=g[e]){var l=cp.D[g[e]],m=l.rp?a[g[e]]:void 0;if(!m){m=new cp.AudioObject(this,g[e],l.src,l.from,l.to,l.du,l.rp);m.mouseAudio=l.msa;l.rp&&(a[g[e]]=m)}k[g[e]]=m;m=true}m&&(this.objectAudios[c[d]]=k);f=(f.ea||"").split(",");g={};m=false;for(e=0;e<f.length;++e)if(""!=f[e]){k=cp.D[f[e]];m=k.rp?a[f[e]]:void 0;if(!m){m=new cp.AudioObject(this,f[e],k.src,-1,-1,k.du,k.rp);k.rp&&(a[f[e]]=m)}g[f[e]]=m;m=true}m&&(this.eventAudios[c[d]]=g)}if(cp.movie.playKeyTap)this.keyTap=new cp.AudioObject(this,
"pkt","ar/KeyClick.mp3",-1,-1,void 0);this.singletonPlayAudio=new cp.AudioObject(this,"spa","",-1,-1,void 0);this.extAudios={};if(cp.extAudioCallbacks)for(a=0;a<cp.extAudioCallbacks.length;++a)cp.extAudioCallbacks[a](this);this.loaded=true},deviceSpecificFlush:function(){if((cp.IDEVICE==cp.device||cp.device==cp.ANDROID)&&cp.multiAudioTrack){for(var a=0,c=0;c<this.MAX_AUDIO_CHANNELS;++c){var d=this.audioChannels[c];if(d.src.indexOf("_cp_n_m_")!=-1){++a;if(a>=this.MAX_AUDIO_CHANNELS/2)return}}for(c=
0;c<this.MAX_AUDIO_CHANNELS;++c){d=this.audioChannels[c];if(d.ended||d.paused){if(d.cpAudio!=null){d.cpAudio.nativeAudio=null;d.cpAudio=null}d.cpSrc="";d.waitCount=0;delete d.cploop;d.ended=false;delete d.endedAt;delete d.pausedAt;delete d.cpTo;if(d.src.indexOf("_cp_n_m_")==-1){try{d.src="_cp_n_m_"}catch(e){}try{d.load()}catch(f){}}}}}},deviceSpecificInit:function(){if(cp.IDEVICE==cp.device||cp.device==cp.ANDROID)for(var a=0;a<this.MAX_AUDIO_CHANNELS;++a){var c=this.audioChannels[a];if(!c.cpSrc)try{c.src=
"_cp_n_m_"}catch(d){}try{c.load()}catch(e){}}},playKeyTap:function(){this.verbose&&cp.log("playKeyTap");if(!this.playWebAudio(this.keyTap)){if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)if(!cp.multiAudioTrack&&(this.audioPlaying||cp.movie.stage.VideoPlaying)){this.verbose&&cp.log("audioPlaying "+this.audioPlaying+" videoPlaying "+this.videoPlaying);return}if(!this.muted&&1==cp.movie.speed){this.eventAudioPlaying=this.keyTap.id;this.keyTap.resetAndPlay()}}},seekTo:function(a,c){if(!this.loaded)return-1;
var d=cp.movie.stage.getSlideIndexForFrame(a);if(-1==d)return-1;this.ssc=0;this.changeCurrentSlide(d,a,false);if(this.currentSlide){var e=this.objectAudios[this.currentSlide];if(e)for(var f in e){var g=e[f];g&&(g.seekTo(a)||g.pause())}}if(this.currentSlideAudio)(e=this.slideAudios[this.currentSlideAudio])&&(e.seekTo(a)||e.pause());this.bgAudio&&(this.bgAudio.paused||this.bgAudio.ended)&&this.bgAudio.seekTo(a);this.singletonPlayAudio&&c&&this.singletonPlayAudio.pause();return d},changeCurrentSlide:function(a,
c,d){this.deviceSpecificFlush();a=cp.movie.stage.getSlideNameForIndex(a);if(!(a==""||this.currentSlide==a)){this.verbose&&cp.log("am changing slide from "+this.currentSlide+" to "+a+" seek = "+d);this.interactiveItemFound=false;this.ssp=this.ssc=0;if(this.currentSlide){var e=this.objectAudios[this.currentSlide];if(e)for(var f in e){var g=e[f];g.mouseAudio?setTimeout(function(a){return function(){a.pause()}}(g),500):g.pause()}if(e=this.eventAudios[this.currentSlide])for(var k in e){g=e[k];g.id.length<=
5||g.id.substring(g.id.length-5)!="ClkAd"?g.pause():setTimeout(function(a){return function(){a.pause()}}(g),500)}this.singletonPlayAudio.pause();if(this.currentSlideAudio){k=this.slideAudios[this.currentSlideAudio];if(k.from>c||k.to<c){k.pause();if(k.nativeAudio){k.nativeAudio.cpAudio=null;k.nativeAudio=null}if(k.ended)k.ended=false;delete this.currentSlideAudio}else d&&cpInfoPrevFrame!=c-1&&k.seekTo(c)}if(k=this.extAudios[this.currentSlide])for(f in k)k[f].reset()}this.currentSlide=a;if(!this.currentSlideAudio){this.currentSlideAudio=
cp.D[this.currentSlide].audioName;(k=this.slideAudios[this.currentSlideAudio])&&k.seekTo(c)}if(d&&this.currentSlide)if(e=this.objectAudios[this.currentSlide])for(f in e){g=e[f];g.rp?g.ended&&g.seekTo(g.from):g.seekTo(g.from)}this.stopBGAudio=(c=cp.D[this.currentSlide])&&c.sba?true:false}},preload:function(a){if(this.webAudio){var c=this.eventAudios[a];if(c)for(var d in c){var e=c[d];e&&this.loadWebAudio(e.src)}this.keyTap&&cp.movie.playKeyTap&&this.loadWebAudio(this.keyTap.src);var c=this.objectAudios[a],
f;for(f in c)(e=c[f])&&e.mouseAudio&&this.loadWebAudio(e.src)}if(!(cp.device==cp.IDEVICE||cp.device==cp.ANDROID||cp.device==cp.KINDLE)&&this.loaded&&1==cp.movie.speed){this.verbose&&cp.log("audio manager preload "+a);if(c=cp.D[a])if((c=this.slideAudios[c.audioName])&&!c.nativeAudio&&!this.allocAudioChannel(c,false))return;c=this.objectAudios[a];for(f in c){e=c[f];if(!e||!e.rp||!e.nativeAudio)if(e&&(!e.mouseAudio||!this.webAudio)&&!this.allocAudioChannel(e,false))return}if(!this.webAudio){if(c=this.eventAudios[a])for(d in c)if((e=
c[d])&&(!e.rp||!e.nativeAudio)&&!this.allocAudioChannel(e,false))return;if(this.keyTap&&cp.movie.playKeyTap&&!this.allocAudioChannel(this.keyTap,false))return}a=this.extAudios[a];for(f in a)if((d=a[f])&&!this.allocAudioChannel(d,false))break}},play:function(a,c){this.pace=null;if(this.loaded&&1==cp.movie.speed){if((cp.device==cp.IDEVICE||cp.device==cp.ANDROID)&&!cp.multiAudioTrack){var d=this.audioChannels[0];if(!d.paused&&!d.ended&&d.cpAudio&&d.cpAudio.id==this.eventAudioPlaying||cp.movie.stage.VideoPlaying)return}var d=
false,e=null,f=null;if(!c){if(this.currentSlide){var g=this.objectAudios[this.currentSlide];if(g)for(var k in g){var m=g[k];if(m&&!m.ended)if(m.from<=a&&m.to>=a||m.shownAt&&m.shownAt<=a&&m.shownAt+m.to-m.from>=a){if((cp.device==cp.IDEVICE||cp.device==cp.ANDROID)&&!cp.multiAudioTrack)null==e&&(e=m);else{null==e&&(e=m);m.play()}d=true}else m.mouseAudio?this.webAudio&&m.pause():m.pause()}}if(this.currentSlideAudio)if((k=this.slideAudios[this.currentSlideAudio])&&!k.ended)if(k.from<=a&&k.to>=a)if((cp.device==
cp.IDEVICE||cp.device==cp.ANDROID)&&!cp.multiAudioTrack){if(null==e)f=e=k;this.ssc!=1&&this.ssp!=1&&(d=true)}else if(this.ssc!=1&&this.ssp!=1){k.play();null==e&&(e=k);f=k;d=true}else k.pause();else k.pause()}if(this.bgAudio){if(d){if(this.bgAudio.lowerVolumeOnSlidesWithAudio&&this.bgAudio.nativeAudio)this.bgAudio.nativeAudio.volume=this.volume*(this.bgAudio.lowerVolumePercentage/100)}else if(this.bgAudio.nativeAudio)this.bgAudio.nativeAudio.volume=this.volume;if((cp.device==cp.IDEVICE||cp.device==
cp.ANDROID)&&!cp.multiAudioTrack){if(null==e)e=this.bgAudio}else this.stopBGAudio?this.bgAudio.pause():this.bgAudio.play()}this.audioPlaying=null;if((cp.device==cp.IDEVICE||cp.device==cp.ANDROID)&&e&&!cp.multiAudioTrack)if(f==e){if(this.ssc!=1&&this.ssp!=1){this.audioPlaying=e.id;e.play()}}else if(this.bgAudio==e)if(this.stopBGAudio)e.pause();else{this.audioPlaying=e.id;e.play()}else{this.audioPlaying=e.id;e.play()}if(cp.IDEVICE==cp.device||cp.device==cp.ANDROID){if(1==cp.movie.speed)if(e&&e!=this.bgAudio&&
!e.shownAt&&!e.ended&&!e.paused&&!e.loop&&e.nativeAudio&&e.nativeAudio.currentTime>0){this.pace=e.from+e.nativeAudio.currentTime*cpInfoFPS;if(this.pace>e.to)this.pace=e.to}else this.pace=cp.movie.vdm.pace()}else if(1==cp.movie.speed&&!this.interactiveItemFound)if(f&&!f.ended&&!f.paused&&!f.loop&&f.nativeAudio&&f.nativeAudio.currentTime>0){this.pace=f.from+f.nativeAudio.currentTime*cpInfoFPS;if(this.pace>f.to)this.pace=cp.movie.vdm.pace()?null:f.to}else this.pace=cp.movie.vdm.pace()}},pause:function(a){this.reasonForPause=
a;if((a==cp.ReasonForPause.PLAYBAR_ACTION||a==cp.ReasonForPause.CPCMNDPAUSE||a==cp.ReasonForPause.MOVIE_REWIND_STOP||a==cp.ReasonForPause.EVENT_VIDEO_PAUSE||a==cp.ReasonForPause.ONLY_ONE_MEDIUM_CAN_PLAY||a==cp.ReasonForPause.PPTX_PAUSE_FOR_ONCLICK_ANIMATION||a==cp.ReasonForPause.CPCMNDGOTOFRAME)&&this.currentSlide){var c=this.objectAudios[this.currentSlide];if(c)for(var d in c)c[d].pause();if(c=this.extAudios[this.currentSlide])for(d in c)c[d].pause(a)}d=cpInfoCurrentFrame;if(this.currentSlideAudio)(c=
this.slideAudios[this.currentSlideAudio])&&(c.from<=d&&c.to>=d?a==cp.ReasonForPause.INTERACTIVE_ITEM?this.ssp==1&&c.pause():(a==cp.ReasonForPause.PLAYBAR_ACTION||a==cp.ReasonForPause.CPCMNDPAUSE||a==cp.ReasonForPause.MOVIE_REWIND_STOP||a==cp.ReasonForPause.EVENT_VIDEO_PAUSE||a==cp.ReasonForPause.ONLY_ONE_MEDIUM_CAN_PLAY||a==cp.ReasonForPause.PPTX_PAUSE_FOR_ONCLICK_ANIMATION||a==cp.ReasonForPause.CPCMNDGOTOFRAME)&&c.pause():c.pause());this.bgAudio&&(a==cp.ReasonForPause.MOVIE_ENDED?this.bgAudio.stopAtProjectEnd&&
this.bgAudio.pause():(a==cp.ReasonForPause.PLAYBAR_ACTION||a==cp.ReasonForPause.CPCMNDPAUSE||a==cp.ReasonForPause.MOVIE_REWIND_STOP||a==cp.ReasonForPause.EVENT_VIDEO_PAUSE||a==cp.ReasonForPause.ONLY_ONE_MEDIUM_CAN_PLAY)&&this.bgAudio.pause())},pauseCurrentSlideAudioForInteractiveClick:function(){this.verbose&&cp.log("pause currentSlide Audio for SSC");var a=cpInfoCurrentFrame;if(this.currentSlideAudio){var c=this.slideAudios[this.currentSlideAudio];if(c&&c.from<=a&&c.to>=a){this.ssc=1;c.pause()}}},
mute:function(a){var a=a==true||a>0?true:false,c=document.getElementById("playbar");a&&c.mute!=void 0&&c.mute();!a&&c.unmute!=void 0&&c.unmute();for(c=0;c<this.MAX_AUDIO_CHANNELS;++c)this.audioChannels[c].muted=a;this.muted=a},setVolume:function(a){a<0&&(a=0);a>1&&(a=1);this.volume=a;for(var c=0;c<this.MAX_AUDIO_CHANNELS;++c)this.audioChannels[c].volume=a},playPauseEventAudio:function(a,c){if(c&&(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)&&!cp.multiAudioTrack)if(this.audioPlaying||cp.movie.stage.VideoPlaying)return;
if((!c||!(this.muted||1!=cp.movie.speed))&&this.currentSlide){var d=this.eventAudios[this.currentSlide];if(d){var e=d[a];if(e)if(c){this.eventAudioPlaying=e.id;e.resetAndPlay();e.id.length>5&&e.id.substring(e.id.length-5)=="ClkAd"&&(e.duration?setTimeout(function(){e.pause()},(e.duration+0.2)*1E3):setTimeout(function(){e.pause()},500))}else e.pause()}}},showHideObjectAudio:function(a,c){if(this.currentSlide){var d=this.objectAudios[this.currentSlide];if(d)(d=d[a])&&(c?d.hidden&&d.show():d.hidden||
d.hide())}},doesAudioStartBetween:function(a,c){if(this.currentSlide){var d=this.objectAudios[this.currentSlide];if(d)for(var e in d){var f=d[e];if(f&&!f.ended&&f.from>=a&&f.from<=c){this.verbose&&cp.log("objAudio "+f.id+" starts between "+a+" & "+c);return true}}}if(this.currentSlideAudio)if((d=this.slideAudios[this.currentSlideAudio])&&!d.ended&&d.from>=a&&d.from<=c){this.verbose&&cp.log("slideAudio "+d.id+" starts between "+a+" & "+c);return true}return false},updateAudioViews:function(){if(this.viewAudio&&
this.audioViews)for(var a in this.audioViews)this.audioViews[a].update()}};cp.VARIABLE_CREATED_EVENT=0;cp.VARIABLE_CHANGED_EVENT=1;cp.SPECIFIC_VARIABLE_CHANGED_EVENT=2;cp.SLIDEENTEREVENT=3;cp.SLIDEEXITEVENT=4;cp.INTERACTIVEITEMSUBMITEVENT=5;cp.MOVIEPAUSEEVENT=6;cp.MOVIERESUMEEVENT=7;cp.MOVIESTARTEVENT=8;cp.MOVIESTOPEVENT=9;cp.QUESTIONSKIPEVENT=10;cp.QUESTIONSUBMITEVENT=11;cp.STARTPLAYBARSCRUBBINGEVENT=12;cp.ENDPLAYBARSCRUBBINGEVENT=13;cp.MOVIEFOCUSINEVENT=14;cp.MOVIEFOCUSLOSTEVENT=15;cp.MOVIEAUDIOMUTEEVENT=
16;cp.INPUTCONTROLREPLACEDEVENT=17;cp.WINDOWRESIZEDEVENT=18;cp.WINDOWRESIZECOMPLETEDEVENT=19;cp.ORIENTATIONCHANGEDEVENT=20;cp.ORIENTATIONCHANGECOMPLETEDEVENT=21;cp.TIMEUPDATEEVENT=22;cp.SET_RESUMEDATA=23;cp.PLAYBARSTATECHANGED=24;cp.TOCSTATECHANGED=25;cp.ITEMDRAWINGCOMPLETEEVENT=26;cp.MOVIEEXITEVENT=27;var y=[];y[cp.VARIABLE_CREATED_EVENT]=[];y[cp.VARIABLE_CHANGED_EVENT]=[];y[cp.SPECIFIC_VARIABLE_CHANGED_EVENT]=[];y[cp.SLIDEENTEREVENT]=[];y[cp.SLIDEEXITEVENT]=[];y[cp.INTERACTIVEITEMSUBMITEVENT]=[];
y[cp.MOVIEPAUSEEVENT]=[];y[cp.MOVIERESUMEEVENT]=[];y[cp.MOVIESTARTEVENT]=[];y[cp.MOVIESTOPEVENT]=[];y[cp.QUESTIONSKIPEVENT]=[];y[cp.QUESTIONSUBMITEVENT]=[];y[cp.STARTPLAYBARSCRUBBINGEVENT]=[];y[cp.ENDPLAYBARSCRUBBINGEVENT]=[];y[cp.MOVIEFOCUSINEVENT]=[];y[cp.MOVIEFOCUSLOSTEVENT]=[];y[cp.MOVIEAUDIOMUTEEVENT]=[];y[cp.INPUTCONTROLREPLACEDEVENT]=[];y[cp.WINDOWRESIZEDEVENT]=[];y[cp.WINDOWRESIZECOMPLETEDEVENT]=[];y[cp.ORIENTATIONCHANGEDEVENT]=[];y[cp.ORIENTATIONCHANGECOMPLETEDEVENT]=[];y[cp.TIMEUPDATEEVENT]=
[];y[cp.SET_RESUMEDATA]=[];y[cp.PLAYBARSTATECHANGED]=[];y[cp.TOCSTATECHANGED]=[];y[cp.ITEMDRAWINGCOMPLETEEVENT]=[];y[cp.MOVIEEXITEVENT]=[];cp.updateTextBounds=function(a,c,d,e){if(cp.responsive&&a&&d)for(var d=[d[cp.ResponsiveProjWidth].l,d[cp.ResponsiveProjWidth].t,d[cp.ResponsiveProjWidth].w,d[cp.ResponsiveProjWidth].h],e=[e[0],e[1],-(e[0]+e[2]),-(e[1]+e[3])],f=["left","top","width","height"],c=[a.parentElement.clientWidth,a.parentElement.clientHeight,c.clientWidth,c.clientHeight],g=0;g<4;++g){var k=
d[g];a.style[f[g]]=k.indexOf("%")!=-1?cp.getRoundedValue(parseFloat(k)*c[g]/100)+e[g]+"px":parseFloat(k)+e[g]+"px"}};cp.adjustFontSizesForVariableText=function(a,c,d){if(a){var a=a.children,e;for(e in a){var f=a[e];if(f&&f.tagName&&f.tagName.toLowerCase()=="span"){var g=parseFloat(f.style.fontSize),g=Math.floor(cp.getInterpolatedFontSize(c,g,d));g<8&&(g=8);f.style.fontSize=g+"px"}cp.adjustFontSizesForVariableText(f,c,d)}}};cp.updateVarText=Y;cp.updateVariableTextBounds=function(a,c){a.element&&cp.updateVarText(a.element,
true,c)};cp.EventManager=function(){cp.em=this;(!document.createEvent||!document.addEventListener)&&alert("EVENT FIRING WILL NOT WORK");document.addEventListener("propertyChange",Sa,false);this.verbose=false};cp.EventManager.prototype={fireEvent:function(a,c){if(document.createEvent){var d=document.createEvent("Events");d.initEvent("propertyChange",true,true,null);d.cpName=a;d.cpData=c;if(window.cpAPIEventEmitter){d.Name=a;d.Data=c;window.cpAPIEventEmitter.trigger(d)}return!document.dispatchEvent(d)}},
addEventListener:function(a,c,d,e){this.verbose&&cp.log("cp.em.addEventListener : "+a+" "+c+" "+d);if(c==cp.VARIABLE_CREATED_EVENT||c==cp.VARIABLE_CHANGED_EVENT||c==cp.SLIDEENTEREVENT||c==cp.SLIDEEXITEVENT||c==cp.STARTPLAYBARSCRUBBINGEVENT||c==cp.INTERACTIVEITEMSUBMITEVENT||c==cp.MOVIEPAUSEEVENT||c==cp.MOVIERESUMEEVENT||c==cp.MOVIESTARTEVENT||c==cp.MOVIESTOPEVENT||c==cp.MOVIEEXITEVENT||c==cp.QUESTIONSKIPEVENT||c==cp.QUESTIONSUBMITEVENT||c==cp.MOVIEFOCUSINEVENT||c==cp.MOVIEFOCUSLOSTEVENT||c==cp.MOVIEAUDIOMUTEEVENT||
c==cp.ENDPLAYBARSCRUBBINGEVENT||c==cp.INPUTCONTROLREPLACEDEVENT||c==cp.WINDOWRESIZEDEVENT||c==cp.ORIENTATIONCHANGEDEVENT||c==cp.WINDOWRESIZECOMPLETEDEVENT||c==cp.ORIENTATIONCHANGECOMPLETEDEVENT||c==cp.TIMEUPDATEEVENT||c==cp.SET_RESUMEDATA||c==cp.ITEMDRAWINGCOMPLETEEVENT){c=y[c];c.push({l:a,r:e});this.verbose&&cp.log(c);return true}if(c==cp.SPECIFIC_VARIABLE_CHANGED_EVENT){c=y[c];c.push({l:a,n:d,r:e});this.verbose&&cp.log(c);return true}return false},removeEventListener:function(a,c,d){this.verbose&&
cp.log("cp.em.removeEventListener : "+a+" "+c+" "+d);var e=false;if(c==cp.VARIABLE_CREATED_EVENT||c==cp.VARIABLE_CHANGED_EVENT||c==cp.SLIDEENTEREVENT||c==cp.SLIDEEXITEVENT||c==cp.STARTPLAYBARSCRUBBINGEVENT||c==cp.INTERACTIVEITEMSUBMITEVENT||c==cp.MOVIEPAUSEEVENT||c==cp.MOVIERESUMEEVENT||c==cp.MOVIESTARTEVENT||c==cp.MOVIESTOPEVENT||c==cp.MOVIEEXITEVENT||c==cp.QUESTIONSKIPEVENT||c==cp.QUESTIONSUBMITEVENT||c==cp.MOVIEFOCUSINEVENT||c==cp.MOVIEFOCUSLOSTEVENT||c==cp.MOVIEAUDIOMUTEEVENT||c==cp.ENDPLAYBARSCRUBBINGEVENT||
c==cp.INPUTCONTROLREPLACEDEVENT||c==cp.WINDOWRESIZEDEVENT||c==cp.ORIENTATIONCHANGEDEVENT||c==cp.WINDOWRESIZECOMPLETEDEVENT||c==cp.ORIENTATIONCHANGECOMPLETEDEVENT||c==cp.TIMEUPDATEEVENT||c==cp.SET_RESUMEDATA||c==cp.ITEMDRAWINGCOMPLETEEVENT){c=y[c];if(a.id!=void 0)for(var f=0;f<c.length;++f){if(c[f].l.id==a.id){c.splice(f,1);e=true}}else for(f=0;f<c.length;++f)if(c[f].l==a){c.splice(f,1);e=true}e&&this.verbose&&cp.log(c)}else if(c==cp.SPECIFIC_VARIABLE_CHANGED_EVENT){c=y[c];if(d!=void 0&&d!="")if(a.id!=
void 0)for(f=0;f<c.length;++f){if(c[f].l.id==a.id&&c[f].n==d){c.splice(f,1);e=true}}else for(f=0;f<c.length;++f){if(c[f].l==a&&c[f].n==d){c.splice(f,1);e=true}}else if(a.id!=void 0)for(f=0;f<c.length;++f){if(c[f].l.id==a.id){c.splice(f,1);e=true}}else for(f=0;f<c.length;++f)if(c[f].l==a){c.splice(f,1);e=true}e&&this.verbose&&cp.log(c)}return e}};window.vh={};window.svvi=function(a,c,d){var e=null;if(a!=""){e=null;if(a&&a!=""){var f="_"+a,e=vh[f];e!==c&&(vh[f]=c)}if(cp.em&&e!=c){a={captivateVersion:ca(),
varName:a,oldVal:e,newVal:c,notify:d};cp.em.fireEvent("CPVariableValueChangedEvent",a)}}else if(cp.em){a={captivateVersion:ca(),varName:"",newVal:c,notify:d};cp.em.fireEvent("CPVariableValueChangedEvent",a)}};var X=0;cp.setCpQuizScopeSlide=Pa;window.asg=function(a,c,d){try{c==null&&(c=Jc);d==null&&(d=Kc);if(Object.defineProperty)Object.defineProperty(window,a,{get:d,set:c});else if(window.__defineGetter__){d&&window.__defineGetter__(a,d);c&&window.__defineSetter__(a,c)}}catch(e){cp.m_isPreview&&cp.alert("Please correct the variable name. This might be a javascript variable. : '"+
a+"'")}};cp.VarInfo=function(a,c,d){this.name=a;this.len=c;this.systemDefined=d};cp.VariablesManager=function(){cp.vm=this;this.varInfos=[];if(!Object.defineProperty&&!window.__defineGetter__)alert("VARIABLES SETTER GETTER WILL NOT WORK");else{asg("cpCmndVolume",Va,Ua);asg("cpCmndMute",oa,pa);asg("rdcmndMute",oa,pa);asg("cpCmndCC",Ya,sa);asg("rdcmndCC",null,sa);asg("cpCmndNext",ia,null);asg("rdcmndNext",ia,null);asg("cpCmndNextSlide",ia,null);asg("rdcmndNextSlide",ia,null);asg("cpCmndPrevious",ga,
fa);asg("rdcmndPrevious",ga,fa);asg("cpCmndNextOnReview",$a,null);asg("cpCmndPreviousSlide",ga,fa);asg("rdcmndPreviousSlide",ga,fa);asg("cpCmndPreviousOnReview",Za,null);asg("cpCmndPlaybarMoved",ra,qa);asg("rdcmndPlaybarMoved",ra,qa);asg("cpCmndShowPlaybar",Xa,Wa);asg("cpCmndFastForward",ab,null);asg("cpCmndRewindAndPlay",ua,ta);asg("rdcmndRewindAndPlay",ua,ta);asg("cpCmndRewindAndStop",wa,va);asg("rdcmndRewindAndStop",wa,va);asg("cpCmndGotoFrame",za,null);asg("rdcmndGotoFrame",za,null);asg("cpCmndGotoFrameAndResume",
Aa,null);asg("rdcmndGotoFrameAndResume",Aa,null);asg("cpCmndGotoSlide",Ba,null);asg("rdcmndGotoSlide",Ba,null);asg("cpCmndGotoSlideAndResume",fb,null);asg("cpCmndGotoSlideByUIDAndResume",gb,null);asg("cpCmndResume",ya,xa);asg("rdcmndResume",ya,xa);asg("cpCmndPause",Fa,Ga);asg("rdcmndPause",Fa,Ga);asg("cpCmndExit",Ea,Da);asg("rdcmndExit",Ea,Da);asg("cpLockTOC",bb,cb);asg("cpCmndInfo",Ha,Ia);asg("rdcmndInfo",Ha,Ia);asg("cpCmndTOCVisible",db,eb);asg("cpInfoSlidesInProject",null,La);asg("rdinfoSlidesInProject",
null,La);asg("rdinfoCurrentSlideInProject",null,function(){return 0});asg("cpInfoFPS",null,Oa);asg("rdinfoFPS",null,Oa);asg("cpInfoAuthor",null,hb);asg("cpInfoCompany",null,Sb);asg("cpInfoEmail",null,bc);asg("cpInfoWebsite",null,$b);asg("cpInfoCopyright",null,Zb);asg("cpInfoProjectName",null,ac);asg("cpInfoDescription",null,ib);asg("cpInfoCurrentFrame",null,la);asg("rdinfoCurrentFrame",null,la);asg("cpInfoPrevFrame",null,xc);asg("cpInfoFrameCount",null,gc);asg("cpInfoPrevSlide",null,wb);asg("cpInfoLastVisitedSlide",
null,Nb);asg("cpInfoCurrentSlide",null,yc);asg("rdinfoCurrentSlide",null,Ma);asg("cpInfoCurrentSlideIndex",null,Ma);asg("cpInfoCurrentSlideLabel",null,rb);asg("cpInfoSlideCount",null,Na);asg("rdinfoSlideCount",null,Na);asg("cpInfoIsStandalone",null,cc);asg("cpInfoHasPlaybar",null,dc);asg("cpInfoCurrentSlideType",null,vc);asg("cpInfoElapsedTimeMS",null,uc);asg("cpInfoEpochMS",null,tc);asg("cpInfoCurrentMinutes",null,sc);asg("cpInfoCurrentHour",null,rc);asg("cpInfoCurrentTime",null,qc);asg("cpInfoCurrentDay",
null,pc);asg("cpInfoCurrentYear",null,oc);asg("cpInfoCurrentMonth",null,nc);asg("cpInfoCurrentDate",null,mc);asg("cpInfoCurrentDateString",null,jc);asg("cpInfoCurrentDateStringDDMMYYYY",null,kc);asg("cpInfoCurrentLocaleDateString",null,lc);asg("cpCmndGotoQuizScopeSlide",Gc,null);asg("cpQuizInfoLastSlidePointScored",kb,jb);asg("cpQuizInfoQuestionSlideType",Kb,Jb);asg("cpQuizInfoAnswerChoice",Ub,Tb);asg("cpQuizInfoMaxAttemptsOnCurrentQuestion",Pb,Ob);asg("cpQuizInfoPointsPerQuestionSlide",mb,lb);asg("cpQuizInfoNegativePointsOnCurrentQuestionSlide",
ob,nb);asg("cpQuizInfoQuestionSlideTiming",Rb,Qb);asg("cpQuizInfoQuizPassPoints",Ib,Hb);asg("cpQuizInfoQuizPassPercent",tb,sb);asg("cpQuizInfoTotalProjectPoints",vb,ub);asg("cpQuizInfoTotalUnansweredQuestions",Mb,Lb);asg("cpQuizInfoNoQuestionsPerQuiz",Wb,Vb);asg("cpQuizInfoPointsscored",Yb,Xb);asg("cpQuizInfoPretestPointsscored",null,Cc);asg("cpQuizInfoPretestScorePercentage",null,Fc);asg("cpQuizInfoTotalCorrectAnswers",yb,xb);asg("cpInfoPercentage",Eb,Db);asg("cpQuizInfoTotalQuizPoints",ic,hc);asg("cpQuizInfoAttempts",
fc,ec);asg("cpQuizInfoTotalQuestionsPerProject",Gb,Fb);asg("cpQuizInfoQuestionPartialScoreOn",qb,pb);asg("cpQuizScopeSlide",null,zc);asg("cpInQuizScope",null,Ac);asg("cpQuizInfoPassFail",null,wc);asg("cpInfoCourseID",null,Hc);asg("cpInfoCourseName",null,Ic);asg("cpQuizInfoPreTestTotalCorrectAnswers",Cb,zb);asg("cpInReviewMode",null,Dc);asg("cpQuizInfoPreTestTotalQuestions",Ab,Bb);asg("cpQuizInfoPreTestMaxScore",null,Ec);asg("CaptivateVersion",null,ca);asg("cpInfoMobileOS",null,Ta);if(cp.getCurrentGeolocation&&
cp.geo){asg("cpInfoGeoLocation",null,getCurrentGeolocation);cp.getCurrentGeolocation()}}cp.initVariables();cp.vm.createVariable("cpQuizScopeSlide",-1,true,100);cp.initVariables=null};window.DefineProperty=function(a){eval("(function(){function get"+a+"(){return vh._"+a+";}function set"+a+'(val){svvi("'+a+'", val, ["'+a+'"]);} asg("'+a+'",set'+a+",get"+a+");})();")};cp.VariablesManager.prototype={hasOwnProperty:function(a){try{return eval("vh._"+a)==void 0?false:true}catch(c){return false}},getVariableValue:function(a){var c=
null;a&&a!=""&&(c=eval("vh._"+a));return c},createVariable:function(a,c,d,e){void 0==d&&(d=true);if(a&&a!=""&&this.hasOwnProperty(a)==false){this.addVarInfo(a,e,d);vh["_"+a]=c;if(cp.em&&d!=true){DefineProperty(a);a={captivateVersion:ca(),varName:a,varVal:c};cp.em.fireEvent("CPVariableCreatedEvent",a)}return true}return false},setVariableValue:function(a,c,d){d==void 0&&(d=true);var e=true;d?this.createVariable(a,c,true,1E4)==true&&(e=false):this.hasOwnProperty(a)==false&&(e=false);e&&(vh["_"+a]=c)},
addVarInfo:function(a,c,d){this.varInfos.push(new cp.VarInfo(a,c,d))},getVariableLength:function(a){for(var c=0,c=0;c<this.varInfos.length;++c)if(a==this.varInfos[c].name)return this.varInfos[c].len;return 1E3}};cp.EventVideo=function(a){this.vdm=cp.movie.vdm;this.vdm.verbose&&cp.log("EventVideo being constructed for el "+a.id);cp.EventVideo.baseConstructor.call(this,a);this.id=this.parentDivName=this.getAttribute("dn");a=cp.D[this.parentDivName];this.from=a.from;this.to=a.to;this.displayForDurationOfVideo=
a.ddv;cp.IDEVICE==cp.device||cp.device==cp.ANDROID?this.cploop=this.getAttribute("l"):this.loop=this.getAttribute("l");if(this.showControls=this.getAttribute("svc"))this.videoSkinStrings=this.getAttribute("vss");this.autoPlay=this.getAttribute("au");this.autoRewind=this.getAttribute("ar");this.src=cp.getCorrectMediaPath(this.getAttribute("mp4"));if((cp.device==cp.IDEVICE||cp.device==cp.ANDROID)&&!cp.multiAudioTrack){var c=cp.getCorrectMediaPath(this.getAttribute("amp4"));if(c)this.src=c}this.nativeVideo=
null;this.ended=false;this.paused=true;this.started=false;this.visible=this.getAttribute("visible");this.transIn=a.trin;this.element.parentElement.drawingBoard=this.element.parentElement;c=this.getAttribute("b");this.actualParent=a=document.getElementById(this.parentDivName);this.actualDrawingElement=this.element;this.bounds={minX:c[0],minY:c[1],maxX:c[2],maxY:c[3]};c=this.getAttribute("vb");this.vbounds={minX:c[0],minY:c[1],maxX:c[2],maxY:c[3],width:c[2]-c[0],height:c[3]-c[1]};if(a){a.drawingBoard=
this.element.parentElement;a.bounds=this.bounds;a.drawingBoard.bounds=this.vbounds}this.isDrawn=false;this.tr=this.getAttribute("tr");if(!this.tr)this.tr="rotate(0deg)";this.sh=this.getAttribute("sh");this.re=this.getAttribute("re");cp.movie.stage.addToParentChildMap(a.id,this.element.id);if(cp.responsive)this.responsiveCSS=this.getAttribute("css")};cp.inherits(cp.EventVideo,cp.DisplayObject);cp.EventVideo.prototype.start=function(a,c){function d(e){if((cp.device==cp.IDEVICE||cp.device==cp.ANDROID)&&
cp.multiAudioTrack){var f=e.from;f<cpInfoCurrentFrame&&(f=cpInfoCurrentFrame);var g=f+0.5*cpInfoFPS;if(g>e.to)g=e.to;if(cp.movie.am.doesAudioStartBetween(f,g)){e.vdm.verbose&&cp.log("500mS delay in start of "+e.id);e.delayStartTimer=setTimeout(function(){d(e)},500);return}}e.drawIfNeeded(a,c);e.addNativeVideoIfNeeded()}d(this,a);if(!this.effectIsStarted||a){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.EventVideo.prototype.reset=function(a){this.vdm.verbose&&cp.log("EventVideo "+
this.id+" reset("+a+")");if(this.delayStartTimer){clearTimeout(this.delayStartTimer);delete this.delayStartTimer}delete cp.ropMap[this.element.id];this.pause();if(this.nativeVideo){this.nativeVideo.cpVideo=null;try{this.nativeVideo.currentTime=0}catch(c){}this.nativeVideo.style.display="none";if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID){var d=this.src;this.src="_cp_n_m_";var e=this.nativeVideo;setTimeout(function(){if(e.cpSrc==d){e.cpSrc="_cp_n_m_";try{e.src="_cp_n_m_"}catch(a){}try{e.load()}catch(c){}}},
100)}this.nativeVideo=null}this.isDrawn=false;if((cp.device!=cp.IDEVICE||cp.IOSMajor>=cp.IOS8)&&cp.removeVideoSkin){(cp.device==cp.ANDROID?cp.movie.stage.NativeVideoElement:this.element).style.backgroundColor="";cp.removeVideoSkin(this.actualParent)}this.element.width=0;this.element.height=0;this.element.style.width="0px";this.element.style.height="0px";this.element.left=0;this.element.top=0;this.element.style.left="0px";this.element.style.top="0px";if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)cp.movie.stage.VideoPlaying=
false;this.ended=false;delete this.seekToTime};cp.EventVideo.prototype.onEndOfMovie=function(){this.vdm.verbose&&cp.log("EventVideo "+this.id+" onEndOfMovie()");if(!this.displayForDurationOfVideo){this.pause();if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)cp.movie.stage.VideoPlaying=false;this.ended=false;delete this.seekToTime}};cp.EventVideo.prototype.drawForResponsive=function(a,c){if(!this.responsiveCSS)return false;if(this.isDrawn&&!a)return true;var d=cp.getResponsiveCSS(this.responsiveCSS),
e=false,e=this.sh&&!this.sh.i,f=this.tr!=void 0;if(this.isDrawn&&this.currentCSS==d&&!e&&!f&&(!a||c==cp.ReasonForDrawing.kMoviePaused))return true;var g=this.currentCSS=d;if(!a){if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID){if(cp.movie.stage.VideoPlaying)return false;cp.multiAudioTrack||cp.movie.am.pause(cp.ReasonForPause.ONLY_ONE_MEDIUM_CAN_PLAY);cp.movie.stage.VideoPlaying=true}this.vdm.verbose&&cp.log("EventVideo "+this.id+" start()")}f=0;this.tr&&(f=cp.getAngleFromRotateStr(this.tr));if(cp.device==
cp.IDEVICE||cp.device==cp.ANDROID){e=cp.movie.stage.NativeVideoElement;if(!e){e=this.element;cp.movie.stage.NativeVideoElement=this.element}}else e=this.element;var k=this.actualParent;cp.applyResponsiveStyles(k,g,true);cp.applyResponsiveStyles(e,g,true);g=cp.movie.stage.mainSlideDiv.getBoundingClientRect();g=cp.createResponsiveStyleObj(d,void 0,"0px","0px","0px","0px",g.width+"px",g.height+"px",void 0);cp.applyResponsiveStyles(e.parentElement,g);this.parentElementClientBoundingRect=e.parentElement.getBoundingClientRect();
e.rotateAngle=f;if(this.tr){cp.applyTransform(e,this.tr);cp.applyTransform(k,this.tr);e.tr=this.tr;k.tr=this.tr}if(this.sh&&!this.sh.i){d=this.sh.a-f;cp.applyShadow(e,this.sh.d*Math.cos(Math.PI*d/180)+"px "+this.sh.d*Math.sin(Math.PI*d/180)+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)+(this.sh.i?" inset":""))}if(this.re)e.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+
(1-this.re.p/100)+")))";if(this.transIn&&c==cp.ReasonForDrawing.kRegularDraw)e.parentElement.style.opacity=0;this.visible||cp.hide(this.parentDivName);return this.isDrawn=true};cp.EventVideo.prototype.drawIfNeeded=function(a,c){if(!cp.responsive||!this.drawForResponsive(a,c)){if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID){if(cp.movie.stage.VideoPlaying)return;cp.multiAudioTrack||cp.movie.am.pause(cp.ReasonForPause.ONLY_ONE_MEDIUM_CAN_PLAY);cp.movie.stage.VideoPlaying=true}if(!this.isDrawn){this.vdm.verbose&&
cp.log("EventVideo "+this.id+" start()");var d=this.bounds,e=0;this.tr&&(e=cp.getAngleFromRotateStr(this.tr));var f;if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID){f=cp.movie.stage.NativeVideoElement;if(!f){f=this.element;cp.movie.stage.NativeVideoElement=this.element}}else f=this.element;var g=this.actualParent;g.style.left=d.minX+"px";g.style.top=d.minY+"px";g.style.width=d.maxX-d.minX+"px";g.style.height=d.maxY-d.minY+"px";var k=f.parentElement;k.style.left="0px";k.style.top="0px";k.style.width=
cp.D.project.w+"px";k.style.height=cp.D.project.h+"px";f.rotateAngle=e;f.style.left=d.minX+"px";f.style.top=d.minY+"px";f.style.width=d.maxX-d.minX+"px";f.style.height=d.maxY-d.minY+"px";f.style.display="block";f.style.position="absolute";if(this.tr){cp.applyTransform(f,this.tr);cp.applyTransform(g,this.tr);f.tr=this.tr;g.tr=this.tr}if(this.sh&&!this.sh.i){d=this.sh.a-e;cp.applyShadow(f,this.sh.d*Math.cos(Math.PI*d/180)+"px "+this.sh.d*Math.sin(Math.PI*d/180)+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,
this.sh.o)+(this.sh.i?" inset":""))}if(this.re)f.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";if(this.transIn)f.parentElement.style.opacity=0;this.visible||cp.hide(this.parentDivName);this.isDrawn=true}}};cp.EventVideo.prototype.addNativeVideoIfNeeded=function(){if(this.isDrawn&&!this.nativeVideo){var a;a=cp.device==cp.IDEVICE||cp.device==
cp.ANDROID?cp.movie.stage.NativeVideoElement:this.element;this.vdm.allocVideoChannel(this,cp.IDEVICE!=cp.device&&cp.device!=cp.ANDROID);if(this.nativeVideo){var c=this.bounds;if(cp.SAFARI===cp.browser&&cp.browserVersion>=7)this.nativeVideo.controls=true;this.nativeVideo.style.display="block";if(cp.responsive){this.nativeVideo.style.width="100%";this.nativeVideo.style.height="100%"}else{this.nativeVideo.style.width=c.maxX-c.minX+"px";this.nativeVideo.style.height=c.maxY-c.minY+"px"}if(cp.device==cp.IDEVICE&&
cp.IOSMajor>=cp.IOS5||cp.device==cp.ANDROID){this.nativeVideo.CPcanPlay=false;this.nativeVideo.from=this.from;this.nativeVideo.to=this.to;this.nativeVideo.style.position="fixed";this.nativeVideo.style.left="-99999px"}if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)if(this.nativeVideo.parentElement){cp.movie.stage.correctReWrapZOrder(a.parentElement,this.element.parentElement);cp.movie.stage.correctParentZOrder(cp.movie.stage.VideoElement,this.actualParent)}else a.appendChild(this.nativeVideo);else a.appendChild(this.nativeVideo);
if(this.visible){a.style.display="block";a.style.visibility="visible";if(this.showControls&&this.nativeVideo)if(cp.IDEVICE!=cp.device||cp.IOSMajor>=cp.IOS8){a.style.backgroundColor="#000000";cp.addVideoSkin(this.actualParent,this,this.autoPlay)}else{var d=this;this.nativeVideo.addEventListener("webkitbeginfullscreen",function(){cp.movie.pause()});this.nativeVideo.addEventListener("webkitendfullscreen",function(){d.nativeVideo.ended&&cp.movie.play()});this.nativeVideo.controls=true}this.autoPlay&&
this.play()}}cp.redrawVideo(this.nativeVideo)}};cp.EventVideo.prototype.load=function(){this.nativeVideo&&this.nativeVideo.load()};cp.EventVideo.prototype.play=function(){if(!(this.ended==true||this.paused==false))if(cp.lastMediaPlayReqTime&&(new Date).getTime()-cp.lastMediaPlayReqTime.getTime()<50){this.vdm.verbose&&cp.log("crowded request postponed "+this.id);var a=this;setTimeout(function(){a.play()},50)}else if(this.isSeekPending()){this.vdm.verbose&&cp.log("EventVideo.Play setting revoke "+this.id);
this.revoke=true;this.finishPendingSeek()}else if(this.nativeVideo){this.paused=false;if(this.nativeVideo.src.indexOf(this.src)==-1){this.nativeVideo.cpSrc=this.src;this.nativeVideo.src=this.src;this.nativeVideo.load()}this.vdm.verbose&&cp.log("EventVideo.Play "+this.id+" "+this.src);if((cp.device==cp.IDEVICE||cp.device==cp.ANDROID)&&cp.multiAudioTrack)cp.lastMediaPlayReqTime=new Date;this.nativeVideo.play();this.started=true}};cp.EventVideo.prototype.pause=function(){if(this.isSeekPending()){this.vdm.verbose&&
cp.log("EventVideo.Pause deleting revoke "+this.id);delete this.revoke}if(!this.paused){this.paused=true;this.vdm.verbose&&cp.log("EventVideo.Pause "+this.id+" "+this.src);if(this.nativeVideo){this.nativeVideo.pause();this.nativeVideo.pausedAt=(new Date).getTime()}}};cp.EventVideo.prototype.setLoop=function(a,c){this.loop=a;this.loopFrames=c;if(cp.IDEVICE==cp.device||cp.device==cp.ANDROID)this.cploop=a;else if(this.nativeVideo)a?this.nativeVideo.loop=true:delete this.nativeVideo.loop};cp.EventVideo.prototype.setCurrentTime=
function(a){this.vdm.verbose&&cp.log("VideoObject "+this.id+"src "+this.src+" setCurrentTime("+a+")");if(this.nativeVideo){delete this.seekToTime;if(!this.paused){this.vdm.verbose&&cp.log("setting revoke");this.revoke=true;this.pause()}var c=true;try{this.nativeVideo.currentTime=a;var d=Math.abs(this.nativeVideo.currentTime-a);d>=0.05&&(c=false)}catch(e){d=Math.abs(this.nativeVideo.currentTime-a);c=d>=0.05?false:true}this.vdm.verbose&&cp.log("seekSuccess = "+c);if(cp.movie.ms.enabled)if(c){if(this.revoke){this.vdm.verbose&&
cp.log("revoking play");delete this.revoke;this.play()}}else{this.vdm.verbose&&cp.log("pause movie and add to seekQueue");this.seekToTime=a;cp.movie.ms.addToQueue(this)}else if(this.revoke){this.vdm.verbose&&cp.log("revoking play");delete this.revoke;this.play()}}else{this.seekToTime=a;this.vdm.verbose&&cp.log("no native video. Kept in pending...")}};cp.EventVideo.prototype.isSeekPending=function(){return void 0!=this.seekToTime};cp.EventVideo.prototype.finishPendingSeek=function(){if(this.nativeVideo&&
this.isSeekPending()){this.vdm.verbose&&cp.log("VideoObject "+this.id+" finishPendingSeek");this.setCurrentTime(this.seekToTime)}};cp.EventVideo.prototype.seekTo=function(a){this.vdm.verbose&&cp.log("VideoObject "+this.id+" seekTo("+a+")");if(this.loop&&this.loopFrames){if(this.from<=a){this.setCurrentTime((a-this.from)%this.loopFrames/cpInfoFPS);this.ended=false;return true}}else{if(this.from<=a&&this.to>=a){this.setCurrentTime((a-this.from)/cpInfoFPS);this.ended=false;return true}if(this.to>=a){this.setCurrentTime(0);
this.ended=false}}return false};cp.FMRVideo=function(a){cp.FMRVideo.baseConstructor.call(this,a);this.type=cp.kCPFullMotion};cp.inherits(cp.FMRVideo,cp.EventVideo);cp.FMRVideo.prototype.addNativeVideoIfNeeded=function(){cp.FMRVideo.superClass.addNativeVideoIfNeeded.call(this);this.vdm.demoVideo=this.nativeVideo};cp.FMRVideo.prototype.reset=function(a){cp.FMRVideo.superClass.reset.call(this,a);this.vdm.demoVideo=this.nativeVideo};cp.FMRVideo.prototype.onEndOfMovie=function(){cp.FMRVideo.superClass.onEndOfMovie.call(this);
this.vdm.demoVideo=this.nativeVideo};cp.FMRVideo.prototype.updateFrame=function(){this.paused&&(!cp.movie.paused&&this.autoPlay&&this.visible)&&this.play()};cp.CPVCVideo=function(a){cp.CPVCVideo.baseConstructor.call(this,a);this.type=cp.kCPOTVideoResource};cp.inherits(cp.CPVCVideo,cp.FMRVideo);cp.SlideVideo=function(a){cp.SlideVideo.baseConstructor.call(this,a);this.autoPlay=1;this.seek_From=this.getAttribute("vsf");this.seek_To=this.getAttribute("vst");this.showInTOC=this.getAttribute("sit");this.continueToNextSlide=
this.getAttribute("continueToNextSlide");this.continueFromPrevSlide=this.getAttribute("continueFromPrevSlide");this.type=cp.kCPOTVideo};cp.inherits(cp.SlideVideo,cp.EventVideo);cp.SlideVideo.prototype.reset=function(a){this.vdm.verbose&&cp.log("SlideVideo "+this.id+" reset("+a+")");if(this.delayStartTimer){clearTimeout(this.delayStartTimer);delete this.delayStartTimer}if(a&&this.continueToNextSlide){if(this.nativeVideo)this.nativeVideo=this.nativeVideo.cpVideo=null}else{this.pause();if(this.showInTOC){cp.toc.rootObj.showVideo(false);
if(this.nativeVideo){this.nativeVideo.cpVideo=null;if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID){var c=this.src;this.src="_cp_n_m_";var d=this.nativeVideo;setTimeout(function(){if(d.cpSrc==c){d.cpSrc="_cp_n_m_";try{d.src="_cp_n_m_"}catch(a){}try{d.load()}catch(f){}}},100)}this.nativeVideo=null}}else if(this.nativeVideo){this.nativeVideo.cpVideo=null;this.nativeVideo.style.display="none";if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID){c=this.src;this.src="_cp_n_m_";d=this.nativeVideo;setTimeout(function(){if(d.cpSrc==
c){d.cpSrc="_cp_n_m_";try{d.src="_cp_n_m_"}catch(a){}try{d.load()}catch(f){}}},100)}this.nativeVideo=null}}this.isDrawn=false;if(!a||!this.continueToNextSlide){this.element.style.width="0px";this.element.style.height="0px";this.element.style.left="0px";this.element.style.top="0px"}if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)cp.movie.stage.VideoPlaying=false;this.ended=false;delete this.seekToTime};cp.SlideVideo.prototype.onEndOfMovie=function(){this.vdm.verbose&&cp.log("SlideVideo "+this.id+" onEndOfMovie()");
this.pause();if(this.nativeVideo)this.nativeVideo=this.nativeVideo.cpVideo=null;this.isDrawn=false;if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)cp.movie.stage.VideoPlaying=false;this.ended=false;delete this.seekToTime};cp.SlideVideo.prototype.drawForResponsive=function(a,c){if(!this.responsiveCSS)return false;if(this.isDrawn&&!a)return true;var d=cp.getResponsiveCSS(this.responsiveCSS),e=false,e=this.sh&&!this.sh.i,f=this.tr!=void 0;if(this.isDrawn&&this.currentCSS==d&&!e&&!f&&(!a||c==cp.ReasonForDrawing.kMoviePaused))return true;
var g=this.currentCSS=d;if(!a){if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID){if(cp.movie.stage.VideoPlaying)return false;cp.movie.stage.VideoPlaying=true}this.vdm.verbose&&cp.log("SlideVideo "+this.id+" start()")}if(this.showInTOC){this.isDrawn=true;return false}f=0;this.tr&&(f=cp.getAngleFromRotateStr(this.tr));if(e=cp.movie.stage.NativeSlideVideoElement)e.parentElement.style.zIndex=cp.D[cp.D[this.element.id].dn].zIndex;else{e=this.element;cp.movie.stage.NativeSlideVideoElement=this.element}this.actualDrawingElement=
cp.movie.stage.NativeSlideVideoElement;var k=this.actualParent;cp.applyResponsiveStyles(k,g,true);cp.applyResponsiveStyles(e,g,true);g=cp.movie.stage.mainSlideDiv.getBoundingClientRect();g=cp.createResponsiveStyleObj(d,void 0,"0px","0px","0px","0px",g.width+"px",g.height+"px",void 0);cp.applyResponsiveStyles(e.parentElement,g);this.parentElementClientBoundingRect=e.parentElement.getBoundingClientRect();e.rotateAngle=f;if(this.tr){cp.applyTransform(e,this.tr);cp.applyTransform(k,this.tr);e.tr=this.tr;
k.tr=this.tr}if(this.sh&&!this.sh.i){d=this.sh.a-f;cp.applyShadow(e,this.sh.d*Math.cos(Math.PI*d/180)+"px "+this.sh.d*Math.sin(Math.PI*d/180)+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)+(this.sh.i?" inset":""))}if(this.re)e.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";if(this.transIn&&c==cp.ReasonForDrawing.kRegularDraw)e.parentElement.style.opacity=
0;this.visible||cp.hide(this.parentDivName);return this.isDrawn=true};cp.SlideVideo.prototype.drawIfNeeded=function(a){if(!cp.responsive||!this.drawForResponsive(a)){if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID){if(cp.movie.stage.VideoPlaying)return;cp.movie.stage.VideoPlaying=true}if(!this.isDrawn){if(!this.showInTOC){this.vdm.verbose&&cp.log("SlideVideo "+this.id+" start()");var c=this.bounds,d=0;this.tr&&(d=cp.getAngleFromRotateStr(this.tr));if(a=cp.movie.stage.NativeSlideVideoElement)a.parentElement.style.zIndex=
cp.D[cp.D[this.element.id].dn].zIndex;else{a=this.element;cp.movie.stage.NativeSlideVideoElement=this.element}this.actualDrawingElement=cp.movie.stage.NativeSlideVideoElement;var e=this.actualParent;e.style.left=c.minX+"px";e.style.top=c.minY+"px";e.style.width=c.maxX-c.minX+"px";e.style.height=c.maxY-c.minY+"px";var f=a.parentElement;f.style.left="0px";f.style.top="0px";f.style.width=cp.D.project.w+"px";f.style.height=cp.D.project.h+"px";a.rotateAngle=d;a.style.left=c.minX+"px";a.style.top=c.minY+
"px";a.style.width=c.maxX-c.minX+"px";a.style.height=c.maxY-c.minY+"px";a.style.display="block";a.style.position="absolute";if(this.tr){cp.applyTransform(a,this.tr);cp.applyTransform(e,this.tr);a.tr=this.tr;e.tr=this.tr}if(this.sh&&!this.sh.i){c=this.sh.a-d;cp.applyShadow(a,this.sh.d*Math.cos(Math.PI*c/180)+"px "+this.sh.d*Math.sin(Math.PI*c/180)+"px "+this.sh.b+"px "+cp.ConvertRGBToRGBA(this.sh.c,this.sh.o)+(this.sh.i?" inset":""))}if(this.re)a.parentElement.style.webkitBoxReflect="below "+this.re.d+
"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))";if(this.transIn)a.parentElement.style.opacity=0;this.visible||cp.hide(this.parentDivName)}this.isDrawn=true}}};cp.SlideVideo.prototype.addNativeVideoIfNeeded=function(){if(this.isDrawn&&!this.nativeVideo){if(this.showInTOC){if(!(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)){this.vdm.tocVideoChannel.cpVideo=null;if(this.vdm.tocVideoChannel0.cpSrc==
this.src){this.vdm.verbose&&cp.log("TOCVideo "+this.id+" found existing @ tocV0");this.vdm.tocVideoChannel=this.vdm.tocVideoChannel0}else if(this.vdm.tocVideoChannel1.cpSrc==this.src){this.vdm.verbose&&cp.log("TOCVideo "+this.id+" found existing @ tocV1");this.vdm.tocVideoChannel=this.vdm.tocVideoChannel1}else this.vdm.tocVideoChannel=this.vdm.tocVideoChannel0}this.nativeVideo=this.vdm.tocVideoChannel}else{if(!(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)){this.vdm.slideVideoChannel0.cpVideo=null;
if(this.vdm.slideVideoChannel0.cpSrc==this.src){this.vdm.verbose&&cp.log("SlideVideo "+this.id+" found existing @ SV0");this.vdm.slideVideoChannel=this.vdm.slideVideoChannel0}else if(this.vdm.slideVideoChannel1.cpSrc==this.src){this.vdm.verbose&&cp.log("SlideVideo "+this.id+" found existing @ SV1");this.vdm.slideVideoChannel=this.vdm.slideVideoChannel1}else this.vdm.slideVideoChannel=this.vdm.slideVideoChannel0}this.nativeVideo=this.vdm.slideVideoChannel}this.nativeVideo.cpVideo=this;this.paused=
this.nativeVideo.paused;var a=false;if(this.continueFromPrevSlide)this.nativeVideo.paused&&this.seekTo(cpInfoCurrentFrame);else if(this.nativeVideo.cpSrc==this.src)this.seekTo(this.from);else{if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID){try{this.nativeVideo.src="_cp_n_m_"}catch(c){}try{this.nativeVideo.load()}catch(d){}}this.nativeVideo.cpSrc=this.src;this.nativeVideo.src=this.src;this.nativeVideo.load();this.seekTo(this.from);a=true}if(this.showInTOC){this.nativeVideo.CPtoc=true;if(a&&(cp.device==
cp.IDEVICE&&cp.IOSMajor>=cp.IOS5||cp.device==cp.ANDROID)){this.nativeVideo.CPcanPlay=false;this.nativeVideo.style.position="fixed";this.nativeVideo.style.left="-99999px";this.nativeVideo.style.width="192px";this.nativeVideo.style.height="144px";this.nativeVideo.from=this.from;this.nativeVideo.to=this.to;cp.toc.rootObj.showVideo(false)}else cp.toc.rootObj.showVideo(true)}else{this.nativeVideo.CPtoc=false;var e=this.bounds;this.nativeVideo.style.display="block";if(cp.responsive){this.nativeVideo.style.width=
"100%";this.nativeVideo.style.height="100%"}else{this.nativeVideo.style.width=e.maxX-e.minX+"px";this.nativeVideo.style.height=e.maxY-e.minY+"px"}if(a&&(cp.device==cp.IDEVICE&&cp.IOSMajor>=cp.IOS5||cp.device==cp.ANDROID)){this.nativeVideo.CPcanPlay=false;this.nativeVideo.style.position="fixed";this.nativeVideo.style.left="-99999px";this.nativeVideo.from=this.from;this.nativeVideo.to=this.to}a=cp.movie.stage.NativeSlideVideoElement;if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)if(this.nativeVideo.parentElement){cp.movie.stage.correctReWrapZOrder(a.parentElement,
this.element.parentElement);cp.movie.stage.correctParentZOrder(cp.movie.stage.VideoElement,this.actualParent)}else a.appendChild(this.nativeVideo);else a.appendChild(this.nativeVideo);this.actualParent.drawingBoard=a.parentElement;if(this.visible){a.style.display="block";a.style.visibility="visible"}}if(this.visible){if(a=cp.DESKTOP==cp.device&&cp.SAFARI===cp.browser&&cp.browserVersion>=7)this.nativeVideo.controls=true;if(this.autoPlay)this.play();else if(this.nativeVideo&&a)this.nativeVideo.controls=
true}else this.visible||cp.hide(this.parentDivName);cp.redrawVideo(this.nativeVideo)}};cp.SlideVideo.prototype.updateFrame=function(){this.paused&&(!cp.movie.paused&&this.autoPlay&&this.visible)&&this.play();if(!this.effectIsStarted){this.updateEffects(this.hasEffect);this.effectIsStarted=true}};cp.SlideVideo.prototype.seekTo=function(a){this.vdm.verbose&&cp.log("SlideVideo "+this.id+" seekTo("+a+")");if(this.loop&&this.loopFrames){if(this.from<=a){this.setCurrentTime((a-this.from)%this.loopFrames/
cpInfoFPS+this.seek_From);this.ended=false;return true}}else{if(this.from<=a&&this.to>=a){this.setCurrentTime((a-this.from)/cpInfoFPS+this.seek_From);this.ended=false;return true}if(this.to>=a){this.setCurrentTime(this.seek_From);this.ended=false}}return false};cp.SlideVideo.prototype.pause=function(){var a=this.nativeVideo&&!this.nativeVideo.paused&&!this.nativeVideo.ended;cp.SlideVideo.superClass.pause.call(this);if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID)if(a&&this.nativeVideo&&(this.nativeVideo.paused||
this.nativeVideo.ended))cp.movie.stage.VideoPlaying=false};cp.SlideVideo.prototype.play=function(){var a=this.nativeVideo&&!this.nativeVideo.paused&&!this.nativeVideo.ended;cp.SlideVideo.superClass.play.call(this);if((cp.device==cp.IDEVICE||cp.device==cp.ANDROID)&&!a&&this.nativeVideo&&!this.nativeVideo.paused&&!this.nativeVideo.ended)cp.movie.stage.VideoPlaying=true};cp.NativeVideo=function(a){makeItDummyNativeVideo=function(a){a.currentTime=0;a.duration=0;a.paused=true;a.ended=true;a.defaultPlaybackRate=
0;a.playbackRate=1;a.played=false;a.seeking=false;a.seekable=false;a.fastSeek=false;a.src="";a.crossorigin=false;a.preload=false;a.autoplay=false;a.mediagroup="";a.loop=false;a.muted=false;a.controls=false;a.style={};a.load=function(){};a.play=function(){};a.pause=function(){};a.addEventListener=function(){};a.removeEventListener=function(){}};var c=cp.newElem("video");if(typeof Video==="undefined"||!Video)(c.load==void 0||c.play==void 0||c.pause==void 0||c.addEventListener==void 0)&&makeItDummyNativeVideo(c);
if(a)c.id=a;return c};cp.VideoManager=function(){cp.movie.vdm=this;this.viewVideo=this.verbose=this.loaded=false;this.errorCallBackFn=function(a){if(-1==this.src.indexOf("_cp_n_m_")){if(cp.exceptionalLogs){cp.log("src = "+this.src+" error code = "+(this.error?this.error.code:"NULL")+" n/w state = "+this.networkState);cp.log(a)}if(this.cpVideo){a=cp.D[this.cpVideo.id];if(a.psv)a.pausedOnce=true}this.waitCount=0}};this.waitingFn=function(){++this.waitCount;cp.movie.vdm.verbose&&cp.log("wait "+this.waitCount+
" "+this.cpSrc+" "+(this.cpVideo?this.cpVideo.id:""))};this.canPlayCallBackFn=function(){if(this.CPcanPlay==false){var a=100;if(cp.device==cp.ANDROID)a=2E3;else{this.CPcanPlay=true;this.waitCount=0}var c=this;setTimeout(function(){c.CPcanPlay=true;c.waitCount=0;var a=cpInfoCurrentFrame;if(c.from<=a&&a<=c.to){c.style.position="static";c.style.left="0px";c.CPtoc&&cp.toc.rootObj.showVideo(true)}},a)}else this.waitCount=0;if(this.cpVideo&&this.cpVideo.displayForDurationOfVideo)cp.D[this.cpVideo.parentDivName].to=
this.duration*cp.movie.fps;cp.movie.vdm.verbose&&cp.log("cnPly "+this.cpSrc+" "+(this.cpVideo?this.cpVideo.id:""))};this.onEndedCallBackFn=function(){this.waitCount=0;if(this.cploop){cp.movie.vdm.verbose&&cp.log(this.cpSrc+" loop");if(this.cpVideo){this.cpVideo.pause();this.cpVideo.seekTo(this.cpVideo.from);this.cpVideo.play()}}else{cp.movie.vdm.verbose&&cp.log(this.cpSrc+" ended");if(this.cpVideo)if(this.cpVideo.autoRewind){this.cpVideo.pause();this.cpVideo.seekTo(this.cpVideo.from)}else{this.cpVideo.ended=
true;this.endedAt=(new Date).getTime();this.cpVideo.pause()}else this.endedAt=(new Date).getTime();if(cp.movie.paused){if(cp.ReasonForPause.EVENT_VIDEO_PAUSE==cp.movie.reasonForPause){this.cpVideo.nativeVideo&&(document&&document.exitFullscreen?document.exitFullscreen():document&&document.webkitExitFullscreen?document.webkitExitFullscreen():this.cpVideo.nativeVideo.exitFullscreen?this.cpVideo.nativeVideo.exitFullscreen():this.cpVideo.nativeVideo.msExitFullscreen?this.cpVideo.nativeVideo.msExitFullscreen():
this.cpVideo.nativeVideo.mozCancelFullScreen?this.cpVideo.nativeVideo.mozCancelFullScreen():this.cpVideo.nativeVideo.webkitExitFullscreen&&this.cpVideo.nativeVideo.webkitExitFullscreen());cp.movie.play()}}else if(this.cpVideo)this.cpVideo.actualParent.pausedOnce=true;this.cpVideo&&this.cpVideo.displayForDurationOfVideo&&this.cpVideo.reset()}};this.PlayPauseCallBackFn=function(){if(this.paused)this.pausedAt=(new Date).getTime();if(this.cpVideo)this.cpVideo.paused=this.paused};if(cp.device==cp.IDEVICE||
cp.device==cp.ANDROID){this.slideVideoChannel=new cp.NativeVideo;this.slideVideoChannel.cpSrc="";this.slideVideoChannel.cpVideo=null;this.slideVideoChannel.ended=false;this.slideVideoChannel.addEventListener("error",this.errorCallBackFn,false);if(cp.IOSMajor>=cp.IOS5||cp.device==cp.ANDROID){this.slideVideoChannel.addEventListener("waiting",this.waitingFn,false);this.slideVideoChannel.addEventListener("canplay",this.canPlayCallBackFn,false)}this.slideVideoChannel.addEventListener("play",this.PlayPauseCallBackFn,
false);this.slideVideoChannel.addEventListener("pause",this.PlayPauseCallBackFn,false);this.slideVideoChannel.waitCount=0}else{this.slideVideoChannel0=new cp.NativeVideo;this.slideVideoChannel0.cpSrc="";this.slideVideoChannel0.cpVideo=null;this.slideVideoChannel0.ended=false;this.slideVideoChannel0.addEventListener("error",this.errorCallBackFn,false);this.slideVideoChannel0.addEventListener("waiting",this.waitingFn,false);this.slideVideoChannel0.addEventListener("canplay",this.canPlayCallBackFn,false);
this.slideVideoChannel0.addEventListener("play",this.PlayPauseCallBackFn,false);this.slideVideoChannel0.addEventListener("pause",this.PlayPauseCallBackFn,false);this.slideVideoChannel0.waitCount=0;this.slideVideoChannel1=new cp.NativeVideo;this.slideVideoChannel1.cpSrc="";this.slideVideoChannel1.cpVideo=null;this.slideVideoChannel1.ended=false;this.slideVideoChannel1.addEventListener("error",this.errorCallBackFn,false);this.slideVideoChannel1.addEventListener("waiting",this.waitingFn,false);this.slideVideoChannel1.addEventListener("canplay",
this.canPlayCallBackFn,false);this.slideVideoChannel1.addEventListener("play",this.PlayPauseCallBackFn,false);this.slideVideoChannel1.addEventListener("pause",this.PlayPauseCallBackFn,false);this.slideVideoChannel1.waitCount=0;this.slideVideoChannel=this.slideVideoChannel0}if(cp.loadedModules.toc)if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID){this.tocVideoChannel=document.getElementById("tocVideo");if(!this.tocVideoChannel)this.tocVideoChannel=new cp.NativeVideo("tocVideo");this.tocVideoChannel.cpSrc=
"";this.tocVideoChannel.cpVideo=null;this.tocVideoChannel.ended=false;this.tocVideoChannel.addEventListener("error",this.errorCallBackFn,false);if(cp.IOSMajor>=cp.IOS5||cp.device==cp.ANDROID){this.tocVideoChannel.addEventListener("waiting",this.waitingFn,false);this.tocVideoChannel.addEventListener("canplay",this.canPlayCallBackFn,false)}this.tocVideoChannel.addEventListener("play",this.PlayPauseCallBackFn,false);this.tocVideoChannel.addEventListener("pause",this.PlayPauseCallBackFn,false);this.tocVideoChannel.waitCount=
0}else{this.tocVideoChannel0=document.getElementById("tocVideo");if(!this.tocVideoChannel0)this.tocVideoChannel0=new cp.NativeVideo("tocVideo");this.tocVideoChannel0.cpSrc="";this.tocVideoChannel0.cpVideo=null;this.tocVideoChannel0.ended=false;this.tocVideoChannel0.addEventListener("error",this.errorCallBackFn,false);this.tocVideoChannel0.addEventListener("waiting",this.waitingFn,false);this.tocVideoChannel0.addEventListener("canplay",this.canPlayCallBackFn,false);this.tocVideoChannel0.addEventListener("play",
this.PlayPauseCallBackFn,false);this.tocVideoChannel0.addEventListener("pause",this.PlayPauseCallBackFn,false);this.tocVideoChannel0.waitCount=0;this.tocVideoChannel1=new cp.NativeVideo("tocVideo");this.tocVideoChannel1.cpSrc="";this.tocVideoChannel1.cpVideo=null;this.tocVideoChannel1.ended=false;this.tocVideoChannel1.addEventListener("error",this.errorCallBackFn,false);this.tocVideoChannel1.addEventListener("waiting",this.waitingFn,false);this.tocVideoChannel1.addEventListener("canplay",this.canPlayCallBackFn,
false);this.tocVideoChannel1.addEventListener("play",this.PlayPauseCallBackFn,false);this.tocVideoChannel1.addEventListener("pause",this.PlayPauseCallBackFn,false);this.tocVideoChannel1.waitCount=0;this.tocVideoChannel=this.tocVideoChannel0}this.MAX_VIDEO_CHANNELS=cp.device==cp.IDEVICE||cp.device==cp.ANDROID?2:10;this.videoChannels=[];for(var a=0;a<this.MAX_VIDEO_CHANNELS;++a){var c=new cp.NativeVideo;c.cpSrc="";c.cpVideo=null;c.ended=false;c.addEventListener("ended",this.onEndedCallBackFn,false);
c.addEventListener("error",this.errorCallBackFn,false);if(cp.device==cp.DESKTOP||cp.device==cp.IDEVICE&&cp.IOSMajor>=cp.IOS5||cp.device==cp.ANDROID){c.addEventListener("waiting",this.waitingFn,false);c.addEventListener("canplay",this.canPlayCallBackFn,false)}c.addEventListener("play",this.PlayPauseCallBackFn,false);c.addEventListener("pause",this.PlayPauseCallBackFn,false);c.waitCount=0;this.videoChannels[a]=c}};cp.VideoManager.prototype={pendingVideos:function(){var a=0,c=this.slideVideoChannel;
c.waitCount>0&&(!c.endedAt&&!c.paused)&&++a;(c=this.tocVideoChannel)&&(c.waitCount>0&&!c.endedAt&&!c.paused)&&++a;for(c=0;c<this.MAX_VIDEO_CHANNELS;++c){var d=this.videoChannels[c];d.waitCount>0&&(!d.endedAt&&!d.paused)&&++a}if(a>0){if(this.numPending!=a){this.numPending=a;cp.verbose&&cp.log(a+" videos pending")}}else{this.numPending&&cp.verbose&&cp.log("no videos pending");this.numPending=0}return a},resetAllWaitingVideos:function(){for(var a=0;a<this.MAX_VIDEO_CHANNELS;++a)this.videoChannels[a].waitCount=
0},mute:function(a){var a=a==true||a>0?true:false,c;for(c in this.videoChannels)this.videoChannels[c].muted=a;this.slideVideoChannel.muted=a;if(this.tocVideoChannel)this.tocVideoChannel.muted=a;this.muted=a},setVolume:function(a){a<0&&(a=0);a>1&&(a=1);this.volume=a;for(var c in this.videoChannels)this.videoChannels[c].volume=a;this.slideVideoChannel.volume=a;if(this.tocVideoChannel)this.tocVideoChannel.volume=a},LRUVideoIndex:function(){for(var a=(new Date).getTime(),c=-1,d=cpInfoCurrentFrame,e=0;e<
this.MAX_VIDEO_CHANNELS;++e){var f=this.videoChannels[e];if(f.ended||f.paused)if(f.endedAt){if(a>f.endedAt){a=f.endedAt;c=e}}else if(f.pausedAt){if(a>f.pausedAt){a=f.pausedAt;c=e}}else c==-1&&d>f.cpTo&&(c=e)}return c},allocVideoChannel:function(a){this.verbose&&cp.log("allocVideoChannel "+a.id+" "+a.src);if(cp.IDEVICE==cp.device||cp.device==cp.ANDROID){this._LRUVideoIndex=this._LRUVideoIndex==void 0?0:1-this._LRUVideoIndex;this.verbose&&cp.log("picking video @ index "+this._LRUVideoIndex);var c=this.videoChannels[this._LRUVideoIndex];
if(c.cpVideo!=null)c.cpVideo.nativeVideo=null;a.nativeVideo=c;c.cpVideo=a;c.cploop=a.cploop;c.ended=false;delete c.endedAt;delete c.pausedAt;c.waitCount=0;c.cpSrc=a.src;c.src=a.src;c.load()}else{for(var d=0;d<this.MAX_VIDEO_CHANNELS;++d){c=this.videoChannels[d];if(c.cpSrc==a.src&&(c.ended||c.paused)){if(c.cpVideo!=null){c.cpVideo.nativeVideo=null;c.cpVideo=null}a.nativeVideo=c;c.cpVideo=a;c.loop=a.loop;c.ended=false;delete c.endedAt;delete c.pausedAt;c.cpTo=a.to;a.isSeekPending()||a.seekTo(a.from);
a.finishPendingSeek();this.verbose&&cp.log("allocVideoChannel found existing @ "+d);return true}}for(d=0;d<this.MAX_VIDEO_CHANNELS;++d){c=this.videoChannels[d];if(c.cpSrc==""){c.waitCount=0;c.cpSrc=a.src;c.src=a.src;a.nativeVideo=c;c.cpVideo=a;c.loop=a.loop;c.ended=false;delete c.endedAt;delete c.pausedAt;c.cpTo=a.to;a.finishPendingSeek();c.load();this.verbose&&cp.log("allocVideoChannel found empty slot @ "+d);return true}}d=this.LRUVideoIndex();if(-1!=d){c=this.videoChannels[d];if(c.cpVideo!=null){c.cpVideo.nativeVideo=
null;c.cpVideo=null}a.nativeVideo=c;c.cpVideo=a;c.loop=a.loop;c.ended=false;delete c.endedAt;delete c.pausedAt;c.cpTo=a.to;if(c.cpSrc!=a.src){c.waitCount=0;c.cpSrc=a.src;c.src=a.src}else a.isSeekPending()||a.seekTo(a.from);a.finishPendingSeek();c.load();this.verbose&&cp.log("allocVideoChannel re-used LRU slot @ "+d);return true}return false}},preallocVideoChannel:function(a){a=cp.getCorrectMediaPath(a);this.verbose&&cp.log("preallocVideoChannel "+a);for(var c=0;c<this.MAX_VIDEO_CHANNELS;++c){var d=
this.videoChannels[c];if(d.cpSrc==a){this.verbose&&cp.log("preallocVideoChannel found existing @ "+c);return true}}for(c=0;c<this.MAX_VIDEO_CHANNELS;++c){d=this.videoChannels[c];if(d.cpSrc==""){d.waitCount=0;d.cpSrc=a;d.src=a;d.ended=false;delete d.endedAt;delete d.pausedAt;delete d.cpTo;d.load();this.verbose&&cp.log("preallocVideoChannel found empty slot @ "+c);return true}}return false},deviceSpecificInit:function(){function a(a){if(!a.cpSrc)try{a.src="_cp_n_m_"}catch(c){}try{a.load()}catch(f){}}
if(cp.IDEVICE==cp.device||cp.device==cp.ANDROID){for(var c=0;c<this.MAX_VIDEO_CHANNELS;++c)a(this.videoChannels[c]);a(this.slideVideoChannel);this.tocVideoChannel&&a(this.tocVideoChannel)}},load:function(){this.loaded=true},preload2:function(a){if(this.loaded&&1==cp.movie.speed){this.verbose&&cp.log("video manager preload "+a);a=cp.D[a];if(a.videos)for(var c=true,d=true,e=true,f=0;f<a.videos.length;++f){var g=cp.D[a.videos[f]];if(g.type==cp.kCPFullMotion||g.type==cp.kCPOTVideoResource||g.type==cp.kCPOTFLVItem){if(c){g=
cp.D[g.mdi];c=this.preallocVideoChannel(g.mp4)}}else if(g.type==cp.kCPOTVideo){g=cp.D[g.mdi];if(g.sit){if(d){g=cp.getCorrectMediaPath(g.mp4);if(this.tocVideoChannel0.cpSrc==g||this.tocVideoChannel1.cpSrc==g)this.verbose&&cp.log("vdm preload found existing "+g);else if(this.tocVideoChannel0.cpVideo)if(this.tocVideoChannel1.cpVideo)d=false;else{this.tocVideoChannel1.cpSrc=g;this.tocVideoChannel1.src=g;this.tocVideoChannel1.load();this.verbose&&cp.log("vdm preloaded tocV1 with "+g)}else{this.tocVideoChannel0.cpSrc=
g;this.tocVideoChannel0.src=g;this.tocVideoChannel0.load();this.verbose&&cp.log("vdm preloaded tocV0 with "+g)}}}else if(e){g=cp.getCorrectMediaPath(g.mp4);if(this.slideVideoChannel0.cpSrc==g||this.slideVideoChannel1.cpSrc==g)this.verbose&&cp.log("vdm preload found existing "+g);else if(this.slideVideoChannel0.cpVideo)if(this.slideVideoChannel1.cpVideo)e=false;else{this.slideVideoChannel1.cpSrc=g;this.slideVideoChannel1.src=g;this.slideVideoChannel1.load();this.verbose&&cp.log("vdm preloaded SV1 with "+
g)}else{this.slideVideoChannel0.cpSrc=g;this.slideVideoChannel0.src=g;this.slideVideoChannel0.load();this.verbose&&cp.log("vdm preloaded SV0 with "+g)}}}}}},preload:function(a){if(!(cp.device==cp.IDEVICE||cp.device==cp.ANDROID))return this.preload2(a)},seekTo:function(a,c){var d,e,f;if(this.slideVideoChannel)d=this.slideVideoChannel.cpVideo;if(this.tocVideoChannel)e=this.tocVideoChannel.cpVideo;if(this.demoVideo)f=this.demoVideo.cpVideo;if(c){d&&d.pause();e&&e.pause();f&&f.pause()}d&&d.seekTo(a);
e&&e.seekTo(a);f&&f.seekTo(a)},pause:function(a){this.reasonForPause=a;if(a==cp.ReasonForPause.PLAYBAR_ACTION||a==cp.ReasonForPause.CPCMNDPAUSE||a==cp.ReasonForPause.MOVIE_REWIND_STOP||a==cp.ReasonForPause.EVENT_VIDEO_PAUSE||a==cp.ReasonForPause.PPTX_PAUSE_FOR_ONCLICK_ANIMATION||a==cp.ReasonForPause.INTERACTIVE_ITEM||a==cp.ReasonForPause.CPCMNDGOTOFRAME){this.slideVideoChannel&&this.slideVideoChannel.cpVideo&&this.slideVideoChannel.cpVideo.pause();this.tocVideoChannel&&this.tocVideoChannel.cpVideo&&
this.tocVideoChannel.cpVideo.pause();this.demoVideo&&this.demoVideo.cpVideo&&this.demoVideo.cpVideo.pause()}},pace:function(){if((cp.device==cp.IDEVICE||cp.device==cp.ANDROID)&&!cp.movie.stage.VideoPlaying)return null;var a=this.slideVideoChannel;if(a){var c=a.cpVideo;if(c&&!a.ended&&!a.paused&&!c.loop&&a.currentTime>0)return c.from+(a.currentTime-c.seek_From)*cpInfoFPS}if(a=this.tocVideoChannel)if((c=a.cpVideo)&&!a.ended&&!a.paused&&!c.loop&&a.currentTime>0)return c.from+(a.currentTime-c.seek_From)*
cpInfoFPS;if(a=this.demoVideo)if((c=a.cpVideo)&&!a.ended&&!a.paused&&!c.loop&&a.currentTime>0)return c.from+a.currentTime*cpInfoFPS;return null},updateVideoViews:function(){if(this.viewVideo&&this.videoViews)for(var a in this.videoViews)this.videoViews[a].update()}};cp.ReasonForPause={};cp.ReasonForPause.PLAYBAR_ACTION=0;cp.ReasonForPause.INTERACTIVE_ITEM=1;cp.ReasonForPause.MOVIE_ENDED=2;cp.ReasonForPause.VIDEO_SYNC=3;cp.ReasonForPause.FEEDBACK_ITEM=4;cp.ReasonForPause.CANNOT_MOVE_AHEAD=5;cp.ReasonForPause.WAIT_FOR_RESOURCES=
6;cp.ReasonForPause.MOVIE_REWIND_STOP=7;cp.ReasonForPause.CPCMNDPAUSE=8;cp.ReasonForPause.SHOW_VALUE_AT_FRAME=9;cp.ReasonForPause.DONT_CARE_DEPRECATED_CODE=10;cp.ReasonForPause.EVENT_VIDEO_PAUSE=11;cp.ReasonForPause.ONLY_ONE_MEDIUM_CAN_PLAY=12;cp.ReasonForPause.PPTX_PAUSE_FOR_ONCLICK_ANIMATION=13;cp.ReasonForPause.CPCMNDGOTOFRAME=14;cp.ReasonForPlay={};cp.ReasonForPlay.PLAYBAR_ACTION=0;cp.ReasonForPlay.INTERNAL=1;cp.Movie=function(a){this.virgin=true;this.element=a;this.symbols={};this.main=null;
this.cc=document.getElementById("cc");this.cpInfoLastVisitedSlideStartFrame=0;this.fps=cp.D[a.id].fps;this.hidePlaybarInQuiz=cp.D.quizzingData.hidePlaybarInQuiz;this.offset=(cp.offsetInnerWidth-cp.D[a.id].w+(cp.loadedModules.toc&&!cp.D.tocProperties.overlay?cp.D.tocProperties.position==1?cp.D.tocProperties.width:-cp.D.tocProperties.width:0))/2;this.paused=true;this._parseElements();this.questions=[];this.questionObjs=[];this.element.style.backgroundColor=cp.D[this.element.id].prjBgColor;this.currAudioType=
"bg";this.currAudioStopFrame=this.currAudioStartFrame=-1;this.counter=0;this.speed=1;this.playKeyTap=cp.D[a.id].pkt;this.m_hasIsTrackedBeenSet=false;this.MIN_WAIT_TIME_TO_PAUSE_MOVIE=this.waitedForResources=0;this.MIN_WAIT_TIME_TO_BLOCK_UI=2E3;if(cp.device==cp.ANDROID)this.MIN_WAIT_TIME_TO_BLOCK_UI=4E3;this.MAX_WAIT_TIME=2E4;this.mRequestAnimationFrameFunc=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||
null;this.m_scaleFactor=1};cp.Movie.prototype={updateMovie:function(){var a=cp.D[this.main.id].questions;if(a){this.questions=a.split(",");this.questionObjs=[]}this.stage.updateTimeline()},handleProjectOptions:function(){Lc()},preloadProjectAssets:function(){var a=cp.model.projectImages;a&&a.length!=0&&cp.movie.im.loadImages(-1,a,true,true)},rewind:function(){this.stage.handleRewindForFramesets();this.stage.RemoveFeedbacks(cp.FeedbackCloseReason.SLIDE_CHANGE);cp.movie.stage.itemsNotLoaded=[];this.jumpToFrame(1);
this.play()},_parseElements:function(){for(var a=this.element.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE){var c=(a.className+"").split(" ");if(c.indexOf("cp-timeline")!=-1){var d=c.indexOf("cp-main")!=-1;c.indexOf("cp-symbol")!=-1&&(this.symbols[a.id]=a);if(d)this.main=a}}if(this.main!=null)this.stage=cp.parseTimeline(this.main)},resetFPS:function(){if(cpInfoFPS!=0){this.POLL_INTERVAL=1E3/cpInfoFPS;if(!this.useRequestAnimationFrame||!this.mRequestAnimationFrameFunc){if(this.interval){clearInterval(this.interval);
this.interval=0}var a=this;this.interval=setInterval(function(){a._onEnterFrame()},this.POLL_INTERVAL)}else{if(this.interval){clearInterval(this.interval);this.interval=0}this.mRequestAnimationFrameFunc.call(window,this.animationLoop)}}},resetMovieElapsedTime:function(a){this.startMovieTime=(new Date).getTime()-cpInfoCurrentFrame*1E3/(cp.movie.fps*cp.movie.speed);if(arguments.length>0&&this.useRequestAnimationFrame!=a){this.useRequestAnimationFrame=a;this.resetFPS()}},animationLoop:function(){cp.movie.useRequestAnimationFrame&&
cp.movie.mRequestAnimationFrameFunc.call(window,cp.movie.animationLoop);cp.movie._onEnterFrame()},startTimer:function(){if(!this.interval){this.stage.start();this.element.style.display="block";this.resetFPS()}},stop:function(){this.stage.reset();this.element.style.display="none";var a=document.getElementById("playbar");a.pause!=void 0&&a.pause()},play:function(a){if(!cp.isBlockedForLMS()){cp.verbose&&cp.log("movie.play deleting pendingPlay");delete this.pendingPlay;this.resetMovieElapsedTime();if(this.virgin){cp.verbose&&
cp.log("movie virgin play");this.virgin=false;a=cp.getStartFrameOfMovie();1<a&&L(a);this.am.unlockWebAudio();(cp.IDEVICE==cp.device||cp.device==cp.ANDROID)&&cp.InitMedia();cp.beginMovie();return true}if(!this.paused)return false;if(this.waitingForResources()){cp.verbose&&cp.log("set pendingPlay = true. movie cannot play since resources not available");this.pendingPlay=true;return false}cp.verbose&&cp.log("movie play");this.am.ssp=0;var c=document.getElementById("playbar");c&&c.play!=void 0&&c.play();
if(!this.tocPlaybarHandlerSet){this.tocPlaybarHandlerSet=true;c&&c.animator&&c.animator.startTimer();if(this.stage.getSlideDiv()&&c&&c.animator){cp.mainContainer.onmouseover=cp.handleMouseOver;if(cp.device==cp.DESKTOP)cp.mainContainer.onmousemove=cp.handleMouseMove;cp.mainContainer.onmouseout=cp.handleMouseOut}}this.now=new Date;this.elapsedFramesResidue=0;if(this.startTime==void 0){this.startTime=this.now;cp.em.fireEvent("CPMovieStart")}else this.reasonForPause==cp.ReasonForPause.MOVIE_ENDED&&cpInfoCurrentFrame<
this.stage.lastFrame?cp.em.fireEvent("CPMovieStart"):cp.em.fireEvent("CPMovieResume",a);this.paused=false;Ca();return true}},pause:function(a){if(this.paused&&a!=cp.ReasonForPause.WAIT_FOR_RESOURCES&&(this.waitingForResources()||this.reasonForPause==cp.ReasonForPause.WAIT_FOR_RESOURCES)){cp.verbose&&cp.log("set pendingPause = true. movie cannot pause since resources not available");this.pendingPause=true;this.pendingReasonForPause=a}else if(this.paused){if(this.reasonForPause!=a&&this.reasonForPause==
cp.ReasonForPause.MOVIE_ENDED){this.reasonForPause=a;cp.em.fireEvent("CPMovieStart")}this.am&&this.am.reasonForPause!=a&&this.am.pause(a);this.vdm&&this.vdm.reasonForPause!=a&&this.vdm.pause(a)}else{cp.verbose&&cp.log("movie pause "+a);this.reasonForPause=a;cp.verbose&&cp.log("movie.pause deleting pendingPlay");delete this.pendingPlay;if(a==cp.ReasonForPause.INTERACTIVE_ITEM)this.stage.interactivePauseFrame=cpInfoCurrentFrame;var c=document.getElementById("playbar");c&&c.pause!=void 0&&a!=cp.ReasonForPause.WAIT_FOR_RESOURCES&&
c.pause();a==cp.ReasonForPause.MOVIE_ENDED&&(c&&c.animator)&&c.animator.showPlaybar(true);this.paused=true;this.am&&this.am.pause(a);this.vdm&&this.vdm.pause(a);cp.em.fireEvent("CPMoviePause",a)}},blockUI:function(){if(!this.blockedUI){this.blockedUI=true;cp("blockUserInteraction").style.display="block";cp("blockUserInteraction").style.width="100%";cp("blockUserInteraction").style.height="100%";cp("blockUserInteraction").style["z-index"]=1E4;this.preloadRot=0}},unblockUI:function(){if(this.blockedUI){this.blockedUI=
false;cp("blockUserInteraction").style.display="none"}},jumpToFrame:function(a){if(a=="cpInfoLastVisitedSlide")a=this.cpInfoLastVisitedSlideStartFrame;var c=cp.movie.stage.getSlideIndexForFrame(a);if(this.waitingForResources()){if(c!=cpInfoCurrentSlideIndex){this.am.resetAllWaitingAudios();this.vdm.resetAllWaitingVideos();cp.verbose&&cp.log("movie jumping to another slide. resetting pending audio/video")}else cp.verbose&&cp.log("movie cannot jumpToFrame since resources not available");this.pendingJump=
a;return false}if(!this.stage.canUpdateToFrame(a,c)){cp.verbose&&cp.log("movie cannotUpdateToFrame "+a);return false}if(this.pm.isLoading()){cp.verbose&&cp.log("movie cannot jumpToFrame since prefetchManager is loading");this.pendingJump=a;return false}this._jumpFrame=a;L(a);return true},executeAction:function(a){cp.verbose&&cp.log("execute action str ["+a+"]");if(a&&a!="")try{eval(a)}catch(c){cp.log(c)}},frameBasedExecuteAction:function(a){if(this.executedActionOnFrame!=this.stage.updatingFrame){this.executedActionOnFrame=
this.stage.updatingFrame;this.executeAction(a)}},mousePath:function(a,c,d){if(!(c<a.afrom||c>a.ato)||d){var e=a.ato-a.afrom;if(e!=0){e=e-Math.floor(cpInfoFPS*0.5);e<=0&&(e=0);var f=this.motionPathArgs,g=cp.cloneObject(f.b);if(cp.responsive){g=g[cp.ResponsiveProjWidth];if(!cp.movie.stage.isSlideBGCropped()){g[0]=cp.project.clientWidth*g[0]/cp.ResponsiveProjWidth;g[2]=cp.project.clientWidth*g[2]/cp.ResponsiveProjWidth}}var k=g[2]-g[0],m=g[3]-g[1],l=c-a.afrom;if(!(l<0)){var c=g[0],d=g[1],n=g[2],g=g[3],
o=1;f.s==1&&(o=0.5);var q=n,p=g;if(e>0&&l<e){q=0==f.t||0==k||0==m;e=Math.pow(l/e,o);if(q){q=c+k*e;p=d+m*e}else{k=e*e;m=1-e;f=m*m;q=c*f+2*n*m*e+n*k;p=d*f+2*d*m*e+g*k}}a.children[0].element.left=q;a.children[0].element.style.left=q+"px";a.children[0].element.top=p;a.children[0].element.style.top=p+"px"}}}},waitingForResources:function(){var a=this.im&&this.im.imagesNotLoaded(),c=this.stage&&!this.stage.hasItemsLoaded(),d=this.am&&this.am.pendingAudios()>0,e=this.vdm&&this.vdm.pendingVideos()>0,f=this.ms&&
this.ms.pendingItems()>0;if(a||c||d||e||f){cp.verbose&&cp.log("waiting for "+a+" "+c+" "+d+" "+e+" "+f+" yield = "+this.stage.yield);return true}return false},resetAllWaitingResources:function(){this.im&&this.im.reset();if(this.stage)this.stage.itemsNotLoaded=[];this.am&&this.am.resetAllWaitingAudios();this.vdm&&this.vdm.resetAllWaitingVideos();this.ms&&this.ms.reset();this.waitedForResources=0},_onEnterFrame:function(){if(!cp.isBlockedForLMS()){this.refreshMovie();this.am.updateAudioViews();this.vdm.updateVideoViews();
if(this.waitingForResources()){this.waitedForResources=this.waitedForResources+this.POLL_INTERVAL;if(this.waitedForResources>=this.MAX_WAIT_TIME){cp.verbose&&cp.log("waited too long...given up waiting! Paused = "+this.paused+" reason = "+this.reasonForPause+" pendingPlay = "+this.pendingPlay);this.resetAllWaitingResources();this.unblockUI();if(!this.paused&&this.pendingPause){this.pause(this.pendingReasonForPause);delete this.pendingPause;delete this.pendingReasonForPause}else(this.paused&&this.reasonForPause==
cp.ReasonForPause.WAIT_FOR_RESOURCES||this.pendingPlay)&&this.play()}else if(this.waitedForResources>=this.MIN_WAIT_TIME_TO_BLOCK_UI){this.pause(cp.ReasonForPause.WAIT_FOR_RESOURCES);this.blockUI()}else this.waitedForResources>=this.MIN_WAIT_TIME_TO_PAUSE_MOVIE&&this.pause(cp.ReasonForPause.WAIT_FOR_RESOURCES)}else{this.waitedForResources>0&&cp.verbose&&cp.log("finished waiting! Paused = "+this.paused+" reason = "+this.reasonForPause+" pendingPlay = "+this.pendingPlay);this.waitedForResources=0;this.unblockUI();
if(!this.paused&&this.pendingPause){this.pause(this.pendingReasonForPause);delete this.pendingPause;delete this.pendingReasonForPause}else if(this.paused&&this.reasonForPause==cp.ReasonForPause.WAIT_FOR_RESOURCES||this.pendingPlay)this.play();else{var a=this.pendingJump;if(a){cp.verbose&&cp.log("jumping to pending jump frame "+a);delete this.pendingJump;this.jumpToFrame(a)}else if(this.paused){if(cpInfoCurrentFrame==this._jumpFrame){if(this.stage.fallsOutsideCurrentSlide(cpInfoCurrentFrame)){var c=
this.stage.getSlideIndexForFrame(cpInfoCurrentFrame);if(c!=-1)if(this.stage.yield)delete this.stage.yield;else{this.stage.loadAssetsForSlideAtIndex(c);this.stage.yield=1;return}}this._jumpFrame=-1;this.stage.updateFrame(cp.Timeline.ReasonForUpdate.JUMP)}this.stage.UpdateFeedbacks();this.stage.updateFrameCurrentOnPause()}else{this.elapsedMovieTime=((new Date).getTime()-this.startMovieTime)*cp.movie.speed;a=new Date;this.stage.UpdateFeedbacks();if(this.stage.fallsOutsideCurrentSlide(cpInfoCurrentFrame)){c=
this.stage.getSlideIndexForFrame(cpInfoCurrentFrame);if(c!=-1)if(this.stage.yield)delete this.stage.yield;else{this.stage.loadAssetsForSlideAtIndex(c);this.stage.yield=1;return}}if(cpInfoCurrentFrame==this._jumpFrame){this._jumpFrame=-1;this.stage.updateFrame(cp.Timeline.ReasonForUpdate.JUMP)}else this.stage.updateFrame(cp.Timeline.ReasonForUpdate.PROGRESS);if(!this.paused){var d=new Date,c=this.now;this.now=d;if(cp.disablePaceMaker)this.framesToSkip=1;else{if(this.elapsedFramesResidue==void 0)this.elapsedFramesResidue=
0;var e=0;if(1==this.speed&&this.am.pace)e=this.am.pace-cpInfoCurrentFrame;else if(cp.device==cp.IDEVICE&&!cp.movie.PPTXSlide)e=this.speed;else{a=d.getTime()-a.getTime();cp.movie.PPTXSlide&&(a=0);e=(this.now.getTime()-c.getTime()-a)*cpInfoFPS/1E3}this.framesToSkipForPlaybar=this.elapsedFramesResidue=this.elapsedFramesResidue+e;this.framesToSkip=Math.floor(this.framesToSkipForPlaybar);this.elapsedFramesResidue=this.elapsedFramesResidue-this.framesToSkip}cp.verbose&&cp.log("am.pace = "+this.am.pace+
" elapsedFramesResidue = "+this.elapsedFramesResidue+" skipping = "+this.framesToSkip);this.stage.attemptToAdvanceCurrentFrameByOffset(this.framesToSkip)}}}}}},refreshMovie:function(){var a=cp("cpdmtxtn");if(!a){var c=cp("cpDocument");if(!c)return;a=cp.newElem("div");a.id="cpdmtxtn";a.style.display="block";c.parentElement.insertBefore(a,c);a.style.opacity=0;a.style["user-select"]="none";a.style["-ms-user-select"]="none";a.style["-webkit-user-select"]="none";a.style["-moz-user-select"]="none";if(cp.device==
cp.ANDROID){a.style.width="1px";a.style.height="1px";a.style.left="-1000px";a.style.top="-1000px";a.style.position="absolute"}a.setAttribute("aria-hidden","true")}a.innerHTML=(new Date).toString()},registerQuizVariableSetters:function(){if(cp.movie.playbackController){var a=cp.movie.playbackController.GetQuizController();if(a){a.quizInScopeSetter=Bc;a.quizScopeSlideSetter=Pa}}},initLMS:function(){if(this.playbackController){this.playbackController.GetLoadingResumeDataBln();if(!this.m_hasIsTrackedBeenSet){this.playbackController.GetIsTrackedFlag()?
this.playbackController.SetIsTracked(true):this.playbackController.SetIsTracked(false);this.m_hasIsTrackedBeenSet=true;this.playbackController.GetLoadingResumeDataBln()}typeof cp.LMSDriverHolder=="undefined"&&(!this.playbackController.LMSIsAICC()&&!this.playbackController.IsRunningInConnect())&&cp.handleVariablesInURLParams();!this.playbackController.IsRunningInConnect()&&(typeof cp.LMSDriverHolder!="undefined"&&cp.LMSDriverHolder&&cp.LMSDriverHolder.GetStudentName)&&cp.vm.setVariableValue("cpQuizInfoStudentName",
cp.LMSDriverHolder.GetStudentName(),false)}},resumeMovieSpecificValue:function(){if(this.playbackController){var a=this.playbackController.GetRestoredQuizSlide();a>=0&&L(a)}}};cp.playPause=function(a){var c;if(cp.movie.paused){if(a==true)c=cp.ReasonForPlay.PLAYBAR_ACTION;cp.movie.play(c)}else{if(a==true)c=cp.ReasonForPause.PLAYBAR_ACTION;cp.movie.pause(c)}};cp.goToPreviousSlide=function(){cp.jumpToPreviousSlide()};cp.goToNextSlide=function(){cp.jumpToNextSlide()};cp.jumpToSlide=function(a){cpCmndGotoSlideByUIDAndResume=
a};cp.rewind=function(){cpCmndRewindAndPlay=1};cp.showHideCC=function(){cpCmndCC=cpCmndCC?0:1};cp.showHideTOC=function(){var a=document.getElementById("toc");a!=void 0&&a.animator&&(a.animator.direction==0?a.animator.showTOC():a.animator.hideTOC())};cp.fastForward=function(){cpCmndFastForward=1};cp.shouldMoveTo=function(a){return cp.movie.stage.canUpdateToFrame(a)};cp.getCpInfoOriginalFPS=function(){return cp.movie.fps};cp.getCpInfoSpeed=function(){return cp.movie.speed};cp.getCpElapsedMovieTime=
function(){return cp.movie.elapsedMovieTime};cp.getCpIsPlaying=function(){return!cp.movie.paused};cp.showValue=function(a){cp.showHideElements();cp.movie.pause(cp.ReasonForPause.SHOW_VALUE_AT_FRAME);cp.movie.jumpToFrame(a)};cp.showHideFeedbackCaptionsClickHandler=function(a,c,d,e){d||(d=cp.D[a.id].topMostObjectInteractiveObject);if(!d)return false;return(a=cp.D[d])&&void 0!=a.val?false:cp.clickFailureHandler(a,c,e)};cp.vTEB=function(a){var c=cp.D[a];if(void 0==c||c.handled)return false;var d=0,e=
c.currentAttempt;void 0!=e&&(d=e);e=c.ma;d=d+1;c.currentAttempt=d;var f=cp.isTEBValueCorrect(a,c),g=c.osc,k=c.oca,m=c.ofc,l=c.ofa,n=false,o="",q="",p=false,o=null,u=cp.FeedbackType.SUCCESS;if(f){o=g;q=k;p=c.pfc==1;cp.SubmitInteractions(a,cp.QuestionStatusEnum.CORRECT,d-1)}else{u=cp.FeedbackType.FAILURE;o=m;q=l;cp.SubmitInteractions(a,cp.QuestionStatusEnum.INCORRECT,d-1)}o.length>2&&(n=true);a=e!=-1&&d==e||f;g=e==-1||d<=e||f;if(!c.handled)c.handled=e!=-1&&d>=e||f;if(n){a||(q="");o=new cp.Feedback(o,
q,p,u);!p&&a&&cp.movie.executeAction(q);g&&o.show()}else a&&cp.movie.executeAction(q);return f};cp.TEBValidator=function(a){(a=cp.D[a.id])&&cp.vTEB(a.vid)};cp.hyperlinkClick=function(a){if(a=cp.D[a]){a=a.oca;cp.movie.paused&&(a=a.replace("cpCmndResume = 1;",""));cp.movie.executeAction(a)}};cp.clickHandler=function(a){cp.clickSuccessHandler(cp.D[a.id])};cp.ch=function(a){return cp.clickHandler(a)};cp.wch=function(a){return cp.HandleInteractiveWidget(a)};cp.SubmitInteractions=function(a,c,d,e,f){var g=
cp.D[a],k=g.type,m=c==cp.QuestionStatusEnum.CORRECT||c==cp.QuestionStatusEnum.PARTIAL_CORRECT;if(g){var l=g.siq!=void 0&&g.siq;if(l){var n=cp.getQuestionObject(a);if(n){if(!cp.movie.playbackController)return;var o=cp.movie.playbackController.GetQuizController();if(!o)return;var q=n.isDisabled,p=false;!o.GetIsInReviewMode()&&!o.GetIsQuizCompleted()&&n.setCurrentAttempt(d+1);d=e;if(d==void 0||f==void 0)if(!n.getIsInteractiveWidget()&&n.getInteractionType()=="fill-in"){f=document.getElementById(a+"_inputField");
if(!f)return false;d=g.exp;f=f.value}else{d=["1"];f=m?"1":"0"}n.questionData.cal=d;n.setSelectedAnswers(f);c==cp.QuestionStatusEnum.CORRECT||c==cp.QuestionStatusEnum.PARTIAL_CORRECT?p=true:n.getCurrentAttempt()>=n.getNumberOfAttempts()&&(p=true);n.setShouldAddToTotal(g.sat!=void 0&&g.sat);if(!o.GetIsInReviewMode()&&!o.GetIsQuizCompleted())if(p){m?n.setQuestionStatus(n.QuestionStatusEnum.CORRECT):n.setQuestionStatus(n.QuestionStatusEnum.INCORRECT);q||n.endQuestion(true)}else n.endQuestion(false)}}a=
{itemname:a,frameNumber:cpInfoCurrentFrame,objecttype:k,issuccess:m,slideNumber:cpInfoCurrentSlideIndex+1,includedInQuiz:l};if(n)a.questioneventdata=n.getQuestionEventData();cp.em.fireEvent("CPInteractiveItemSubmit",a)}};cp.hotspotQuestionSlideHandler=function(a){cp.m_gestureHandler.disableGestures();var c=a.currentTarget,d=cp.getQuestionObject(c.childNodes[0].id);d&&d.hotspotQuestionHandler(c,getPageX(a),getPageY(a));cp.m_gestureHandler.enableGestures()};cp.handleClickExternal=function(a){function c(a){return cp.kCPOTClickBoxItem==
a.type||cp.kCPOTScorableButtonItem==a.type||cp.kCPOTAutoShape==a.type}function d(a,d,e){function f(){cp.stopClickTimer();k=k+1;g.currentAttempt=k;var d=g.ma,e=g.mdi,l=cp.D[e].visible,e=cp.showHideFeedbackCaptionsClickHandler(a,d!=-1&&k==d&&l,cp.D[e].dn,(d==-1||k<=d)&&l);if(c(g)&&!g.handled)g.handled=d!=-1&&k>=d&&l;return e}var g=d,k=e;cp.isClickTimerRunning()||cp.startClickTimer(500,f)}function e(){n=true;if(null==q&&(m.ofc||m.ma!=-1)){p=o;q=m;x=s;v=u;w=currElementDivData}}if(cp.isClickTimerRunning())return false;
for(var f=cp.getScaledPosition(getPageX(a),getPageY(a)),g=f.X-window.pageXOffset,k=f.Y-window.pageYOffset,m=null,l=cp("div_Slide").childNodes,n=false,o="",q=null,p="",u=-1,s=0,v=-1,x=0,w=null,y=l.length-1;y>=0;--y){f=l[y];if(f.nodeName=="DIV"&&f.style.display=="block"){f.id=="feedbackClickDiv"&&f.remover();if(currElementDivData=cp.D[f.id]){var B=currElementDivData.mdi;if(cp.D[B].visible&&currElementDivData.chfn&&void 0==currElementDivData.val){B=currElementDivData.mdi;drawingItemDivData=cp.D[B];var s=
0,u=-1,z=currElementDivData.currentAttempt;z!=void 0&&(s=z);u=currElementDivData.ma;m=currElementDivData;o=f.id;if(void 0==m.amc||m.amc||!(cp.device!=cp.IDEVICE||cp.device==cp.ANDROID))if(currElementDivData&&drawingItemDivData&&cp.kCPOTWidgetItem==currElementDivData.type&&drawingItemDivData.iiw)cp.HandleInteractiveWidget(a,B);else{var A=z=B=0,F=0;if(f.getBoundingClientRect==void 0){B=parseFloat(f.style.left);z=parseFloat(f.style.top);A=parseFloat(f.style.left)+parseFloat(f.style.width);F=parseFloat(f.style.top)+
parseFloat(f.style.height)}else{var C;if(f.rotateAngle){C=f.style.transform||f.style.msTransform||f.style.MozTransform||f.style.WebkitTransform||f.style.OTransform;cp.applyTransform(f,"rotate(0)")}f.offsetHeight=f.offsetHeight;F=cp.getHitTestingRect(f);f.rotateAngle&&cp.applyTransform(f,C);B=F.minX;z=F.minY;A=F.maxX;F=F.maxY}var G=0;if(f.rotateAngle)G=f.rotateAngle;var L=g,M=k,L=L-(B+A)/2,M=M-(z+F)/2,O=L*Math.cos(Math.PI*-G/180)-M*Math.sin(Math.PI*-G/180),G=L*Math.sin(Math.PI*-G/180)+M*Math.cos(Math.PI*
-G/180),O=O+(B+A)/2,G=G+(z+F)/2,B=O>=B&&O<=A&&G>=z&&G<=F?true:false;if(B){if(currElementDivData.iqb||currElementDivData.vid)return true;if(cp.kCPOTAutoShape==m.type&&currElementDivData.isCanvasClicked&&!currElementDivData.isCanvasClicked(a,true))e();else{if(currElementDivData.enabled){if(m.actionInProgress)return false;if(m.dclk||m.rclk){d(f,m,s);return false}l=m;if(!l||cp.kCPOTAutoShape!=l.type)l=true;else{var P=cp.movie.stage.currentSlide,g=a=false;C=0;if(P){C=P.from;if(P.st=="Question Slide"&&
P.qs){var K=cp.D[P.qs];K&&K.qtp=="Hotspot"&&(a=true);(P=cp.getQuestionObject(P.qs))&&P.shouldDisableOptions()&&(g=true)}}l=!a||g?true:!l.rp||!l.rpa||l.from>C?false:true}if(!l)return false;l=currElementDivData.chfn;cp.SubmitInteractions(f.id,cp.QuestionStatusEnum.CORRECT,s);a=cp.movie.stage.currentSlide;l(f);if(a==cp.movie.stage.currentSlide&&c(m))m.handled=true;return true}n=false;break}}else currElementDivData.vid||e()}}}}}if(n){if(q){m=q;o=p;s=x;u=v;currElementDivData=w}if(m&&m.actionInProgress)return false;
if(m&&!m.iqb){s=s+1;m.currentAttempt=s;m.mdi&&(K=cp.D[m.mdi]);if(K)P=K.dn;cp.SubmitInteractions(P,cp.QuestionStatusEnum.INCORRECT,s-1)}B=currElementDivData.mdi;f=cp.D[B].visible;a=u!=-1&&s==u&&f;g=(u==-1||s<=u)&&f;C="";m&&c(m)&&(C=o);cp.showHideFeedbackCaptionsClickHandler(l[0],a,C,g);if(m&&c(m)&&!m.handled)m.handled=u!=-1&&s>=u&&f}return false};cp.handleCCClick=function(a){if(cp.DESKTOP==cp.device){var c=document.getElementById("div_Slide");if(cp.ccdv){document.getElementById("cc").style.display=
"none";c=document.elementFromPoint(a.clientX,a.clientY);document.getElementById("cc").style.display="block";if(a.initMouseEvent){var d=document.createEvent("MouseEvent");d.initMouseEvent("click",true,true,window,0,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,null);c.dispatchEvent(d)}else if(document.createEventObject){d=document.createEventObject(window.event);d.button=1;c.fireEvent("onclick",d)}}}};cp.handleClick=function(a){a.preventDefault&&a.preventDefault();
a.stopPropagation&&a.stopPropagation();if(!cp.handleClickExternal(a)){var c=cp("div_Slide").childNodes[0];if(c&&c.nodeName=="DIV"&&c.style.display=="block"){if(cp.getQuestionObjectName){c=cp.getQuestionObjectName(c.id);(c=cp.D[c])&&c.qtp=="Hotspot"&&cp.hotspotQuestionSlideHandler(a)}if(cp.extObjInfo)for(a=0;a<cp.extObjInfo.length;++a)if(cp.IsValidObj(cp.extObjInfo[a].chcb)&&cp.extObjInfo[a].chcb())break}}};cp.showInfoDialog=function(){var a=false;if(!cp.movie.paused){cp.movie.pause(cp.ReasonForPause.PLAYBAR_ACTION);
a=true}var c=cp.infoBgImg,d=cp.newElem("div");cp.project.appendChild(d);d.id="infoDialog";d.style.position="absolute";d.style.backgroundImage="url("+c.src+")";var e=cp.D.project.w,f=cp.D.project.h;if(cp.responsive){f=cp("div_Slide");e=f.clientWidth;f=f.clientHeight>window.innerHeight?window.innerHeight:f.clientHeight}d.style.left=(e-c.width)/2+"px";d.style.top=(f-c.height)/2+"px";d.style.width=c.width+"px";d.style.height=c.height+"px";d.style.zIndex=1E4;c=cp.newElem("div");cp.registerGestureEvent(c,
cp.GESTURE_EVENT_TYPES.TAP,function(){cp.project.removeChild(d);a&&cp.movie.play()});c.style.cursor="pointer";c.style.backgroundColor="#ffffff";c.style.opacity=0;c.style.left="170px";c.style.top="5px";c.style.width="15px";c.style.height="15px";c.style.position="absolute";c.style.display="block";c.style.zIndex=1E4;d.appendChild(c);c=cp.newElem("div");e="<ul style='padding-left:15px;padding-right:15px;padding-top:20px;list-style-type: none;text-indent: 0em;'>"+("<li style='overflow:hidden'>"+cpInfoAuthor+
"</li>");e=e+("<li style='overflow:hidden'>"+cpInfoCompany+"</li>");e=e+("<li style='overflow:hidden;cursor:pointer;' onclick='cp.sendEmail(\""+cpInfoEmail+"\")'>"+cpInfoEmail+"</li>");f="http://";f=cpInfoWebsite.indexOf("://")==-1?f+cpInfoWebsite:cpInfoWebsite;e=e+("<li style='overflow:hidden;cursor:pointer;' onclick='cp.openURL(\""+f+"\")'>"+cpInfoWebsite+"</li>");e=e+("<li style='overflow:hidden'>"+cpInfoCopyright+"</li>");c.innerHTML=e+"</ul>";d.appendChild(c);c=cp.newElem("div");cp.registerGestureEvent(c,
cp.GESTURE_EVENT_TYPES.TAP,function(){cp.openURL("http://www.adobe.com/products/captivate")});c.style.cursor="pointer";c.style.backgroundColor="#ffffff";c.style.opacity=0;c.style.left="10px";c.style.bottom="10px";c.style.width="170px";c.style.height="25px";c.style.position="absolute";c.style.display="block";d.appendChild(c)};cp.toggleMute=function(){cp.movie.am.muted?cp.movie.am.mute(false):cp.movie.am.mute(true);cp.movie.vdm.muted?cp.movie.vdm.mute(false):cp.movie.vdm.mute(true);cp.em.fireEvent("CPMovieAudioMute",
cp.movie.am.muted)};cp.playbarMoved=function(){cpCmndPlaybarMoved=1};cp.showHideElements=function(){cp("blockUserInteraction").style.display="none";cp.autoplayDiv.style.display="none";cp.autoplayDiv.style.visibility="hidden";if(cp.loadedModules.playbar)document.getElementById("playbar").style.display="block";var a=document.getElementById("firstSlideSnapshot");if(a)a.style.display="none";if(cp.gesturesDiv){cp.gesturesDiv.style.display="none";cp.gesturesDiv.parentElement.removeChild(cp.gesturesDiv)}if(cp("gImage"))cp("gImage").className=
"";if(cp("gestureHint")){cp("gestureHint").style.position="absolute";cp("gestureHint").style["background-color"]=""}};cp.beginMovie=function(){cp.showHideElements();1==cpInfoCurrentFrame&&cp.movie.am.play(1,true);cp.movie.play()};cp.InitMedia=function(){cp.movie.vdm.deviceSpecificInit();cp.movie.am.deviceSpecificInit()};cp.playMovie=function(){cp.movie.play()};cp.pauseMovie=function(){cp.movie.pause()};cp.mouse_click_draw=function(a,c){var d="#000000",e=3;if(void 0!=c.c){d=c.c;e=c.r}a.save();a.fillStyle=
d;a.beginPath();a.arc(e,e,e,0,Math.PI*2,true);a.closePath();a.fill();a.restore();return true};cp.mcd=function(a,c,d,e,f){return cp.mouse_click_draw(a,c,d,e,f)};cp.tcd=function(a,c,d,e,f,g,k){if(!(f<=0||g<=0)){a.clearRect(d,e,f,g);a.translate(d,e);var e=c.width,d=c.height,m=e>f,l=d>g,n=m?f:e,o=l?g:d;a.drawImage(c,0,0,Math.ceil(n/2),Math.ceil(o/2),0,0,Math.ceil(n/2),Math.ceil(o/2));a.drawImage(c,Math.floor(e-n/2),0,Math.ceil(n/2),Math.ceil(o/2),Math.floor(f-n/2),0,Math.ceil(n/2),Math.ceil(o/2));a.drawImage(c,
0,Math.floor(d-o/2),Math.ceil(n/2),Math.ceil(o/2),0,Math.floor(g-o/2),Math.ceil(n/2),Math.ceil(o/2));a.drawImage(c,Math.floor(e-n/2),Math.floor(d-o/2),Math.ceil(n/2),Math.ceil(o/2),Math.floor(f-n/2),Math.floor(g-o/2),Math.ceil(n/2),Math.ceil(o/2));a.save();a.shadowColor=cp.ConvertRGBToRGBA("#ffffff","1");a.shadowOffsetX=0;a.shadowOffsetY=0;a.shadowBlur=0;a.drawImage(c,0,0,Math.ceil(n/2),Math.ceil(o/2),0,0,Math.ceil(n/2),Math.ceil(o/2));a.drawImage(c,Math.floor(e-n/2),0,Math.ceil(n/2),Math.ceil(o/
2),Math.floor(f-n/2),0,Math.ceil(n/2),Math.ceil(o/2));a.drawImage(c,0,Math.floor(d-o/2),Math.ceil(n/2),Math.ceil(o/2),0,Math.floor(g-o/2),Math.ceil(n/2),Math.ceil(o/2));a.drawImage(c,Math.floor(e-n/2),Math.floor(d-o/2),Math.ceil(n/2),Math.ceil(o/2),Math.floor(f-n/2),Math.floor(g-o/2),Math.ceil(n/2),Math.ceil(o/2));a.fillStyle="rgba("+k[0]+","+k[1]+","+k[2]+","+k[3]+")";k=m?f:e;n=l?g:d;a.fillRect(Math.floor(k/2),Math.floor(n/2),f-k+1,g-n+1);k=3;m=!m?e/2:f/2;l=!l?d/2:g/2;for(n=Math.floor(d-l-1)-1;n<
g-l;){o=g-n;o<k&&(k=o);var o=0,q=l-1,p=m,k=l-1+k,p=Math.ceil(p-o),k=Math.ceil(k-q);a.drawImage(c,Math.floor(o),Math.floor(q),p,k,0,n,p,k);o=e-m;p=e;p=Math.ceil(p-o);a.drawImage(c,Math.floor(o),Math.floor(q),p,k,Math.floor(f-m),n,p,k);k=g-n<3?g-n:3;k<=0&&(k=1);n=n+(k-1)}k=3;for(e=Math.floor(m)-1;e<f-m;){n=f-e;n<k&&(k=n);o=m-1;q=0;p=m-1+k;k=l;p=Math.ceil(p-o);k=Math.ceil(k-q);a.drawImage(c,Math.floor(o),q,p,k,e,0,p,k);q=d-l;k=Math.ceil(l);a.drawImage(c,Math.floor(o),Math.floor(q),p,k,e,Math.floor(g-
l),p,k);k=f-e<3?f-e:3;k<=0&&(k=1);e=e+(k-1)}a.restore()}};cp.getIntersectionRect=function(a,c){var d=a[0]+a[2],e=a[1]+a[3],f=c[0]+c[2],g=c[1]+c[3],k={l:0,t:0,w:0,h:0};if(d<c[0]||e<c[1]||a[0]>f||a[1]>g)return k;k.l=a[0]>c[0]?a[0]:c[0];k.t=a[1]>c[1]?a[1]:c[1];k.w=(d<f?d:f)-k.l;k.h=(e<g?e:g)-k.t;return k};cp.frameset_mc_draw=function(a,c,d,e,f,g,k){if(c=="")return true;var m=false;a.save();var l=cp.D[f];if(l.shouldShowDisabledState)a.globalAlpha=0.5;var n=cp.movie.im.images[c];try{if(n)if(n.complete&&
n.nativeImage.complete){cp.verbose&&cp.log("drawing completed img "+c);if(a.centreImage&&(g||k))if(cp.responsive){a.clearRect(-a.width,-a.height,2*a.width,2*a.height);var o=l.clientWidth,q=l.clientHeight;cp.isCaptionItem(l.type)?cp.tcd(a,n.nativeImage,-o/2+a.tex,-q/2+a.tey,o,q,l.pixelColor):a.crop?a.drawImage(n.nativeImage,a.crop.x,a.crop.y,o,q,-o/2+a.tex,-q/2+a.tey,o,q):a.drawImage(n.nativeImage,-o/2+a.tex,-q/2+a.tey,o,q)}else{a.clearRect(-a.width,-a.height,2*a.width,2*a.height);a.drawImage(n.nativeImage,
-n.nativeImage.width/2+a.tex,-n.nativeImage.height/2+a.tey,n.nativeImage.width,n.nativeImage.height)}else if(cp.responsive)if(cp.isCaptionItem(l.type))cp.tcd(a,n.nativeImage,0,0,l.clientWidth,l.clientHeight,l.pixelColor);else if(a.crop){var p=[a.crop.x,a.crop.y,l.clientWidth,l.clientHeight],u=cp.getIntersectionRect([0,0,n.nativeImage.width,n.nativeImage.height],p);p[0]=a.crop.x<0?-a.crop.x:0;p[1]=a.crop.y<0?-a.crop.y:0;a.drawImage(n.nativeImage,u.l,u.t,u.w,u.h,p[0],p[1],u.w,u.h)}else a.drawImage(n.nativeImage,
0,0,l.clientWidth,l.clientHeight);else a.drawImage(n.nativeImage,0,0);m=true;if(d){cp.verbose&&cp.log("hiding1 "+c);cp.hide(d)}else if(!e){cp.verbose&&cp.log("hiding2 "+c);cp.hide(f)}}else cp.exceptionalLogs&&!cp.responsive&&console.log("**** drawing failed. img incomplete "+c);else c&&cp.exceptionalLogs&&!cp.responsive&&console.log("***** drawing failed. img not found "+c)}catch(s){console.log("***** drawing failed. img not found "+c)}return m};cp.fd=function(a,c,d,e,f,g,k){return cp.frameset_mc_draw(a,
c,d,e,f,g,k)};cp.setMovieLeftTopRightBottom=function(a,c,d,e){if(!cp.responsive){var f=cp.getProjectContainer();f.style.width=parseFloat(f.style.width)+a+d+"px";f.style.height=parseFloat(f.style.height)+c+e+"px";var g=cp.getMainContainer(),k=(cp.getInnerWidth()-parseFloat(g.style.width))/2;g.style.left=(k>0?k:0)+"px";g=cp.getProject();cp.movie.topOffset=cp.movie.topOffset+(c+parseFloat(f.style.top));g.style.top=c+"px";g.style.left=parseFloat(g.style.left)+a+"px";cp.loadedModules.toc&&cp.tocInit(cp.D,
a,c,d,e);cp.updateBorderPosition(cp.D);cp.adjustWindow()}};cp.setCCPosition=function(a){cp.movie.cc.style["pointer-events"]="auto";cp.movie.cc.style.left=cp.project.style.left;cp.responsive?cp.movie.cc.style.top=cp("project").clientHeight-cp.movie.cc.clientHeight+"px":cp.movie.cc.style.bottom=a+"px"};cp.ConvertRGBToRGBA=function(a,c){return a.replace(")"," ,"+(c+"")+")").replace("rgb","rgba")};cp.ConvertColorToRGBA=function(a,c){return"rgba("+parseInt(a.substr(1,2),16)+" ,"+parseInt(a.substr(3,2),
16)+" ,"+parseInt(a.substr(5,2),16)+" ,"+c+")"};cp.getAngleFromRotateStr=function(a){a=a.replace("rotate(","");return parseFloat(a.replace("deg)",""))};cp.applyTransform=function(a,c){a.style.transform=c;a.style.msTransform=c;a.style.MozTransform=c;a.style.WebkitTransform=c;a.style.OTransform=c};cp.applyShadow=function(a,c,d){a.style.mozBoxShadow=c;a.style.webkitBoxShadow=c;a.style.boxShadow=c;if(d){var e=c.a*Math.PI/180,d=cp.getRoundedValue(c.d*Math.cos(e)),e=cp.getRoundedValue(c.d*Math.sin(e));
a.style.textShadow=d+"px "+e+"px "+c.b+"px "+c.c}};cp.setFillStrokeStyle=function(a,c,d,e){var f=c.getContext("2d");if(a.gf){if(a.gf.t==0)switch(a.gf.di){case 0:c=f.createLinearGradient(0,c.height/2,c.width,c.height/2);break;case 1:c=f.createLinearGradient(c.width,c.height/2,0,c.height/2);break;case 2:c=f.createLinearGradient(0,0,c.width,c.height);break;case 3:c=f.createLinearGradient(c.width,c.height,0,0);break;case 5:c=f.createLinearGradient(c.width/2,c.height,c.width/2,0);break;case 6:c=f.createLinearGradient(0,
c.height,c.width,c.height);break;case 7:c=f.createLinearGradient(c.width,c.height,0,c.height);break;default:case 4:c=f.createLinearGradient(c.width/2,0,c.width/2,c.height)}else{var g=0;switch(a.gf.di){case 0:c=f.createRadialGradient(c.width/2,c.height/2,0,c.width,c.height/2,c.width/2);break;case 2:g=c.width<c.height?c.width:c.height;c=f.createRadialGradient(0,0,0,g,0,g);break;case 3:c=f.createRadialGradient(c.width/2,0,0,c.width/2,c.height,c.height);break;case 4:g=c.width<c.height?c.width:c.height;
c=f.createRadialGradient(c.width,0,0,c.width,g,g);break;case 5:c=f.createRadialGradient(c.width,c.height/2,0,0,c.height/2,c.width);break;case 6:g=c.width<c.height?c.width:c.height;c=f.createRadialGradient(c.width,c.height,0,c.width-g,c.height-g,g);break;case 7:c=f.createRadialGradient(c.width/2,c.height,0,c.width/2,0,c.height);break;case 8:g=c.width<c.height?c.width:c.height;c=f.createRadialGradient(0,c.height,0,g,c.height,g);break;case 9:c=f.createRadialGradient(0,c.height/2,0,c.width,c.height/2,
c.width);break;default:case 4:c=f.createRadialGradient(c.width/2,c.height/2,0,c.width,c.height,Math.sqrt(c.width*c.width+c.height*c.height))}}for(g=0;g<a.gf.cs.length;++g){var k=a.gf.cs[g],m=cp.getRGBA(k.c,k.o);c.addColorStop(k.p/100,m)}d?f.strokeStyle=c:f.fillStyle=c}else d?f.strokeStyle=a.bc:f.fillStyle=a.bc;if(!e)f.globalAlpha=a.alpha/100};cp.loadjscssfile=function(a,c,d){var e;if(c=="js"){e=document.createElement("script");e.setAttribute("type","text/javascript");e.setAttribute("src",a);e.onload=
d}else if(c=="css"){e=document.createElement("link");e.setAttribute("rel","stylesheet");e.setAttribute("type","text/css");e.setAttribute("href",a);e.onload=d;var f=document.styleSheets.length,g=setInterval(function(){if(document.styleSheets.length>f){clearInterval(g);d()}},50)}e!=void 0&&document.getElementsByTagName("head")[0].appendChild(e);return e};cp.CPPlayButtonHandle=function(a){var c;if(a.keyCode)c=a.keyCode;else if(a.which)c=a.which;c==32&&cp.movie.play()};cp.ccInit=function(a){if(cp.ccdv){var c=
cp.ccdv;c.style.width=a.w+"px";c.style.height=a.h+"px";var d=c.firstElementChild;d.style.backgroundColor=cp.ConvertColorToRGBA(a.c,a.o/100);d.style.fontFamily=a.f;d.style.fontSize=a.fs+"px";d.style.color=a.tc;cp.movie.ccText=d.firstElementChild;cp.movie.ccLines=a.lc;a=cp.getProject();c.style.left=a.style.left;c.style.bottom="0px"}};cp.handleVariablesInURLParams=function(){var a=window.location.toString();if(a.indexOf("?")!=-1)for(var a=a.split("?")[1].split("&"),c=0;c<a.length;++c){var d=a[c];if(d.indexOf("=")!=
-1){d=d.split("=");cp.vm.setVariableValue(d[0],unescape(d[1]),false)}}};cp.getInnerWidth=function(){cp.offsetInnerWidth=!window.innerWidth||window.innerWidth==0?640:window.innerWidth;return cp.offsetInnerWidth};cp.getProjectContainer=function(){if(!cp.projectContainer)cp.projectContainer=cp("project_container");return cp.projectContainer};cp.getMainContainer=function(){if(!cp.mainContainer)cp.mainContainer=cp("main_container");return cp.mainContainer};cp.getProject=function(){if(!cp.project)cp.project=
cp("project");return cp.project};cp.adjustProjectHeight=function(a){if(cp.responsive&&a){var c=cp.D[a.mdi].css,a=c[cp.ResponsiveProjWidth];cp.RespDefaultBptH=parseFloat(c[cp.RespDefaultBptW].h);if(parseFloat(cp("project").style.height)!=a.h)cp("project").style.height=a.h;c=cp("project").clientHeight;c=c>0?c:parseFloat(a.h);a=cp("playbar").clientHeight;cp.PB&&(cp.PB.MP&&cp.PB.MP.PBP&&cp.PB.MP.PBP.showOnHover&&cp("playbar").animator)&&(a=0);cp("project_container").style.height=c+a+"px";if(cp("project_container").clientHeight>
window.innerHeight){cp("main_container").style.height=c+a+"px";cp("cpDocument").style.height=c+a+"px"}else{cp("main_container").style.height="100%";cp("cpDocument").style.height="100%"}}};cp.adjustSkins=function(a){if(cp.responsive){if(a==void 0)a=cp.ReasonForDrawing.kOrientationChangeOrResize;var c=cp("project"),d=cp("playbar");if(cp.PB&&cp.PB.playbarCreated){cp.PB.rootObj&&(cp.PB.rootObj.layoutPlaybar&&a==cp.ReasonForDrawing.kOrientationChangeOrResize)&&cp.PB.rootObj.layoutPlaybar(true,c.clientWidth);
if(cp.responsive){a=c.clientHeight+d.clientHeight;d.style.bottom=a<window.innerHeight&&c.clientHeight>0?window.innerHeight-a+"px":"0px";d.style.left=c.style.left;a=d.animator;if(cp.PB&&cp.PB.MP&&cp.PB.MP.PBP&&cp.PB.MP.PBP.showOnHover&&a){a.resetStartEndValForResponsive();d.style.bottom="";if(a.playbarHidden){d.style.bottom="";d.style.top=cp("div_Slide").getBoundingClientRect().bottom+"px"}else{d.style.top="";d.style.bottom="0px"}d.style.position="absolute"}else d.style.position="fixed";d.style.transform=
"scale(1)"}}cp.toc&&(cp.toc.tocCreated&&cp.toc.rootObj)&&cp.toc.rootObj.adjustTOC();if(cp.movie.cc){cp("cc").style.width=c.clientWidth+"px";cp.setCCPosition(d.clientHeight)}if(cp.playImage){c=lPlayButtonT=0;c=cp.project.clientWidth>window.innerWidth?(window.innerWidth-cp.playImage.clientWidth)/2:(cp.project.clientWidth-cp.playImage.clientWidth)/2;lPlayButtonT=cp.project.clientHeight>window.innerHeight?(window.innerHeight-cp.playImage.clientHeight)/2:(cp.project.clientHeight-cp.playImage.clientHeight)/
2;cp.playImage.style.left=c+"px";cp.playImage.style.top=lPlayButtonT+"px"}if(cp.autoplayImage){cp.autoplayImage.style.left=(cp.project.clientWidth-cp.movie.autoplayimagew)/2+"px";cp.autoplayImage.style.top=(cp.project.clientHeight-cp.movie.autoplayimageh)/2+"px"}}};cp.getCurrentBreakpointWidth=function(a){var c=cp.responsiveWidths.length;if(a<=cp.responsiveWidths[0])return cp.responsiveWidths[0];if(a>=cp.responsiveWidths[cp.responsiveWidths.length-1])return cp.responsiveWidths[cp.responsiveWidths.length-
1];for(var d=0;d<=c-1;++d)if(a<=cp.responsiveWidths[d])return cp.responsiveWidths[d]};cp.updateResponsiveGlobals=function(){if(cp.responsive&&cp.responsiveWidths&&!(cp.responsiveWidths.length<=0)){var a=window.innerWidth;cp.RespDefaultBptW=cp.responsiveWidths[cp.responsiveWidths.length-1];cp.ResponsiveProjWidth=cp.getCurrentBreakpointWidth(a);if(cp.responsiveMaxWidth==void 0)cp.responsiveMaxWidth=cp.D.project.maxWidth}};cp.adjustResponsiveItems=function(a){if(cp.responsive){if(a==void 0)a=cp.ReasonForDrawing.kOrientationChangeOrResize;
var c=cp.movie.stage.getCurrentSlideInteractionManager();c&&c.saveResponsiveInteractionState(a);var d=cp.ResponsiveProjWidth;cp.updateResponsiveGlobals();var e=window.innerWidth;if(cp.responsiveMaxWidth&&window.innerWidth>cp.responsiveMaxWidth){if(parseFloat(cp("project_container").style.width)!=cp.ResponsiveProjWidth)cp("project_container").style.width=cp.ResponsiveProjWidth+"px";cp("project_container").style.left=(e-cp.ResponsiveProjWidth)/2+"px"}else{cp("project_container").style.width="100%";
cp("project_container").style.left="0px"}var f=cp.movie.stage.currentSlide,e=cp.movie.stage.getSlideIndexForFrame(cpInfoCurrentFrame);if(!f){f=cp.movie.stage.getSlideNameForIndex(e);f=cp.D[f]}cp.adjustProjectHeight(f);cp.setupSlideBGDivAndCanvasInternal(f,cp.movie.stage.getSlideDiv());cp.adjustSkins(a);y&&(y[cp.ITEMDRAWINGCOMPLETEEVENT]=[]);a==cp.ReasonForDrawing.kOrientationChangeOrResize&&cp.movie.pm.loadSlideAssets(cpInfoCurrentSlideIndex);var f=true,g;for(g in G){var k=G[g];if(k&&k.isStarted&&
k.drawForResponsive){k.saveState&&k.saveState(d);k.drawForResponsive(true,cp.ReasonForDrawing.kOrientationChangeOrResize);var m=k.element?cp.D[k.element.id]:void 0;if(m){var l=k.getAttribute("css");if(!l)continue;l=cp.getResponsiveCSS(l);if(!l)continue;var n=l.ipiv;if(k.visible){l=cp.D[m.dn];!l&&m.actid&&(l=cp.D[m.actid]);if(!l)continue;if(n){if(k.type==cp.kCPOTVideo&&k.nativeVideo)k.nativeVideo.style.display="block";if(k.element)(m=k.element.firstElementChild)&&m.tagName=="VIDEO"&&this.started==
true&&(this.ended==false&&this.paused==false)&&k.play();l.ia&&cp.movie.am.showHideObjectAudio(l.ia,true);l.iea&&cp.movie.am.playPauseEventAudio(l.iea,true)}else{if(k.type==cp.kCPOTVideo){if(k.nativeVideo)k.nativeVideo.style.display="none";k.pause&&k.pause()}l.ia&&cp.movie.am.showHideObjectAudio(l.ia,false);l.iea&&cp.movie.am.playPauseEventAudio(l.iea,false)}}}f=f&&k.isDrawn}}d=cp.movie.stage.currentSlide;g=false;if(d)if(g=d.st=="Question Slide"){(d=cp.getQuestionObject(d.qs))&&d.adjustCustomObjects&&
d.adjustCustomObjects();d&&d.updateCustomReviewAreaTransforms&&d.updateCustomReviewAreaTransforms()}cp.movie.stage.forEachChild(cp.updateVariableTextBounds,true);cpInfoCurrentFrame&&cp.movie.stage.syncMotionToFrame(cpInfoCurrentFrame,true);c&&c.adjustResponsiveInteraction(a);f||cp.movie.pm.loadSlideAssets(e)}};cp.getCurrentSlideResponsiveHeight=function(a){if(cp.responsive){var c=void 0;if(!cp.movie||!cp.movie.stage){c=cp.D.project_main.slides.split(",")[0];c=cp.D[c]}else{c=cp.movie.stage.currentSlide;
if(!c){c=cp.movie.stage.getSlideIndexForFrame(cpInfoCurrentFrame);c=cp.movie.stage.getSlideNameForIndex(c);c=cp.D[c]}}a=cp.D[c.mdi].css[cp.getCorrectBreakpoint(a)];c=cp("playbar").clientHeight;cp.PB&&(cp.PB.MP&&cp.PB.MP.PBP&&cp.PB.MP.PBP.showOnHover)&&(c=0);return parseFloat(a.h)+c}};cp.adjustWindow=function(a){if(cp.useg&&cp.gesturesDiv)cp.gesturesDiv.style.position=cp.responsive||window.innerWidth<cp.D.project.w?"fixed":"absolute";if(cp.playImage){cp.playImage.style.left=cp.D.project.w<=window.innerWidth||
cp.shouldScale?(cp.D.project.w-96)/2+"px":(window.innerWidth-96)/2+"px";cp.playImage.style.top=cp.D.project.h<=window.innerHeight||cp.shouldScale?(cp.D.project.h-96)/2+"px":(window.innerHeight-96)/2+"px"}if(cp.autoplayImage){cp.autoplayImage.style.left=(cp.D.project.w-cp.movie.autoplayimagew)/2+"px";cp.autoplayImage.style.top=(cp.D.project.h-cp.movie.autoplayimageh)/2+"px"}var c=cp("playbar");if(cp.responsive&&cp.device!=cp.DESKTOP)if(cp.movie&&cp.movie.stage){var d=cp.movie.stage.currentSlide;if(!d)var e=
cp.movie.stage.getSlideIndexForFrame(cpInfoCurrentFrame),e=cp.movie.stage.getSlideNameForIndex(e),d=cp.D[e];e=cp.getCurrentBreakpointWidth(window.innerWidth);if(d)if(d=cp.D[d.mdi])if(d=d.css)if(e=d[e]){e=parseFloat(e.h)+c.clientHeight;c.style.position="fixed";c.style.bottom=e>=window.innerHeight?"0px":window.innerHeight-e+"px"}}else{c.style.bottom="0px";c.style.position="fixed"}a=a?a.type:a;if(a=="resize"){cp.em.fireEvent("CPWindowResized");if(cp.device!=cp.DESKTOP){if(cp.isTextInputInFocus()){if(cp.device!=
cp.IDEVICE){e=document.activeElement;a=cp.getMainContainer();a.style.position="absolute";document.body.style.overflow="scroll";e=t=0;if(!cp.responsive){e=parseFloat(a.parentElement.parentElement.style.left);t=parseFloat(a.parentElement.parentElement.style.top);window.scrollTo(e,t)}if(cp.responsive){c.style.top=cp.project.clientHeight+"px";c.style.position="absolute";c.offsetHeight=c.offsetHeight}}else if(cp.responsive){var f=document.activeElement.onblur;document.activeElement.onblur=function(a){setTimeout("cp.adjustSkins();if(cp.m_gestureHandler){cp.m_gestureHandler.fitMovie();}",
500);f&&f(a)}}return}if(cp.responsive){c.style.top="";c.style.position="fixed";c.offsetHeight=c.offsetHeight;if(cp("div_Slide").scaleFactor!=1)return;setTimeout("window.scrollTo(0,0);cp.adjustResponsiveItems();cp.em.fireEvent('CPWindowResizeCompleted');",500);return}}}else{(e=document.activeElement)&&(e.tagName.toLowerCase()=="input"&&e.type=="text"||e.tagName.toLowerCase()=="textarea")&&e.blur();cp.em.fireEvent("CPOrientationChanged")}window.scrollTo(0,0);if(cp.responsive)cp.adjustResponsiveItems();
else{if(!cp.SetScaleAndPosition()){cp.getInnerWidth();var c=cp.getMainContainer(),e=cp.getProjectContainer(),d=cp.getProject(),g=(cp.offsetInnerWidth-parseFloat(c.style.width))/2;c.style.left=(g>0?g:0)+"px";cp.movie.offset=(g>0?g:0)+(cp.movie.m_scaleFactor?cp.movie.m_scaleFactor:1)*(parseFloat(d.style.left)+parseFloat(e.style.left))}if(cp.useg&&cp.gesturesDiv&&cp.shouldScale&&cp.movie&&cp.movie.virgin){cp.gesturesDiv.style.display="none";setTimeout('cp.gesturesDiv.style.display = "block";',500)}cp("blockUserInteraction").style.width=
"100%";cp("blockUserInteraction").style.height="100%"}a=="resize"?cp.em.fireEvent("CPWindowResizeCompleted"):cp.em.fireEvent("CPOrientationChangeCompleted")};cp.getOffsetPosition=function(a,c){var d={};d.X=a-cp.movie.offset;d.Y=c-cp.movie.topOffset;return d};cp.getScaledPosition=function(a,c){if(cp.responsive)return{X:a,Y:c};var d={};if(!cp.shouldScale)return cp.getOffsetPosition(a,c);var e=(c-cp.movie.newMainContainerT)/cp.movie.newMainContainerH,f=Math.round(cp.movie.oldMainContainerW*((a-cp.movie.newMainContainerL)/
cp.movie.newMainContainerW)),e=Math.round(cp.movie.oldMainContainerH*e),g=cp.getProjectContainer(),k=cp.getProject();d.X=f-parseFloat(g.style.left)-parseFloat(k.style.left);d.Y=e-parseFloat(g.style.top)-parseFloat(k.style.top);return d};cp.SetScaleAndPosition=function(){var a=cp.getMainContainer(),c=window,d=c.innerWidth,c=c.innerHeight;cp.movie.oldMainContainerW=parseFloat(a.style.width);cp.movie.oldMainContainerH=parseFloat(a.style.height);var e=cp.movie.oldMainContainerW==void 0||cp.movie.oldMainContainerW==
0?1:d/cp.movie.oldMainContainerW,f=cp.movie.oldMainContainerH==void 0||cp.movie.oldMainContainerH==0?1:c/cp.movie.oldMainContainerH;cp.movie.m_scaleFactor=1;if(!cp.shouldScale)return false;cp.movie.m_scaleFactor=e<f?e:f;if(cp.verbose){cp.log(cp.D.project.shc);cp.log(cp.movie.m_scaleFactor);cp.log(cp.shouldScale)}cp.movie.newMainContainerW=Math.round(cp.movie.m_scaleFactor*cp.movie.oldMainContainerW);cp.movie.newMainContainerH=Math.round(cp.movie.m_scaleFactor*cp.movie.oldMainContainerH);cp.movie.oldMainContainerL=
parseFloat(a.style.left);cp.movie.oldMainContainerT=parseFloat(a.style.top);a.style.webkitTransformOrigin="left top";a.style.MozTransformOrigin="left top";a.style.msTransformOrigin="left top";cp.movie.newMainContainerL=Math.round((d-cp.movie.newMainContainerW)/2>0?(d-cp.movie.newMainContainerW)/2:0);cp.movie.newMainContainerT=Math.round((c-cp.movie.newMainContainerH)/2>0?(c-cp.movie.newMainContainerH)/2:0);a.style.left=cp.movie.newMainContainerL+"px";a.style.top=cp.movie.newMainContainerT+"px";cp.getProjectContainer();
cp.getProject();cp.movie.offset=cp.movie.newMainContainerL;cp.movie.topOffset=cp.movie.newMainContainerT;a.style.webkitTransform="scale("+cp.movie.m_scaleFactor+")";a.style.MozTransform="scale("+cp.movie.m_scaleFactor+")";a.style.msTransform="scale("+cp.movie.m_scaleFactor+")";document.body.style.overflow="hidden";a.style.position="fixed";return true};cp.trimStartingAndTrailingSpaces=function(a){var c="",c=a.replace(/^[\s|\t|\n]+/g,"");return c=c.replace(/[\s|\t|\n]+$/g,"")};cp.cpJoin=function(a,
c){if(a&&!(c==""||c==void 0)&&!(a.length<=0)){for(var d=a[0],e=1;e<a.length;++e)d=d+(c+a[e]);return d}};cp.getLeftTopAfterTranslate=function(a){var c=new WebKitCSSMatrix(window.getComputedStyle(a).webkitTransform),d={};d.L=parseFloat(a.style.left)+c.m41;d.T=parseFloat(a.style.top)+c.m42;return d};cp.createAlternativeAccessibleText=function(a,c,d){if(cp.SAFARI===cp.browser){d!==""&&a.setAttribute("role",d);a.setAttribute("aria-label",c)}else{if(cp.D.pref.acc===0||c==="")c=" ";d=cp.newElem("p");d.innerHTML=
c;c=cp.newElem("div");c.id=a.id+"accStr";c.className="cp-accessibility";c.appendChild(d);a.appendChild(c)}};cp.getRGBA=function(a,c){return"rgba("+parseInt(a.substring(1,3),16)+" , "+parseInt(a.substring(3,5),16)+" , "+parseInt(a.substring(5,7),16)+" , "+c+" )"};cp.QuizLibraryInit=function(){cp.g_ShouldRandomize&&cp.NewQuizLibraryInit()};cp.NewQuizLibraryInit=function(){if(cp.PlaybackController&&!cp.movie.playbackController){cp.movie.playbackController=cp.IsRunningInACAP?new cp.ACAPPlaybackController:
new cp.PlaybackController;cp.movie.playbackController.InitializeReportingVariables();cp.movie.playbackController.InitializePlaybackController()}cp.movie.registerQuizVariableSetters();if(cp.g_ShouldRandomize)cp.ContinueQuizLibraryInit();else if(cp.resumeDataChunk!=""&&cp.resumeDataChunk!=void 0&&cp.resumeDataChunk!="0"){var a=cp.movie.playbackController;a&&a.RestoreQuizState()}cp.movie.initLMS()};cp.ContinueQuizLibraryInit=function(){cp.movie.updateMovie();cp.movie.stage.createQuestionObjs();cp.movie.playbackController&&
cp.movie.playbackController.AddQuestionSlideNames();cp.movie.stage.initializeGraphManager()};cp.IsRunningInConnect=function(){return!document.location||!document.URL||!document.referrer?false:document.location.href.indexOf("airspeed")!=-1||document.URL.indexOf("airspeed")!=-1||document.referrer.indexOf("airspeed")!=-1};cp.isBlockedForLMS=function(){return typeof cp.LMSDriverHolder!="undefined"&&cp.LMSDriverHolder&&cp.LMSDriverHolder.blockedForLMS};cp.unblockFromLMS=function(){if(typeof cp.LMSDriverHolder!=
"undefined"&&cp.LMSDriverHolder)cp.LMSDriverHolder.blockedForLMS=false;cp("blockUserInteraction").style.display="none"};cp.closeGesturesHint=function(){if(cp("gestureHint")){cp.removeGestureEvent(cp("gestureHint"),cp.GESTURE_EVENT_TYPES.TAP,cp.closeGesturesHint);cp("gestureHint").style.display="none"}};cp.showGesturesHint=function(){var a=cp("gestureHint");if(cp.useg&&a){a.style.display="block";a.style.zIndex=10;cp.registerGestureEvent(cp("gestureHint"),cp.GESTURE_EVENT_TYPES.TAP,cp.closeGesturesHint)}};
cp.CPPreInit=function(){cp.CPProjInit();cp.shouldScale=cp.D.project.shc;cp.responsive=cp.D.project_main.useResponsive;if(cp.IsRunningInACAP||cp.IsRunningInALEC){cp.D.playBarProperties.hasPlayBar=false;cp.D.borderProperties.hasBorder=false;cp.D.project.hasTOC=false}cp.loadedModules={playbar:cp.D.playBarProperties.hasPlayBar&&cp("playbar")!=void 0,border:cp.D.borderProperties.hasBorder,toc:cp.D.project.hasTOC&&cp("toc")!=void 0};if(cp.device==cp.IDEVICE)if(cp.mat==void 0){if(cp.IOSMajor<=cp.IOS5)cp.multiAudioTrack=
false}else cp.multiAudioTrack=false;if(cp.device==cp.ANDROID)cp.multiAudioTrack=true;var a=cp.D.project_main.pools;if(a==void 0||a.length<=0)cp.poolManager=void 0;else{cp.poolManager=new cp.PoolManager;cp.poolManager.loadPools();cp.g_ShouldRandomize&&cp.poolManager.randomizePools()}PPTXLib.initializePPTXLibrary();if(a=cp.D.project_main.slideVideos)for(var c=0,d=1;d<a.length;++c,++d){var e=cp.D[a[c]],f=cp.D[a[d]];if(e.to+1==f.from){e=cp.D[e.mdi];f=cp.D[f.mdi];if(Math.abs(e.vst-f.vsf)<=0.1&&e.mp4==
f.mp4){e.continueToNextSlide=1;f.continueFromPrevSlide=1}}}for(var a=(cp.D.project_main.slideAudios||"").split(","),c=(cp.D.project_main.slides||"").split(","),d=a.length,f=c.length,g=e=0;g<f&&e<d;++g){var k=cp.D[c[g]];if(!k)break;var m=cp.D[a[e]];if(!m)break;if(m.from<=k.to)k.audioName=a[e];k.to>=m.to&&++e}a=(cp.D.project_main.slides||"").split(",");c=a.length;for(d=0;d<c;++d){f=cp.D[a[d]];if(!f)break;for(var l in f.si){e=f.si[l];if(cp.kCPOTFLVItem==e.t||cp.kCPOTVideo==e.t||cp.kCPFullMotion==e.t||
cp.kCPOTVideoResource==e.t){if(!f.videos)f.videos=[];f.videos.push(e.n)}}}if(cp.responsive){if(cp.responsiveWidths==void 0)cp.responsiveWidths=cp.D.project.cssWidths;cp.m_isPreview&&cp.parentWindow.initializeResponsivePreview&&cp.parentWindow.initializeResponsivePreview(cp.D.project.cssWidths,cp.D.project.w,cp.D.project.h+100,cp.D.project_main.cBW,cp.DESKTOP==cp.device);cp.updateResponsiveGlobals()}cp.offsetInnerWidth=0;cp.getInnerWidth();l=cp.getProjectContainer();if(cp.responsive){l.style.width=
"100%";l.style.height="100%"}else{l.style.width=cp.D.project.w+(cp.loadedModules.toc&&!cp.D.tocProperties.overlay?cp.D.tocProperties.width:0)+"px";l.style.height=cp.D.project.h+"px"}l=cp.getMainContainer();a=(cp.offsetInnerWidth-parseFloat(l.style.width))/2;l.style.left=cp.responsive?"0px":(a>0?a:0)+"px";if(!cp.playImage)cp.playImage=cp("playImage");if(!cp.autoplayImage)cp.autoplayImage=cp("autoplayImage");if(!cp.autoplayDiv)cp.autoplayDiv=cp("autoplayDiv");if(!cp.gesturesDiv){cp.gesturesDiv=cp("gestureIcon");
if(cp.useg){cp.gesturesDiv.style.display="block";cp.registerGestureEvent(cp.gesturesDiv,cp.GESTURE_EVENT_TYPES.TAP,cp.showGesturesHint)}else cp.gesturesDiv.style.display="none"}if(cp.device!=cp.DESKTOP){cp.playImage.className="autoPlayButton";if(cp.useg)cp.gesturesDiv.style.display="block"}else{if(!cp.D.project_main.autoplay)cp.playImage.className="autoPlayButton";cp.gesturesDiv.style.display="none"}if(!cp.ccdv){cp.ccdv=cp("cc");cp.fixWebkitScaling(cp.ccdv)}if(!cp.pwdv)cp.pwdv=cp("pwdv");if(!cp.exdv)cp.exdv=
cp("exdv");if(!cp.preloaderImage)cp.preloaderImage=cp("preloaderImage");if(cp.movie==void 0){cp.movie=new cp.Movie(cp("project"));cp.eventManager=new cp.EventManager;cp.variablesManager=new cp.VariablesManager;cp.movie.audioManager=new cp.AudioManager;cp.movie.videoManager=new cp.VideoManager;cp.movie.mediaSeeker=new cp.MediaSeeker;cp.g_ShouldRandomize||cp.NewQuizLibraryInit();cp.movie.vdm.load();cp.movie.am.load();l=cp.movie.stage.getSlideNameForIndex(0);cp.multiAudioTrack&&l!=""&&cp.movie.am.preload(l);
l!=""&&cp.movie.vdm.preload(l);cp.movie.imageManager=new cp.ImageManager;cp.movie.prefetchManager=new cp.PrefetchManager;cp.movie.handleProjectOptions();cp.movie.pm.preloadSlideAssets(0);cp.movie.topOffset=0;l=cp.getProject();if(!cp.responsive)l.style.left=(cp.loadedModules.toc&&!cp.D.tocProperties.overlay&&cp.D.tocProperties.position==1?cp.D.tocProperties.width:0)+"px"}if(l=cp.movie.stage.getSlideDiv()){l.ondblclick=cp.handleDblClick;l.oncontextmenu=cp.handleRightClick}cp.ccInit(cp.D.ccProperties);
cp.loadedModules.border&&cp.borderInit(cp.D);cp.loadedModules.playbar?cp.playBarInit(cp.D):cp.setMovieLeftTopRightBottom(0,0,0,0);cp.loadedModules.toc&&cp.responsive&&cp.tocInit(cp.D,0,0,0,0);cp("project").style["z-index"]=1;cp.loadedModules.toc&&(cp("toc").style["z-index"]=2);cp.loadedModules.playbar&&(cp("playbar").style["z-index"]=3);cp.ccdv=cp("cc");cp.pwdv=cp("pwdv");cp.exdv=cp("exdv");cp.ccdv&&(cp("cc").style["z-index"]=4);if(cp.gesturesDiv)cp.gesturesDiv.style.zIndex=4;cp.pwdv&&(cp("pwdv").style["z-index"]=
5);cp.exdv&&(cp("exdv").style["z-index"]=6);if(cp.dynamicLogControl){if(cp.consolidateLogs)cp.logArray=[];var n=cp.newElem("div");n.style.cssText="z-index:100;position:absolute;left:0px; top:0px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/hotspot_correct_answer_normal.png);opacity:"+(cp.consolidateLogs?1:0.5);n.onclick=function(){if(!cp.logArray)cp.logArray=[];if(cp.consolidateLogs){for(var a=0;a<cp.logArray.length;++a)console.log(cp.logArray[a]);cp.logArray.length=
0}cp.consolidateLogs=!cp.consolidateLogs;n.style.opacity=cp.consolidateLogs?1:0.5};n.innerHTML="<font color='#000000' style='font-size:10px'>consolidateLogs</font>";document.body.appendChild(n);var o=cp.newElem("div");o.style.cssText="z-index:100;position:absolute;left:0px; top:30px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/hotspot_correct_answer_normal.png);opacity:"+(cp.movie.im.verbose?1:0.5);o.onclick=function(){cp.movie.im.verbose=!cp.movie.im.verbose;o.style.opacity=
cp.movie.im.verbose?1:0.5};o.innerHTML="<font color='#000000' style='font-size:10px'>imageLogs</font>";document.body.appendChild(o);var q=cp.newElem("div");q.style.cssText="z-index:100;position:absolute;left:60px; top:30px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/arrow_right.gif);opacity:"+(cp.movie.pm.viewCache?1:0.5);q.onclick=function(){cp.movie.pm.viewCache=!cp.movie.pm.viewCache;if(cp.movie.pm.viewCache){cp.movie.pm.cacheViews=[];for(var a=0;a<cp.movie.pm.cache.length;++a)cp.movie.pm.cacheViews[a]=
new cp.CacheView(a);cp.movie.pm.showCache()}else{for(a in cp.movie.pm.cacheViews){document.body.removeChild(cp.movie.pm.cacheViews[a].view);--cp.CacheView.NUM_CACHE_VIEWS}delete cp.movie.am.cacheViews}q.style.opacity=cp.movie.pm.viewCache?1:0.5};q.innerHTML="<font color='#000000' style='font-size:10px'>view</font>";document.body.appendChild(q);var p=cp.newElem("div");p.style.cssText="z-index:100;position:absolute;left:0px; top:60px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/hotspot_correct_answer_normal.png);opacity:"+
(cp.movie.am.verbose?1:0.5);p.onclick=function(){cp.movie.am.verbose=!cp.movie.am.verbose;p.style.opacity=cp.movie.am.verbose?1:0.5};p.innerHTML="<font color='#000000' style='font-size:10px'>audioLogs</font>";document.body.appendChild(p);var u=cp.newElem("div");u.style.cssText="z-index:100;position:absolute;left:60px; top:60px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/arrow_right.gif);opacity:"+(cp.movie.am.viewAudio?1:0.5);u.onclick=function(){cp.movie.am.viewAudio=
!cp.movie.am.viewAudio;u.style.opacity=cp.movie.am.viewAudio?1:0.5;if(cp.movie.am.viewAudio){cp.movie.am.audioViews=[];for(var a=0;a<cp.movie.am.MAX_AUDIO_CHANNELS;++a){var c=cp.movie.am.audioChannels[a];cp.movie.am.audioViews[a]=new cp.AudioView(c)}}else{for(a in cp.movie.am.audioViews){c=cp.movie.am.audioViews[a];document.body.removeChild(c.view);--cp.MediaView.NUM_MEDIA_VIEWS}delete cp.movie.am.audioViews}};u.innerHTML="<font color='#000000' style='font-size:10px'>view</font>";document.body.appendChild(u);
l=cp.newElem("div");l.style.cssText="z-index:100;position:absolute;left:120px; top:60px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/hotspot_correct_answer_normal.png);opacity:1";l.onclick=function(){cp.movie.am.resetAllWaitingAudios()};l.innerHTML="<font color='#000000' style='font-size:10px'>!Wait</font>";document.body.appendChild(l);var s=cp.newElem("div");s.style.cssText="z-index:100;position:absolute;left:0px; top:90px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/hotspot_correct_answer_normal.png);opacity:"+
(cp.movie.vdm.verbose?1:0.5);s.onclick=function(){cp.movie.vdm.verbose=!cp.movie.vdm.verbose;s.style.opacity=cp.movie.vdm.verbose?1:0.5};s.innerHTML="<font color='#000000' style='font-size:10px'>videoLogs</font>";document.body.appendChild(s);var v=cp.newElem("div");v.style.cssText="z-index:100;position:absolute;left:60px; top:90px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/arrow_right.gif);opacity:"+(cp.movie.vdm.viewVideo?1:0.5);v.onclick=function(){cp.movie.vdm.viewVideo=
!cp.movie.vdm.viewVideo;v.style.opacity=cp.movie.vdm.viewVideo?1:0.5;if(cp.movie.vdm.viewVideo){cp.movie.vdm.videoViews=[];if(cp.device==cp.IDEVICE||cp.device==cp.ANDROID){cp.movie.vdm.slideVideoChannel&&cp.movie.vdm.videoViews.push(new cp.VideoView(cp.movie.vdm.slideVideoChannel));cp.movie.vdm.tocVideoChannel&&cp.movie.vdm.videoViews.push(new cp.VideoView(cp.movie.vdm.tocVideoChannel))}else{cp.movie.vdm.slideVideoChannel0&&cp.movie.vdm.videoViews.push(new cp.VideoView(cp.movie.vdm.slideVideoChannel0));
cp.movie.vdm.slideVideoChannel1&&cp.movie.vdm.videoViews.push(new cp.VideoView(cp.movie.vdm.slideVideoChannel1));cp.movie.vdm.tocVideoChannel0&&cp.movie.vdm.videoViews.push(new cp.VideoView(cp.movie.vdm.tocVideoChannel0));cp.movie.vdm.tocVideoChannel1&&cp.movie.vdm.videoViews.push(new cp.VideoView(cp.movie.vdm.tocVideoChannel1))}for(var a=0;a<cp.movie.vdm.MAX_VIDEO_CHANNELS;++a){var c=cp.movie.vdm.videoChannels[a];cp.movie.vdm.videoViews.push(new cp.VideoView(c))}}else{for(a in cp.movie.vdm.videoViews){c=
cp.movie.vdm.videoViews[a];document.body.removeChild(c.view);--cp.MediaView.NUM_MEDIA_VIEWS}delete cp.movie.vdm.videoViews}};v.innerHTML="<font color='#000000' style='font-size:10px'>view</font>";document.body.appendChild(v);l=cp.newElem("div");l.style.cssText="z-index:100;position:absolute;left:120px; top:90px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/hotspot_correct_answer_normal.png);opacity:1";l.onclick=function(){cp.movie.vdm.resetAllWaitingVideos()};l.innerHTML=
"<font color='#000000' style='font-size:10px'>!Wait</font>";document.body.appendChild(l);var x=cp.newElem("div");x.style.cssText="z-index:100;position:absolute;left:0px; top:120px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/hotspot_incorrect_answer_normal.png);opacity:"+(cp.exceptionalLogs?1:0.5);x.onclick=function(){cp.exceptionalLogs=!cp.exceptionalLogs;x.style.opacity=cp.exceptionalLogs?1:0.5};x.innerHTML="<font color='#000000' style='font-size:10px'>ErrorExcpn</font>";
document.body.appendChild(x);var w=cp.newElem("div");w.style.cssText="z-index:100;position:absolute;left:0px; top:150px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/hotspot_correct_answer_normal.png);opacity:"+(cp.verbose?1:0.5);w.onclick=function(){cp.verbose=!cp.verbose;w.style.opacity=cp.verbose?1:0.5};w.innerHTML="<font color='#000000' style='font-size:10px'>verbose</font>";document.body.appendChild(w);var y=cp.newElem("div");y.style.cssText="z-index:100;position:absolute;left:0px; top:180px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/hotspot_correct_answer_normal.png);opacity:"+
(cp.disablePaceMaker?0.5:1);y.onclick=function(){cp.disablePaceMaker=!cp.disablePaceMaker;y.style.opacity=cp.disablePaceMaker?0.5:1};y.innerHTML="<font color='#000000' style='font-size:10px'>PaceMaker</font>";document.body.appendChild(y);var z=cp.newElem("div");z.style.cssText="z-index:100;position:absolute;left:0px; top:210px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/hotspot_correct_answer_normal.png);opacity:"+(cp.movie.ms.verbose?1:0.5);z.onclick=function(){cp.movie.ms.verbose=
!cp.movie.ms.verbose;z.style.opacity=cp.movie.ms.verbose?1:0.5};z.innerHTML="<font color='#000000' style='font-size:10px'>seekLogs</font>";document.body.appendChild(z);if(cp.device!=cp.IDEVICE){var C=cp.newElem("div");C.style.cssText="z-index:100;position:absolute;left:0px; top:240px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/hotspot_correct_answer_normal.png);opacity:"+(cp.device==cp.IDEVICE?0.5:1);C.onclick=function(){if(cp.origDevice){cp.device=cp.origDevice;
delete cp.origDevice}else{cp.origDevice=cp.device;cp.device=cp.IDEVICE}C.style.opacity=cp.device==cp.IDEVICE?0.5:1};C.innerHTML="<font color='#000000' style='font-size:10px'>emulateiDevice</font>";document.body.appendChild(C)}var A=cp.newElem("div");A.style.cssText="z-index:100;position:absolute;left:0px; top:270px; width:20px; height:20px;display:block;background-image:url(assets/htmlimages/hotspot_correct_answer_normal.png);opacity:"+(cp.customConsole?0.5:1);A.onclick=function(){if(cp.customConsole){document.body.removeChild(cp.customConsole);
delete cp.customConsole}else{cp.customConsole=cp.newElem("textarea");cp.customConsole.style.cssText="z-index:100;position:absolute;left:0px; top:300px; width:300px; height:100px;display:block;";cp.customConsole.readonly=true;document.body.appendChild(cp.customConsole);cp.log("navigator.userAgent = "+navigator.userAgent);cp.log("browser = "+cp.browser);cp.log("browserVersion = "+cp.browserVersion);cp.log("device = "+cp.device);if(cp.device==cp.IDEVICE){cp.log("device flavor = "+cp.deviceFlavor);cp.log("IOS Version = "+
cp.IOSMajor+"_"+cp.IOSMinor+"_"+cp.IOSBuild)}}A.style.opacity=cp.customConsole?0.5:1};A.innerHTML="<font color='#000000' style='font-size:10px'>customConsole</font>";document.body.appendChild(A)}this.m_gestureHandler&&this.m_gestureHandler.addCPEventListeners()};cp.CPPostInit=function(){cp.initObjectFactory();cp.loadedModules.playbar&&cp.setPlaybarCallback(cp.movie);cp.loadedModules.toc&&cp.setTOCCallback(cp.movie,cp.em);typeof cptb!="undefined"&&cptb.PostInit();cp.adjustWindow();setTimeout("window.scrollTo(0,0);",
500);cp.movie.startTimer();window.onorientationchange=window.onresize=cp.adjustWindow;cp.responsive&&!cp.IsRunningInRoboHelp&&(cp.parentWindow&&cp.parentWindow.resizeIFrameToHeight)&&cp.parentWindow.resizeIFrameToHeight(cp.getCurrentSlideResponsiveHeight(cp.D.project_main.cBW))};cp.getStartFrameOfMovie=function(){return cp.loadedModules.toc&&cp.toc.movieProperties.tocProperties.hasSelfPaced&&cp.toc.tocPersistanceManager.lastVisitedEntry!=-1&&cp.toc.movieProperties["Slide"+cp.toc.rootObj.tocEntries[cp.toc.tocPersistanceManager.lastVisitedEntry].link]?
cp.toc.movieProperties["Slide"+cp.toc.rootObj.tocEntries[cp.toc.tocPersistanceManager.lastVisitedEntry].link].from:cpInfoCurrentFrame};cp.addAndUpdateProjectBackgroundDiv=function(a){var c=cp("proj_bg"),d=cp("playbar"),e=cp("toc"),f=a.playBarProperties;if(c==void 0){c=cp.newElem("div");c.id="proj_bg";e.parentElement.insertBefore(c,e);c.style.display="none";c.style.cssFloat="left";c.style.position="absolute";c.style.backgroundColor=a.project.prjBgColor}if(f.hasPlayBar&&!cp.responsive){if(f.position==
0||f.position==2){c.style.width=f.playBarHeight+"px";c.style.height=a.project.h+"px";c.style.top="0px";c.style.left=f.position==0?d.style.left:parseFloat(d.style.left)+a.project.w+"px"}else if(f.position==1||f.position==3){c.style.width=a.project.w+"px";c.style.height=f.playBarHeight+"px";c.style.top=f.position==1?"0px":a.project.h+"px";c.style.left=d.style.left}if(f.position==0&&cp.lBorderW==0||f.position==1&&cp.tBorderW==0||f.position==2&&cp.rBorderW==0||f.position==3&&cp.bBorderW==0)c.style.display=
"block"}};cp.updateBorderPosition=function(a,c){var d=cp("main_container"),e=document.getElementById("projectBorder"),f=cp.getProjectContainer(),g=a.playBarProperties;g.playBarHeight=g.playBarHeight!=void 0?g.playBarHeight:0;var k=a.borderProperties;if(k)if(!k.hasBorder&&!cp.responsive){d.style.left=parseFloat(f.style.left)+"px";d.style.top=parseFloat(f.style.top)+"px";d.style.width=parseFloat(f.style.width)+"px";d.style.height=parseFloat(f.style.height)+"px"}else{cp.lBorderW=cp.lBorderW!=void 0?
cp.lBorderW:0;cp.tBorderW=cp.tBorderW!=void 0?cp.tBorderW:0;cp.rBorderW=cp.rBorderW!=void 0?cp.rBorderW:0;cp.bBorderW=cp.bBorderW!=void 0?cp.bBorderW:0;c||cp.addAndUpdateProjectBackgroundDiv(a);if(cp.responsive){cp.project.style.width="auto";cp.project.style.height="auto";cp.project.style.left=cp.lBorderW+"%";cp.project.style.right=cp.rBorderW+"%";cp.project.style.top=cp.tBorderW+"%";cp.project.style.bottom=cp.bBorderW+"%"}else{if(c)d.style.left=parseFloat(f.style.left)-cp.lBorderW+"px";else if((g.position==
0||g.position==2)&&!g.overlay){if(g.position==0){if(g.playBarHeight>cp.lBorderW){k.w=k.w+(g.playBarHeight-cp.lBorderW);d.style.width=e.style.width=k.w+"px";cp.lBorderW=g.playBarHeight}f.style.left=cp.lBorderW-g.playBarHeight+"px"}else{if(g.playBarHeight>cp.rBorderW){k.w=k.w+(g.playBarHeight-cp.rBorderW);d.style.width=e.style.width=k.w+"px";cp.rBorderW=g.playBarHeight}f.style.left=cp.lBorderW+"px"}var m=g&&g.playBarHeight?g.playBarHeight:0,m=g.position==0?m/2:-(m/2);d.style.left=parseFloat(d.style.left)+
m+"px"}else f.style.left=cp.lBorderW+"px";if(g.position!=1){if(g.position==3&&g.playBarHeight>cp.bBorderW&&!g.overlay){k.h=k.h+(g.playBarHeight-cp.bBorderW);d.style.height=e.style.height=k.h+"px";cp.bBorderW=g.playBarHeight}f.style.top=cp.tBorderW+"px"}else if(g.overlay)f.style.top=cp.tBorderW+"px";else{if(g.playBarHeight>cp.tBorderW){k.h=k.h+(g.playBarHeight-cp.tBorderW);d.style.height=e.style.height=k.h+"px";cp.tBorderW=g.playBarHeight}f.style.top=cp.tBorderW-g.playBarHeight+"px"}}}};document.Captivate=
window.cp;window.m_VarHandle=window;cp.cpEIGetValue=function(a){return eval.call(window,a)};cp.cpEISetValue=function(a,c){eval.call(window,a+'="'+c+'"')};cp.handleTOCOpenClose=function(){var a=cp("toc");a&&a.animator&&(cpCmndTOCVisible?a.animator.hideTOC():a.animator.showTOC())};cp.toggleMoviePlayPause=function(){var a="";if(cp.movie.paused){cp.movie.play(cp.ReasonForPause.PLAYBAR_ACTION);a="playAnimation"}else{cp.movie.pause(cp.ReasonForPause.PLAYBAR_ACTION);a="pauseAnimation"}cp.useg&&cp.showGesturesAnim&&
cp.showGesturesAnim(a)};cp.togglePlaybarShowHide=function(){if(cpInfoHasPlaybar){var a=cp("playbar");if(a){if(cp.movie.playbackController){var c=cp.movie.playbackController.GetQuizController();c&&cp.movie.stage&&(cp.movie.stage.currentSlide&&cp.movie.stage.currentSlide.st=="Question Slide")&&c.GetHidePlaybarInQuiz()}if(a.animator){a.animator.showPlaybar(cpInfoCurrentFrame>=cp.movie.stage.lastFrame?true:false);a.shown=true}else{a.style.display=!a.shown?"block":"none";cp.adjustSkins();a.shown=!a.shown}}}};
cp.isTextInputInFocus=function(){var a=document.activeElement;return a&&(a.tagName.toLowerCase()=="input"&&a.type=="text"||a.tagName.toLowerCase()=="textarea")}})();
window.cpAPIInterface=void 0;window.cpAPIEventEmitter=void 0;cp.EventEmitterClass=function(){this.callbackFns={}};cp.EventEmitterClass.prototype.getGenericEventName=function(a){a=a.replace(/^CP/,"");a=a.replace(/Event$/,"");return a.toUpperCase()};
cp.EventEmitterClass.prototype.addEventListener=function(a,b,c){void 0==a&&(a="Default");var d=[];c&&""!=c?(void 0==this.callbackFns[a]&&(this.callbackFns[a]={}),void 0==this.callbackFns[a][c]&&(this.callbackFns[a][c]=[]),d=this.callbackFns[a][c]):(void 0==this.callbackFns[a]&&(this.callbackFns[a]=[]),d=this.callbackFns[a]);0>d.indexOf(b)&&d.push(b)};
cp.EventEmitterClass.prototype.removeEventListener=function(a,b,c){void 0==a&&(a="Default");var d=[];if(c&&""!=c){if(void 0==this.callbackFns[a]||void 0==this.callbackFns[a][c])return;d=this.callbackFns[a][c]}else{if(void 0==this.callbackFns[a])return;d=this.callbackFns[a]}a=d.indexOf(b);-1<a&&d.splice(a,1)};
cp.EventEmitterClass.prototype.trigger=function(a){a.Name="CPAPI_"+this.getGenericEventName(a.cpName);var b=this.callbackFns[a.Name];if("CPAPI_VARIABLEVALUECHANGED"==a.Name){if(!b)return;b=b[a.Data.varName]}if(b)for(var c=0;c<b.length;c++)b[c](a)};cp.ACAPEventEmitterClass=function(){cp.ACAPEventEmitterClass.baseConstructor.call(this)};cp.inherits(cp.ACAPEventEmitterClass,cp.EventEmitterClass);
cp.ACAPEventEmitterClass.prototype.addEventListener=function(a,b){cp.ACAPEventEmitterClass.superClass.addEventListener.call(this,b,a)};cp.ACAPEventEmitterClass.prototype.removeEventListener=function(a,b){cp.ACAPEventEmitterClass.superClass.removeEventListener.call(this,b,a)};cp.ACAPEventEmitterClass.prototype.trigger=function(a){a.Name="CAPI_"+this.getGenericEventName(a.cpName);var b=this.callbackFns.Default;if(b)for(var c=0;c<b.length;c++)b[c](a)};
cp.ACAPEventEmitterClass.prototype.getEvent=function(a,b,c){b=document.createEvent("Events");b.initEvent("getData",!0,!0,null);b.data=a;b.get=c;for(a=0;a<this.callbackFns.length;a++)this.callbackFns[a](event)};cp.CPAPIInterfaceClass=function(){this.m_eventEmitter=void 0};
cp.CPAPIInterfaceClass.prototype={play:function(){cp.movie.paused&&cp.playPause(!0)},pause:function(){cp.movie.paused||cp.playPause(!0)},rewind:function(){cp.rewind()},next:function(){cp.goToNextSlide()},previous:function(){cp.goToPreviousSlide()},fastForward:function(){cp.fastForward()},getPlaySpeed:function(){return cpInfoFPS},getDurationInFrames:function(){return cpInfoFrameCount},getDurationInSeconds:function(){return this.getDurationInFrames()/this.getPlaySpeed()},getVolume:function(){return cpCmndVolume},
setVolume:function(a){cpCmndVolume=a},navigateToTime:function(a){a=a*cpInfoFPS/1E3;0<=a&&1>a&&(a=1);cp.movie.jumpToFrame(a)},canNavigateToTime:function(a){a=a*cpInfoFPS/1E3;0<=a&&1>a&&(a=1);return cp.shouldMoveTo(a)},getCurrentFrame:function(){return cpInfoCurrentFrame},getCurrentSlideIndex:function(){return cpInfoCurrentSlide},getEventEmitter:function(){void 0==this.m_eventEmitter&&(this.m_eventEmitter=cp.IsRunningInACAP?new cp.ACAPEventEmitterClass:new cp.EventEmitterClass);return this.m_eventEmitter},
getVariableValue:function(a){return window[a]},setVariableValue:function(a,b){window[a]=b}};
cp.ACAPInterfaceClass=function(){this.ReportingCriteriaMap={};this.ReportingCriteriaMap.user_access=cp.ReportingOptionsEnum.access;this.ReportingCriteriaMap.quiz_only=cp.ReportingOptionsEnum.quiz_only;this.ReportingCriteriaMap.slideviews_only=cp.ReportingOptionsEnum.views_only;this.ReportingCriteriaMap.quiz_and_slideviews=cp.ReportingOptionsEnum.quiz_and_views;this.QuizCriteriaMap={};this.QuizCriteriaMap.quiz_passed=cp.QuizCriteriaEnum.QuizIsPassed;this.QuizCriteriaMap.quiz_attempted=cp.QuizCriteriaEnum.QuizIsAttempted;
this.QuizCriteriaMap.quizpassed_or_limitreached=cp.QuizCriteriaEnum.QuizIsPassedOrAttempLimitReached};cp.inherits(cp.ACAPInterfaceClass,cp.CPAPIInterfaceClass);cp.ACAPInterfaceClass.prototype.controlVisibility=function(a,b){"playbar"==a?cp.D.playBarProperties.hasPlayBar=b:"toc"==a?cp.D.project.hasTOC=b?1:0:"cc"==a&&(cp.D.playBarProperties.hasCC=b)};cp.ACAPInterfaceClass.prototype.navigateToItem=function(a){cp.movie.jumpToFrame(cp.D[a].from)};cp.ACAPInterfaceClass.prototype.canNavigateToItem=function(a){return cp.shouldMoveTo(cp.D[a].from)};
cp.ACAPInterfaceClass.prototype.enterReviewMode=function(){setCpInfoCurrentFrame(0)};cp.ACAPInterfaceClass.prototype.prepareForACAPRender=function(){this.controlVisibility("playbar",!1);this.controlVisibility("cc",!1);this.controlVisibility("toc",!1)};cp.ACAPInterfaceClass.prototype.stop=function(){cpCmndRewindAndStop=!0};
cp.ACAPInterfaceClass.prototype.setReportingOptions=function(a,b){this.completionCriteria=this.ReportingCriteriaMap[b.criteriaChosen];this.quizCriteriaForCompletion=this.QuizCriteriaMap[b.quizCriteria];this.slideViewsForCompletion=b.slideviewsValue;this.slideViewsTypeForCompletion=cp.SlideViewsTypeEnum.percent;b.isPercentageSlideviews||(this.slideViewsTypeForCompletion=cp.SlideViewsTypeEnum.number);this.successCriteria=this.ReportingCriteriaMap[a.criteriaChosen];this.quizCriteriaForSuccess=this.QuizCriteriaMap[a.quizCriteria];
this.slideViewsForSuccess=a.slideviewsValue;this.slideViewsTypeForSuccess=cp.SlideViewsTypeEnum.percent;a.isPercentageSlideviews||(this.slideViewsTypeForSuccess=cp.SlideViewsTypeEnum.number)};
cp.AutoShape=function(e,k,a){function f(a,e){c.AutoShapeState=2;c.isDrawn=!1;if(cp.responsive)if(cp.responsive){var d=a.getBoundingClientRect(),g=a.parentElement.getBoundingClientRect(),f=c.actualParent.getBoundingClientRect(),i=cp("div_Slide").getBoundingClientRect(),j=f.width,k=f.height,l=f=1,m=0,n=0;10<j&&(f=(j-4)/j);10<k&&(l=(k-4)/k);1>f&&1>l&&(j=cp.project.clientWidth,k=cp.project.clientHeight,m=!1,m=c.sh&&!c.sh.i,j=(m&&j>d.right-i.left?j:d.right-i.left)-(0<d.left-i.left&&m?0:d.left-i.left),
k=(m&&k>d.bottom-i.top?k:d.bottom-i.top)-(0<d.top-i.top&&m?0:d.top-i.top),d=g.left-i.left+g.width/2,g=g.top-i.top+g.height/2,i=j/2-(j/2-d)*f,j=k/2-(k/2-g)*l,m?(m=i-d,n=j-g):n=m=0);e={sx:f,sy:l,tx:-m,ty:-n,p:c.actualParent,old_tr:c.tr}}else e=void 0;f="translate("+e.tx/cp("div_Slide").scaleFactor+"px,"+e.ty/cp("div_Slide").scaleFactor+"px) scalex("+e.sx+") scaley("+e.sy+")";cp.applyTransform(a,f);c.setVBounds();(1==cp("div_Slide").scaleFactor||!cp.responsive)&&c.drawIfNeeded(!0,cp.ReasonForDrawing.kMouseEvent)}
function j(a){c.AutoShapeState=0;c.isDrawn=!1;cp.applyTransform(a,"");c.setVBounds();(1==cp("div_Slide").scaleFactor||!cp.responsive)&&c.drawIfNeeded(!0,cp.ReasonForDrawing.kMouseEvent)}function d(a,e){j(a,e);c.parentData&&(c.parentData.dep&&0<c.parentData.dep.length)&&(cp.log("hiding hint"),c.hintVisible=!1,cp.hideHint(c.parentData.dep[0],a))}function l(){c.AutoShapeState=1;c.isDrawn=!1;c.setVBounds();c.drawIfNeeded(!0,cp.ReasonForDrawing.kMouseEvent)}function g(a,e,d){d?(c.parentData&&c.parentData.handCursor&&
(c.actualParent.style.cursor="pointer"),!c.hintVisible&&(c.parentData&&c.parentData.dep&&0<c.parentData.dep.length)&&(cp.log("showing hint"),c.hintVisible=!0,cp.showHint(c.parentData.dep[0],a)),0==c.AutoShapeState&&l(a,e)):(c.actualParent.style.cursor="default",c.parentData&&(c.parentData.dep&&0<c.parentData.dep.length)&&(cp.log("hiding hint"),c.hintVisible=!1,cp.hideHint(c.parentData.dep[0],a)),0!=c.AutoShapeState&&j(a,e))}function i(a,e,d,f,g){var i={sx:d.sx,sy:d.sy,tx:d.tx,ty:d.ty,p:d.p,old_tr:d.old_tr};
return function(a){if(void 0!=a){var d=a.type.toLowerCase(),j=0!=c.canvasObj.ss||c.is_inside_canvas(a);if("mousemove"!=d)c.clicked="mousedown"==a.type.toLowerCase();else{if(c.clicked||q.x==a.clientX&&q.y==a.clientY)return;q.x=a.clientX;q.y=a.clientY}if(("mousemove"==a.type.toLowerCase()||"mousedown"==a.type.toLowerCase()||"mouseover"==a.type.toLowerCase()||"touch"==a.type.toLowerCase()||"touchstart"==a.type.toLowerCase())&&!j)(f||cp.device==cp.DESKTOP&&"mousemove"==a.type.toLowerCase())&&f(e,i,j);
else if(!(c.parentData&&void 0!=c.parentData.enabled)||c.parentData.enabled)g&&g(),f&&f(e,i,j)}}}var c=this;this.tMatrixMultiplyPoint=function(a,c,e){return[c*a[0]+e*a[2]+a[4],c*a[1]+e*a[3]+a[5]]};this.tInvertMatrix=function(a){var c=1/(a[0]*a[3]-a[1]*a[2]);return[a[3]*c,-a[1]*c,-a[2]*c,a[0]*c,c*(a[2]*a[5]-a[3]*a[4]),c*(a[1]*a[4]-a[0]*a[5])]};this.is_inside_canvas=function(a,e){if(void 0==a)return!1;var d;if(!c.element)return!1;if((d=c.getCurrentCanvasObj())&&d.ss&&0!=d.ss)return!0;var f=d=void 0,
g=void 0,i=void 0,j=void 0;if(e&&(c.sh&&!c.sh.i||c.re))(d=c.element.style.transform)&&(c.element.style.transform=""),(f=c.element.style.WebkitTransform)&&(c.element.style.WebkitTransform=""),(g=c.element.style.MozTransform)&&(c.element.style.MozTransform=""),(i=c.element.style.msTransform)&&(c.element.style.msTransform=""),(j=c.element.style.OTransform)&&(c.element.style.OTransform="");var k=c.element.parentElement.getBoundingClientRect(),l=c.element.getBoundingClientRect();cp("div_Slide").getBoundingClientRect();
var m=cp.getScaledPosition(getPageX(a),getPageY(a)),n=k.left-cp.movie.offset,o=k.top-cp.movie.topOffset,p=l.left-cp.movie.offset,q=l.top-cp.movie.topOffset,s=parseFloat(c.element.style.marginLeft),x=parseFloat(c.element.style.marginTop),s=!isNaN(s)?s:0,x=!isNaN(x)?x:0,z=c.element.getContext("2d");if(z){if(cp.responsive)u=m.X-window.pageXOffset-l.left,l=m.Y-window.pageYOffset-l.top,u/=cp("div_Slide").scaleFactor,l/=cp("div_Slide").scaleFactor;else{var u=m.X-window.pageXOffset/cp.movie.m_scaleFactor-
(0>s?p:n)/cp.movie.m_scaleFactor,l=m.Y-window.pageYOffset/cp.movie.m_scaleFactor-(0>x?q:o)/cp.movie.m_scaleFactor;cp.shouldScale&&(cp.loadedModules.toc&&(!cp.toc.movieProperties.tocProperties.overlay&&1==cp.toc.movieProperties.tocProperties.position)&&(u+=cp.toc.movieProperties.tocProperties.width),cp.loadedModules.playbar&&!cp.PB.MP.PBP.overlay&&(0==cp.PB.MP.PBP.position?u+=cp.PB.playBarHeight:1==cp.PB.MP.PBP.position&&(l+=cp.PB.playBarHeight)));u*=parseFloat(c.element.parentElement.style.width)/
k.width*cp.movie.m_scaleFactor;l*=parseFloat(c.element.parentElement.style.height)/k.height*cp.movie.m_scaleFactor;cp.verbose&&(cp.log("lParentOffsetL : "+n+","+o),cp.log("lElemL : "+p+","+q),cp.log("lElemMarginL : "+s+x),cp.log("X : "+u+","+l))}if(e&&(c.sh&&!c.sh.i||c.re))d&&(c.element.style.transform=d),f&&(c.element.style.WebkitTransform=f),g&&(c.element.style.MozTransform=g),i&&(c.element.style.msTransform=i),j&&(c.element.style.OTransform=j);return d=z.isPointInPath(u,l)}return!1};this.setVBounds=
function(){var a=c.getCurrentCanvasObj(),d=0;a.sw>c.canvasObj.sw&&(d=a.sw-c.canvasObj.sw);cp.responsive&&(d=0);a=c.canvasObj.vbwr;c.wrvBounds={minX:a[0]-2*d,minY:a[1]-2*d,maxX:a[2]+2*d,maxY:a[3]+2*d,width:a[2]-a[0]+4*d,height:a[3]-a[1]+4*d};a=c.canvasObj.vb;c.vbounds={minX:a[0]-2*d,minY:a[1]-2*d,maxX:a[2]+2*d,maxY:a[3]+2*d,width:a[2]-a[0]+4*d,height:a[3]-a[1]+4*d}};var q={};cp.AutoShape.baseConstructor.call(this,e);this.visible=this.getAttribute("visible");this.parentId=cp.D[k].dn;this.parentObj=
cp.D[this.parentId];this.canvasObj=null;this.transIn=this.parentObj.trin;void 0!=this.parentObj&&(this.canvasObj=cp.D[this.parentObj.mdi]);this.parentDivName=this.getAttribute("dn");this.parentData=cp.D[this.parentDivName];this.parentData.isCanvasClicked=this.is_inside_canvas;this.parentData.canvasPainterObject=this;this.actualParent=e=document.getElementById(this.parentDivName);1!==this.parentData.uab&&cp.removeAccessibilityOutline(this.actualParent);this.canvasObj&&(k=this.canvasObj.b,this.bounds=
{minX:k[0],minY:k[1],maxX:k[2],maxY:k[3],width:k[2]-k[0],height:k[3]-k[1]},this.args=a,this.setVBounds(),this.sh=this.canvasObj.sh,this.re=this.canvasObj.re,this.tr=this.canvasObj.tr,this.normalImage=this.getAttribute("ip"),this.AutoShapeState=0);e&&(e.drawingBoard=this.element.parentElement,e.bounds=this.bounds,e.drawingBoard.bounds=this.vbounds);if(e&&void 0!=this.parentData.pa&&this.bounds){-1!=this.parentData.pa&&this.parentData.immo&&(cp.movie.stage.currentSlide&&(this.parentData.pa=cp.movie.stage.currentSlide.to-
1),this.setAttribute("clickedOnce",!1));var s=this.bounds.maxX-this.bounds.minX,o=this.bounds.maxY-this.bounds.minY,k=a=1,m=0,n=0;10<s&&(a=(s-4)/s);10<o&&(k=(o-4)/o);if(1>a&&1>k){var m=!1,m=cp.responsive?this.sh&&!this.sh.i:this.sh&&!this.sh.i||this.re,p=(m&&cp.D.project.w>this.vbounds.maxX?cp.D.project.w:this.vbounds.maxX)-(0<this.vbounds.minX&&m?0:this.vbounds.minX),n=(m&&cp.D.project.h>this.vbounds.maxY?cp.D.project.h:this.vbounds.maxY)-(0<this.vbounds.minY&&m?0:this.vbounds.minY),o=(this.vbounds.maxX+
this.vbounds.minX)/2,s=(this.vbounds.maxY+this.vbounds.minY)/2,p=p/2-(p/2-o)*a,n=n/2-(n/2-s)*k;m?(m=p-o,n-=s):n=m=0;this.oldMouseOver=e.onmouseover;this.oldMouseOut=e.onmouseout;a={sx:a,sy:k,tx:-m,ty:-n,p:e,old_tr:this.tr};cp.device==cp.IDEVICE||cp.device==cp.ANDROID?(this.ontouchstartHandler=i(event,this.element,a,f),this.ontouchendHandler=i(event,this.element,a,j),cp.useg?(cp.registerGestureEvent(e,cp.GESTURE_EVENT_TYPES.TOUCH,this.ontouchstartHandler),cp.registerGestureEvent(e,cp.GESTURE_EVENT_TYPES.RELEASE,
this.ontouchendHandler)):(e.ontouchstart=i(event,this.element,a,f),e.ontouchend=i(event,this.element,a,j))):(e.onmouseover=i(event,this.element,a,l,e.onmouseover),e.onmousemove=i(event,this.element,a,g,e.onmousemove),e.onmouseout=i(event,this.element,a,d,e.onmouseout),e.onmousedown=i(event,this.element,a,f),e.onmouseup=i(event,this.element,a,j),this.onmouseoverHandler=e.onmouseover,this.onmousemoveHandler=e.onmousemove,this.onmouseoutHandler=e.onmouseout,this.onmousedownHandler=e.onmousedown,this.onmouseupHandler=
e.onmouseup);this.setUpClickHandler()}}this.isDrawn=!1;cp.responsive&&(this.responsiveCSS=this.getAttribute("css"))};cp.inherits(cp.AutoShape,cp.DisplayObject);cp.AutoShape.prototype.start=function(e,k){this.drawIfNeeded(e,k);if(!this.effectIsStarted||e)this.updateEffects(this.hasEffect),this.effectIsStarted=!0};
cp.AutoShape.prototype.reset=function(){delete cp.ropMap[this.element.id];this.isDrawn=!1;this.element.width="0";this.element.height="0";this.element.style.width="0px";this.element.style.height="0px";this.element.left="0";this.element.top="0";this.element.style.left="0px";this.element.style.top="0px";this.removeMouseHandlers()};
cp.AutoShape.prototype.getCurrentCanvasObj=function(){if(this.canvasObj&&this.canvasObj.b&&this.canvasObj.p0){var e=this.canvasObj;1==this.AutoShapeState?e=this.canvasObj.asbos:2==this.AutoShapeState&&(e=this.canvasObj.asbds);return e}};
cp.AutoShape.prototype.addMouseHandlers=function(){cp.device==cp.IDEVICE||cp.device==cp.ANDROID?(cp.registerGestureEvent(this.actualParent,cp.GESTURE_EVENT_TYPES.TOUCH,this.ontouchstartHandler),cp.registerGestureEvent(this.actualParent,cp.GESTURE_EVENT_TYPES.RELEASE,this.ontouchendHandler)):(this.actualParent.onmouseover=this.onmouseoverHandler,this.actualParent.onmousemove=this.onmousemoveHandler,this.actualParent.onmouseout=this.onmouseoutHandler,this.actualParent.onmousedown=this.onmousedownHandler,
this.actualParent.onmouseup=this.onmouseupHandler)};
cp.AutoShape.prototype.removeMouseHandlers=function(){if(this.actualParent)if(this.actualParent.onclick=null,cp.device==cp.IDEVICE||cp.device==cp.ANDROID)cp.removeGestureEvent(this.actualParent,cp.GESTURE_EVENT_TYPES.TOUCH),cp.removeGestureEvent(this.actualParent,cp.GESTURE_EVENT_TYPES.RELEASE);else if(this.actualParent.onmouseout=null,this.actualParent.onmousedown=null,this.actualParent.onmouseup=null,this.actualParent.onmouseover=null,this.oldMouseOver&&(this.actualParent.onmouseover=this.oldMouseOver),
this.oldMouseOut)this.actualParent.onmouseout=this.oldMouseOut};
cp.AutoShape.prototype.setUpClickHandler=function(){var e=this,k=!1,a=!1,f=cp.movie.stage.currentSlide;if(this.actualParent&&f){if((k="Question Slide"==f.st)&&f.qs)(f=cp.D[f.qs])&&"Hotspot"==f.qtp&&(a=!0);k&&!a&&!this.actualParent.onclick?cp.registerGestureEvent(this.actualParent,cp.GESTURE_EVENT_TYPES.TAP,function(a){return function(d){e.is_inside_canvas(d)&&cp.clickSuccessHandler(a)}}(this.parentData)):(this.actualParent.onclick=null,cp.removeGestureEvent(this.actualParent,cp.GESTURE_EVENT_TYPES.TAP))}};
cp.AutoShape.prototype.restOfProjectDoOnNewSlide=function(){this.addMouseHandlers();this.setUpClickHandler()};
cp.AutoShape.prototype.drawForResponsive=function(e,k){if(!this.responsiveCSS)return!1;if(this.isDrawn&&!e)return!0;var a=cp.getResponsiveCSS(this.responsiveCSS),f=!1,f=this.sh&&!this.sh.i,j=void 0!=this.tr;if(this.currentCSS==a&&e&&this.isDrawn&&k==cp.ReasonForDrawing.kMoviePaused)return cp.verbose&&cp.log("Returning because this.isDrawn : "+this.isDrawn),!0;this.currentCSS=a;var d=this.getCurrentCanvasObj(),l=this.getAttribute("dn");this.parentDivName=l;var g=a;cp.applyTransform(this.actualParent,
"rotate(0)");cp.applyResponsiveStyles(this.actualParent,a,!0);var i=cp.D[l];if(i.rpvt&&i.autoGrow&&(k==cp.ReasonForDrawing.kTextGrow||k==cp.ReasonForDrawing.kLinkedToItemAppeared||k==cp.ReasonForDrawing.kMouseEvent||k==cp.ReasonForDrawing.kMoviePaused)){if((l=i.minItemHeight)&&this.actualParent.clientHeight<l)this.actualParent.style.height=l+"px";cp.createResponsiveStyleObj(a,a.p,a.l,a.t,a.r,a.b,this.actualParent.clientWidth+"px",this.actualParent.clientHeight+"px",a.crop)}i.minItemHeight=this.actualParent.clientHeight;
this.actualParent.offsetHeight=this.actualParent.offsetHeight;this.actualParentClientBoundingRect=this.actualParent.getBoundingClientRect();var c=cp.movie.stage.mainSlideDiv.getBoundingClientRect();this.HFactor=this.WFactor=1;this.WFactor=Math.round(100*this.actualParent.clientWidth/this.bounds.width)/100;this.HFactor=Math.round(100*this.actualParent.clientHeight/this.bounds.height)/100;var q,s,o,m,l=this.wrvBounds.minY-this.bounds.minY;q=(this.wrvBounds.minX-this.bounds.minX)*this.WFactor;s=l*this.HFactor;
o=this.wrvBounds.width*this.WFactor;m=this.wrvBounds.height*this.HFactor;g=cp.createResponsiveStyleObj(a,a.p,this.actualParentClientBoundingRect.left-c.left+q-d.sw/2+"px",this.actualParentClientBoundingRect.top-c.top+s-d.sw/2+"px","0px","0px",o+d.sw+"px",m+d.sw+"px",a.crop);cp.applyResponsiveStyles(this.element.parentElement,g);this.parentElementClientBoundingRect=this.element.parentElement.getBoundingClientRect();l=0;if(this.tr){l=cp.getAngleFromRotateStr(this.tr);this.actualParent.offsetHeight=
this.actualParent.offsetHeight;if(!this.m_centrePoint||k==cp.ReasonForDrawing.kOrientationChangeOrResize||k==cp.ReasonForDrawing.kLinkedToItemAppeared)this.m_centrePoint=cp.getCenterForRotation(this.actualParent);this.actualParentClientBoundingRect=this.actualParent.getBoundingClientRect();var n=cp.getBoundsForRotatedItem1(this.parentElementClientBoundingRect.left-c.left,this.parentElementClientBoundingRect.top-c.top,this.parentElementClientBoundingRect.width,this.parentElementClientBoundingRect.height,
this.m_centrePoint,l,d.sw),p=t=r=b=void 0;"auto"!=a.l&&(p=n.l);"auto"!=a.t&&(t=n.t);"auto"!=a.r&&(r=n.r);"auto"!=a.b&&(b=n.b);g=cp.createResponsiveStyleObj(g,a.p,p,t,r,b,n.w,n.h,a.crop);cp.applyResponsiveStyles(this.element.parentElement,g);this.parentElementClientBoundingRect=this.element.parentElement.getBoundingClientRect()}this.parentElementClientBoundingRect=this.element.parentElement.getBoundingClientRect();p=n=0;this.m_centrePoint&&(n=this.m_centrePoint.X-(this.actualParentClientBoundingRect.left-
c.left),p=this.m_centrePoint.Y-(this.actualParentClientBoundingRect.top-c.top));if(i.rpvt&&(i=this.actualParent.id+"_vTxtHandlerHolder",g=cp(i),g||(g=cp.newElem("div"),g.id=i,g.style.display="block",g.style.position="absolute",g.style.width=this.actualParent.clientWidth+"px",g.style.height=this.actualParent.clientHeight+"px",g.style.visibility="hidden",this.actualParent.appendChild(g)),g.style.left="0px",g.style.top="0px",g.style.width=this.actualParent.clientWidth+"px",g.style.height=this.actualParent.clientHeight+
"px",g=this.actualParent.id+"_vTxtHolder",i=cp(g),i||(i=cp.newElem("div"),i.id=g,i.style.display="block",i.style.position="absolute",i.style.width=this.actualParent.clientWidth+"px",i.style.height=this.actualParent.clientHeight+"px",this.element.parentElement.appendChild(i)),g=this.actualParentClientBoundingRect.top-this.parentElementClientBoundingRect.top+this.actualParent.clientHeight/2,i.style.left=this.actualParentClientBoundingRect.left-this.parentElementClientBoundingRect.left+this.actualParent.clientWidth/
2-this.actualParent.clientWidth/2+"px",i.style.top=g-this.actualParent.clientHeight/2+"px",i.style.width=this.actualParent.clientWidth+"px",i.style.height=this.actualParent.clientHeight+"px",k==cp.ReasonForDrawing.kOrientationChangeOrResize&&cp.updateVarText(this.actualParent,!0,!0),this.tr))g="center center",g=n?100*n/i.clientWidth+"%":"center",g+=" ",g=p?g+(100*p/i.clientHeight+"%"):g+"center",i.style["-ms-transform-origin"]=g,i.style["-moz-transform-origin"]=g,i.style["-webkit-transform-origin"]=
g,i.style["-o-transform-origin"]=g,i.style["transform-origin"]=g,cp.applyTransform(i,this.tr);var i=this.actualParent,v=0,w=0,v=o+2*d.sw,w=m+2*d.sw;if(f){o=this.element.parentElement.clientWidth;m=this.element.parentElement.clientHeight;var g=cp("div_Slide").clientWidth,y=cp("div_Slide").clientHeight,v=v>g?v:g,w=w>y?w:y,v=v>o?v:o,w=w>m?w:m}else v=Math.ceil(parseFloat(this.element.parentElement.style.width)),w=Math.ceil(parseFloat(this.element.parentElement.style.height));g=cp.createResponsiveStyleObj(a,
void 0,"0px","0px","0px","0px",v+"px",w+"px",void 0);o=this.parentElementClientBoundingRect.left-c.left;m=this.parentElementClientBoundingRect.top-c.top;g=this.canvas=cp.createResponsiveCanvas(g,v,w,this.element);!this.isParentOfTypeSlide&&f&&(this.element.style["margin-left"]=(0>o?0:-1)*o+"px",this.element.style["margin-top"]=(0>m?0:-1)*m+"px");this.re&&(this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+
(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))");cp.movie.stage.addToParentChildMap(i.id,this.element.id);this.element.originalParent=i;c=g.gc;c.crop=a.crop?a.crop:void 0;c.save();f?(c.setTransform(1,0,0,1,0>o?-o:0,0>m?-m:0),c.translate(o,m),c.shadowOffsetX=this.sh.d*Math.cos(Math.PI*this.sh.a/180),c.shadowOffsetY=this.sh.d*Math.sin(Math.PI*this.sh.a/180),c.shadowBlur=this.sh.b,a=this.sh.o,1==a&&(a=0.999),c.shadowColor=cp.ConvertRGBToRGBA(this.sh.c,a)):j||(c.translate(-q,
-s),c.translate(d.sw/2,d.sw/2));this.element.style.display="block";this.element.style.position="absolute";c=g.gc;c.save();this.tr&&(g=n?100*n/i.clientWidth+"%":"center",g+=" ",g=p?g+(100*p/i.clientHeight+"%"):g+"center",i.style["-ms-transform-origin"]=g,i.style["-moz-transform-origin"]=g,i.style["-webkit-transform-origin"]=g,i.style["-o-transform-origin"]=g,i.style["transform-origin"]=g,cp.applyTransform(i,this.tr),i.tr=this.tr);i.rotateAngle=l;if(f||j)f=this.element.parentElement.clientWidth/2,j=
this.element.parentElement.clientHeight/2,f=this.actualParentClientBoundingRect.left-this.parentElementClientBoundingRect.left+n,j=this.actualParentClientBoundingRect.top-this.parentElementClientBoundingRect.top+p,c.translate(f,j),0!=l?c.rotate(Math.PI*l/180):c.rotate(0.02*Math.PI/180),c.translate(-n,-p);f=0;void 0!=d.ss&&(f=d.ss);j=1;void 0!=d.fa&&(j=d.fa/100);void 0!=this.normalImage&&1!=j&&(d=cp.movie.im.images[this.normalImage])&&d.nativeImage.complete&&c.drawImage(d.nativeImage,-d.nativeImage.width/
2,-d.nativeImage.height/2,d.nativeImage.width,d.nativeImage.height);if((f=this.draw(c,f))&&void 0!=this.normalImage)(d=cp.movie.im.images[this.normalImage])&&d.nativeImage.complete?(this.sh&&!this.sh.i&&(c.shadowOffsetX=0,c.shadowOffsetY=0,c.shadowBlur=0,c.shadowColor="rgba(0,0,0,0)"),c.drawImage(d.nativeImage,-d.nativeImage.width/2,-d.nativeImage.height/2,d.nativeImage.width,d.nativeImage.height)):f=!1;c.restore();this.transIn&&k==cp.ReasonForDrawing.kRegularDraw&&(this.element.parentElement.style.opacity=
0);this.isDrawn=f;!0==this.isDrawn&&this.drawComplete(k);void 0!=this.parentData.enabled&&!this.parentData.enabled&&this.removeMouseHandlers();this.visible||cp.hide(this.parentDivName);return!0};
cp.AutoShape.prototype.drawIfNeeded=function(e,k){if((!cp.responsive||!this.drawForResponsive(e,k))&&!this.isDrawn){this.HFactor=this.WFactor=1;var a=this.getCurrentCanvasObj(),f=this.bounds,j=a.sw;void 0==j&&(j=1);1!=j&&(this.vbounds.minX+=3*j/2,this.vbounds.minY+=3*j/2,this.vbounds.maxX-=3*j/2,this.vbounds.maxY-=3*j/2);var d=this.vbounds,l=f.minX,g=f.minY,i=f.maxX-f.minX,c=f.maxY-f.minY,j=this.actualParent;j.style.left=l+"px";j.style.top=g+"px";j.style.width=i+"px";j.style.height=c+"px";var c=!1,
c=this.re||this.sh&&!this.sh.i,l=0<d.minX&&c?0:d.minX,g=0<d.minY&&c?0:d.minY,q=c&&cp.D.project.h>d.maxY?cp.D.project.h:d.maxY,i=(c&&cp.D.project.w>d.maxX?cp.D.project.w:d.maxX)-l,d=this.canvas=cp.createCanvas(0,0,i,q-g,this.element);this.element.style.display="block";this.element.style.position="absolute";this.element.parentElement.style.left=this.vbounds.minX+"px";this.element.parentElement.style.top=this.vbounds.minY+"px";this.element.parentElement.style.width=this.vbounds.maxX-this.vbounds.minX+
"px";this.element.parentElement.style.height=this.vbounds.maxY-this.vbounds.minY+"px";this.element.style.marginLeft=l-this.vbounds.minX+"px";this.element.style.marginTop=g-this.vbounds.minY+"px";this.re&&(this.element.parentElement.style.webkitBoxReflect="below "+this.re.d+"px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop("+(1-this.re.s/100)+", transparent), to(rgba(255, 255, 255, "+(1-this.re.p/100)+")))");cp.movie.stage.addToParentChildMap(j.id,this.element.id);this.element.originalParent=
j;d=d.gc;d.save();c?d.setTransform(1,0,0,1,0>l?-l:0,0>g?-g:0):d.translate(-this.vbounds.minX,-this.vbounds.minY);this.sh&&!this.sh.i&&(d.shadowOffsetX=this.sh.d*Math.cos(Math.PI*this.sh.a/180),d.shadowOffsetY=this.sh.d*Math.sin(Math.PI*this.sh.a/180),d.shadowBlur=this.sh.b,l=this.sh.o,1==l&&(l=0.999),d.shadowColor=cp.ConvertRGBToRGBA(this.sh.c,l));this.element.style.display="block";this.element.style.position="absolute";l=0;this.tr&&(cp.applyTransform(j,this.tr),j.tr=this.tr,l=cp.getAngleFromRotateStr(this.tr));
j.rotateAngle=l;if(this.sh||0!=l)d.translate((f.minX+f.maxX)/2,(f.minY+f.maxY)/2),0!=l?d.rotate(Math.PI*l/180):d.rotate(0.02*Math.PI/180),d.translate(-(f.minX+f.maxX)/2,-(f.minY+f.maxY)/2);j=0;void 0!=a.ss&&(j=a.ss);l=1;void 0!=a.fa&&(l=a.fa/100);if(void 0!=this.normalImage&&1!=l&&(a=cp.movie.im.images[this.normalImage])&&a.nativeImage.complete)d.translate((f.minX+f.maxX)/2,(f.minY+f.maxY)/2),d.drawImage(a.nativeImage,-a.nativeImage.width/2,-a.nativeImage.height/2,a.nativeImage.width,a.nativeImage.height),
d.translate(-(f.minX+f.maxX)/2,-(f.minY+f.maxY)/2);if((j=this.draw(d,j))&&void 0!=this.normalImage)(a=cp.movie.im.images[this.normalImage])&&a.nativeImage.complete?(this.sh&&!this.sh.i&&(d.shadowOffsetX=0,d.shadowOffsetY=0,d.shadowBlur=0,d.shadowColor="rgba(0,0,0,0)"),d.translate((f.minX+f.maxX)/2,(f.minY+f.maxY)/2),d.drawImage(a.nativeImage,-a.nativeImage.width/2,-a.nativeImage.height/2,a.nativeImage.width,a.nativeImage.height)):j=!1;d.restore();this.transIn&&(this.element.parentElement.style.opacity=
0);this.isDrawn=j;!0==this.isDrawn&&this.drawComplete(k);void 0!=this.parentData.enabled&&!this.parentData.enabled&&this.removeMouseHandlers();this.visible||cp.hide(this.parentDivName)}};
cp.AutoShape.prototype.draw=function(e,k){this.drawFillBoundary(e,!0);var a=this.getCurrentCanvasObj();if(a){var f=1;void 0!=a.fa&&(f=a.fa/100);var j=e.globalAlpha,d=!1;0!=k&&0<a.sw&&(e.globalAlpha=f,this.setFill(e),e.globalAlpha=j,this.drawBoundary(e,k));e.globalAlpha=f;d=this.setFill(e);e.globalAlpha=j;0==k&&0<a.sw&&this.drawFillBoundary(e,!1);0<a.sw&&(e.lineWidth=a.sw,e.strokeStyle=a.sc,e.stroke());0!=a.sw&&(e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=0,e.shadowColor="rgba(0,0,0,0)",e.stroke());
return d}};
cp.AutoShape.prototype.drawFillBoundary=function(e,k){var a=null,f=this.canvasObj.p0,j=0;if(f){e.beginPath();for(j=0;j<f.length;++j)if(a=f[j],!(0>=a.length))switch(a[0]){case cp.kMoveTo:e.moveTo(a[1]*this.WFactor,a[2]*this.HFactor);break;case cp.kLineTo:e.lineTo(a[1]*this.WFactor,a[2]*this.HFactor);break;case cp.kBezierTo:e.bezierCurveTo(a[1]*this.WFactor,a[2]*this.HFactor,a[3]*this.WFactor,a[4]*this.HFactor,a[5]*this.WFactor,a[6]*this.HFactor);break;case cp.kClosePath:e.closePath();break;case cp.kNotClosed:if(!k)break;
case cp.kNoStroke:j<f.length-1&&(a=f[++j][0],cp.kBeginPath!=a&&--j);for(;j<f.length-1;)if(a=f[++j][0],cp.kNotClosed==a||cp.kNoStroke==a||cp.kBeginPath==a){--j;break}}}};
cp.AutoShape.prototype.drawBoundary=function(e,k){var a=null,f=this.canvasObj.p0,j=0,d=0,l=0;if(f){var g=new cp.dashStruct,i=cp.getPattern(k,7,3);e.beginPath();for(l=0;l<f.length;++l)if(a=f[l],!(0>=a.length))switch(a[0]){case cp.kMoveTo:e.moveTo(a[1]*this.WFactor,a[2]*this.HFactor);j=a[1]*this.WFactor;d=a[2]*this.HFactor;g=new cp.dashStruct;break;case cp.kLineTo:cp.drawDashedLineImpl(e,i,g,j,d,a[1]*this.WFactor,a[2]*this.HFactor);j=a[1]*this.WFactor;d=a[2]*this.HFactor;break;case cp.kBezierTo:cp.drawDashedBezierCurve(e,
i,g,j,d,a[1]*this.WFactor,a[2]*this.HFactor,a[3]*this.WFactor,a[4]*this.HFactor,a[5]*this.WFactor,a[6]*this.HFactor);j=a[5]*this.WFactor;d=a[6]*this.HFactor;break;case cp.kClosePath:g=new cp.dashStruct}}};
cp.AutoShape.prototype.setFill=function(e){var k=null,a="",a=null,f=[],j=0,d=0,l=0,g=1,k=k=null,l=!0,i=0,f=i=1,c=!1,q=!1;if(g=this.getCurrentCanvasObj()){if(g.gf){if(k=cp.getGradientFill(g.gf,e,this.WFactor,this.HFactor))e.fillStyle=k}else if(g.imgf){l=!1;k=g.imgf;if(void 0==k.img||void 0==k.img.ip)return!1;a=k.img.ip;if((a=cp.movie.im.images[a])&&a.nativeImage.complete)j=k.img.x,d=k.img.y,cp.responsive?(j=Math.floor(j*this.WFactor)+g.sw,d=Math.floor(d*this.HFactor)+g.sw):(j+=this.canvasObj.b[0],
d+=this.canvasObj.b[1]),c=!0,e.translate(j,d),l=k.s,(g=k.t)?(k=e.createPattern(a.nativeImage,"repeat"),e.fillStyle=k):l?void 0!=this.canvasObj.b&&4==this.canvasObj.b.length&&(f=this.canvasObj.b,i=f[2]-f[0],h=f[3]-f[1],cp.responsive&&(i*=this.WFactor,h*=this.HFactor),i/=k.img.w,f=h/k.img.h,e.scale(i,f),k=e.createPattern(a.nativeImage,"no-repeat"),e.fillStyle=k):(k=e.globalAlpha,e.globalAlpha=0,e.fillStyle="#FFFFFF",e.fill(),e.globalAlpha=k,k=e.createPattern(a.nativeImage,"no-repeat"),e.fillStyle=k),
l=!0}else g.bc?e.fillStyle=g.bc:this.normalImage&&(q=!0,l=!1);l&&e.fill();(1!=i||1!=f)&&e.scale(1/i,1/f);c&&e.translate(-j,-d);return l||q}};
cp.GESTURE_EVENT_TYPES={};cp.GESTURE_EVENT_TYPES.TAP="tap";cp.GESTURE_EVENT_TYPES.DOUBLE_TAP="doubletap";cp.GESTURE_EVENT_TYPES.LONG_TAP="longtap";cp.GESTURE_EVENT_TYPES.HOLD="hold";cp.GESTURE_EVENT_TYPES.ROTATE="rotate";cp.GESTURE_EVENT_TYPES.DRAG="drag";cp.GESTURE_EVENT_TYPES.DRAG_START="dragstart";cp.GESTURE_EVENT_TYPES.DRAG_END="dragend";cp.GESTURE_EVENT_TYPES.SWIPE_UP="swipeup";cp.GESTURE_EVENT_TYPES.SWIPE_DOWN="swipedown";cp.GESTURE_EVENT_TYPES.SWIPE_LEFT="swipeleft";
cp.GESTURE_EVENT_TYPES.SWIPE_RIGHT="swiperight";cp.GESTURE_EVENT_TYPES.TOUCH="touch";cp.GESTURE_EVENT_TYPES.RELEASE="release";cp.GESTURE_EVENT_TYPES.PINCH_OUT="pinchout";cp.GESTURE_EVENT_TYPES.PINCH_IN="pinchin";cp.GESTURE_EVENT_TYPES.TAP_ONE="tapone";cp.GESTURE_EVENT_TYPES.TAP_TWO="taptwo";cp.GESTURE_EVENT_TYPES.TAP_THREE="tapthree";cp.GESTURE_EVENT_TYPES.SWIPE_MOVE="swipemove";cp.GESTURE_EVENT_TYPES.SWIPE_ONE="swipeone";cp.GESTURE_EVENT_TYPES.SWIPE_TWO="swipetwo";
cp.GESTURE_EVENT_TYPES.SWIPE_THREE="swipethree";cp.GESTURE_EVENT_TYPES.SWIPE_FOUR="swipefour";cp.GESTURE_EVENT_TYPES.SWIPE_LEFT_UP="swipeleftup";cp.GESTURE_EVENT_TYPES.SWIPE_LEFT_DOWN="swipeleftdown";cp.GESTURE_EVENT_TYPES.SWIPE_RIGHT_UP="swiperightup";cp.GESTURE_EVENT_TYPES.SWIPE_RIGHT_DOWN="swiperightdown";cp.GESTURE_EVENT_TYPES.PINCH="pinch";cp.GESTURE_EVENT_TYPES.PINCH_OPEN="pinchopen";cp.GESTURE_EVENT_TYPES.PINCH_CLOSE="pinchclose";cp.GESTURE_EVENT_TYPES.ROTATECW="rotatecw";
cp.GESTURE_EVENT_TYPES.ROTATECCW="rotateccw";cp.GESTURE_EVENT_TYPES.SHAKE="shake";cp.GESTURE_EVENT_TYPES.SHAKE_FRONT_BACK="shakefrontback";cp.GESTURE_EVENT_TYPES.SHAKE_LEFT_RIGHT="shakeleftright";cp.GESTURE_EVENT_TYPES.SHAKE_UP_DOWN="shakeupdown";cp.GestureHandler=function(){this.movie=cp.movie;this.enabled=!0;this.initializeDefaultGestureEvents()};
cp.GestureHandler.prototype.scaleMovie=function(a,b){a.gesture.stopPropagation();a.gesture.preventDefault();var c=cp("div_Slide");c.style.webkitTransformOrigin=""+a.gesture.center.pageX+" "+a.gesture.center.pageY+"";c.style.MozTransformOrigin=""+a.gesture.center.pageX+" "+a.gesture.center.pageY+"";c.style.msTransformOrigin=""+a.gesture.center.pageX+" "+a.gesture.center.pageY+"";c.style.webkitTransform="scale("+!b?a.gesture.scale:"1)";c.style.MozTransform="scale("+!b?a.gesture.scale:"1)";c.style.msTransform=
"scale("+!b?a.gesture.scale:"1)"};cp.GestureHandler.prototype.addCPEventListeners=function(){if(cp.device!=cp.DESKTOP){var a=this;cp.em.addEventListener(function(b){a.resetZoom.call(a,b);a.resetScroll.call(a,b)},cp.SLIDEENTEREVENT);cp.em.addEventListener(function(b){a.resetZoom.call(a,b);a.resetScroll.call(a,b)},cp.ORIENTATIONCHANGEDEVENT)}};cp.GestureHandler.prototype.registerGestureEvent=function(a,b,c){if(!cp.IsGestureSupportedDevice()||!cp.useg)a.onclick=c};
cp.GestureHandler.prototype.removeGestureEvent=function(a){if(!cp.IsGestureSupportedDevice()||!cp.useg)a.onclick=void 0};cp.GestureHandler.prototype.enableGestures=function(){this.enabled=!0;"undefined"!=typeof Hammer&&(Hammer&&Hammer.detection)&&(Hammer.detection.current=null)};cp.GestureHandler.prototype.disableGestures=function(){this.enabled=!1};cp.GestureHandler.prototype.addScaleEvent=function(){};
cp.GestureHandler.prototype.changeClickEventsToTouch=function(){this.registerGestureEvent(cp("playImage"),cp.GESTURE_EVENT_TYPES.TAP,function(){cp.movie.play()});this.registerGestureEvent(cp("ccClose"),cp.GESTURE_EVENT_TYPES.TAP,function(){cp.showHideCC()})};cp.GestureHandler.prototype.scrollH=function(a){var b=cp.responsive?cp("project"):cp("main_container"),a=b.getBoundingClientRect().left+a;b.style.left=a+"px"};
cp.GestureHandler.prototype.scrollV=function(a){var b=cp.responsive?cp("project"):cp("main_container"),a=b.getBoundingClientRect().top+a;b.style.top=a+"px"};
cp.GestureHandler.prototype.getDefaultGestureHandler=function(a){switch(a){case cp.GESTURE_EVENT_TYPES.TAP_TWO:return function(){cp.m_gestureHandler.enabled&&cp.handlePlaybarShowHide()};case cp.GESTURE_EVENT_TYPES.LONG_TAP:return function(){cp.m_gestureHandler.enabled&&cp.toggleMoviePlayPause()};case cp.GESTURE_EVENT_TYPES.HOLD:return function(){cp.m_gestureHandler.enabled&&cp.handlePlaybarShowHide()};case cp.GESTURE_EVENT_TYPES.DOUBLE_TAP:return function(){cp.m_gestureHandler.enabled&&cp.handleTOCOpenClose()};
case cp.GESTURE_EVENT_TYPES.SWIPE_UP:return function(a){if(cp.m_gestureHandler.enabled){if(cp.canScroll("up",cp.GESTURE_EVENT_TYPES.SWIPE_UP))return!1;50>a.gesture.distance||(a.gesture.stopPropagation(),a.gesture.preventDefault(),cp("div_Slide").scaleFactor&&1!=cp("div_Slide").scaleFactor||cp.togglePlaybarShowHide())}};case cp.GESTURE_EVENT_TYPES.SWIPE_DOWN:return function(a){if(cp.m_gestureHandler.enabled){if(cp.canScroll("down",cp.GESTURE_EVENT_TYPES.SWIPE_DOWN))return!1;50>a.gesture.distance||
(a.gesture.stopPropagation(),a.gesture.preventDefault(),cp("div_Slide").scaleFactor&&1!=cp("div_Slide").scaleFactor||cp.togglePlaybarShowHide())}};case cp.GESTURE_EVENT_TYPES.SWIPE_LEFT:return function(a){if(cp.m_gestureHandler.enabled){if(!cp.responsive&&cp.canScroll("left",cp.GESTURE_EVENT_TYPES.SWIPE_LEFT))return!1;if(!(50>a.gesture.distance)&&(a.gesture.stopPropagation(),a.gesture.preventDefault(),!(cp("div_Slide").scaleFactor&&1!=cp("div_Slide").scaleFactor)&&(!cp.D||!cp.D.baq))){var a=cp.goToNextSlide,
c=window;if(cp.movie.stage&&cp.movie.stage.currentSlide&&"Question Slide"==cp.movie.stage.currentSlide.st){var d=cp.getQuestionObject(cp.D[cp.movie.stage.currentSlide.mdi].dn);d&&(a=d.moveForward,c=d)}a.call(c,void 0)}}};case cp.GESTURE_EVENT_TYPES.SWIPE_RIGHT:return function(a){if(cp.m_gestureHandler.enabled){if(!cp.responsive&&cp.canScroll("right",cp.GESTURE_EVENT_TYPES.SWIPE_RIGHT))return!1;if(!(50>a.gesture.distance)&&(a.gesture.stopPropagation(),a.gesture.preventDefault(),!(cp("div_Slide").scaleFactor&&
1!=cp("div_Slide").scaleFactor)&&(!cp.D||!cp.D.baq))){var a=cp.goToPreviousSlide,c=window;if(cp.movie.stage&&cp.movie.stage.currentSlide&&"Question Slide"==cp.movie.stage.currentSlide.st){var d=cp.getQuestionObject(cp.D[cp.movie.stage.currentSlide.mdi].dn);d&&(a=d.moveBackward,c=d)}a.call(c,void 0)}}}}};
cp.GestureHandler.prototype.initializeDefaultGestureEvents=function(){cp("div_Slide").scaleFactor=1;if(cp.IsGestureSupportedDevice()&&cp.useg){this.changeClickEventsToTouch();var a=cp("div_Slide");cp("main_container");cp.D.project.shc||this.addScaleEvent();this.registerGestureEvent(a,cp.GESTURE_EVENT_TYPES.LONG_TAP,this.getDefaultGestureHandler(cp.GESTURE_EVENT_TYPES.LONG_TAP));this.registerGestureEvent(a,cp.GESTURE_EVENT_TYPES.DOUBLE_TAP,this.getDefaultGestureHandler(cp.GESTURE_EVENT_TYPES.DOUBLE_TAP));
this.registerGestureEvent(a,cp.GESTURE_EVENT_TYPES.SWIPE_UP,this.getDefaultGestureHandler(cp.GESTURE_EVENT_TYPES.SWIPE_UP));this.registerGestureEvent(a,cp.GESTURE_EVENT_TYPES.SWIPE_DOWN,this.getDefaultGestureHandler(cp.GESTURE_EVENT_TYPES.SWIPE_DOWN));this.registerGestureEvent(a,cp.GESTURE_EVENT_TYPES.SWIPE_LEFT,this.getDefaultGestureHandler(cp.GESTURE_EVENT_TYPES.SWIPE_LEFT));this.registerGestureEvent(a,cp.GESTURE_EVENT_TYPES.SWIPE_RIGHT,this.getDefaultGestureHandler(cp.GESTURE_EVENT_TYPES.SWIPE_RIGHT))}};
cp.GestureHandler.prototype.resetZoom=function(){};cp.GestureHandler.prototype.resetScroll=function(){};cp.GestureHandler.prototype.initializeProjectGestures=function(){if(cp.useg){var a=cp.D.project.GestureData;if(a)for(var b in a)cp.registerGestureEvent(cp("project"),b,a[b])}};
cp.GestureHandler.prototype.getEventPageX=function(a){var b=a;a.changedTouches&&0<a.changedTouches.length&&(b=a.changedTouches[0]);if(!b)return 0;if(b.pageX)return b.pageX;var a=document.documentElement,c=document.body;return b.clientX+(a&&a.scrollLeft||c&&c.scrollLeft||0)-(a&&a.clientLeft||c&&c.clientLeft||0)};
cp.GestureHandler.prototype.getEventPageY=function(a){var b=a;a.changedTouches&&0<a.changedTouches.length&&(b=a.changedTouches[0]);if(!b)return 0;if(b.pageY)return b.pageY;var a=document.documentElement,c=document.body;return b.clientY+(a&&a.scrollTop||c&&c.scrollTop||0)-(a&&a.clientTop||c&&c.clientTop||0)};cp.registerGestureEvent=function(a,b,c){a&&(b&&c)&&cp.m_gestureHandler.registerGestureEvent(a,b,c)};cp.removeGestureEvent=function(a,b,c){a&&b&&cp.m_gestureHandler.removeGestureEvent(a,b,c)};
cp.IsGestureSupportedDevice=function(){return cp.device==cp.IDEVICE||cp.device==cp.ANDROID};cp.initializeGestureEvents=function(){cp.m_gestureHandler||(cp.IsGestureSupportedDevice()&&(cp("cpDocument").style.overflow="auto"),cp.m_gestureHandler=!cp.IsGestureSupportedDevice()||!cp.useg?new cp.GestureHandler:new cp.HammerGestureHandler,cp.m_gestureHandler.initializeProjectGestures())};
cp.canScroll=function(a,b){if(!cp.m_gestureHandler.enabled||cp.D.project.shc||1!=cp("div_Slide").scaleFactor)return!1;if(b!=cp.GESTURE_EVENT_TYPES.DRAG&&cp.m_gestureHandler.isScrolling)return!0;var c=cp.responsive?cp("project").getBoundingClientRect():cp("main_container").getBoundingClientRect();switch(a){case "up":return c.bottom>window.innerHeight;case "down":return 0>c.top;case "left":return c.right>window.innerWidth;case "right":return 0>c.left;default:return!1}};
cp.user_responseIdentifierArr=[];cp.correct_responseIdentifierArr=[];cp.ConvertToInteractionResultConstant=function(a){if(!cp.IsRunningInACAP){var b;switch(a.toLowerCase()){case "correct":b=!0;break;case "wrong":b=!1;break;case "unanticipated":b=cp.LMSDriverHolder.INTERACTION_RESULT_UNANTICIPATED;break;case "neutral":b=cp.LMSDriverHolder.INTERACTION_RESULT_NEUTRAL;break;case "incorrect":b=!1;break;default:cp.verbose&&cp.log("Could not find appropriate token for interaction result! -"+a)}return b}};
cp.quizContinueButtonClickHandler=function(){cp.movie.play()};cp.qcnch=function(a){return cp.quizContinueButtonClickHandler(a)};cp.defaultHandlerForRuntimeMessageBox=function(){var a=cp.movie.playbackController.GetQuizController();a&&a.DefaultHandlerForRuntimeMessageBox()};cp.returnToQuiz=function(){var a=cp.movie.playbackController.GetQuizController();a&&a.ReturnToQuiz()};cp.forceSubmitAll=function(){var a=cp.movie.playbackController.GetQuizController();a&&a.ForceSubmitAll()};
cp.quizReviewButtonClickHandler=function(a){var a=cp.D[a.id],b=cp.movie.playbackController.GetQuizController();b&&cp.movie.playbackController.HasQuiz()&&(b.SetIsInReviewMode(!0),a&&(cp.movie.playbackController.GetSlideNames(),a=b.GetFirstSlideInQuizIndex(),void 0!=a&&(cpCmndGotoSlideAndResume=a)))};cp.qrch=function(a){return cp.quizReviewButtonClickHandler(a)};
cp.resetQuizData=function(){var a=cp.movie.playbackController.GetQuizController();if(a){var b=cp.movie.questionObjs;if(!b)return 0;var c=b.length;if(!(0>=c)){for(var d=0;d<c;++d)b[d]&&(b[d].getIsPretest()||b[d].resetQuestionData());a.GetScore()}}};
cp.quizRetakeButtonClickHandler=function(a){var b=cp.movie.playbackController.GetQuizController();if(b&&(cp.movie.playbackController.HasQuiz()&&cp.D[a.id])&&(a=cp.movie.playbackController.GetSlideNames(),b=b.GetFirstSlideInQuizIndex(),0<=b&&(a=cp.D[a[b]]))){var c=cp.movie.playbackController.GetGraphManager();void 0!=c&&c.resetCurrentBranch(b);cp.resetQuizData();cpCmndGotoFrameAndResume=a.from}};cp.qrtch=function(a){return cp.quizRetakeButtonClickHandler(a)};cp.quizPostResultButtonClickHandler=function(){cp.movie.playbackController.PostQuizResults()};
cp.qprch=function(a){return cp.quizPostResultButtonClickHandler(a)};cp.quizClearButtonClickHandler=function(a){var b=cp.movie.playbackController.GetQuizController();if(b){var c=cp.D[a.id];c&&(c=cp.getQuestionObject(c.sn))&&(!c.getIsPretest()||!b.GetIsPretestQuestionsDisabled())&&c.clearButtonClickHandler(a)}};cp.qcch=function(a){return cp.quizClearButtonClickHandler(a)};
cp.quizSkipButtonClickHandler=function(a){var b=cp.movie.playbackController.GetQuizController();if(b){var c=cp.D[a.id];if(c&&(c=cp.getQuestionObject(c.sn))){if(!b.GetIsInReviewMode()){if(c.getIsLastPretestQuestion())return b.ExecutePretestAction(cp.movie.playbackController.GetCurrentSlideIndex());var d=b.GetIsSubmitAll();if("mustAnswer"==b.GetQuestionAdvanceType()&&!d&&!c.m_answersDisabled&&!c.getIsPretest())return;var e=c.getSlideIndex();if(0<=e&&!c.getIsPretest()&&!d){d=!1;b=b.GetGraphManager();
if(void 0!=b){var f=b.getNextSlideList(e);if(void 0!=f)if(1==f.length)d=!1;else if(d=!0,f=b.getBranchHistory(),void 0!=f)for(var g=f.length-1;0<=g;--g){var i=f[g];if(i==e&&g!=f.length-1&&b.getIsJumpValid(i,f[g+1])){d=!1;break}}}if(d)return}if(""!=cp.movie.playbackController.AllowedToGoToSlide(cpInfoCurrentSlideIndex,cpInfoCurrentSlideIndex+1))return}cpQuizInfoTotalUnansweredQuestions+=1;c.skipButtonClickHandler(a)}}};cp.qskch=function(a){return cp.quizSkipButtonClickHandler(a)};
cp.quizBackButtonClickHandler=function(a){var b=cp.movie.playbackController.GetQuizController();if(b){var c=cp.D[a.id];c&&(c=cp.getQuestionObject(c.sn))&&(b.GetIsInReviewMode()||""==cp.movie.playbackController.AllowedToGoToSlide(cpInfoCurrentSlideIndex,cpInfoCurrentSlideIndex-1))&&c.backButtonClickHandler(a)}};cp.qbch=function(a){return cp.quizBackButtonClickHandler(a)};
cp.quizSubmitButtonClickHandler=function(a){var b=cp.movie.playbackController.GetQuizController();if(b&&(a=cp.D[a.id]))if((a=cp.getQuestionObject(a.sn))&&(!a.getIsPretest()||!b.GetIsPretestQuestionsDisabled()))a.getWasJudged()||a.judge(!1,!1),cpQuizInfoTotalUnansweredQuestions-=1};cp.qsbch=function(a){return cp.quizSubmitButtonClickHandler(a)};cp.quizSubmitAllButtonClickHandler=function(){var a=cp.movie.playbackController.GetQuizController();a&&a.SubmitAllQuestions(!0,!1)};cp.qsabch=function(a){return cp.quizSubmitAllButtonClickHandler(a)};
cp.intTimeoutID="";cp.CallFunctionAfterAPIIsLoaded=function(a){if(IsLoaded())return""!=intTimeoutID&&(window.clearTimeout(intTimeoutID),intTimeoutID=""),eval(a);intTimeoutID=window.setTimeout("CallFunctionAfterAPIIsLoaded("+a+")",100)};
cp.UnloadActivties=function(){if(!(cp.LMSUnloaded||void 0==cp.LMSDriverHolder&&!cp.IsRunningInACAP)){var a=cp.movie.playbackController;a&&(a.GetIsTracked()&&"EMAIL"!=a.m_lmsType.toUpperCase()&&"ACROBAT"!=a.m_lmsType.toUpperCase()&&"INTERNALSERVER"!=a.m_lmsType.toUpperCase())&&(cp.movie.virgin&&a.RestoreQuizState(),a.IsRunningInConnect()?a.ExitCourse():a.SendCourseData(!0),a.ClearPendingCalls());cp.LMSDriverHolder&&(cp.LMSDriverHolder.CommitData&&cp.LMSDriverHolder.CommitData(),cp.LMSDriverHolder.Unload&&
cp.LMSDriverHolder.Unload());cp.LMSUnloaded=!0}};cp.intQuestionSymbolCounter=0;cp.ASCII_QUESTION=63;cp.CheckForDebugCommand=function(a){if(!cp.IsRunningInACAP){var b=0,b=window.event?window.event.keyCode:a.which;b==cp.ASCII_QUESTION?(cp.intQuestionSymbolCounter++,3==cp.intQuestionSymbolCounter&&(cp.intQuestionSymbolCounter=0,cp.LMSDriverHolder.ShowDebugWindow())):0!=b&&(cp.intQuestionSymbolCounter=0)}};cp.CheckForDebugCommandOnDevices=function(a){cp.IsRunningInACAP||30<a.rotation&&cp.LMSDriverHolder.ShowDebugWindow()};
cp.topWindowBeforeUnloadHandler=void 0;cp.topWindowUnloadHandler=void 0;function RegisterForCloseOnTopWindow(){if(!cp.IsRunningInACAP&&cp.MSIE==cp.browser&&void 0!=cp.topWindow&&cp.topWindow!=cp.LMSDriverHolder.self){var a=cp.topWindow;a.onbeforeunload&&void 0!=a.onbeforeunload&&(cp.topWindowBeforeUnloadHandler=a.onbeforeunload);a.onunload&&void 0!=a.onunload&&(cp.topWindowUnloadHandler=a.onunload);a.onbeforeunload=cp.CPDoBeforeUnload;a.onunload=cp.CPDoUnload}}
cp.CPDoBeforeUnload=function(){var a=window.onbeforeunload;a&&a();topWindowBeforeUnloadHandler&&topWindowBeforeUnloadHandler()};cp.CPDoUnload=function(){cp.UnloadActivties();topWindowUnloadHandler&&topWindowUnloadHandler()};cp.g_ShouldRandomize=!0;cp.startBlnStr=!1;
cp.handleACAPResumeData=function(a){cp.IsRunningInACAP&&a.then(function(a){cp.resumeDataChunk=unescape(a);""!=cp.resumeDataChunk&&void 0!=cp.resumeDataChunk&&"0"!=cp.resumeDataChunk?(cp.g_ShouldRandomize=!1,a=void 0,cp.movie&&(a=cp.movie.playbackController),a&&a.RestoreQuizState()):cp.g_ShouldRandomize=!0;cp.ContinueCPInit();cp.unblockFromLMS()},function(){cp.g_ShouldRandomize=!0;cp.ContinueCPInit();cp.unblockFromLMS()})};
cp.fireResumeDataEvent=function(a){cp.IsRunningInACAP&&cp.em.fireEvent("CPSet_ResumeData",{ResumeData:a})};
cp.LoadActivities=function(){if(!cp.IsRunningInACAP)if(cp.IsRunningInConnect())cp.DoConnectRelatedLMSLoad();else if(!cp.IsRunningInALEC&&"undefined"!=typeof cp.LMSDriverHolder){var a=cp.D.quizReportingData;a&&(cp.LMSDriverHolder.blnDebug=a.lWriteDebugInfo);cp.LMSDriverHolder.blockedForLMS||(cp.LMSDriverHolder.blockedForLMS=!0,cp("blockUserInteraction").style.display="block",cp("blockUserInteraction").style.width="100%",cp("blockUserInteraction").style.height="100%",cp("blockUserInteraction").style["z-index"]=
1E4);var b=cp.LMSDriverHolder.confirm;cp.LMSDriverHolder.confirm=function(a){cp.LMSDriverHolder.confirm=b;LoadContent();return b(a)};RegisterForCloseOnTopWindow();cp.LMSDriverHolder.Start()}};
function LoadContent(){cp.verbose&&cp.log("LoadContent called...IsContentLoaded : "+cp.IsContentLoaded);if(!cp.IsRunningInACAP&&!cp.IsContentLoaded){try{var a=cp.LMSDriverHolder.IsLoaded();cp.startBlnStr=a;if(!a){cp.log("LMS Driver not loaded.");cp.ContinueCPInit();cp.unblockFromLMS();return}document.onkeypress=cp.CheckForDebugCommand;cp.DESKTOP!=cp.device&&(document.ongesturechange=cp.CheckForDebugCommandOnDevices)}catch(b){cp.log("LMS Driver not found.");cp.ContinueCPInit();cp.unblockFromLMS();
return}if(cp.LMSDriverHolder.GetEntryMode()==cp.LMSDriverHolder.ENTRY_FIRST_TIME)cp.resumeDataChunk=unescape(cp.LMSDriverHolder.GetDataChunk()),""!=cp.resumeDataChunk&&void 0!=cp.resumeDataChunk&&"0"!=cp.resumeDataChunk?(cp.g_ShouldRandomize=!1,a=void 0,cp.movie&&(a=cp.movie.playbackController),a&&a.RestoreQuizState()):(cp.LMSDriverHolder.SetBookmark("0"),cp.LMSDriverHolder.SetDataChunk("0"));else if(cp.LMSDriverHolder.GetBookmark(),cp.resumeDataChunk=unescape(cp.LMSDriverHolder.GetDataChunk()),""!=
cp.resumeDataChunk&&void 0!=cp.resumeDataChunk&&"0"!=cp.resumeDataChunk){if(cp.g_ShouldRandomize=!1,a=void 0,cp.movie&&(a=cp.movie.playbackController),a&&a.RestoreQuizState(),cp.verbose)cp.log(cp.resumeDataChunk),cp.log("Unblocking UI")}else cp.g_ShouldRandomize=!0;cp.ContinueCPInit();cp.unblockFromLMS();cp.IsContentLoaded=!0}}
cp.resumeValuesFromDataChunk=function(){if(cp.resumeDataChunk&&"0"!=cp.resumeDataChunk){var a=cp.D.quizReportingData;!(a&&!0!=a.trackingSendResumeData)&&cp.movie.playbackController&&(a=new cp.QuizState,a.init(),a.fromString(cp.resumeDataChunk),cp.movie.playbackController.restoreQuizFromState(a))}};cp.createAndGetDataChunk=function(){if(!cp.movie.playbackController)return"";var a=new cp.QuizState;a.init();cp.movie.playbackController.saveQuizState(a);return a.toString()};
cp.getQuestionNumberInQuiz=function(a){var b=-1,a=cp.D[a];void 0!=a&&(b=a.qnq);return b};cp.getQuestionObjectName=function(a){var b,a=cp.getQuestionNumberInQuiz(a);-1!=a&&(b=cp.movie.questions[a]);return b};cp.getQuestionObject=function(a){var b,a=cp.getQuestionNumberInQuiz(a);-1!=a&&(b=cp.movie.questionObjs[a]);return b};
cp.QuizState=function(){this.m_curReadPos=0;this.m_b64Alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-";this.m_to64=[];this.m_from64=[];this.m_escAlphabet="$.!*+";this.m_doubleEsc="~";this.m_esc=[];this.m_mask=[63,4095,262143,16777215,1073741823];this.m_fromEsc=[];this.m_state=""};
cp.QuizState.prototype={init:function(){for(var a=0;a<this.m_b64Alphabet.length;a++)this.m_to64[a]=this.m_b64Alphabet.charAt(a),this.m_from64[this.m_b64Alphabet.charCodeAt(a)]=a;for(a=0;a<this.m_escAlphabet.length;++a)this.m_esc[a]=this.m_escAlphabet.charAt(a),this.m_fromEsc[this.m_escAlphabet.charAt(a)]=a+1},toString:function(){return escape(this.m_state)},fromString:function(a){this.m_state=a;this.m_curReadPos=0},writeNumber:function(a){var b,c,d,a=Math.floor(a);if(a>this.m_mask[this.m_mask.length-
1])this.m_state=this.m_state.concat(this.m_doubleEsc),this.writeNumber(a/(this.m_mask[this.m_mask.length-1]+1)),this.writeNumber(a&this.m_mask[this.m_mask.length-1]);else for(b=0;b<this.m_esc.length;b++)if((a&this.m_mask[b])==a){0<b&&(this.m_state=this.m_state.concat(this.m_esc[b-1]));for(var e=c=0;e<=b;e++)d=a>>c&63,this.m_state=this.m_state.concat(this.m_to64[d]),c+=6;break}},readNumber:function(){var a=this.m_state.charAt(this.m_curReadPos),b=this.m_state.charCodeAt(this.m_curReadPos++),c,d=0,
e;if(a==this.m_doubleEsc)return d=this.readNumber(),a=this.readNumber(),d*(this.m_mask[this.m_mask.length-1]+1)+a;a=this.m_fromEsc[a];if(0==a||void 0==a)d=this.m_from64[b];else for(b=e=0;b<=a;b++)c=this.m_from64[this.m_state.charCodeAt(this.m_curReadPos++)],d|=c<<e,e+=6;return d},writeBoolean:function(a){this.m_state=this.m_state.concat(a?"1":"0")},readBoolean:function(){return"1"==this.m_state.charAt(this.m_curReadPos++)},writeString:function(a){this.writeNumber(a.length);this.m_state=this.m_state.concat(a)},
readString:function(){var a=this.readNumber(),b=this.m_state.substr(this.m_curReadPos,a);this.m_curReadPos+=a;return b},getReadPos:function(){return this.m_curReadPos},setReadPos:function(a){this.m_curReadPos=a},getWritePos:function(){return this.m_curReadPos},setWritePos:function(a){this.m_curReadPos=a},getData:function(){return this.toString()},setData:function(a){this.fromString(a)}};
cp.QuizController=function(){this.m_showPlaybar=!0;this.quizInProgress=!1;this.quizNumFinishes=this.quizNumStarts=0;this.sawAnyScoreSlide=!1;this.m_QuizzingData=void 0;this.m_questionSlideNames=[];this.m_playbackController=void 0;this.m_scoreDisplay={};this.m_GoToQuizScopeActionExecuted=!1;this.m_RunTimeMsgBox=void 0;this.m_ExecutingPretestAction=this.m_PretestQuestionsDisabled=this.m_FirstNonPretestQuestionEncountered=this.m_forceAbsoluteProgressType=this.verbose=this.m_submittedAllQuestions=this.m_HandledSubmitAll=
!1};
cp.QuizController.prototype={GetIsCurrentSlideLastPrestest:function(){if(!this.m_playbackController)return!1;var a=this.m_playbackController.GetCurrentSlideIndex();if(0>a||a>=cp.movie.stage.slides.length)return!1;a=this.GetQuestionsOnSlide(a);return!a||0>=a.length?!1:(a=a[0])?a.getIsLastPretestQuestion():!1},GetIsPretestQuestionsDisabled:function(){return this.m_PretestQuestionsDisabled},GetForceAbsoluteProgressType:function(){return this.m_forceAbsoluteProgressType},SetForceAbsoluteProgressType:function(a){this.m_forceAbsoluteProgressType=a},
GetFirstNonPretestQuestionEncountered:function(){return this.m_FirstNonPretestQuestionEncountered},SetFirstNonPretestQuestionEncountered:function(a){this.m_FirstNonPretestQuestionEncountered=a},GetQuestionScoresToSend:function(){var a=[],b=cp.movie.stage.slides;if(!b)return[];for(var c=0;c<b.length;++c)if(cp.D[b[c]].v)for(var d=this.GetQuestionsOnSlide(c),e=0;e<d.length;++e){var f=d[e];f&&a.push(f.getQuestionScore())}return a},saveState:function(a){a.writeBoolean(this.GetIsInReviewMode());a.writeBoolean(!1);
a.writeBoolean(this.quizInProgress);a.writeNumber(this.quizNumStarts);a.writeNumber(this.quizNumFinishes);a.writeBoolean(this.sawAnyScoreSlide);a.writeBoolean(this.m_submittedAllQuestions);a.writeBoolean(this.m_PretestQuestionsDisabled);a.writeBoolean(cpInQuizScope);a.writeString(""+cpQuizScopeSlide);var b=this.GetQuestionScoresToSend();a.writeNumber(b.length);for(whichQuestionScore in b){var c=b[whichQuestionScore];c&&c.saveState(a)}this.saveBranchInfo(a)},saveBranchInfo:function(a){var b="",c=this.GetGraphManager();
a.writeBoolean(void 0!=c);if(c){var d=c.getCompletionBranch();a.writeNumber(d.length);for(var e=0;e<d.length;++e)a.writeNumber(d[e]);d=c.getCurrentBranch();a.writeNumber(d.length);for(e=0;e<d.length;++e)a.writeNumber(d[e]);if(void 0!=c.m_SlideNumToQuestionNumMap)for(var f in c.m_SlideNumToQuestionNumMap)b+=f+"_"+c.m_SlideNumToQuestionNumMap[f]+",";a.writeString(b)}},restoreState:function(a){if(a){this.SetIsInReviewMode(a.readBoolean());a.readBoolean();this.quizInProgress=a.readBoolean();this.quizNumStarts=
a.readNumber();this.quizNumFinishes=a.readNumber();this.sawAnyScoreSlide=a.readBoolean();this.m_submittedAllQuestions=a.readBoolean();this.m_PretestQuestionsDisabled=a.readBoolean();svvi("cpInQuizScope",a.readBoolean(),["cpInQuizScope"]);this.quizScopeSlideSetter(parseFloat(a.readString()));for(var b=a.readNumber(),c=0;c<b;++c)(new cp.QuestionScore).restoreState(a);this.restoreBranchInfo(a)}},restoreBranchInfo:function(a){if(a){var b=[],c=[],d="";if(a.readBoolean()){for(var d=a.readNumber(),e=0;e<
d;++e)b.push(a.readNumber());d=a.readNumber();for(e=0;e<d;++e)c.push(a.readNumber());d=a.readString()}if(a=this.GetGraphManager())a.restoreCompletionBranchState(b),a.restoreCurrentBranchState(c),this.RestoreGraphProgressIndicatorMap(d)}},ResumeState:function(a,b){this.verbose&&cp.log("QuizController :: ResumeState()");switch(a){case "isInReviewMode":this.SetIsInReviewMode("true"==b);break;case "quizInProgress":this.quizInProgress="true"==b;break;case "quizNumStarts":this.quizNumStarts=parseFloat(b);
break;case "quizNumFinishes":this.quizNumFinishes=parseFloat(b);break;case "sawAnyScoreSlide":this.sawAnyScoreSlide="true"==b;break;case "submittedAllQuestions":this.m_submittedAllQuestions="true"==b;break;case "quizScopeSlide":this.quizScopeSlideSetter(parseFloat(b));break;case "completionBranch":this.RestoreCompletionBranchState(b);break;case "currentBranch":this.RestoreCurrentBranchState(b);break;case "qpiMap":this.RestoreGraphProgressIndicatorMap(b)}},RestoreGraphProgressIndicatorMap:function(a){if(!(void 0==
a||""==a)){for(var b=a.split(","),a={},c=0,d=0;d<b.length;++d){var e=b[d].split("_");if(2==e.length){var f=parseInt(e[0]),e=parseInt(e[1]);a[f]=e;c<e&&(c=e)}}b=this.GetGraphManager();void 0!=b&&(void 0!=b.m_SlideNumToQuestionNumMap&&void 0!=b.m_progressNumber)&&(b.m_SlideNumToQuestionNumMap=a,b.m_progressNumber=c)}},RestoreCompletionBranchState:function(a){if(void 0!=a){for(var b=a.split(","),a=[],c=0;c<b.length;++c)a.push(parseInt(b[c]));b=this.GetGraphManager();void 0!=b&&b.restoreCompletionBranchState(a)}},
RestoreCurrentBranchState:function(a){if(void 0!=a){for(var b=a.split(","),a=[],c=0;c<b.length;++c)a.push(parseInt(b[c]));b=this.GetGraphManager();void 0!=b&&b.restoreCurrentBranchState(a)}},SaveQuestionScore:function(a){this.GetIsInReviewMode()||(this.AddQuestionScore(a.GetQuestionScore()),a.SetQuestionScore(void 0))},AddQuestionScore:function(a){for(var b in this.questionScores)if(this.questionScores[b].questionNumInQuiz==a.questionNumInQuiz){this.questionScores[b]=a;return}-1!=a.questionNumInQuiz?
questionScores[a.questionNumInQuiz]=a:questionScores.push(a)},HasQuiz:function(){return void 0!=this.m_QuizzingData?!0:!1},InitializeQuizController:function(){this.verbose&&cp.log("QuizController :: InitializeQuizController()");this.m_QuizzingData=cp.D.quizzingData},GetGraphManager:function(){var a=void 0;this.m_playbackController&&(a=this.m_playbackController.GetGraphManager());return a},GetGoToQuizScopeActionExecuted:function(){return this.m_GoToQuizScopeActionExecuted},SetGoToQuizScopeActionExecuted:function(a){this.m_GoToQuizScopeActionExecuted=
a},GetIsInReviewMode:function(){return!this.m_QuizzingData?!1:this.m_QuizzingData.isInReviewMode},SetIsInReviewMode:function(a){this.m_QuizzingData&&(this.m_QuizzingData.isInReviewMode=a)},SetQuizInProgress:function(a){a&&!this.quizInProgress?(this.m_HandledSubmitAll=!1,cp.resetQuizData(),this.m_playbackController&&(this.m_playbackController.GetIsTracked()&&"EMAIL"!=this.m_playbackController.m_lmsType.toUpperCase()&&"ACROBAT"!=this.m_playbackController.m_lmsType.toUpperCase()&&"INTERNALSERVER"!=this.m_playbackController.m_lmsType.toUpperCase()?
this.m_playbackController.SendCourseData(!this.m_playbackController.LMSIsAICC()||!this.m_playbackController.IsRunningInConnect()):this.m_playbackController.SendCourseData(!1)),this.m_submittedAllQuestions=!1,this.IncrementCurrentAttempt(),this.sawAnyScoreSlide=!1):!a&&this.quizInProgress&&(this.quizNumFinishes+=1);this.quizInProgress=a;this.quizInScopeSetter(a)},GetIsAttemptFinished:function(){return 0<this.quizNumStarts&&this.quizNumStarts==this.quizNumFinishes||this.sawAnyScoreSlide?!0:!1},GetCurrentSlideType:function(){this.m_playbackController.GetCurrentSlide();
var a=this.m_playbackController.GetCurrentSlideIndex(),b=this.GetQuestionsOnSlide(a);return b&&0<b.length?"Question":this.GetAnyScoreSlideIndex()==a?"AnyScoreSlide":""},IsNonPretestQuestionSlide:function(a){if((a=this.GetQuestionsOnSlide(a))&&0<a.length){for(var b=!1,c=0;c<a.length;++c){var d=a[c];if(d&&d.getIsPretest()){b=!0;break}}return!b}return!1},getQuizSlideMaxScore:function(a){var b=0;if((a=this.GetQuestionsOnSlide(a))&&0<a.length)for(var c=0;c<a.length;++c){var d=a[c];d&&!d.getIsPretest()&&
(b+=d.getWeighting())}return b},getQuizSlideMinScore:function(a){var b=0;if((a=this.GetQuestionsOnSlide(a))&&0<a.length)for(var c=0;c<a.length;++c){var d=a[c];d&&!d.getIsPretest()&&(b+=d.getNegativeWeight())}return b},getQuizSlideScore:function(a){var b=0;if((a=this.GetQuestionsOnSlide(a))&&0<a.length)for(var c=0;c<a.length;++c){var d=a[c];d&&!d.getIsPretest()&&(b+=d.getScore())}return b},GetSlideType:function(a){if(!cp.movie.stage)return"";var b=this.GetQuestionsOnSlide(a);return b&&0<b.length?"Question":
this.GetAnyScoreSlideIndex()==a?"AnyScoreSlide":""},GetTotalUnansweredQuestions:function(){if(!cp.movie)return 0;var a=cp.movie.questionObjs;if(!a)return 0;for(var b=0,c=0;c<a.length;++c){var d=a[c];void 0==d?b++:d.getIsIncomplete()?b++:d.getWasJudged()||b++}return b},GetTotalQuestionsInProject:function(){if(!cp.movie)return 0;var a=cp.movie.questionObjs;return!a?0:a.length},GetNumQuestions:function(){var a=this.GetGraphManager();return void 0!=a?a.getNumQuestions():this.GetTotalQuestionsInProject()},
GotoQuizScopeSlide:function(a){if(cp.movie&&cp.movie.stage)if(0>a||a>=cpInfoSlideCount)cpCmndResume=!0;else if("Question"==this.GetCurrentSlideType())cpCmndResume=!0;else{var b=!1;this.GetIsInReviewMode()&&(b=!0);b?cpCmndResume=!0:(this.m_GoToQuizScopeActionExecuted=!0,cpCmndGotoSlideAndResume=a)}},EnterCurrentSlide:function(){var a=!1,b=this.GetCurrentSlideType(),c=this.m_playbackController.GetCurrentSlideIndex(),d=this.GetQuizScopeEndSlideIndex();if(cpInfoHasPlaybar&&this.GetHidePlaybarInQuiz()&&
!this.GetIsInReviewMode()){var e=!1;"Question"==b?e=!0:0<=c&&(c==d&&"AnyScoreSlide"!=b)&&(e=!0);e&&(this.m_showPlaybar=!1)}cpCmndShowPlaybar=this.m_showPlaybar;"Question"==b&&(!this.quizInProgress&&!this.GetIsInReviewMode())&&(this.SetQuizInProgress(!0),cpQuizInfoTotalProjectPoints=this.GetMaxScore(),cpQuizInfoAttempts=this.quizNumStarts,cpQuizInfoTotalQuestionsPerProject=this.GetTotalQuestionsInProject());"AnyScoreSlide"==b&&("INTERNALSERVER"==this.m_playbackController.m_lmsType.toUpperCase()&&!a&&
this.m_playbackController.PostQuizResults(),this.quizInScopeSetter(!1),this.sawAnyScoreSlide=a=!0);if(b=this.GetQuestionsOnSlide(c))for(a=0;a<b.length;++a)this.StartQuestion(b[a]);else a&&(this.m_scoreDisplay={},this.m_scoreDisplay.score=this.GetScore(),this.m_scoreDisplay.maxScore=this.GetMaxScore(),this.m_scoreDisplay.numQuestions=this.GetNumQuestions(),this.m_scoreDisplay.numRetries=this.GetTotalRetries(),this.m_scoreDisplay.numQuizAttempts=this.quizNumStarts,this.m_scoreDisplay.percentCorrect=
this.GetPercentCorrect(),this.m_scoreDisplay.numQuestionsCorrect=this.GetTotalCorrectQuestions(),this.m_scoreDisplay.passed=this.GetIsPassed(),this.m_scoreDisplay.feedback=this.GetIsPassed()?this.GetPassedScoreFeedback():this.GetFailedScoreFeedback(),this.m_scoreDisplay.quizController=this);this.m_playbackController&&(this.m_playbackController.GetIsTracked()&&"EMAIL"!=this.m_playbackController.m_lmsType.toUpperCase()&&"ACROBAT"!=this.m_playbackController.m_lmsType.toUpperCase()&&this.m_playbackController.m_lmsType.toUpperCase(),
this.m_playbackController.SendCourseData(!1))},LeaveSlide:function(a,b){var c=!1;if(!this.m_QuizzingData)return c;var d=this.m_QuizzingData.quizScopeEndSlide;if(void 0==d)return c;this.verbose&&cp.log("Inside Leave Slide");0<=b?c=0<=a&&b>a&&a==d:0<=a&&a==d&&(c=!0);0<=a&&(a==this.GetAnyScoreSlideIndex()&&!this.GetIsInReviewMode())&&(c=!0);var e=this.GetSlideType(a);if("Question"==e){var f=this.GetQuestionsOnSlide(a);if(f)for(var g=0;g<f.length;++g){var i=f[g];i&&(i.endQuestion(!1),this.GetIsSubmitAll()||
i.clearAnswers())}}if(!this.m_playbackController||!this.m_playbackController.HasQuiz())c=!1;f=this.quizInProgress;c&&this.SetQuizInProgress(!1);c&&(!this.GetIsInReviewMode()&&(this.quizNumStarts>=this.GetNumberOfQuizAttempts()&&this.GetIsAllowReviewMode())&&this.SetIsInReviewMode(!0),this.SetQuizInProgress(!1),void 0==b&&f&&(f=this.GetDefaultActionType(),f=this.GetIsPassed()?this.GetPassingGradeAction():this.GetFailingGradeAction(),cp.movie.frameBasedExecuteAction(f)));cpInfoHasPlaybar&&this.GetHidePlaybarInQuiz()&&
(f=!1,"Question"==e?f=!0:0<=a&&(a==d&&"AnyScoreSlide"!=e)&&(f=!0),f&&(this.m_showPlaybar=!0));return c},ExecutePretestAction:function(a){if(this.m_ExecutingPretestAction||void 0==a||0>a||a>=cp.movie.stage.slides.length)return!1;var b=this.GetQuestionsOnSlide(a);if(void 0==b||0>=b.length||void 0==b[0])return!1;var c=b[0],b=a+1;b>=cp.movie.stage.slides.length&&(b=-1);var d=void 0;-1!=b&&(d=this.GetQuestionsOnSlide(b));var e=!1;void 0!=d&&(0<d.length&&void 0!=d[0])&&(e=d[0].getIsPretest());c=c.getIsPretest();
if(!c||-1!=b&&e)return!1;for(;void 0!=a&&0<=a;){b=this.GetQuestionsOnSlide(a);if(void 0==b||0>=b.length||void 0==b[0]||!b[0].getIsPretest())break;a-=1}this.m_PretestQuestionsDisabled=!0;a=this.GetPretestAction();void 0!=a&&(this.m_ExecutingPretestAction=!0,cp.movie.executeAction(a),this.m_ExecutingPretestAction=!1);return!0},GetProgressType:function(){return!this.m_QuizzingData?0:this.m_QuizzingData.progressIndicatorType},GetProgressTemplateString:function(){return!this.m_QuizzingData?"":this.m_QuizzingData.progressIndicatorString},
GetIsReportingEnabled:function(){return!this.m_QuizzingData?!1:this.m_QuizzingData.reportingEnabled},GetParameterValueByName:function(a){if(!this.m_QuizzingData||!this.m_playbackController||!this.m_playbackController.HasQuiz())return"";var b="";switch(a){case "quizInfoPointsScored":b=this.GetScore();break;case "quizInfoTotalQuizPoints":b=this.GetMaxScore();break;case "quizInfoTotalCorrectAnswers":b=this.GetTotalCorrectQuestions();break;case "numQuestionsInQuiz":b=this.GetNumQuestions();break;case "quizInfoPercentScored":b=
this.GetPercentCorrect();break;case "quizInfoCurrentAttempt":b=this.quizNumStarts;break;default:b=this.m_scoreDisplay.feedback}return b},GetPassedScoreFeedback:function(){return!this.m_QuizzingData?"":this.m_QuizzingData.passedScoreFeedback},GetFailedScoreFeedback:function(){return!this.m_QuizzingData?"":this.m_QuizzingData.failedScoreFeedback},GetIsAllowReviewMode:function(){return!this.m_QuizzingData?!1:this.m_QuizzingData.allowReviewMode},GetIsQuizCompleted:function(){return!this.m_QuizzingData?
!1:this.m_QuizzingData.quizCompleted},SetIsQuizCompleted:function(a){this.m_QuizzingData&&(this.m_QuizzingData.quizCompleted=a)},GetAnyScoreSlideIndex:function(){if(!this.m_QuizzingData)return-1;var a=this.m_QuizzingData.anyScoreSlide;return void 0!=a?a:-1},GetPretestAction:function(){var a=void 0;this.m_QuizzingData&&(a=this.m_QuizzingData.pretestAction);return a},GetQuizScopeEndSlideIndex:function(){if(!this.m_QuizzingData)return-1;var a=this.m_QuizzingData.quizScopeEndSlide;return void 0!=a?a:
-1},GetFirstSlideInQuizIndex:function(){var a=this.GetGraphManager();if(void 0!=a){a=a.getReviewFirstQuestionSlideIndex();if(void 0==a||0>a||"NaN"==a)a=-1;return a}if(!this.m_QuizzingData)return-1;a=this.m_QuizzingData.firstSlideInQuiz;return void 0!=a?a:-1},GetLastSlideInQuizIndex:function(){var a=this.GetGraphManager();if(void 0!=a){a=a.getLastQuestionSlideIndex();if(void 0==a||0>a||"NaN"==a)a=-1;return a}if(!this.m_QuizzingData)return-1;a=this.m_QuizzingData.lastSlideInQuiz;return void 0!=a?a:
-1},GetLastQuestionSlideInQuiz:function(){if(!cp.movie||!cp.movie.stage)return-1;var a=-1,b=cp.movie.playbackController.GetSlideNames(),c=this.GetFirstSlideInQuizIndex(),d=this.GetLastSlideInQuizIndex();if(-1==c||-1==d)return-1;for(var e=0;e<b.length;++e)if("Question"==this.GetSlideType(e)&&(e>=c&&e<=d)&&(-1!=a||e>a))a=e;return a},GetNumberOfQuizAttempts:function(){return!this.m_QuizzingData?0:this.m_QuizzingData.numQuizAttemptsAllowed},GetIsPassed:function(){if(!this.m_QuizzingData)return!1;var a=
parseFloat(this.GetScore()),b=parseFloat(this.GetPassingScore());return a>=b},GetScore:function(){if(!this.m_QuizzingData)return 0;var a=this.GetGraphManager(),b=cp.movie.questionObjs,c=0;if(!b)return 0;for(var d=0;d<b.length;++d)b[d]&&(b[d].getIsPretest()||(void 0!=a?a.isSlidePartOfCurrentBranch(b[d].getSlideIndex())&&(c+=b[d].getScore()):c+=b[d].getScore()));this.m_QuizzingData.quizInfoPointsScored=c;this.m_QuizzingData.quizInfoPercentScored=(100*this.m_QuizzingData.quizInfoPointsScored/this.m_QuizzingData.quizInfoTotalQuizPoints).toFixed(2)+
"%";return this.m_QuizzingData.quizInfoPointsScored},GetMaxScore:function(){if(!this.m_QuizzingData)return 0;var a=this.GetGraphManager();return void 0!=a?a.getMaxQuizScore():this.m_QuizzingData.maxScore},GetMinScore:function(){if(!this.m_QuizzingData)return 0;var a=this.GetGraphManager();return void 0!=a?a.getMinQuizScore():this.m_QuizzingData.minScore},GetMaxPretestScore:function(){return!this.m_QuizzingData?0:this.m_QuizzingData.maxPretestScore},GetPretestScore:function(){if(!this.m_QuizzingData)return 0;
var a=cp.movie.questionObjs,b=0;if(!a)return 0;for(var c=0;c<a.length;++c)a[c]&&a[c].getIsPretest()&&(b+=a[c].getScore());return b},GetCurrentAttempt:function(){return this.quizNumStarts},GetIsSubmitAll:function(){return!this.m_QuizzingData?!1:this.m_QuizzingData.submitAll},GetHidePlaybarInQuiz:function(){return!this.m_QuizzingData?!1:this.m_QuizzingData.hidePlaybarInQuiz},GetQuizBranchAware:function(){return!this.m_QuizzingData?!1:this.m_QuizzingData.quizBranchAware},GetPassFailPassingScoreTypeInPrecent:function(){return!this.m_QuizzingData?
!1:this.m_QuizzingData.passFailPassingScoreTypeInPrecent},GetPassFailPassingScoreValue:function(){return!this.m_QuizzingData?0:this.m_QuizzingData.passFailPassingScoreValue},IncrementCurrentAttempt:function(){this.m_QuizzingData&&(this.quizNumStarts+=1,this.m_QuizzingData.quizInfoCurrentAttempt+=1)},CanShowRetakeButton:function(){return this.GetCurrentAttempt()>=this.GetNumberOfQuizAttempts()||this.GetIsPassed()||this.GetIsInReviewMode()?!1:!0},GetQuizAdvanceType:function(){return!this.m_QuizzingData?
"optional":this.m_QuizzingData.quizAdvance},GetQuestionAdvanceType:function(){return!this.m_QuizzingData?"optional":this.m_QuizzingData.questionAdvance},GetDefaultActionType:function(){return!this.m_QuizzingData?"":this.m_QuizzingData.defaultActionType},GetDefaultActionArgument:function(){return!this.m_QuizzingData?"":this.m_QuizzingData.defaultActionArg1},GetPassingGradeAction:function(){return!this.m_QuizzingData?"":this.m_QuizzingData.passingGradeAction},GetFailingGradeAction:function(){return!this.m_QuizzingData?
"":this.m_QuizzingData.failingGradeAction},GetTotalCorrectAnswers:function(){return!this.m_QuizzingData?0:this.m_QuizzingData.quizInfoTotalCorrectAnswers},GetNumberOfQuestionsInQuiz:function(){return!this.m_QuizzingData?0:this.m_QuizzingData.numQuestionsInQuiz},GetAllowSkipAnyScoreSlide:function(){return!this.m_QuizzingData?!0:this.m_QuizzingData.allowSkipAnyScoreSlide},GetPassingScore:function(){if(!this.m_QuizzingData)return 0;if(this.GetPassFailPassingScoreTypeInPrecent()){var a=this.GetGraphManager();
if(void 0!=a)return a=a.getMaxQuizScore(),"NaN"==a?"NaN":0>=a?0:this.GetPassFailPassingScoreValue()/100*a}return this.m_QuizzingData.passingScore},GetAllowBackwardMovementInQuiz:function(){return!this.m_QuizzingData?!1:this.m_QuizzingData.allowBackwardMovement},GetIsSlideJudged:function(a){a=this.GetQuestionsOnSlide(a);if(!a||0>=a.length)return!1;for(var b=!0,c=0;c<a.length;++c){var d=a[c],b=b&&d.getWasJudged();if(!b)return!1}return b},GetQuestionsOnSlide:function(a){var b=[];if(!cp.movie.stage)return"";
a=this.m_playbackController.GetSlideNameAtIndex(a);if(void 0==a)return"";a=cp.D[a].qs;if(0>=a.length||""==a)return"";if((lQuestionsOnSlide=a.split(","))&&""!=lQuestionsOnSlide&&0<lQuestionsOnSlide.length)for(a=0;a<lQuestionsOnSlide.length;++a){var c=cp.getQuestionObject(lQuestionsOnSlide[a]);c&&b.push(c)}return b},GetTotalRetries:function(){var a=0,b=cp.movie.questionObjs;if(!b)return 0;var c=b.length;if(0>=c)return 0;for(var d=0;d<c;++d)b[d]&&(a+=b[d].currentAttempt);return a},CanDoSubmitAll:function(){if("mustTake"==
this.GetQuizAdvanceType()&&1>=this.GetCurrentAttempt()){var a=!1,a=this.GetQuizBranchAware()?this.GetAnyQuestionInBranchAnswered():this.GetAnyQuestionsAnswered();if(!a)return"QUIZ_ERROR_MUST_TAKE_QUIZ"}return""},GetAnyQuestionInBranchAnswered:function(){var a=this.GetGraphManager();if(!a)return!1;a=a.getCompletionBranch();if(void 0==a||0>=a.length)return!1;for(var b=0;b<a.length;++b){var c=this.GetQuestionsOnSlide(a[b]);if(c&&0<c.length)for(var d=0;d<c.length;++d){var e=c[d];if(!e.getIsPretest()&&
e.getWasJudged()&&!e.getIsIncomplete())return!0}}return!1},GetAnyQuestionsAnswered:function(){var a=cp.movie.questionObjs;if(!a)return!1;var b=a.length;if(0>=b)return!1;for(var c=0;c<b;++c)if(a[c]&&a[c].getWasJudged()&&!a[c].getIsIncomplete())return!0;return!1},GetAnyNonPreTestQuestionAnswered:function(){var a=cp.movie.questionObjs;if(!a)return!1;var b=a.length;if(0>=b)return!1;for(var c=0;c<b;++c)if(a[c]&&!a[c].getIsPretest()&&a[c].getWasJudged()&&!a[c].getIsIncomplete())return!0;return!1},CanEnterSlide:function(a){if(!this.m_playbackController||
!this.m_playbackController.HasQuiz())return"";var a=this.GetSlideType(a),b=!1;if(cpInfoCurrentSlideIndex==this.GetAnyScoreSlideIndex()&&"Question"==a&&!this.GetIsInReviewMode()&&this.GetCurrentAttempt()>=this.GetNumberOfQuizAttempts())return this.GetIsAllowReviewMode()?"":"QUIZ_ERROR_TOO_MANY_QUIZ_ATTEMPTS";if(!this.quizInProgress||"optional"==this.GetQuestionAdvanceType()&&0<this.GetTotalRetries()){switch(a){case "Question":if(!this.GetIsInReviewMode()&&!this.quizInProgress&&this.GetCurrentAttempt()>=
this.GetNumberOfQuizAttempts())return this.GetIsAllowReviewMode()?"":"QUIZ_ERROR_TOO_MANY_QUIZ_ATTEMPTS";break;case "AnyScoreSlide":b=!0}if(b&&!this.quizInProgress&&!this.GetIsInReviewMode())return"QUIZ_ERROR_MUST_START_QUIZ_TO_SEE_SCORE_SLIDE"}return""},CanLeavePretestQuestionSlide:function(){return""},CanLeaveQuestionSlide:function(a,b){var c=this.GetQuestionsOnSlide(a);if(c)for(var d=0;d<c.length;d++){var e=c[d];if(e&&e.getIsPretest())return this.CanLeavePretestQuestionSlide(b,e)}c=this.GetIsSubmitAll();
d=this.GetQuizBranchAware();if("mustAnswer"==this.GetQuestionAdvanceType()&&!this.GetIsInReviewMode()&&!c&&!d){c=this.GetQuestionsOnSlide(a);if(!c)return"";for(d=0;d<c.length;d++)if(e=c[d],!b&&e&&0==e.currentAttempt)return"QUIZ_ERROR_MUST_ANSWER_QUESTION"}if(!b&&a==this.GetLastQuestionSlideInQuiz()){if("mustTake"==this.GetQuizAdvanceType()&&!this.GetAnyQuestionsAnswered()&&1>=this.GetCurrentAttempt())return"QUIZ_ERROR_MUST_TAKE_QUIZ"}else if(b&&!this.GetIsInReviewMode()&&!this.GetAllowBackwardMovementInQuiz()&&
cpInfoCurrentSlideIndex==a)return"QUIZ_ERROR_CANNOT_MOVE_BACKWARD_IN_QUIZ";return""},CanLeaveSlide:function(a,b){if(!this.m_playbackController||!this.m_playbackController.HasQuiz())return"";var c="",d=this.GetSlideType(a),e=this.GetQuizScopeEndSlideIndex();if("Question"==d&&(c=this.CanLeaveQuestionSlide(a,b),""!=c))return c;if(0<=a&&a==e){if("AnyScoreSlide"==d&&!this.GetAllowSkipAnyScoreSlide()&&!this.sawAnyScoreSlide&&this.quizInProgress)return"QUIZ_ERROR_MUST_SEE_SCORE_SLIDE";d=this.GetPassingScore();
if(!b&&"mustPass"==this.GetQuizAdvanceType()&&"NaN"!=d&&this.GetScore()<d)return"QUIZ_ERROR_MUST_PASS_QUIZ";if(this.GetIsSubmitAll()&&"mustAnswer"==this.GetQuestionAdvanceType()&&!b&&!this.m_submittedAllQuestions)return"QUIZ_ERROR_MUST_ANSWER_QUESTION"}return c},GetPreviousQuestionSlideNumber:function(){var a=-1;if(!cp.movie||!cp.movie.stage)return-1;var b=cpInfoCurrentSlideIndex,c=this.GetGraphManager();if(void 0!=c){for(var c=c.getCompletionBranch(),d=0;d<c.length;++d){var e=c[d],f="",g=this.GetQuestionsOnSlide(e);
g&&0<g.length?f="Question":this.GetAnyScoreSlideIndex()==e&&(f="AnyScoreSlide");if(("AnyScoreSlide"==f||"Question"==f)&&e<b)if(-1==a||e>a)a=e}-1==a&&(b=c.indexOf(b),0<b&&(a=c[b-1]))}else{c=this.m_playbackController.GetSlideNames();for(e=0;e<c.length;++e)if(f="",(g=this.GetQuestionsOnSlide(e))&&0<g.length?f="Question":this.GetAnyScoreSlideIndex()==e&&(f="AnyScoreSlide"),("AnyScoreSlide"==f||"Question"==f)&&e<b)if(-1==a||e>a)a=e}return a},GetNextQuestionSlideNumber:function(){var a=-1;if(!cp.movie||
!cp.movie.stage)return-1;var b=cpInfoCurrentSlideIndex,c=this.GetGraphManager();if(void 0!=c)for(var d=c.getCurrentBranch(),e=0;e<d.length;++e){var c=d[e],f="",g=this.GetQuestionsOnSlide(c);g&&0<g.length?f="Question":this.GetAnyScoreSlideIndex()==c&&(f="AnyScoreSlide");if(("AnyScoreSlide"==f||"Question"==f)&&c>b)if(-1==a||c<a||a==b)a=c}else{d=this.m_playbackController.GetSlideNames();for(c=0;c<d.length;++c)if(f="",(g=this.GetQuestionsOnSlide(c))&&0<g.length?f="Question":this.GetAnyScoreSlideIndex()==
c&&(f="AnyScoreSlide"),("AnyScoreSlide"==f||"Question"==f)&&c>b)if(-1==a||c<a)a=c}return a},GetPercentCorrect:function(){var a=this.GetMaxScore();return 0==a||!a?" ":Math.round(100*(100*this.GetScore()/a))/100+"%"},GetTotalPretestCorrectQuestions:function(){if(!this.m_QuizzingData)return 0;var a=cp.movie.questionObjs;if(!a)return 0;for(var b=0,c=0;c<a.length;++c)a[c]&&a[c].getWasJudged()&&(a[c].getAnsweredCorrectly()&&a[c].getIsPretest())&&(b+=1);return b},GetTotalCorrectQuestions:function(){if(!this.m_QuizzingData)return 0;
var a=this.GetGraphManager(),b=cp.movie.questionObjs;if(!b)return 0;for(var c=0,d=0;d<b.length;++d)b[d]&&(b[d].getIsPretest()||(void 0!=a?a.isSlidePartOfCurrentBranch(b[d].getSlideIndex())&&(b[d].getWasJudged()&&b[d].getAnsweredCorrectly())&&(c+=1):b[d].getWasJudged()&&b[d].getAnsweredCorrectly()&&(c+=1)));return c},StartQuestion:function(a){void 0!=a&&(a.slide=this.m_playbackController.GetCurrentSlide(),a.startQuestion())},GetFailingGradeActionString:function(){return!this.m_QuizzingData?!1:this.m_QuizzingData.failingGradeActionString},
GetFailingGradeActionParam:function(){return!this.m_QuizzingData?!1:this.m_QuizzingData.failingGradeActionParam},GetIsTracked:function(){return!this.m_QuizzingData?!1:this.m_QuizzingData.it},GetQuestionSlidesNames:function(){return this.m_questionSlideNames},AddQuestionSlideNames:function(a){this.m_questionSlideNames||(this.m_questionSlideNames=[]);this.m_questionSlideNames.push(a)},GetAllQuestionsInBranchAnswered:function(){var a=this.GetGraphManager();if(!a)return!1;a=a.getCompletionBranch();if(void 0==
a||0>=a.length)return!1;for(var b=0;b<a.length;++b){var c=this.GetQuestionsOnSlide(a[b]);if(c&&0<c.length)for(var d=0;d<c.length;++d){var e=c[d];if(!e.getIsPretest()||!this.m_PretestQuestionsDisabled){var f=this.GetIsSubmitAll()&&!e.getIsPretest();if(0<=e.getWeighting()&&(!e.getWasJudged()&&!f||e.getIsIncomplete()||0==e.getCurrentAttempt()))return!1}}}return!0},GetAllQuestionsAnswered:function(){if(!0==this.GetQuizBranchAware()&&this.GetAllQuestionsInBranchAnswered())return!0;var a=this.GetQuestionScoresToSend(),
b=[];for(whichQuestionScore in a){var c=a[whichQuestionScore];c&&(b[c.getslideNum()]=!0)}var d=this.m_QuizzingData.firstSlideInQuiz,c=this.m_QuizzingData.lastSlideInQuiz;if(void 0==d||-1==d||void 0==c||-1==c)return!0;for(;d<=c;d++)if(!b[d]){var e=this.GetQuestionsOnSlide(d);if(e&&0<e.length)return!1}for(whichQuestionScore in a)if((c=a[whichQuestionScore])&&(!c.getIsPretest()||!this.m_PretestQuestionsDisabled))if(b=this.GetIsSubmitAll()&&!c.getIsPretest(),0<=c.getweighting()&&(!c.getwasJudged()&&!b||
c.getAnswersIncomplete()||0==c.getNumTries()))return!1;return!0},SendInteractionData:function(a,b){if(!this.m_QuizzingData)return!1;this.verbose&&cp.log("QuizController::SendInteraction()");this.GetIsTracked()&&this.m_playbackController.SendInteractionData(a,b)},SendQuestionEventDataForSubmitAll:function(){var a=this.GetQuestionScoresToSend();for(whichQuestionScore in a){var b=a[whichQuestionScore];b&&(b.getisPretestQuestion()||this.m_playbackController.SendQuestionEventData(b))}},SendInteractionsForSubmitAll:function(){var a=
this.GetQuestionScoresToSend();for(whichQuestionScore in a){var b=a[whichQuestionScore];if(b){var c=b.getdescriptionText(),d=cp.movie.questionObjs[b.m_questionNumInQuiz];d&&d.shouldReportAnswers&&(b.getisPretestQuestion()||b.getanswersIncomplete()||(d.sendInteractionDataForEachAnswer?d.sendInteractionDataForEachAnswer(c):this.SendInteractionData(b,c)))}}},DoSubmitAll:function(a){if(void 0==a||0>a)return!1;var b=this.GetQuizScopeEndSlideIndex();if(void 0==b||0>b||a!=b||void 0!=this.m_RunTimeMsgBox||
this.m_HandledSubmitAll||!1==this.GetIsSubmitAll())return!1;this.SubmitAllQuestions(!0,!1);return!0},SubmitAllDialogShown:function(a,b){if(void 0==a||0>a||void 0==b||0>b)return!1;if(void 0!=this.m_RunTimeMsgBox)return!0;if(a>=b||this.m_HandledSubmitAll||this.GetIsInReviewMode()||!1==this.GetIsSubmitAll())return!1;var c=this.GetAnyScoreSlideIndex(),d=this.GetQuizScopeEndSlideIndex();if(0<=c){if(b==c)return this.SubmitAllQuestions(!0,!1),!0}else if(0<=d&&a==d)return this.SubmitAllQuestions(!0,!1),!0;
return!1},ReturnToQuiz:function(){if(void 0!=this.m_RunTimeMsgBox){this.m_RunTimeMsgBox.hide();this.m_RunTimeMsgBox=void 0;var a=this.m_playbackController.GetCurrentSlideIndex();if(a=this.GetQuestionsOnSlide(a))for(var b=0;b<a.length;++b){var c=a[b];c.state=c.StateEnum.PAUSED}}a=this.GetFirstSlideInQuizIndex();0<=a&&(cpCmndGotoSlideAndResume=a,this.m_HandledSubmitAll=!1)},ForceSubmitAll:function(){if(this.m_playbackController){if(void 0!=this.m_RunTimeMsgBox){this.m_RunTimeMsgBox.hide();this.m_RunTimeMsgBox=
void 0;var a=this.m_playbackController.GetCurrentSlideIndex();if(a=this.GetQuestionsOnSlide(a))for(var b=0;b<a.length;++b){var c=a[b];c.state=c.StateEnum.PAUSED}}a=this.GetAnyScoreSlideIndex();b=this.GetQuizScopeEndSlideIndex();if(0<=a)cpCmndGotoSlideAndResume=a;else if(0<=b){var a=-1,c=this.m_playbackController.GetSlideNames(),d=c.length;if(0<d&&b<d&&(b=c[b]))if(b=cp.D[b])a=b.to;cpCmndGotoFrameAndResume=a-1;!this.GetIsInReviewMode()&&(this.GetCurrentAttempt()>=this.GetNumberOfQuizAttempts()&&this.GetIsAllowReviewMode())&&
this.SetIsInReviewMode(!0)}this.m_submittedAllQuestions=!0;this.m_playbackController&&this.m_playbackController.GetSendCourseDataWithInteractionData()&&(this.SendInteractionsForSubmitAll(),this.SendQuestionEventDataForSubmitAll(),a=this.m_playbackController.GetLMSType().toUpperCase(),this.m_playbackController.GetIsTracked()&&"EMAIL"!=a&&"ACROBAT"!=a&&"INTERNALSERVER"!=a?this.m_playbackController.SendCourseData(!0):"INTERNALSERVER"==a?this.m_playbackController.PostQuizResults():this.m_playbackController.SendCourseData(!1));
a=this.GetPassingScore();b=this.GetMaxScore();isNaN(a)||(cpQuizInfoQuizPassPoints=a);0!=b&&(!isNaN(b)&&!isNaN(a))&&(cpQuizInfoQuizPassPercent=100*a/b);cpQuizInfoTotalProjectPoints=b}},DefaultHandlerForRuntimeMessageBox:function(){if(this.m_playbackController&&void 0!=this.m_RunTimeMsgBox){this.m_RunTimeMsgBox.hide();this.m_RunTimeMsgBox=void 0;var a=this.m_playbackController.GetCurrentSlideIndex(),b=this.GetQuestionsOnSlide(a);if(b)for(var c=0;c<b.length;++c){var d=b[c];d.state=d.StateEnum.PAUSED}this.m_HandledSubmitAll=
!1;b=this.GetQuizScopeEndSlideIndex();0<=a&&(0<=b&&a==b)&&(b=this.m_playbackController.GetCurrentSlide(),(b=cp.D[b])&&cpInfoCurrentFrame>=b.to&&(cpCmndGotoSlideAndResume=a))}},SubmitAllQuestions:function(a,b){this.m_HandledSubmitAll=!0;if(!1==a)return ForceSubmitAll();void 0!=this.m_RunTimeMsgBox&&(this.m_RunTimeMsgBox.hide(),this.m_RunTimeMsgBox=void 0);var c="mustAnswer"==this.GetQuestionAdvanceType(),d=this.m_playbackController.GetCurrentSlideIndex();if(d=this.GetQuestionsOnSlide(d))for(var e=
0;e<d.length;++e){var f=d[e];f&&f.endQuestion(!1)}var g=cp.D.rtDialog,d=g.rtbgfc,e=g.rtbgsc,f=g.rtbtnfc,i=g.rtbtnsc,j=g.rtsc,h=g.rttc,m=g.rttsc,k=g.rtfn,l=g.rtt,o=g.rtsam,n=g.rtiqm,p=g.rtsiqm,q=g.rtsanym,r=g.rtokb,u=g.rtyb,v=g.rtnb,w=g.rtsab,x=g.rtsanyb,s=g.rtrtqb,g=g.rtmtqm,t=this.GetAllQuestionsAnswered();"QUIZ_ERROR_MUST_TAKE_QUIZ"==this.CanDoSubmitAll()?(this.m_RunTimeMsgBox=new cp.RuntimeMessageBox(document.getElementById("cpDocument"),1,d,e,f,i,j,h,m,k),this.m_RunTimeMsgBox.setTitleText(l),
this.m_RunTimeMsgBox.setMessageText(g),this.m_RunTimeMsgBox.setFirstButtonText(r),this.m_RunTimeMsgBox.registerFirstButtonHandler(cp.defaultHandlerForRuntimeMessageBox)):c&&!t?(this.m_RunTimeMsgBox=new cp.RuntimeMessageBox(document.getElementById("cpDocument"),1,d,e,f,i,j,h,m,k),this.m_RunTimeMsgBox.setTitleText(l),this.m_RunTimeMsgBox.setMessageText(n),this.m_RunTimeMsgBox.setFirstButtonText(r),this.m_RunTimeMsgBox.registerFirstButtonHandler(cp.defaultHandlerForRuntimeMessageBox)):t?(this.m_RunTimeMsgBox=
new cp.RuntimeMessageBox(document.getElementById("cpDocument"),2,d,e,f,i,j,h,m,k),this.m_RunTimeMsgBox.setTitleText(l),this.m_RunTimeMsgBox.setMessageText(o),this.m_RunTimeMsgBox.setFirstButtonText(w),this.m_RunTimeMsgBox.registerFirstButtonHandler(cp.forceSubmitAll),this.m_RunTimeMsgBox.setSecondButtonText(s),this.m_RunTimeMsgBox.registerSecondButtonHandler(cp.returnToQuiz)):(this.m_RunTimeMsgBox=new cp.RuntimeMessageBox(document.getElementById("cpDocument"),2,d,e,f,i,j,h,m,k),this.m_RunTimeMsgBox.setTitleText(l),
b?(this.m_RunTimeMsgBox.setMessageText(q),this.m_RunTimeMsgBox.setFirstButtonText(x),this.m_RunTimeMsgBox.setSecondButtonText(s),this.m_RunTimeMsgBox.registerSecondButtonHandler(cp.returnToQuiz)):(this.m_RunTimeMsgBox.setMessageText(p),this.m_RunTimeMsgBox.setFirstButtonText(u),this.m_RunTimeMsgBox.setSecondButtonText(v),this.m_RunTimeMsgBox.registerSecondButtonHandler(cp.defaultHandlerForRuntimeMessageBox)),this.m_RunTimeMsgBox.registerFirstButtonHandler(cp.forceSubmitAll));this.m_RunTimeMsgBox.show()},
GetPlaybackController:function(){return this.m_playbackController},SetPlaybackController:function(a){this.m_playbackController=a}};cp.ACAPQuizController=function(){cp.ACAPQuizController.baseConstructor.call(this)};cp.inherits(cp.ACAPQuizController,cp.QuizController);cp.ACAPQuizController.prototype.GetIsReportingEnabled=function(){return!0};
cp.PlaybackController=function(){this.m_QuizReportingData=cp.D.quizReportingData;this.ReportingOptionsEnum=cp.ReportingOptionsEnum;this.SlideViewsTypeEnum=cp.SlideViewsTypeEnum;this.QuizCriteriaEnum=cp.QuizCriteriaEnum;this.m_sendCourseDataWithInteractionData=!0;this.m_completionValueToSend="default";this.m_successSlideViewsType=this.m_completionSlideViewsType=this.m_completionQuizCriteria=this.m_successQuizCriteria=this.m_successCriteria=this.m_completionCriteria=this.m_slideViewsForCompletion=this.m_slideViewsForSuccess=
this.m_completionTrigger=-1;this.m_sendIncompleteToPassedOrFailed=!1;this.m_beginSendingSuccessStatus=!0;this.m_VarHandle=void 0;this.m_GoToQuizScopeActionExeuted=!1;this.m_UseRusticiAdapter=!0;this.m_lmsType="";this.m_AuthorwareDelimeter=void 0;this.m_sendScoreAsPercent=!1;this.m_trackingLevel=0;this.m_completionSlideViewPercentage=100;this.m_reportingOption=0;this.m_courseNode=this.m_courseName=this.m_departmentName=this.m_companyName=this.m_internalServerURL=this.m_emailAddress="";this.m_isTrackedFlag=
!1;this.m_trackingUrlEncodeVersionAndSession=!0;this.m_trackingCharsToNotUrlEncode="";this.m_commitDataOnEverySlide=!1;this.m_CmiExitNormalAfterCompletion=this.m_trackingSendResumeData=!0;this.m_loadingResumeData=this.m_trackingIsOn=!1;this.m_quizController=void 0;this.currentSlide="";this.currentSlideIndex=0;this.m_slideNames=[];this.verbose=this.m_isTracked=this.m_lastCourseDataSent=!1;this.m_GraphManager=void 0};
cp.PlaybackController.prototype={InitializePlaybackController:function(){var a=cp.movie.stage.slides;if(a){this.GetQuizController();for(var b=0;b<a.length;++b)this.AddSlideInfo(a[b])}},GetTotalUnansweredQuestions:function(){var a=this.GetQuizController();return!a?-1:a.GetTotalUnansweredQuestions()},AddQuestionSlideNames:function(){var a=cp.movie.stage.slides;if(a){var b=this.GetQuizController();if(b)for(var c=0;c<a.length;++c){var d=b.GetQuestionsOnSlide(c);d&&0<d.length&&b.AddQuestionSlideNames(a[c])}}},
HasQuiz:function(){var a=!1,b=this.GetQuizController();b&&(b=b.GetQuestionSlidesNames(),void 0!=b&&0<b.length&&(a=!0));return a},InitializeReportingVariables:function(){if(this.m_QuizReportingData){var a=this.m_QuizReportingData.lmsInitializationString;a&&""!=a&&(eval(a),(cp.IsRunningInACAP||cp.NotRunningInLMS)&&this.ResetReportingOptions())}},GetGraphManager:function(){if(cp.D.baq&&void 0!=cp.D.sgMgr){if(void 0==this.m_GraphManager){var a=void 0,b=this.GetQuizController();b&&(a=b.GetQuestionSlidesNames());
void 0!=a&&0<a.length&&(this.m_GraphManager=new cp.QuizSlideGraphManager)}return this.m_GraphManager}},GetLoadingResumeDataBln:function(){return this.m_loadingResumeData},SetLoadingResumeData:function(a){this.m_loadingResumeData=a},saveQuizState:function(a){a.writeNumber(cpInfoCurrentSlideIndex);for(var b=0;b<this.m_slideNames.length;++b){var c=this.m_slideNames[b],d=cp.D[c];if(d)if(a.writeBoolean(d.v),void 0!=d.pn){var e=cp.D[d.qs];a.writeString(d.pn);var f=999,d=cp.D[d.pn].pqs;if(e)for(e=0;e<d.length;++e)c==
d[e]&&(f=e);a.writeNumber(f)}else a.writeString(""),a.writeNumber(999)}e=cp.movie.playbackController.GetQuizController();b=cp.movie.playbackController.HasQuiz();e&&b&&e.saveState(a);c=[];f=cp.vm.varInfos.length;for(e=0;e<f;++e)(b=cp.vm.varInfos[e])&&!b.systemDefined&&c.push(b);e=0;f=c.length;a.writeNumber(f);for(e=0;e<f;++e)b=c[e],d=cp.vm.getVariableValue(b.name),null==d&&void 0==d&&(d=0),a.writeString(b.name),isNaN(d)?(a.writeNumber(0),a.writeString(d)):(a.writeNumber(1),a.writeNumber(d))},restoreQuizFromState:function(a){if(a&&
!(0>=a.toString().length)){for(var b=a.readNumber(),c=0;c<this.m_slideNames.length;++c){var d=cp.D[this.m_slideNames[c]];if(d){d.v=a.readBoolean();a.readString();var e=a.readNumber(),f=d.pn;f&&""!=f&&(e=cp.D[f].pqs[e],this.m_slideNames[c]=e,f=cp.movie.stage.slides[c],cp.movie.stage.slides[c]=e,-1!=f.indexOf("rq")&&(f=f.split("rq")[1],""!=f&&(cp.D[f]=cp.D[e])),cp.poolManager&&cp.poolManager.updateSlideData(e,c,d))}}cp.poolManager&&cp.poolManager.updateMainMovieData();cp.ContinueQuizLibraryInit();c=
cp.movie.playbackController.GetQuizController();d=cp.movie.playbackController.HasQuiz();c&&d&&c.restoreState(a);f=c=0;e=a.readNumber();for(c=0;c<e;++c)d=a.readString(),f=a.readNumber(),f=0==f?a.readString():a.readNumber(),cp.vm.hasOwnProperty(d)&&cp.vm.setVariableValue(d,f,!1);this.UpdateRestoredSlideIndex(b)}},UpdateRestoredSlideIndex:function(a){var b=!1;a>=cp.movie.stage.slides.length-1&&(b=!0);var c=cp.movie.playbackController.GetQuizController(),d=!1,e=!1;c&&(d=c.GetIsSlideJudged(a),e=c.GetIsSubmitAll());
!b&&(!e&&d)&&(a+=1);b=cp.D.project_main;if(0<=a&&(a<cp.movie.stage.slides.length&&b)&&(a=cp.movie.stage.slides[a]))if(a=cp.D[a])a=a.from,void 0!=a&&(b.currentFrame=a)},AddSlideInfo:function(a){this.m_slideNames||(this.m_slideNames=[]);this.m_slideNames.push(a)},GetNumSlides:function(){return!this.m_slideNames?0:this.m_slideNames.length},GetSlideNameAtIndex:function(a){if(this.m_slideNames&&0<=a&&a<this.m_slideNames.length)return this.m_slideNames[a]},GetSlideNames:function(){return this.m_slideNames},
LeaveCurrentSlide:function(a){this.verbose&&cp.log("CPQuizLibrary :: PlaybackController :: Calling LeaveCurrentSlide");this.m_quizController&&(void 0==a||0>a||this.currentSlideIndex!=a&&this.m_quizController.LeaveSlide(this.currentSlideIndex,a))},SetCurrentSlide:function(a){this.verbose&&cp.log("CPQuizLibrary :: QuizController :: inside SetCurrentSlide - "+a);var b=this.GetSlideNameAtIndex(a);b!=this.currentSlide&&(b!=this.currentSlide&&0<=a&&a<this.m_slideNames.length&&this.m_trackingAdapter&&this.GetIsTracked()&&
("EMAIL"!=this.m_lmsType.toUpperCase()&&"ACROBAT"!=this.m_lmsType.toUpperCase()&&"INTERNALSERVER"!=this.m_lmsType.toUpperCase())&&this.m_trackingAdapter.SendSlideView(a),this.currentSlide=b,this.currentSlideIndex=a,b=this.GetGraphManager(),void 0!=b&&b.updateCurrentBranch(a),this.m_quizController&&this.m_quizController.EnterCurrentSlide(a))},GetCurrentSlideIndex:function(){return this.currentSlideIndex},GetCurrentSlide:function(){return this.currentSlide},GetQuizController:function(){this.m_quizController||
(this.m_quizController=cp.IsRunningInACAP?new cp.ACAPQuizController:new cp.QuizController,this.m_quizController.InitializeQuizController(),this.m_quizController.SetPlaybackController(this));return this.m_quizController},IsRunningInConnect:function(){var a=cp.IsRunningInConnect();a&&(this.m_lmsType="BREEZE");return a},ClearPendingCalls:function(){this.m_trackingAdapter&&this.m_trackingAdapter.ClearPendingCalls()},LMSIsBreeze:function(){return this.IsRunningInConnect()},LMSIsAICC:function(){return"AICC"==
this.m_lmsType.toUpperCase()},LMSIsAlternateReporting:function(){return"ACROBAT"==this.m_lmsType.toUpperCase()||"INTERNALSERVER"==this.m_lmsType.toUpperCase()},GetTrackingData:function(){if(this.IsRunningInConnect())if(this.verbose&&cp.log("Playback controller :: GetTrackingData()"),cp.BreezeTrackingAdapterObj&&!cp.BreezeTrackingAdapterObj.IsTrackingDataLoaded())this.TurnOffTracking();else if(this.m_trackingAdapter&&this.m_trackingAdapter.GetTrackingData(),this.m_trackingAdapter&&this.m_trackingAdapter.IsTrackingDataLoaded()){this.m_trackingAdapter.GetLessonLocation();
var a=this.m_trackingAdapter.GetLessonData();this.verbose&&cp.log("Playback controller :: GetTrackingData() :: quizStateStr :: "+a)}else this.TurnOffTracking()},CreateTrackingAdapter:function(){this.verbose&&cp.log("Playback controller :: CreateTrackingAdapter() :"+this.m_lmsType);var a={},b=-1!=this.m_lmsType.toUpperCase().indexOf("SCORM");b&&(a.exitNormal=this.m_CmiExitNormalAfterCompletion,a.reportingOption=this.m_reportingOption);var c=!0,d=cp.D.quizReportingData;d&&(c=d.trackingSendResumeData);
cp.IsRunningInACAP?(this.m_trackingAdapter=new cp.TrackingAdapter,this.m_trackingAdapter.SetLessonDataTracked(c),this.m_trackingAdapter.SetAdapterSpecificData(a),this.m_trackingAdapter.Initialize(),window.onbeforeunload=cp.UnloadActivties):(this.m_trackingAdapter=this.IsRunningInConnect()?cp.BreezeTrackingAdapterObj?cp.BreezeTrackingAdapterObj:new cp.Breeze:this.LMSIsAlternateReporting()?new cp.InternalServerAdapter:new cp.SCORM_Rustici(b),window.onbeforeunload=cp.UnloadActivties,this.m_trackingAdapter?
this.m_trackingAdapter!=cp.BreezeTrackingAdapterObj&&(void 0!=c&&this.m_trackingAdapter.SetLessonDataTracked(c),this.m_trackingAdapter.SetAdapterSpecificData(a),this.m_trackingAdapter.Initialize(),this.m_trackingAdapter.IsInitialized()&&this.IsRunningInConnect()&&this.GetTrackingData()):this.m_trackingIsOn=this.m_loadingResumeData=!1)},TurnOnTracking:function(){this.verbose&&cp.log("Playback controller :: TurnOnTracking()");if(!this.m_trackingIsOn||cp.IsRunningInACAP)this.m_trackingIsOn=this.m_loadingResumeData=
!0,this.CreateTrackingAdapter()},TurnOffTracking:function(){this.verbose&&cp.log("Playback controller :: TurnOffTracking()");this.m_trackingIsOn&&(this.m_trackingIsOn=this.m_loadingResumeData=!1)},GetIsTracked:function(){return this.m_isTracked},SetIsTracked:function(a){if(cp.IsRunningInACAP)return this.TurnOnTracking();this.IsRunningInConnect()?a=!0:this.LMSIsAlternateReporting()||"undefined"==typeof cp.LMSDriverHolder&&(a=!1);this.verbose&&cp.log("Playback controller :: SetIsTracked()");a&&a!=this.m_isTracked?
this.TurnOnTracking():a||(a!=this.m_isTracked?this.TurnOffTracking():this.m_loadingResumeData=!1);this.m_isTracked=a},AllowedToGoToSlide:function(a,b){if(!this.m_quizController||a==b)return"";if(0>a||0>b)return"QUIZ_ERROR_BAD_SLIDE_NUM";var c=b<a;if(this.m_quizController.SubmitAllDialogShown(a,b))return"QUIZ_ERROR_SUBMIT_ALL";for(var d=a<b?1:-1,e="",f=a;;){if(f==b)return this.m_quizController.CanEnterSlide(b);e=this.m_quizController.CanLeaveSlide(f,c);if(""!=e)return e;f+=d}},GetTotalQuizScore:function(){if(this.m_quizController)return this.m_quizController.GetScore()},
GetTotalQuizMaxScore:function(){if(this.m_quizController)return this.m_quizController.GetMaxScore()},GetTotalQuizMinScore:function(){if(this.m_quizController)return this.m_quizController.GetMinScore()},GetTotalQuizLocation:function(){return this.currentSlideIndex},HasQuizzes:function(){return!this.m_quizController?!1:this.m_quizController.HasQuiz()},GetAllQuestionsAnswered:function(){return!this.m_quizController||!this.m_quizController.GetAllQuestionsAnswered()?!1:!0},GetAllQuizAttemptsFinished:function(){return!this.m_quizController||
!this.m_quizController.GetIsAttemptFinished()?!1:!0},GetAllQuizzesPassed:function(){return!this.m_quizController||!this.m_quizController.GetIsPassed()?!1:!0},GetNumberOfSlidesSeen:function(){var a=0;if(!this.m_slideNames)return!1;for(var b=0;b<this.m_slideNames.length;++b)cp.D[this.m_slideNames[b]].v&&a++;return a},GetPercentageSlidesSeen:function(){var a=this.GetGraphManager();if(void 0!=a)return a=a.getSlideViewPercentage(),"NaN"==a?0:a;if(!this.m_slideNames)return!1;a=this.m_slideNames.length;
if(0<a)return 100*(this.GetNumberOfSlidesSeen()/a)},GetAllSlidesSeen:function(){if(!this.m_slideNames)return!1;for(var a=0;a<this.m_slideNames.length;++a)if(!cp.D[this.m_slideNames[a]].v)return!1;return!0},GetAllQuizzesPassingScore:function(){return!this.m_quizController?!1:this.m_quizController.GetPassingScore()},GetIsQuizAttempted:function(){var a=!1;if(this.m_quizController)return a=this.m_quizController.GetQuizBranchAware()?this.m_quizController.GetAnyNonPreTestQuestionAnswered():this.m_quizController.GetAnyQuestionsAnswered()},
EvaluateQuizStatus:function(a){var b=!1;switch(a){case this.QuizCriteriaEnum.QuizIsPassed:this.GetAllQuizzesPassed()&&(b=!0);break;case this.QuizCriteriaEnum.QuizIsAttempted:b=this.GetIsQuizAttempted();break;case this.QuizCriteriaEnum.QuizIsPassedOrAttempLimitReached:if(this.GetAllQuizzesPassed())return!0;if(this.m_quizController&&this.m_quizController.quizNumStarts<this.m_quizController.GetNumberOfQuizAttempts())break;return!0;default:this.verbose&&cp.log("Illegal parameter to EvaluateQuizStatus: "+
a)}return b},EvaluateViewStatus:function(a,b){var c=!1,d=this.GetNumberOfSlidesSeen();if(this.m_slideNames&&0<this.m_slideNames.length)totalSlides=this.m_slideNames.length;else return this.verbose&&cp.log("In EvaluateViewStatus,totalSlides not obtained or found to be zero. Returning."),!1;switch(b){case this.SlideViewsTypeEnum.percent:this.GetPercentageSlidesSeen()>=a&&(c=!0);break;case this.SlideViewsTypeEnum.number:d>=a&&(c=!0);break;default:this.verbose&&cp.log("Illegal arg to EvaluateViewStatus:"+
a+","+b)}return c},EvaluateStatus:function(a){var b=!1,c=this.QuizCriteriaEnum,d=this.SlideViewsTypeEnum,e=0,f=this.ReportingOptionsEnum;if("completion"==a)c=this.m_completionQuizCriteria,d=this.m_completionSlideViewsType,e=this.m_slideViewsForCompletion,f=this.m_completionCriteria;else if("success"==a)c=this.m_successQuizCriteria,d=this.m_successSlideViewsType,e=this.m_slideViewsForSuccess,f=this.m_successCriteria;else return this.verbose&&cp.log("Illegal status type to evaluateStatus:"+a),!1;switch(f){case this.ReportingOptionsEnum.quiz_only:b=
this.EvaluateQuizStatus(c);break;case this.ReportingOptionsEnum.quiz_and_views:this.EvaluateQuizStatus(c)&&this.EvaluateViewStatus(e,d)&&(b=!0);break;case this.ReportingOptionsEnum.views_only:b=this.EvaluateViewStatus(e,d);break;case this.ReportingOptionsEnum.access:b=1<=this.GetNumberOfSlidesSeen();break;default:this.verbose&&cp.log("Illegal value of criteria in evaluateStatus():"+a)}return b},IsSlideVisited:function(a){if(a=cp.D[a])return a.v},ShouldSendSuccessStatus:function(){var a=!1;if(this.m_successCriteria==
this.ReportingOptionsEnum.access)a=1<=this.GetNumberOfSlidesSeen();else if(this.m_successCriteria==this.ReportingOptionsEnum.quiz_only){if(a=!0,this.m_quizController){var b=this.m_slideNames[this.m_quizController.GetLastSlideInQuizIndex()];this.IsSlideVisited(b)||(a=!1)}}else if(this.m_successCriteria==this.ReportingOptionsEnum.quiz_and_views){if(this.m_quizController&&(b=this.m_slideNames[this.m_quizController.GetLastSlideInQuizIndex()],!this.IsSlideVisited(b)))return a;if(!this.GetAllQuizzesPassed()||
this.IsSlideVisited(this.m_slideNames[this.m_slideNames.length-1]))a=!0}else this.m_successCriteria==this.ReportingOptionsEnum.views_only&&(a=this.IsSlideVisited(this.m_slideNames[this.m_slideNames.length-1]));return a},GetTotalQuizStatusAll:function(){var a={isPassed:!1,isCompleted:!1,sendCompletion:!0,sendNothing:!1},b=this.ReportingOptionsEnum,b=this.LMSIsBreeze()?this.ReportingOptionsEnum.breeze:this.GetReportingOption();switch(b){case this.ReportingOptionsEnum.breeze:this.HasQuiz()?this.GetAllQuizAttemptsFinished()?
(a.isPassed=this.GetAllQuizzesPassed()?!0:!1,a.isCompleted=!0,a.sendCompletion=!1):(a.isPassed=!1,a.isCompleted=!1,a.sendCompletion=!0):(this.GetAllSlidesSeen()?(a.isPassed=!0,a.isCompleted=!0):(a.isPassed=!1,a.isCompleted=!1),a.sendCompletion=!0);break;case this.ReportingOptionsEnum.completion_success:a.sendCompletion=!1;a.isCompleted=this.EvaluateStatus("completion");a.isPassed=this.EvaluateStatus("success");break;case this.ReportingOptionsEnum.completion_only:a.sendCompletion=!0;a.isCompleted=
this.EvaluateStatus("completion");break;case this.ReportingOptionsEnum.incompleteToPassedOrFailed:a.isPassed=this.EvaluateStatus("success");this.m_beginSendingSuccessStatus=this.ShouldSendSuccessStatus();break;case this.ReportingOptionsEnum.access:break;default:1>this.GetNumberOfSlidesSeen()?(a.isPassed=!1,a.isCompleted=!1):(a.isPassed=!0,a.isCompleted=!0),a.sendCompletion=!0}return a},GetTotalQuizPassed:function(){return this.GetTotalQuizStatusAll().isPassed?"passed":"failed"},GetTotalQuizCompleted:function(){return this.GetTotalQuizStatusAll().isCompleted?
"completed":"incomplete"},GetTotalQuizSendCompletion:function(){var a=!0;switch(this.m_completionValueToSend){case "completion":a=!0;break;case "passed":a=!1;break;default:a=this.GetTotalQuizStatusAll().sendCompletion}return a},GetTotalQuizState:function(){return""},GetProgressMeasure:function(){return 0==this.m_slideNames.length?0:this.GetNumberOfSlidesSeen()/this.m_slideNames.length},ShouldFlushCourseData:function(a,b){a?a.printCourseData():this.verbose&&cp.log("lastData is undefined");b?(this.verbose&&
cp.log("thisData "),b.printCourseData()):this.verbose&&cp.log("thisData is undefined");if("EMAIL"==this.m_lmsType.toUpperCase()||"ACROBAT"==this.m_lmsType.toUpperCase()||"INTERNALSERVER"==this.m_lmsType.toUpperCase())return this.verbose&&cp.log("return false0"),!1;if(void 0==b)return this.verbose&&cp.log("return false1"),!1;if(void 0==a)return this.verbose&&cp.log("return true0"),!0;if(b.quizMinScore!=a.quizMinScore||b.quizMaxScore!=a.quizMaxScore||b.sendScoreAsPercent!=a.sendScoreAsPercent||b.quizSendCompletion!=
a.quizSendCompletion)return this.verbose&&cp.log("return true1"),!0;if(b.quizScore!=a.quizScore||b.quizCompleted!=a.quizCompleted||b.quizPassed!=a.quizPassed)return this.verbose&&cp.log("return true2"),!0;this.verbose&&cp.log("return false2");return!1},ShouldSendCourseData:function(a,b){a?(this.verbose&&cp.log("lastData "),a.printCourseData()):this.verbose&&cp.log("lastData is undefined");b?(this.verbose&&cp.log("thisData "),b.printCourseData()):this.verbose&&cp.log("thisData is undefined");if("EMAIL"==
this.m_lmsType.toUpperCase()||"ACROBAT"==this.m_lmsType.toUpperCase()||"INTERNALSERVER"==this.m_lmsType.toUpperCase())return this.verbose&&cp.log("return false -2"),!1;if(void 0==b)return this.verbose&&cp.log("return false -1"),!1;if(void 0==a)return this.verbose&&cp.log("return true0"),!0;this.verbose&&cp.log("function shouldSendCourseData 33");if(b.slideCount>=a.slideCount+10)return this.verbose&&cp.log("return true1"),!0;if(b.quizMinScore!=a.quizMinScore||b.quizMaxScore!=a.quizMaxScore||b.sendScoreAsPercent!=
a.sendScoreAsPercent||b.quizSendCompletion!=a.quizSendCompletion)return this.verbose&&cp.log("return true2"),!0;if(b.quizScore!=a.quizScore||b.quizCompleted!=a.quizCompleted||b.quizPassed!=a.quizPassed)return this.verbose&&cp.log("return true3"),!0;if(b.quizLocation!=a.quizLocation)return!0;this.verbose&&cp.log("return false4");return!1},SendSuspendDataOnly:function(){this.verbose&&cp.log("PlaybackController::SendSuspendDataOnly()");var a=cp.createAndGetDataChunk();this.GetIsTracked()&&this.m_trackingAdapter&&
this.m_trackingAdapter.SendSuspendData(a)},CanSendCourseData:function(){return!0},GetCourseData:function(){var a={printCourseData:function(){}};a.slideCount=this.GetCurrentSlideIndex();a.quizScore=this.GetTotalQuizScore();a.quizMinScore=this.GetTotalQuizMinScore();a.quizMaxScore=this.GetTotalQuizMaxScore();a.sendScoreAsPercent=this.GetSendScoreAsPercent();a.quizLocation=""+this.GetTotalQuizLocation()+"";a.quizCompleted=this.GetTotalQuizCompleted();a.quizPassed=this.GetTotalQuizPassed();a.quizSendCompletion=
this.GetTotalQuizSendCompletion();a.quizTime=void 0;a.quizState=this.GetTotalQuizState();a.progressMeasure=this.GetProgressMeasure();a.sendIncompleteToPassedOrFailed=this.m_sendIncompleteToPassedOrFailed;a.beginSendingSuccessStatus=this.m_beginSendingSuccessStatus;return a},SendCourseData:function(a){var b=this.GetQuizController();b&&b.GetIsSubmitAll()&&b.quizInProgress&&!b.m_submittedAllQuestions?this.SendSuspendDataOnly():this.CanSendCourseData()&&(this.SetBreezeDefaults(),this.m_trackingAdapter&&
this.GetIsTracked()&&(b=this.GetCourseData(),a=a||this.ShouldFlushCourseData(this.m_lastCourseDataSent,b),this.verbose&&cp.log("sendCourseData flush "+a),a||this.ShouldSendCourseData(this.m_lastCourseDataSent,b)?(this.m_lastCourseDataSent=b,this.verbose&&cp.log("sending course data flush "+a),this.m_trackingAdapter.SendTrackingData(b.quizScore,b.quizMinScore,b.quizMaxScore,b.sendScoreAsPercent,b.quizLocation,b.quizCompleted,b.quizPassed,b.quizSendCompletion,b.quizTime,b.quizState,b.progressMeasure,
b.sendIncompleteToPassedOrFailed,b.beginSendingSuccessStatus),a&&this.m_trackingAdapter.Flush()):this.verbose&&cp.log("NOT sending course data")))},SendQuestionEventData:function(a){this.verbose&&cp.log("PlaybackController::SendQuestionData()");var b=0,c=this.GetQuizController();c&&(b=c.GetMaxScore());a={slideNumber:a.getslideNum(),questionNumber:a.getquestionNumInQuiz(),questionScoringType:a.getQuestionScoringType(),interactionType:a.getinteractionType(),weighting:a.getWeighting(),questionAnswered:!1==
a.getanswersIncomplete(),questionAnsweredCorrectly:a.getansweredCorrectly(),questionMaxScore:b,questionScore:a.getscoredPoints(),questionMaxAttempts:a.getmaxTries(),infiniteAttempts:9999==a.getmaxTries(),questionAttempts:a.getnumTries(),interactionID:a.getinteractionID(),quizName:"QuizName",objectiveID:a.getobjectiveID(),selectedAnswer:a.m_chosenAnswersAsString};cp.em.fireEvent("CPQuestionSubmit",a)},SetBreezeDefaults:function(){this.LMSIsBreeze()&&(this.m_completionValueToSend="default",this.m_completionTrigger=
this.ReportingOptionsEnum.breeze,this.m_completionSlideViewPercentage=100,this.m_sendScoreAsPercent=!1,this.m_trackingLevel="interactions",this.m_trackingUrlEncodeVersionAndSession=!0,this.m_trackingCharsToNotUrlEncode="",this.m_trackingSendResumeData=!0)},SendInteractionData:function(a,b){this.verbose&&cp.log("PlaybackController::SendInteraction()");this.SetBreezeDefaults();if(this.GetIsTracked()&&"interactions"==this.m_trackingLevel){var c=this.GetQuizController();c&&c.GetScore();if(this.LMSIsAICC()||
this.IsRunningInConnect())this.m_trackingAdapter&&this.m_trackingAdapter.SendInteractionData(a.m_interactionID,a.m_objectiveID,a.m_interactionType,a.m_correctAnswersAsString,a.m_chosenAnswersAsString,a.m_isCorrectAsString,a.m_weighting,a.m_latencyAsSeconds,a.m_curDateAsString2,a.m_curTimeAsSecondsSinceMidnight,b);else{this.LMSIsAlternateReporting()&&(escapeAnswers=!1);var d=a.m_correctAnswersAsString;if(this.LMSIsAlternateReporting()&&c){var e=c.GetQuestionsOnSlide(this.currentSlide);e&&0!=e.length&&
(e=e[0])&&e.GetIsSurvey()&&(d=" ");this.m_trackingAdapter&&this.m_trackingAdapter.SetCurrentAttempt(c.quizNumStarts)}this.m_trackingAdapter&&this.m_trackingAdapter.SendInteractionData(a.m_interactionID,a.m_objectiveID,a.m_interactionType,d,a.m_chosenAnswersAsString,a.m_isCorrectAsString,a.m_weighting,a.m_latencyAsSeconds,a.m_curDateAsString,a.m_curTimeAsSecondsSinceMidnight,b)}}},OnEndQuiz:function(){this.GetIsTracked()&&("EMAIL"!=this.m_lmsType.toUpperCase()&&"ACROBAT"!=this.m_lmsType.toUpperCase()&&
"INTERNALSERVER"!=this.m_lmsType.toUpperCase())&&this.SendCourseData(!0)},SendEmailResults:function(){this.GetIsTracked()&&"EMAIL"==this.m_lmsType.toUpperCase()&&(this.verbose&&cp.log("sending course data from sendEmailResults"),this.SendCourseData(!0))},PostQuizResults:function(){if(this.GetIsTracked()&&("ACROBAT"==this.m_lmsType.toUpperCase()||"INTERNALSERVER"==this.m_lmsType.toUpperCase()))this.verbose&&cp.log("sending course data from PostQuizResults"),this.CanPostResults()&&this.SendCourseData(!0)},
CanPostResults:function(){return this.GetAllQuizzesPassed()||this.m_quizController&&(this.m_quizController.m_numStarts>=this.m_quizController.m_numQuizAttemptsAllowed||this.m_quizController.GetIsInReviewMode())?!0:!1},DoSendLMSTrackingData:function(){this.GetIsTracked()&&"EMAIL"!=this.m_lmsType.toUpperCase()&&"ACROBAT"!=this.m_lmsType.toUpperCase()&&"INTERNALSERVER"!=this.m_lmsType.toUpperCase()?this.SendCourseData(!this.LMSIsAICC()||!this.m_playbackController.IsRunningInConnect()):this.SendCourseData(!1)},
RestoreQuizState:function(){this.verbose&&cp.log("PlaybackController :: RestoreQuizState()");var a=this.GetQuizController();a&&a.GetIsReportingEnabled()&&(cp.resumeValuesFromDataChunk(),cp.movie.resumeMovieSpecificValue())},GetRestoredQuizSlide:function(){this.verbose&&cp.log("PlaybackController :: GoToRestoredQuizSlide()");var a=cp.D.project_main.currentFrame;this.verbose&&cp.log("Restoring frame :: "+a);return a},DoPollLMSGetTrackingDataLoaded:function(){this.GetIsTracked()&&(this.m_trackingAdapter?
this.m_trackingAdapter.IsTrackingDataLoaded()&&(this.m_trackingAdapter.GetLessonLocation(),this.m_trackingAdapter.GetLessonData()):(this.verbose&&cp.log("_doPollLMSGetTrackingDataLoaded else"),turnOffTracking()))},ExitCourse:function(){this.verbose&&cp.log("function exitCourse 1 "+isTracked);this.m_trackingAdapter&&this.GetIsTracked()?(this.verbose&&cp.log("function exitCourse isTracked "),"EMAIL"!=this.m_lmsType.toUpperCase()&&("ACROBAT"!=this.m_lmsType.toUpperCase()&&"INTERNALSERVER"!=this.m_lmsType.toUpperCase())&&
(this.verbose&&cp.log("function exitCourse sendCourseData "),this.SendCourseData(!0)),this.m_trackingAdapter.Finish()):this.verbose&&cp.log("doFinalExit();")},GetSendCourseDataWithInteractionData:function(){return this.m_sendCourseDataWithInteractionData},GetLMSType:function(){return this.m_lmsType},SetLMSType:function(){this.verbose&&cp.log("SetLMSType");switch(this.m_QuizReportingData.lmsType){case 1:this.m_lmsType="SCORM2004";break;case 2:this.m_lmsType="SCORM12";break;case 3:this.m_lmsType="Authorware";
break;case 4:this.m_lmsType="AICC";break;case 5:this.m_lmsType="Questionmark";break;case 6:this.m_lmsType="email";break;case 7:this.m_lmsType="AICC";break;case 8:this.m_lmsType="Acrobat";break;case 9:this.m_lmsType="InternalServer";break;default:this.m_lmsType=""}},SetAuthorwareDelimeter:function(){this.verbose&&cp.log("SetAuthorwareDelimeter");this.m_AuthorwareDelimeter=this.m_QuizReportingData.authorwareDelimeter},SetSendScoreAsPercent:function(){this.verbose&&cp.log("SetSendScoreAsPercent");this.m_sendScoreAsPercent=
this.m_QuizReportingData.sendScoreAsPercent?!0:!1},GetSendScoreAsPercent:function(){return this.IsRunningInConnect()?!1:this.m_sendScoreAsPercent},SetSendCompletionFlag:function(){this.m_completionValueToSend=this.m_QuizReportingData.sendCompletionFlag?"completion":"passed"},GetSendCompletionFlag:function(){return this.m_completionValueToSend},SetTrackingLevel:function(){this.verbose&&cp.log("SetTrackingLevel");switch(this.m_QuizReportingData.trackingLevel){case 0:this.m_trackingLevel="interactions";
break;case 2:this.m_trackingLevel="score"}},SetSlideViewPercentage:function(){this.verbose&&cp.log("SetSlideViewPercentage");this.m_completionSlideViewPercentage=this.m_QuizReportingData.slideViewPercentage},SetReportingOption:function(){this.verbose&&cp.log("SetReportingOption");switch(this.m_QuizReportingData.reportingOption){case 0:this.m_reportingOption=this.ReportingOptionsEnum.completion_success;break;case 1:this.m_reportingOption=this.ReportingOptionsEnum.completion_only;break;case 2:this.m_reportingOption=
this.ReportingOptionsEnum.incompleteToPassedOrFailed;this.m_sendIncompleteToPassedOrFailed=!0;break;case 4:this.m_reportingOption=this.ReportingOptionsEnum.breeze;break;default:this.m_reportingOption=""}this.m_completionTrigger=this.m_reportingOption},GetReportingOption:function(){return this.m_reportingOption},SetSlideViewsForSuccess:function(){this.verbose&&cp.log("SetSlideViewsForSuccess");this.m_slideViewsForSuccess=this.m_QuizReportingData.slideViewsForSuccess;switch(this.m_QuizReportingData.slideViewsTypeForSuccess){case 0:this.m_successSlideViewsType=
this.SlideViewsTypeEnum.percent;break;case 1:this.m_successSlideViewsType=this.SlideViewsTypeEnum.number;break;default:this.m_successSlideViewsType=this.SlideViewsTypeEnum.percent}},SetSlideViewsForCompletion:function(){this.verbose&&cp.log("SetSlideViewsForCompletion");this.m_slideViewsForCompletion=this.m_QuizReportingData.slideViewsForCompletion;switch(this.m_QuizReportingData.slideViewsTypeForCompletion){case 0:this.m_completionSlideViewsType=this.SlideViewsTypeEnum.percent;break;case 1:this.m_completionSlideViewsType=
this.SlideViewsTypeEnum.number;break;default:this.m_completionSlideViewsType=this.SlideViewsTypeEnum.percent}},SetQuizCriteriaForCompletion:function(){this.verbose&&cp.log("SetQuizCriteriaForCompletion");switch(this.m_QuizReportingData.quizCriteriaForCompletion){case 0:this.m_completionQuizCriteria=this.QuizCriteriaEnum.QuizIsPassed;break;case 1:this.m_completionQuizCriteria=this.QuizCriteriaEnum.QuizIsAttempted;break;case 2:this.m_completionQuizCriteria=this.QuizCriteriaEnum.QuizIsPassedOrAttempLimitReached;
break;default:this.verbose&&cp.log("Value of quizCriteria not valid in setQuizCriteriaForCompletion()!"),this.m_completionQuizCriteria=this.QuizCriteriaEnum.QuizIsPassed}},SetQuizCriteriaForSuccess:function(){this.verbose&&cp.log("SetQuizCriteriaForSuccess");switch(this.m_QuizReportingData.quizCriteriaForSuccess){case 0:this.m_successQuizCriteria=this.QuizCriteriaEnum.QuizIsPassed;break;case 1:this.m_successQuizCriteria=this.QuizCriteriaEnum.QuizIsAttempted;break;case 2:this.m_successQuizCriteria=
this.QuizCriteriaEnum.QuizIsPassedOrAttempLimitReached;break;default:this.verbose&&cp.log("Value of quizCriteria not valid in setQuizCriteriaForSuccess()!"),this.m_successQuizCriteria=this.QuizCriteriaEnum.QuizIsPassed}},SetCompletionCriteria:function(){this.verbose&&cp.log("SetCompletionCriteria");switch(this.m_QuizReportingData.completionCriteria){case 0:this.m_completionCriteria=this.ReportingOptionsEnum.breeze;break;case 1:this.m_completionCriteria=this.ReportingOptionsEnum.quiz_only;break;case 2:this.m_completionCriteria=
this.ReportingOptionsEnum.quiz_and_views;break;case 3:this.m_completionCriteria=this.ReportingOptionsEnum.views_only;break;case 4:this.m_completionCriteria=this.ReportingOptionsEnum.access;break;case 5:this.m_completionCriteria=this.ReportingOptionsEnum.completion_success;break;case 6:this.m_completionCriteria=this.ReportingOptionsEnum.incompleteToPassedOrFailed;break;default:this.verbose&&cp.log("Invalid criteria recd in setOnlySuccessCriteria")}},SetSuccessCriteria:function(){this.verbose&&cp.log("SetSuccessCriteria");
switch(this.m_QuizReportingData.successCriteria){case 0:this.m_successCriteria=this.ReportingOptionsEnum.breeze;break;case 1:this.m_successCriteria=this.ReportingOptionsEnum.quiz_only;break;case 2:this.m_successCriteria=this.ReportingOptionsEnum.quiz_and_views;break;case 3:this.m_successCriteria=this.ReportingOptionsEnum.views_only;break;case 4:this.m_successCriteria=this.ReportingOptionsEnum.access;break;case 5:this.m_successCriteria=this.ReportingOptionsEnum.completion_success;break;case 6:this.m_successCriteria=
this.ReportingOptionsEnum.incompleteToPassedOrFailed;break;default:this.verbose&&cp.log("Invalid criteria recd in setOnlySuccessCriteria")}},SetEmailAddress:function(){this.verbose&&cp.log("SetEmailAddress");this.m_emailAddress=this.m_QuizReportingData.emailAddress},SetInternalServerURL:function(){this.verbose&&cp.log("SetInternalServerURL");this.m_internalServerURL=this.m_QuizReportingData.internalServerURL},SetDirectory:function(){this.verbose&&cp.log("SetDirectory");this.m_companyName=this.m_QuizReportingData.companyName;
this.m_departmentName=this.m_QuizReportingData.departmentName;this.m_courseName=this.m_QuizReportingData.courseName},SetCourseNode:function(){this.verbose&&cp.log("SetCourseNode");this.m_courseNode=this.m_QuizReportingData.courseNode},GetIsTrackedFlag:function(){return this.m_isTrackedFlag},SetIsTrackedFlag:function(){this.verbose&&cp.log("SetIsTrackedFlag");this.m_isTrackedFlag=this.m_QuizReportingData.isTrackedFlag},SetTrackingUrlEncodeVersionAndSession:function(){this.verbose&&cp.log("SetTrackingUrlEncodeVersionAndSession");
this.m_trackingSendResumeData=this.m_QuizReportingData.trackingUrlEncodeVersionAndSession?!0:!1},SetTrackingCharsToNotUrlEncode:function(){this.verbose&&cp.log("SetTrackingCharsToNotUrlEncode");this.m_trackingCharsToNotUrlEncode=this.m_QuizReportingData.trackingCharsToNotUrlEncode},SetCommitDataOnEverySlide:function(){this.verbose&&cp.log("SetOptimizeCommitData");this.m_commitDataOnEverySlide=this.m_QuizReportingData.commitDataOnEverySlide?!0:!1},SetTrackingSendResumeData:function(){this.verbose&&
cp.log("SetTrackingSendResumeData");this.m_trackingSendResumeData=this.m_QuizReportingData.trackingSendResumeData?!0:!1},SetCmiExitNormalAfterCompletion:function(){this.verbose&&cp.log("SetCmiExitNormalAfterCompletion");this.m_CmiExitNormalAfterCompletion=this.m_QuizReportingData.cmiExitNormalAfterCompletion},ResetReportingOptions:function(){this.m_sendCourseDataWithInteractionData=!1;this.m_completionValueToSend="default";this.m_completionTrigger=cp.ReportingOptionsEnum.completion_success;this.m_slideViewsForCompletion=
this.m_slideViewsForSuccess=0;this.m_successCriteria=this.m_completionCriteria=cp.ReportingOptionsEnum.access;this.m_completionQuizCriteria=this.m_successQuizCriteria=cp.QuizCriteriaEnum.QuizIsPassed;this.m_successSlideViewsType=this.m_completionSlideViewsType=cp.SlideViewsTypeEnum.percent;this.m_UseRusticiAdapter=this.m_beginSendingSuccessStatus=this.m_sendIncompleteToPassedOrFailed=!1;this.m_lmsType="";this.m_sendScoreAsPercent=!1;this.m_trackingLevel=0;this.m_completionSlideViewPercentage=100;
this.m_reportingOption=cp.ReportingOptionsEnum.completion_success;this.m_courseNode=this.m_courseName=this.m_departmentName=this.m_companyName=this.m_internalServerURL=this.m_emailAddress="";this.m_isTrackedFlag=!1;this.m_trackingUrlEncodeVersionAndSession=!0;this.m_trackingCharsToNotUrlEncode="";this.m_isTracked=this.m_loadingResumeData=this.m_trackingIsOn=this.m_CmiExitNormalAfterCompletion=this.m_trackingSendResumeData=this.m_commitDataOnEverySlide=!1}};
cp.ACAPPlaybackController=function(){cp.ACAPPlaybackController.baseConstructor.call(this);this.ResetReportingOptions()};cp.inherits(cp.ACAPPlaybackController,cp.PlaybackController);
cp.ACAPPlaybackController.prototype.ResetReportingOptions=function(){this.m_sendCourseDataWithInteractionData=!0;this.m_completionValueToSend="default";this.m_completionTrigger=cp.ReportingOptionsEnum.completion_success;this.m_slideViewsForSuccess=window.cpAPIInterface.slideViewsForSuccess;this.m_slideViewsForCompletion=window.cpAPIInterface.slideViewsForCompletion;this.m_completionCriteria=window.cpAPIInterface.completionCriteria;this.m_successCriteria=window.cpAPIInterface.successCriteria;this.m_successQuizCriteria=
window.cpAPIInterface.quizCriteriaForSuccess;this.m_completionQuizCriteria=window.cpAPIInterface.quizCriteriaForCompletion;this.m_completionSlideViewsType=window.cpAPIInterface.slideViewsTypeForCompletion;this.m_successSlideViewsType=window.cpAPIInterface.slideViewsTypeForSuccess;this.m_sendIncompleteToPassedOrFailed=!1;this.m_beginSendingSuccessStatus=!0;this.m_UseRusticiAdapter=!1;this.m_lmsType="";this.m_sendScoreAsPercent=!1;this.m_trackingLevel=0;this.m_completionSlideViewPercentage=100;this.m_reportingOption=
cp.ReportingOptionsEnum.completion_success;this.m_courseNode=this.m_courseName=this.m_departmentName=this.m_companyName=this.m_internalServerURL=this.m_emailAddress="";this.m_trackingUrlEncodeVersionAndSession=this.m_isTrackedFlag=!0;this.m_trackingCharsToNotUrlEncode="";this.m_isTracked=this.m_loadingResumeData=this.m_trackingIsOn=this.m_CmiExitNormalAfterCompletion=this.m_commitDataOnEverySlide=!0};
cp.TrackingAdapter=function(){this.m_trackingAdapterType={};this.m_trackingDataLoaded_bln=this.m_initialized=!1;this.m_escapeAICCvs_bln=this.m_lessonDataTracked_bln=this.m_interactionDataTracked_bln=!0;this.m_ignoreEscapeList_str="";this.m_timer_int=this.m_currentAttempt=0;this.m_timer_str="";this.m_score_tot=this.m_score_pass=this.m_score_scaled_cp=this.m_score_max=this.m_score_min=this.m_score_raw=0;this.m_success_status=this.m_time="";this.m_statusType_int=1;this.m_exit=this.m_entry=this.m_credit=
this.m_student_name=this.m_student_id=this.m_lesson_mode="";this.m_progressMeasure=0;this.m_interaction_ary=[];this.m_comments=this.m_comments_from_lms=this.m_launch_data=this.m_vendor_data=this.m_suspend_data=this.m_lesson_data=this.m_lessonLocation="";this.m_lesson_status=void 0;this.m_lesson_status_array=[];this.m_score_array=[];this.m_mastery_score=0;this.m_time_limit_action=this.m_max_time_allowed="";this.m_isRDStandAlone=this.m_isRDPreview=!1;this.m_adapterReportingVariables=cp.ReportingVariables.split(",");
this.verbose=!1};
cp.TrackingAdapter.prototype={GetInteractionArray:function(){return this.m_interaction_ary},GetCurrentAttempt:function(){return this.m_currentAttempt},SetCurrentAttempt:function(a){this.m_currentAttempt=a},Initialize:function(){this.IsInitialized()||this.SetInitialized("true")},SetInitialized:function(a){"true"==a?a=!0:"false"==a&&(a=!1);this.m_initialized=a},IsInitialized:function(){return this.m_initialized},IsInteractionDataTracked:function(){return this.m_interactionDataTracked_bln},IsLessonDataTracked:function(){return this.m_lessonDataTracked_bln},
IsTrackingDataLoaded:function(){return this.m_trackingDataLoaded_bln},IsAICCvsEscaped:function(){return this.m_escapeAICCvs_bln},GetTrackingAdapterType:function(){return this.m_trackingAdapterType},SetTrackingAdapterType:function(a,b){this.m_trackingAdapterType.type_int=a;this.m_trackingAdapterType.type_str=b},Flush:function(){},Finish:function(){},GetInteractionDataTracked:function(){return this.m_interactionDataTracked_bln},GetLessonDataTracked:function(){return this.m_lessonDataTracked_bln},GetEscapeAICCvs:function(){return this.m_escapeAICCvs_bln},
GetIgnoreEscapeList:function(){return this.m_ignoreEscapeList_str},SetInteractionDataTracked:function(a){this.m_interactionDataTracked_bln=a},SetLessonDataTracked:function(a){this.m_lessonDataTracked_bln=a},SetEscapeAICCvs:function(a){this.m_escapeAICCvs_bln=a},SetIgnoreEscapeList:function(a){this.m_ignoreEscapeList_str=a},SetTrackingDataLoaded:function(a){return this.m_trackingDataLoaded_bln=a},SetTrackingFinished:function(){this.SetInitialized(!1);this.SetTrackingDataLoaded(!1)},SetStatusType:function(a){this.m_statusType_int=
a},GetStatusType:function(){return this.m_statusType_int},GetScore:function(a){var b=this.GetScoreRaw();""==b&&(b=" ");if(void 0==a||!1==a)""!=this.GetScoreMax()&&""!=this.GetScoreMin()&&(b=b+","+this.GetScoreMax()+","+this.GetScoreMin());return b},GetScoreRaw:function(){void 0==this.m_score_raw&&(this.m_score_raw="");return this.m_score_raw},GetScoreMax:function(){if(void 0==this.m_score_max||""==this.m_score_max||" "==this.m_score_max)this.m_score_max="";return this.m_score_max},GetScoreMin:function(){if(void 0==
this.m_score_min||""==this.m_score_min||" "==this.m_score_min)this.m_score_min="";return this.m_score_min},GetScoreScaled:function(){if(void 0==this.m_score_scaled_cp||""==this.m_score_scaled_cp||" "==this.m_score_scaled_cp)this.m_score_scaled_cp=1;return this.m_score_scaled_cp},GetScorePass:function(){return this.m_score_pass},GetScoreTot:function(){return this.m_score_tot},GetTimeInSession:function(){return this.m_time},GetLessonLocation:function(){if(void 0==this.m_lessonLocation||""==this.m_lessonLocation)this.m_lessonLocation=
" ";return this.m_lessonLocation},GetLessonStatus:function(){void 0==this.m_lesson_status&&(this.m_lesson_status="incomplete");return this.m_lesson_status},GetSuccessStatus:function(){return this.m_success_status},GetLessonMode:function(){return this.m_lesson_mode},GetStudentID:function(){return this.m_student_id},GetStudentName:function(){return this.m_student_name},GetCredit:function(){return this.m_credit},GetEntry:function(){return this.m_entry},GetProgressMeasure:function(){return this.m_progressMeasure},
SetScore:function(a,b,c){void 0!=a&&this.SetScoreRaw(a);void 0!=b&&this.SetScoreMin(b);void 0!=c&&this.SetScoreMax(c);void 0!=c&&0!=c&&void 0!=a?this.SetScoreScaled(a/c):void 0!=a&&this.SetScoreScaled(a/100)},ValidateScore:function(a){switch(typeof a){case "null":a=void 0;break;case "string":a=Number(a)==a?Number(a):void 0;break;case "number":a=isNaN(a)?void 0:a;break;default:a=void 0}void 0!=a?(a=this.RoundDecimals(a,2),a=a.toString()):a=" ";return a},SetScoreRaw:function(a){this.m_score_raw=this.ValidateScore(a)},
SetScoreMax:function(a){this.m_score_max=this.ValidateScore(a)},SetScoreMin:function(a){this.m_score_min=this.ValidateScore(a)},SetScoreScaled:function(a){this.m_score_scaled_cp=this.ValidateScore(a)},SetScorePass:function(a){this.m_score_pass=a},SetScoreTot:function(a){this.m_score_tot=a},SetProgressMeasure:function(a){0>a||1<a||(this.m_progressMeasure=a)},SetTimeInSession:function(a){void 0==a||""==a||null==a?(a=(new Date).getTime()-cp.movie.startTime.getTime(),a=this.FormatTime(Math.floor(a/1E3))):
typeof("number"==a)&&(a=this.FormatTime(a));this.timer_str=this.m_time=a},SetLessonLocation:function(a){this.m_lessonLocation=a},SetLessonStatus:function(a,b){this.m_lesson_status=!a||"n"==a.substring(0,1)||""==a||void 0==a||" "==a?"incomplete":a;void 0!=b&&(this.m_success_status=b)},SetStudentID:function(a){this.m_student_id=a},SetStudentName:function(a){this.m_student_name=a},SetCredit:function(a){this.m_credit=a},GetLessonData:function(){(void 0==this.m_lesson_data||!1==this.IsLessonDataTracked())&&
this.SetLessonData("");return this.m_lesson_data},SetLessonMode:function(a){this.m_lesson_mode=a},SetLessonData:function(a){this.m_lesson_data=a},GetVendorData:function(){return this.m_vendor_data},SetVendorData:function(a){this.m_vendor_data=a},GetLessonStatusArray:function(){return this.m_lesson_status_array},GetScoreArray:function(){return this.m_score_array},GetMasteryScore:function(){return this.m_mastery_score},GetMaxTimeAllowed:function(){return this.m_max_time_allowed},GetTimeLimitAction:function(){return this.m_time_limit_action},
AddToLessonStatusArray:function(a){this.m_lesson_status_array.push(a)},AddToScoreArray:function(a){this.m_score_array.push(a)},SetMasteryScore:function(a){this.m_mastery_score=a},SetMaxTimeAllowed:function(a){this.m_max_time_allowed=a},SetTimeLimitAction:function(a){this.m_time_limit_action=a},SetSlideView:function(){},SendSlideView:function(){},SendSuspendData:function(a){void 0!=a&&this.SetLessonData(a)},SendTrackingData:function(a,b,c,d,e,f,g,i,j,h,m,k,l){void 0==j&&(j="");this.SetTrackingData(a,
b,c,d,e,f,g,i,j,h);if(k){if(a={quizId:cp.D.quizzingData.quizID},cp.movie.playbackController&&(b=cp.movie.playbackController.GetQuizController())&&b.GetIsPassed())"passed"==this.GetSuccessStatus()?(cp.em.fireEvent("PASSED",a),cp.em.fireEvent("COMPLETED")):l&&cp.em.fireEvent("FAILED",a)}else"completed"==this.GetLessonStatus()&&(cp.em.fireEvent("COMPLETED"),this.GetSuccessStatus()&&(a={quizId:cp.D.quizzingData.quizID},"passed"==this.GetSuccessStatus()?cp.em.fireEvent("PASSED",a):"failed"==this.GetSuccessStatus()&&
cp.em.fireEvent("FAILED",a)));this.IsLessonDataTracked()&&(l=cp.createAndGetDataChunk(),cp.fireResumeDataEvent(l))},SetTrackingData:function(a,b,c,d,e,f,g,i,j,h){!0==d?void 0!=a&&void 0!=c&&!isNaN(Math.round(100*(a/c)))&&0!=c?this.SetScore(Math.round(100*(100*a/c))/100):this.SetScore(Math.round(100*a)/100):void 0!=a&&void 0!=b&&void 0!=c?this.SetScore(a,b,c):void 0!=a&&void 0!=c?this.SetScore(a,0,c):void 0!=a&&this.SetScore(a);void 0!=e&&this.SetLessonLocation(e);void 0!=i?!0==i&&void 0!=f?this.SetLessonStatus(f):
void 0!=g&&void 0!=f&&this.SetLessonStatus(f,g):void 0!=f?this.SetLessonStatus(f):void 0!=g&&this.SetLessonStatus(g);void 0!=j&&this.SetTimeInSession(j);void 0!=h&&this.SetLessonData(h)},GetTrackingData:function(){this.IsTrackingDataLoaded()||this.SetTrackingDataLoaded(!0)},GetTrackingDataCore:function(){this.IsTrackingDataLoaded()||this.SetTrackingDataLoaded(!0)},SetInteractionData:function(a,b,c,d,e,f,g,i,j,h,m){this.m_interaction_ary||(this.m_interaction_ary=[]);var k=this.m_interaction_ary.length;
this.m_interaction_ary[k]=[];this.m_interaction_ary[k].interactionID_str=a;this.m_interaction_ary[k].objectiveID_str=b;this.m_interaction_ary[k].type_str=c;this.m_interaction_ary[k].correctResponse_str=d;this.m_interaction_ary[k].studentResponse_str=e;this.m_interaction_ary[k].result_bln=f;this.m_interaction_ary[k].weight_int=g;this.m_interaction_ary[k].description_texts=m;void 0==i||""==i||"0"==i?i=this.FormatTime(0):"number"==typeof i&&(i=this.FormatTime(i));this.m_interaction_ary[k].latency_str=
i;if(void 0==j||""==j)j=this.FormatDate();this.m_interaction_ary[k].date_str=j;void 0==h||""==h?h=this.FormatTime(0):"number"==typeof h&&(h=this.FormatTime(h));this.m_interaction_ary[k].time_str=h},SendInteractionData:function(a,b,c,d,e,f,g,i,j,h,m){void 0!=a&&""!=a&&this.SetInteractionData(a,b,c,d,e,f,g,i,j,h,m)},ClearPendingCalls:function(){},RoundDecimals:function(a,b){b=!b&&0!=b?2:b;return Math.round(a*Math.pow(10,b))/Math.pow(10,b)},FormatNum:function(a,b){var c="",d=0,e="'"+a+"'";if(!(e.length>
b))for(d=1;d<=b-e.length;d++)c+="0";return c+a},FormatTime:function(a,b,c){var d;d=b="00";c=this.FormatNum(Math.floor(a),2);59<c&&(b=Math.floor(c/60),c-=60*b,b=this.FormatNum(b,2),c=this.FormatNum(c,2));59<b&&(d=Math.floor(b/60),b-=60*d,d=this.FormatNum(d,2),b=this.FormatNum(b,2));return d+":"+b+":"+c},FormatDate:function(a,b,c,d){void 0==a?(c=new Date,a=this.FormatNum(c.getMonth()+1,2),b=this.FormatNum(c.getDate(),2),c=c.getFullYear()):"string"==typeof a&&-1<a.indexOf("/")&&(c=a.split("/"),a=this.FormatNum(c[0],
2),b=this.FormatNum(c[1],2),c=this.FormatNum(c[2],4));return 1==d?c+"/"+a+"/"+b:a+"/"+b+"/"+c},SetAdapterSpecificData:function(){}};cp.SCORM_Rustici=function(a){cp.SCORM_Rustici.baseConstructor.call(this);this.m_cmiEntryValue=this.m_cmiExitValue="";this.verbose=this.m_ExitNormal=!1;this.m_isScorm=a};cp.inherits(cp.SCORM_Rustici,cp.TrackingAdapter);cp.SCORM_Rustici.prototype.SetAdapterSpecificData=function(a){this.SetExitNormal(a.exitNormal);this.SetReportingOption(a.reportingOption)};
cp.SCORM_Rustici.prototype.SetExitNormal=function(a){this.m_ExitNormal=a};cp.SCORM_Rustici.prototype.GetExitNormal=function(){return this.m_ExitNormal};cp.SCORM_Rustici.prototype.SetReportingOption=function(a){this.m_ReportingOption=a};cp.SCORM_Rustici.prototype.GetReportingOption=function(){switch(this.m_reportingOption){case 5:return"completion_success";case 7:return"completion_only";case 6:return"incompleteToPassedOrFailed";case 0:return"breeze";default:return""}};
cp.SCORM_Rustici.prototype.Initialize=function(){if(!this.IsInitialized()){if((!cp.LMSDriverHolder||!cp.LMSDriverHolder.IsLoaded())&&!cp.IsRunningInACAP)return;this.SetInitialized(cp.startBlnStr)}this.m_isScorm&&!cp.IsRunningInACAP&&("incompleteToPassedOrFailed"==this.GetReportingOption()?this.m_ExitNormal?(cp.LMSDriverHolder.EXIT_SUSPEND_IF_COMPLETED=!1,cp.LMSDriverHolder.EXIT_NORMAL_IF_PASSED=!0):(cp.LMSDriverHolder.EXIT_SUSPEND_IF_COMPLETED=!1,cp.LMSDriverHolder.EXIT_NORMAL_IF_PASSED=!1):(cp.LMSDriverHolder.EXIT_SUSPEND_IF_COMPLETED=
this.m_ExitNormal?!1:!0,cp.LMSDriverHolder.EXIT_NORMAL_IF_PASSED=!1));return this.IsInitialized()};cp.SCORM_Rustici.prototype.GetTrackingData=function(){this.IsTrackingDataLoaded()||(this.GetTrackingDataCore(),cp.LMSDriverHolder&&cp.LMSDriverHolder.GetLaunchData(this.GetVendorData()))};
cp.SCORM_Rustici.prototype.GetTrackingDataCore=function(){this.verbose&&cp.log("cp.SCORM_Rustici :: function getTrackingDataCore ");void 0!=cp.LMSDriverHolder&&(this.m_cmiEntryValue=cp.LMSDriverHolder.GetEntryMode(),this.SetLessonData(cp.LMSDriverHolder.GetDataChunk()),this.SetLessonLocation(cp.LMSDriverHolder.GetBookMark()))};
cp.SCORM_Rustici.prototype.SetTrackingData=function(a,b,c,d,e,f,g,i,j,h,m,k){this.verbose&&cp.log("function setTrackingData ");!0==d?void 0!=a&&void 0!=c&&!isNaN(Math.round(100*(a/c)))&&0!=c?this.SetScore(Math.round(100*(100*a/c))/100,0,100):this.SetScore(Math.round(100*a)/100):void 0!=a&&void 0!=b&&void 0!=c?this.SetScore(a,b,c):void 0!=a&&void 0!=c?this.SetScore(a,0,c):void 0!=a?this.SetScore(a):this.SetScore();void 0!=m&&this.SetProgressMeasure(m);void 0!=e&&this.SetLessonLocation(e);k?this.SetLessonStatus(f,
g):void 0!=i&&!0==i?this.SetLessonStatus(f):this.SetLessonStatus(f,g);this.SetTimeInSession(j);void 0!=h&&this.SetLessonData(h)};cp.SCORM_Rustici.prototype.SendSuspendData=function(a){void 0!=a&&this.SetLessonData(a);if(this.IsLessonDataTracked()&&(a=cp.createAndGetDataChunk(),""!=a)){var b=[];b.push(a);this.SCORMbuild("SetDataChunk",b)}};
cp.SCORM_Rustici.prototype.SendTrackingData=function(a,b,c,d,e,f,g,i,j,h,m,k,l){this.verbose&&cp.log("function sendTrackingData ");this.SetTrackingData(a,b,c,d,e,f,g,i,j,h,m,k);k?(a={quizId:cp.D.quizzingData.quizID},"passed"==this.GetSuccessStatus()?(cp.em.fireEvent("PASSED",a),cp.em.fireEvent("COMPLETED"),l=[],l.push(""),this.SCORMbuild("SetPassed",l)):l&&(cp.em.fireEvent("FAILED",a),l=[],l.push(""),this.SCORMbuild("SetFailed",l))):"completed"==this.GetLessonStatus()&&(l=[],l.push(""),this.SCORMbuild("SetReachedEnd",
l),cp.em.fireEvent("COMPLETED"),this.GetSuccessStatus()&&(a={quizId:cp.D.quizzingData.quizID},"passed"==this.GetSuccessStatus()?(l=[],l.push(""),this.SCORMbuild("SetPassed",l),cp.em.fireEvent("PASSED",a)):"failed"==this.GetSuccessStatus()&&(l=[],l.push(""),this.SCORMbuild("SetFailed",l),cp.em.fireEvent("FAILED",a))));l=[];l.push(this.GetScoreRaw());l.push(this.GetScoreMax());l.push(this.GetScoreMin());this.SCORMbuild("SetPointBasedScore",l);l=[];l.push(this.GetLessonLocation());this.SCORMbuild("SetBookmark",
l);this.IsLessonDataTracked()&&(a=cp.createAndGetDataChunk(),""!=a&&(this.verbose&&cp.log("Calling SCORM_Rustici::SendTrackingData::SetDataChunk"),l=[],l.push(a),this.SCORMbuild("SetDataChunk",l),cp.fireResumeDataEvent(a)))};cp.SCORM_Rustici.prototype.SetLessonLocation=function(a){var b=cpInfoCurrentSlideLabel;this.m_lessonLocation=""!=b?escape(b):"Slide_"+(parseInt(a)+1)};
cp.SCORM_Rustici.prototype.Flush=function(){this.verbose&&cp.log("function flush ");var a=[];a.push("");cp.movie.playbackController.m_commitDataOnEverySlide||this.SCORMbuild("CommitData",a)};cp.SCORM_Rustici.prototype.SetFinishedBln=function(a){var b=typeof a;"boolean"!=b&&("string"==b?"true"==a.toLowerCase()?a=!0:"false"==a.toLowerCase()&&(a=!1):a=!1);this.SetInitialized(!a)};
cp.SCORM_Rustici.prototype.Finish=function(){var a=[];a.push("");cp.movie.playbackController.m_commitDataOnEverySlide||this.SCORMbuild("CommitData",a);this.SetFinishedBln(cp.LMSDriverHolder.Finish())};cp.SCORM_Rustici.prototype.SetTrackingComplete=function(){this.Finish()};cp.SCORM_Rustici.prototype.AICCTokenToSCORMToken=function(a,b){for(var c=a.split(","),d=b.substr(0,1).toLowerCase(),e=0;e<c.length;e++)if(d==c[e].substr(0,1))return c[e];return b};
cp.SCORM_Rustici.prototype.NormalizeStatus=function(a){return this.AICCTokenToSCORMToken("completed,incomplete,not attempted,failed,passed",a)};cp.SCORM_Rustici.prototype.NormalizeInteractionType=function(a){a="long-fill-in"==a.toLowerCase()?"long-fill-in":this.AICCTokenToSCORMToken("true-false,choice,fill-in,matching,performance,sequencing,likert,numeric",a);if(""==a||void 0==a)a="other";return a};
cp.SCORM_Rustici.prototype.NormalizeInteractionResult=function(a){a=this.AICCTokenToSCORMToken("correct,wrong,unanticipated,neutral",a);return"wrong"==a?"incorrect":a};cp.SCORM_Rustici.prototype.NormalizeRespose=function(a){return this.AICCTokenToSCORMToken("true,false",a)};cp.SCORM_Rustici.prototype.FormatTimestamp=function(a){return this.FormatDate()+"T"+this.FormatTime(a,void 0,void 0,2)};
cp.SCORM_Rustici.prototype.SetInteractionData=function(a,b,c,d,e,f,g,i,j,h,m){this.verbose&&cp.log("function setInteractionData ");this.m_interaction_ary||(this.m_interaction_ary=[]);d=this.m_interaction_ary.length;this.m_interaction_ary[d]=[];this.m_interaction_ary[d].interactionID_str=a;this.m_interaction_ary[d].objectiveID_str=b;this.m_interaction_ary[d].type_str=this.NormalizeInteractionType(c);this.m_interaction_ary[d].correctResponse_str=correct_responseIdentifierArr;this.m_interaction_ary[d].studentResponse_str=
user_responseIdentifierArr;this.m_interaction_ary[d].result_str=this.NormalizeInteractionResult(f);this.m_interaction_ary[d].weight_int=g;this.m_interaction_ary[d].latency_str=parseFloat(i);this.m_interaction_ary[d].description_texts=m;j=void 0==j||""==j?this.FormatDate():this.FormatDate(j);this.m_interaction_ary[d].date_str=j;h=void 0==h||""==h?this.FormatTimestamp(0):this.FormatTimestamp(h);this.m_interaction_ary[d].time_str=h};
cp.SCORM_Rustici.prototype.SendInteractionData=function(a,b,c,d,e,f,g,i,j,h,m){this.verbose&&cp.log("Rustici SCORM:: SendInteractionData ");if(!(void 0==cp.LMSDriverHolder||cp.IsRunningInACAP)&&this.IsInteractionDataTracked()){if(void 0!=a&&""!=a){user_responseIdentifierArr=[];correct_responseIdentifierArr=[];var k=[],l=[];0<e.length&&(-1!=e.indexOf(";")?k=e.split(";"):k.push(e));0<d.length&&(-1!=d.indexOf(";")?l=d.split(";"):l.push(d));this.SetInteractionData(a,b,c,d,e,f,g,i,j,h,m)}c=m.questionText;
f=this.m_interaction_ary.length-1;switch(this.m_interaction_ary[f].type_str){case "choice":case "hotspot":case "widget":e=m.answerTexts.answerTextMap;j="hotspot"==this.m_interaction_ary[f].type_str;for(d=0;d<k.length;++d)m=j?k[d]:e?e[k[d]]:k[d],user_responseIdentifierArr.push(cp.LMSDriverHolder.CreateResponseIdentifier(k[d],m));for(k=0;k<l.length;++k)m=j?l[k]:e?e[l[k]]:l[k],correct_responseIdentifierArr.push(cp.LMSDriverHolder.CreateResponseIdentifier(l[k],m));h=[];h.push(a);h.push(user_responseIdentifierArr);
h.push(cp.ConvertToInteractionResultConstant(this.m_interaction_ary[f].result_str));h.push(correct_responseIdentifierArr);h.push(c);h.push(g);h.push(i);h.push(b);this.SCORMbuild("RecordMultipleChoiceInteraction",h);break;case "true-false":h=[];h.push(a);h.push(Boolean(e));h.push(cp.ConvertToInteractionResultConstant(this.m_interaction_ary[f].result_str));h.push(Boolean(d));h.push(c);h.push(g);h.push(i);h.push(b);h.push(j);this.SCORMbuild("RecordTrueFalseInteraction",h);break;case "fill-in":case "long-fill-in":h=
[];h.push(a);h.push(e);h.push(cp.ConvertToInteractionResultConstant(this.m_interaction_ary[f].result_str));h.push(d);h.push(c);h.push(g);h.push(i);h.push(b);h.push(j);this.SCORMbuild("RecordFillInInteraction",h);break;case "matching":for(var j=m.answerTexts.left,m=m.answerTexts.right,l=[],k=[],d=d.split(","),h=0,o,n,h=0;h<d.length;++h){o=d[h];n=o.split(".");o=n[0];n=n[1];var p=j[o],q=m[n];if(void 0==p||""==p)p=o;if(void 0==q||""==q)q=n;o=cp.LMSDriverHolder.CreateResponseIdentifier(o,p);n=cp.LMSDriverHolder.CreateResponseIdentifier(n,
q);l.push(new cp.LMSDriverHolder.MatchingResponse(o,n))}d=e.split(",");for(h=0;h<d.length;++h){o=d[h];n=o.split(".");o=n[0];n=n[1];p=j[o];q=m[n];if(void 0==p||""==p)p=o;if(void 0==q||""==q)q=n;o=cp.LMSDriverHolder.CreateResponseIdentifier(o,p);n=cp.LMSDriverHolder.CreateResponseIdentifier(n,q);k.push(new cp.LMSDriverHolder.MatchingResponse(o,n))}f=cp.ConvertToInteractionResultConstant(this.m_interaction_ary[f].result_str);h=[];h.push(a);h.push(k);h.push(f);h.push(l);h.push(c);h.push(g);h.push(i);
h.push(b);this.SCORMbuild("RecordMatchingInteraction",h);break;case "sequencing":h=[];h.push(a);h.push(cp.LMSDriverHolder.CreateResponseIdentifier(e.substring(0,1),m.answerTexts.learner_response));h.push(cp.ConvertToInteractionResultConstant(this.m_interaction_ary[f].result_str));h.push(cp.LMSDriverHolder.CreateResponseIdentifier(d.substring(0,1),m.answerTexts.correct_response));h.push(c);h.push(g);h.push(i);h.push(b);this.SCORMbuild("RecordSequencingInteraction",h);break;case "likert":cp.ConvertToInteractionResultConstant(this.m_interaction_ary[f].result_str),
h=[],h.push(a),h.push(cp.LMSDriverHolder.CreateResponseIdentifier(e.substring(0,1),e)),h.push("true"),h.push(null),h.push(c),h.push(g),h.push(i),h.push(b),this.SCORMbuild("RecordLikertInteraction",h)}this.m_interaction_ary=[]}};
cp.SCORM_Rustici.prototype.ClearPendingCalls=function(){if(!(void 0==cp.LMSDriverHolder||cp.IsRunningInACAP)&&this.AICCQueue&&!(0>=this.AICCQueue.length)){this.AICCLMSCallTimer=void 0;clearInterval(this.AICCLMSCallTimer);for(var a=this.AICCQueue.length,b=0;b<a;++b){var c=this.AICCQueue.shift();this.ProcessLMSCalls(c.function_str,c.argsArr)}}};
cp.SCORM_Rustici.prototype.SCORMbuild=function(a,b){void 0==cp.LMSDriverHolder||cp.IsRunningInACAP||(cp.movie.playbackController.LMSIsAICC()?this.AddToQueue(a,b):this.ProcessLMSCalls(a,b))};
cp.SCORM_Rustici.prototype.ProcessLMSCalls=function(a,b){var c="cp.LMSDriverHolder."+a+"("+function(){var a="";if(0<b.length)for(var a="string"==typeof b[0]?"'"+b[0]+"'":b[0],c=1;c<b.length;++c)a+=",",a="string"==typeof b[c]?a+("'"+b[c]+"'"):a+b[c];return a}()+")";cp.verbose&&cp.log(c);try{switch(a){case "RecordMultipleChoiceInteraction":cp.LMSDriverHolder.RecordMultipleChoiceInteraction(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7]);break;case "RecordTrueFalseInteraction":cp.LMSDriverHolder.RecordTrueFalseInteraction(b[0],
b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8]);break;case "RecordSequencingInteraction":cp.LMSDriverHolder.RecordSequencingInteraction(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7]);break;case "RecordFillInInteraction":cp.LMSDriverHolder.RecordFillInInteraction(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7]);break;case "RecordMatchingInteraction":cp.LMSDriverHolder.RecordMatchingInteraction(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7]);break;case "RecordLikertInteraction":cp.LMSDriverHolder.RecordLikertInteraction(b[0],
b[1],b[2],b[3],b[4],b[5],b[6],b[7]);break;default:eval(c)}}catch(d){console.log(d)}};cp.SCORM_Rustici.prototype.AddToQueue=function(a,b){this.AICCQueue||(this.AICCQueue=[]);var c={};c.function_str=a;c.argsArr=b;this.AICCQueue.push(c);var d=this;this.AICCLMSCallTimer||(this.AICCLMSCallTimer=setInterval(function(){if(d.AICCQueue.length<=0){clearInterval(d.AICCLMSCallTimer);d.AICCLMSCallTimer=void 0}else{var a=d.AICCQueue.shift();d.ProcessLMSCalls(a.function_str,a.argsArr)}},100))};
cp.InternalServerAdapter=function(){cp.InternalServerAdapter.baseConstructor.call(this);this.m_cmiEntryValue=this.m_cmiExitValue="";this.verbose=this.m_ExitNormal=!1;this.m_StudentID=this.m_StudentName="";this.m_resultsAlreadyPosted=!1;var a=cp.D.quizReportingData;this.m_strings={};this.m_strings.ISRUnknownErrorStr=a.ISRUnknownErrorStr;this.m_strings.ISRNoConnectionErrorStr=a.ISRNoConnectionErrorStr;this.m_strings.ISRWrongURLErrorStr=a.ISRWrongURLErrorStr;this.m_strings.ISRLoginErrorStr=a.ISRLoginErrorStr;
this.m_strings.ISRConnectingStr=a.ISRConnectingStr;this.m_strings.ISRResultPostedStr=a.ISRResultPostedStr;this.m_strings.ISRPostResultStr=a.ISRPostResultStr;this.m_strings.ISRResultCalculatedStr=a.ISRResultCalculatedStr;this.m_strings.ISREnterNameStr=a.ISREnterNameStr;this.m_strings.ISREmailIDStr=a.ISREmailIDStr;this.m_strings.ISRSendStr=a.ISRSendStr;this.m_strings.ISRStatusStr=a.ISRStatusStr;this.m_strings.ISRErrorStr=a.ISRErrorStr;this.m_strings.ISROkStr=a.ISROkStr};
cp.inherits(cp.InternalServerAdapter,cp.TrackingAdapter);cp.InternalServerAdapter.prototype.SetAdapterSpecificData=function(a){this.SetExitNormal(a.exitNormal);this.SetReportingOption(a.reportingOption)};cp.InternalServerAdapter.prototype.SetExitNormal=function(a){this.m_ExitNormal=a};cp.InternalServerAdapter.prototype.GetExitNormal=function(){return this.m_ExitNormal};cp.InternalServerAdapter.prototype.SetReportingOption=function(a){this.m_ReportingOption=a};
cp.InternalServerAdapter.prototype.GetReportingOption=function(){switch(this.m_reportingOption){case 5:return"completion_success";case 7:return"completion_only";case 6:return"incompleteToPassedOrFailed";case 0:return"breeze";default:return""}};cp.InternalServerAdapter.prototype.Initialize=function(){this.IsInitialized()||this.SetInitialized(!0);return this.IsInitialized()};cp.InternalServerAdapter.prototype.GetTrackingData=function(){this.IsTrackingDataLoaded()||this.SetTrackingDataLoaded(!0)};
cp.InternalServerAdapter.prototype.GetTrackingDataCore=function(){this.GetTrackingData()};
cp.InternalServerAdapter.prototype.SetTrackingData=function(a,b,c,d,e,f,g,i,j,h,m,k,l){this.verbose&&cp.log("function setTrackingData ");!0==d?void 0!=a&&void 0!=c&&!isNaN(Math.round(100*(a/c)))&&0!=c?this.SetScore(Math.round(100*(100*a/c))/100,0,100):this.SetScore(Math.round(100*a)/100):void 0!=a&&void 0!=b&&void 0!=c?this.SetScore(a,b,c):void 0!=a&&void 0!=c?this.SetScore(a,0,c):void 0!=a?this.SetScore(a):this.SetScore();void 0!=m&&this.SetProgressMeasure(m);void 0!=e&&this.SetLessonLocation(e);
k?"passed"==g?this.SetLessonStatus(g):l?this.SetLessonStatus(g):this.SetLessonStatus(f):this.SetLessonStatus(f);this.SetTimeInSession(j);void 0!=h&&this.SetLessonData(h)};cp.InternalServerAdapter.prototype.SendTrackingData=function(a,b,c,d,e,f,g,i,j,h,m,k,l){this.verbose&&cp.log("function sendTrackingData ");this.m_sendScoreAsPercent=d;this.SetTrackingData(a,b,c,d,e,f,g,i,j,h,m,k,l);this.dataModified_bln=!0};cp.InternalServerAdapter.prototype.Flush=function(){this.PostQuizResults()};
cp.InternalServerAdapter.prototype.Finish=function(){this.IsInitialized();this.SetInitialized(!1)};cp.InternalServerAdapter.prototype.SetTrackingComplete=function(){this.Finish()};
cp.InternalServerAdapter.prototype.SetInteractionData=function(a,b,c,d,e,f,g,i,j,h,m){this.verbose&&cp.log("function setInteractionData ");this.m_interaction_ary||(this.m_interaction_ary=[]);var k=this.m_interaction_ary.length;this.m_interaction_ary[k]=[];"likert"==c&&(d=" ",a=a.split(" ").join("_"));this.m_interaction_ary[k].interactionID_str=a;this.m_interaction_ary[k].objectiveID_str=b;"hotspot"==c&&(c="choice");this.m_interaction_ary[k].type_str=c;"sequencing"==c&&(d=m.answerTexts.correct_response,
e=m.answerTexts.learner_response);this.m_interaction_ary[k].correctResponse_str=d;this.m_interaction_ary[k].studentResponse_str=e;this.m_interaction_ary[k].result_str=f;this.m_interaction_ary[k].weight_int=g;i=void 0==i||""==i?this.FormatTime(0):this.FormatTime(i/1E3);this.m_interaction_ary[k].latency_str=i;this.m_interaction_ary[k].description_texts=m;j=void 0==j||""==j?this.FormatDate():this.FormatDate(j);this.m_interaction_ary[k].date_str=j;h=void 0==h||""==h?this.FormatTime(0):this.FormatTime(h);
this.m_interaction_ary[k].time_str=h;this.m_interaction_ary[k].currentAttempt=this.GetCurrentAttempt()};cp.InternalServerAdapter.prototype.FormatTimestamp=function(a){return this.FormatDate()+"T"+this.FormatTime(a,void 0,void 0,2)};
cp.InternalServerAdapter.prototype.SendInteractionData=function(a,b,c,d,e,f,g,i,j,h,m){this.verbose&&cp.log("Rustici SCORM:: SendInteractionData ");this.IsInteractionDataTracked()&&(void 0!=a&&""!=a)&&(this.SetInteractionData(a,b,c,d,e,f,g,i,j,h,m),this.dataModified_bln=!0)};
cp.InternalServerAdapter.prototype.ShowResultDialog=function(a){this.m_errorDialog=new cp.RuntimeMessageBoxDefault(document.getElementById("div_Slide"),1);this.m_errorDialog.setMessageText(a?this.m_strings.ISRResultPostedStr:this.m_strings.ISRUnknownErrorStr);this.m_errorDialog.setFirstButtonText(this.m_strings.ISROkStr);var b=this;this.m_errorDialog.registerFirstButtonHandler(function(){b.m_errorDialog.hide();cpCmndShowPlaybar=!0;cpLockTOC=!1});this.m_errorDialog.show()};
cp.InternalServerAdapter.prototype.CreateInputDialog=function(){this.m_inputDialog=new cp.PostResultsMessageBox(this.m_strings);var a=this;this.m_inputDialog.registerFirstButtonHandler(function(){a.m_inputDialog.hide();cpCmndShowPlaybar=!0;cpLockTOC=!1});this.m_inputDialog.registerSecondButtonHandler(function(){a.HandleInputDialog();cpCmndShowPlaybar=!0;cpLockTOC=!1})};
cp.InternalServerAdapter.prototype.HandleInputDialog=function(){this.m_StudentName=this.m_inputDialog.getLearnerName();this.m_StudentID=this.m_inputDialog.getLearnerID();""==this.m_StudentName&&""==this.m_StudentID||(this.m_inputDialog.hide(),this.SendDataToURL())};
cp.InternalServerAdapter.prototype.PostQuizResults=function(){if(!this.m_resultsAlreadyPosted){cp.log("Post results");this.m_resultXML="<Course>\r\t";var a=!1;cp.vm&&(a=!cp.vm.hasOwnProperty("cpQuizInfoStudentID")||""==cp.vm.getVariableValue("cpQuizInfoStudentID"));a?(this.CreateInputDialog(),this.m_inputDialog.show()):(this.m_StudentName=cp.vm.hasOwnProperty("cpQuizInfoStudentName")?cpQuizInfoStudentName:"",this.m_StudentID=cpQuizInfoStudentID,this.SendDataToURL());cpCmndShowPlaybar=!1;cpLockTOC=
!0;this.dataModified_bln=!1}};
cp.InternalServerAdapter.prototype.SendDataToURL=function(){if(!this.m_StudentName||""==this.m_StudentName)this.m_StudentName=this.m_StudentID;if(!this.m_StudentID||""==this.m_StudentID)this.m_StudentID=this.m_StudentName;this.m_resultXML+='<CompanyName value="'+cp.movie.playbackController.m_companyName+'"/>\r\t';this.m_resultXML+='<DepartmentName value="'+cp.movie.playbackController.m_departmentName+'"/>\r\t';this.m_resultXML+='<CourseName value="'+cp.movie.playbackController.m_courseName+'"/>\r\t';
this.m_resultXML+='<LearnerName value="'+this.m_StudentName+'"/>\r\t';this.m_resultXML+='<LearnerID value="'+this.m_StudentID+'"/>\r\t';var a=cpInfoProjectName;""==a&&(a=cp.D.project.pN);this.m_resultXML+='<LessonName value="'+a+'"/>\r\t';this.m_resultXML+='<QuizAttempts value="'+cpQuizInfoAttempts+'"/>\r\t';this.m_resultXML+='<TotalQuestions value="'+cpQuizInfoTotalQuestionsPerProject+'"/>\r\t';0<this.m_adapterReportingVariables.length&&(this.m_resultXML+=this.BuildReportingVariablesXML());this.m_resultXML+=
this.BuildResultXML();this.m_resultXML+="</Course>";this.PostNormalRequest(this.m_resultXML,a+"_"+this.m_StudentName+"_"+cpInfoEpochMS+".xml")};
cp.InternalServerAdapter.prototype.PostNormalRequest=function(a,b){var c=new XMLHttpRequest,d=cp.movie.playbackController.m_internalServerURL,e;e="CompanyName="+cp.movie.playbackController.m_companyName;e+="&DepartmentName="+cp.movie.playbackController.m_departmentName;e+="&CourseName="+cp.movie.playbackController.m_courseName;e=e+("&Filename="+b)+("&Filedata="+escape(a));try{c.open("POST",d,!1);c.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var f=this;c.onreadystatechange=
function(){4==c.readyState&&200==c.status?(f.m_resultsAlreadyPosted=!0,f.ShowResultDialog(!0)):f.ShowResultDialog(!1)};c.send(e)}catch(g){this.ShowResultDialog(!1)}};cp.InternalServerAdapter.prototype.BuildXMLRootNode=function(){return escape("")};
cp.InternalServerAdapter.prototype.BuildReportingVariablesXML=function(){for(var a="<Variables>\r\t",b=this.m_adapterReportingVariables.length,c=0;c<b;++c){var d=this.m_adapterReportingVariables[c];d&&""!=d&&(a+="<"+d+' value="'+m_VarHandle[d]+'"/>\r\t')}return a+"</Variables>\r\t"};cp.InternalServerAdapter.prototype.BuildResultXML=function(){var a;a="<Result>\r\t"+this.BuildResultXMLBodyCore();a+=this.BuildResultXMLBodyInteraction();return a+"</Result>\r\t"};
cp.InternalServerAdapter.prototype.BuildResultXMLBodyCore=function(){var a;a="<CoreData>\r\t"+('<Status value="'+this.GetLessonStatus()+'"/>\r\t');a+='<Location value="'+this.GetLessonLocation()+'"/>\r\t';this.m_sendScoreAsPercent?a+='<Score value="'+this.GetScore(this.m_sendScoreAsPercent)+'"/>\r\t':(a+='<RawScore value="'+this.GetScoreRaw()+'"/>\r\t',a+='<MaxScore value="'+this.GetScoreMax()+'"/>\r\t',a+='<MinScore value="'+this.GetScoreMin()+'"/>\r\t');a+='<SessionTime value="'+this.GetTimeInSession()+
'"/>\r\t';return a+"</CoreData>\r\t"};cp.InternalServerAdapter.prototype.BuildResultXMLBodyInteraction=function(){var a="<InteractionData>\r\t";if(this.IsInteractionDataTracked()&&0<this.m_interaction_ary.length)for(var b=0;b<this.m_interaction_ary.length;b++)a+=this.BuildInteractionsNode(b);return a+"</InteractionData>\r\t"};
cp.InternalServerAdapter.prototype.BuildInteractionsNode=function(a){var b;b="<Interactions>\r\t"+('<Date value="'+this.m_interaction_ary[a].date_str+'"/>\r\t');b+='<InteractionTime value="'+this.m_interaction_ary[a].time_str+'"/>\r\t';b+='<InteractionID value="'+this.m_interaction_ary[a].interactionID_str+'"/>\r\t';b+='<ObjectiveID value="'+this.m_interaction_ary[a].objectiveID_str+'"/>\r\t';b+='<InteractionType value="'+this.m_interaction_ary[a].type_str+'"/>\r\t';b+='<CorrectResponse value="'+
this.m_interaction_ary[a].correctResponse_str+'"/>\r\t';b+='<StudentResponse value="'+this.m_interaction_ary[a].studentResponse_str+'"/>\r\t';b+='<Result value="'+this.m_interaction_ary[a].result_str+'"/>\r\t';b+='<Weight value="'+this.m_interaction_ary[a].weight_int+'"/>\r\t';b+='<Latency value="'+this.m_interaction_ary[a].latency_str+'"/>\r\t';b+='<Attempt value="'+this.m_interaction_ary[a].currentAttempt+'"/>\r\t';return b+"</Interactions>\r\t"};
cp.AnswerScore=function(){this.m_correctAnswer=this.m_chosenAnswer=this.m_answerID=""};cp.ChoiceQuestionSpecificScore=function(){this.m_answerOrderArrayAsString=""};cp.ChoiceQuestionSpecificScore.prototype={saveState:function(a){void 0==this.m_answerOrderArrayAsString||""==this.m_answerOrderArrayAsString?a.writeString(""):a.writeString(this.m_answerOrderArrayAsString)},restoreState:function(a){this.m_answerOrderArrayAsString=a.readString()},reset:function(){this.m_answerOrderArrayAsString=""}};
cp.HotSpotQuestionSpecificScore=function(){this.m_BreakPointWidth=this.m_hotSpotIsCorrect=this.m_hotSpot_ychordsAsString=this.m_hotSpot_xchordsAsString=this.m_hotSpotNamesArrayAsString=""};
cp.HotSpotQuestionSpecificScore.prototype={saveState:function(a){void 0==this.m_hotSpotNamesArrayAsString||""==this.m_hotSpotNamesArrayAsString?a.writeString("nil"):a.writeString(this.m_hotSpotNamesArrayAsString);void 0==this.m_hotSpot_xchordsAsString||""==this.m_hotSpot_xchordsAsString?a.writeString("nil"):a.writeString(this.m_hotSpot_xchordsAsString);void 0==this.m_hotSpot_ychordsAsString||""==this.m_hotSpot_ychordsAsString?a.writeString("nil"):a.writeString(this.m_hotSpot_ychordsAsString);cp.responsive&&
(void 0==this.m_hotSpotIsCorrect||""==this.m_hotSpotIsCorrect?a.writeString("nil"):a.writeString(this.m_hotSpotIsCorrect),a.writeString(this.m_BreakPointWidth))},restoreState:function(a){this.m_hotSpotNamesArrayAsString=a.readString();"nil"==this.m_hotSpotNamesArrayAsString&&(this.m_hotSpotNamesArrayAsString="");this.m_hotSpot_xchordsAsString=a.readString();"nil"==this.m_hotSpot_xchordsAsString&&(this.m_hotSpot_xchordsAsString="");this.m_hotSpot_ychordsAsString=a.readString();"nil"==this.m_hotSpot_ychordsAsString&&
(this.m_hotSpot_ychordsAsString="");cp.responsive&&(this.m_hotSpotIsCorrect=a.readString(),"nil"==this.m_hotSpotIsCorrect&&(this.m_hotSpotIsCorrect=""),this.m_BreakPointWidth=a.readString())},reset:function(){this.m_answerOrderArrayAsString=""}};
cp.QuestionScore=function(){this.m_weighting=this.m_interactionID=this.m_objectiveID=this.m_interactionType=this.m_endTime=this.m_startTime=this.m_slideNum=void 0;this.m_negativeWeight=0;this.m_answerScores=[];this.m_numTries=0;this.m_answersIncomplete=!0;this.m_answeredCorrectly=!1;this.m_pausedMsecs=0;this.m_questionNumInQuiz=-1;this.m_wasJudged=void 0;this.m_isPretestQuestion=!1;this.m_escapeAnswers=!0;this.m_questionSpecificScore=void 0;this.m_restoredFromLMS=!1;this.m_scoringType=this.m_scoredPoints=
0;this.m_maxTries=-1;this.m_descriptionTexts=this.m_isCorrectAsString=this.m_correctAnswersAsString=this.m_chosenAnswersAsString="";this.m_latencyAsSeconds=0;this.m_curDateAsString=this.m_latencyAsString="";this.m_curTimeAsSecondsSinceMidnight=0;this.m_partiallyCorrect=this.m_isShuffled=!1};
cp.QuestionScore.prototype={getdescriptionText:function(){return this.m_descriptionTexts},getrestoredFromLMS:function(){return this.m_restoredFromLMS},setrestoredFromLMS:function(a){this.m_restoredFromLMS=a},getslideNum:function(){return this.m_slideNum},setslideNum:function(a){this.m_slideNum=a},getstartTime:function(){return this.m_startTime},setstartTime:function(a){this.m_startTime=a},getendTime:function(){return this.m_endTime},getQuestionScoringType:function(){return this.m_scoringType},setendTime:function(a){this.m_endTime=
a},getpausedMsecs:function(){return this.m_pausedMsecs},setpausedMsecs:function(a){this.m_pausedMsecs=a},getinteractionType:function(){return this.m_interactionType},setinteractionType:function(a){this.m_interactionType=a;this.createQuestionSpecificScore()},getobjectiveID:function(){return this.m_objectiveID},setobjectiveID:function(a){this.m_objectiveID=a},getquestionNumInQuiz:function(){return this.m_questionNumInQuiz},setquestionNumInQuiz:function(a){this.m_questionNumInQuiz=a},getlatency:function(){return(startTime?
this.m_endTime.getTime()-this.m_startTime.getTime()-this.m_pausedMsecs:0)/1E3},getanswerScores:function(){return this.m_answerScores},setanswerScores:function(a){this.m_answerScores=a},getanswersIncomplete:function(){return this.m_answersIncomplete},setanswersIncomplete:function(a){this.m_answersIncomplete=a},getescapeAnswers:function(){return this.m_escapeAnswers},setescapeAnswers:function(a){this.m_escapeAnswers=a},setquestionSpecificScore:function(a){this.m_questionSpecificScore=a},getquestionSpecificScore:function(){return this.m_questionSpecificScore},
answersAsString:function(){},getcorrectAnswersAsString:function(){return this.answersAsString("correctAnswer",!1)},getchosenAnswersAsString:function(){return this.answersAsString("chosenAnswer",!1)},getcorrectAnswersForReview:function(){return this.answersAsString("correctAnswer",!0)},getchosenAnswersForReview:function(){return this.answersAsString("chosenAnswer",!0)},getansweredCorrectly:function(){return this.m_answeredCorrectly},setansweredCorrectly:function(a){this.m_answeredCorrectly=a},getisCorrectAsString:function(){return this.m_answeredCorrectly?
"C":"W"},getnumTries:function(){return this.m_numTries},getmaxTries:function(){return this.m_maxTries},setnumTries:function(a){this.m_numTries=a},getweighting:function(){return this.m_weighting},setweighting:function(a){this.m_weighting=a},getnegativeWeight:function(){return this.m_negativeWeight},setnegativeWeight:function(a){this.m_negativeWeight=a},getscoredPoints:function(){return this.m_scoredPoints},setscoredPoints:function(a){this.m_scoredPoints=a},addLeadingZero:function(a){return 10>a?"0"+
String(a):String(a)},getlatencyAsString:function(){return addLeadingZero(Math.round(latency/3600))+":"+addLeadingZero(Math.round(latency%3600/60))+":"+addLeadingZero(Math.round(latency)%60)},getlatencyAsSeconds:function(){return latency},getcurDateAsString:function(){var a=new Date;return addLeadingZero(a.getMonth()+1)+"/"+addLeadingZero(a.getDate())+"/"+a.getFullYear()},getcurDateAsString2:function(){var a=new Date;return a.getFullYear()+"/"+addLeadingZero(a.getMonth()+1)+"/"+addLeadingZero(a.getDate())},
getcurTimeAsString:function(){var a=new Date;return addLeadingZero(a.getHours())+":"+addLeadingZero(a.getMinutes())+":"+addLeadingZero(a.getSeconds())},getcurTimeAsSecondsSinceMidnight:function(){return 3600*(void 0).getHours()+60*(void 0).getMinutes()+(void 0).getSeconds()},getscore:function(){return this.m_wasJudged?this.m_scoredPoints:0},getwasJudged:function(){return this.m_wasJudged},setwasJudged:function(a){this.m_wasJudged=a},getisPretestQuestion:function(){return this.m_isPretestQuestion},
setisPretestQuestion:function(a){this.m_isPretestQuestion=a},saveState:function(a){a.writeNumber(this.m_slideNum);a.writeNumber(this.m_questionNumInQuiz);void 0!=this.m_startTime&&0!=this.m_startTime?a.writeNumber(this.m_startTime.getTime()):a.writeNumber(0);void 0!=this.m_endTime&&0!=this.m_endTime?a.writeNumber(this.m_endTime.getTime()):a.writeNumber(0);a.writeBoolean(this.m_wasJudged);a.writeBoolean(this.m_partiallyCorrect);a.writeBoolean(this.m_answeredCorrectly);a.writeBoolean(this.m_answersIncomplete);
a.writeNumber(this.m_numTries);a.writeBoolean(this.m_isShuffled);var b=!1,c=this.m_scoredPoints;0>c&&(b=!0,c=-c);a.writeBoolean(b);a.writeNumber(c);a.writeNumber(this.m_answerScores.length);b=0;switch(this.m_interactionType){case "choice":b=0;break;case "true-false":b=1;break;case "fill-in":b=2;break;case "matching":b=4;break;case "sequencing":b=5;break;case "hotspot":b=6;break;case "likert":b=7;break;case "widget":b=8}a.writeNumber(b);this.m_questionSpecificScore&&this.m_questionSpecificScore.saveState(a);
for(b=0;b<this.m_answerScores.length;b++)a.writeString(this.m_answerScores[b].m_answerID),a.writeString(this.m_answerScores[b].m_chosenAnswer),a.writeString(this.m_answerScores[b].m_correctAnswer)},restoreState:function(a){if(a){this.m_slideNum=a.readNumber();this.m_questionNumInQuiz=a.readNumber();if(void 0==this.m_startTime||0==this.m_startTime)this.m_startTime=new Date;this.m_startTime.setTime(a.readNumber());if(void 0==this.m_endTime||0==this.m_endTime)this.m_endTime=new Date;this.m_endTime.setTime(a.readNumber());
this.m_wasJudged=a.readBoolean();this.m_partiallyCorrect=a.readBoolean();this.m_answeredCorrectly=a.readBoolean();this.m_answersIncomplete=a.readBoolean();this.m_numTries=a.readNumber();this.m_isShuffled=a.readBoolean();var b=a.readBoolean();this.m_scoredPoints=a.readNumber();b&&(this.m_scoredPoints=-this.m_scoredPoints);var b=a.readNumber(),c="choice";switch(a.readNumber()){case 0:c="choice";break;case 1:c="true-false";break;case 2:c="fill-in";break;case 5:c="sequencing";break;case 6:c="hotspot";
break;case 7:c="likert";break;case 8:c="widget"}this.setinteractionType(c);this.m_questionSpecificScore&&this.m_questionSpecificScore.restoreState(a);for(c=0;c<b;++c){var d=new cp.AnswerScore;d.m_answerID=a.readString();d.m_chosenAnswer=a.readString();d.m_correctAnswer=a.readString();this.m_answerScores.push(d)}this.restoreQuestionProperties()}},restoreQuestionProperties:function(){if(cp.movie.questionObjs&&!(0>this.m_questionNumInQuiz||this.m_questionNumInQuiz>=cp.movie.questionObjs.length)){var a=
cp.movie.questionObjs[this.m_questionNumInQuiz];a&&(a.questionNumberInQuiz=this.m_questionNumInQuiz,a.startTime=this.m_startTime,a.endTime=this.m_endTime,a.wasJudged=this.m_wasJudged,a.currentAttempt=this.m_numTries,a.setScore(this.m_scoredPoints),a.m_isShuffled=this.m_isShuffled,a.m_QuestionStatus=this.m_partiallyCorrect?a.QuestionStatusEnum.PARTIAL_CORRECT:this.m_answersIncomplete?a.QuestionStatusEnum.INCOMPLETE:this.m_answeredCorrectly?a.QuestionStatusEnum.CORRECT:a.QuestionStatusEnum.INCORRECT,
a.restoreFromQuestionSpecificScoreProperties(this.m_questionSpecificScore),a.resumeSelectedAnswers(this.m_answerScores.slice(0)),a.m_questionScore=this)}},getinteractionID:function(){return this.m_interactionID},setinteractionID:function(a){this.m_interactionID=a},setQuestionDatafromQuestion:function(a,b,c,d){this.m_objectiveID=a;this.m_interactionID=b;this.m_weighting=c;this.m_negativeWeight=d},createQuestionSpecificScore:function(){this.m_questionSpecificScore||(this.m_questionSpecificScore="hotspot"==
this.m_interactionType?new cp.HotSpotQuestionSpecificScore:new cp.ChoiceQuestionSpecificScore)},getSlideNum:function(){return this.m_slideNum},setSlideNum:function(a){this.m_slideNum=a},getStartTime:function(){return this.m_startTime},setStartTime:function(a){this.m_startTime=a},getEndTime:function(){return this.m_endTime},setEndTime:function(a){this.m_endTime=a},getInteractionTypeForLMS:function(){var a;switch(this.m_interactionType){case cpInteractionTypeEnum.Choice:case cpInteractionTypeEnum.HotSpot:a=
"choice";break;case cpInteractionTypeEnum.TrueFalse:a="true-false";break;case cpInteractionTypeEnum.FillIn:a="fill-in";break;case cpInteractionTypeEnum.LongFillIn:a="long-fill-in";break;case cpInteractionTypeEnum.Matching:a="matching";break;case cpInteractionTypeEnum.Sequence:a="sequencing";break;case cpInteractionTypeEnum.Likert:a="likert";break;case cpInteractionTypeEnum.Widget:a="widget"}return a},getInteractionType:function(){var a;switch(this.m_interactionType){case cpInteractionTypeEnum.Choice:a=
"choice";break;case cpInteractionTypeEnum.TrueFalse:a="true-false";break;case cpInteractionTypeEnum.FillIn:a="fill-in";break;case cpInteractionTypeEnum.LongFillIn:a="long-fill-in";break;case cpInteractionTypeEnum.Matching:a="matching";break;case cpInteractionTypeEnum.Sequence:a="sequencing";break;case cpInteractionTypeEnum.Likert:a="likert";break;case cpInteractionTypeEnum.HotSpot:a="hotspot";break;case cpInteractionTypeEnum.Widget:a="widget"}return a},setInteractionType:function(a){var b;switch(a){case "choice":b=
cpInteractionTypeEnum.Choice;break;case "true-false":b=cpInteractionTypeEnum.TrueFalse;break;case "fill-in":b=cpInteractionTypeEnum.FillIn;break;case "long-fill-in":b=cpInteractionTypeEnum.LongFillIn;break;case "matching":b=cpInteractionTypeEnum.Matching;break;case "sequencing":b=cpInteractionTypeEnum.Sequence;break;case "hotspot":b=cpInteractionTypeEnum.HotSpot;break;case "likert":b=cpInteractionTypeEnum.Likert;break;case "widget":b=cpInteractionTypeEnum.Widget}this.m_interactionType=b},getObjectiveID:function(){return this.m_objectiveID},
setObjectiveID:function(a){this.m_objectiveID=a},getInteractionID:function(){return this.m_interactionID},setInteractionID:function(a){this.m_interactionID=a},getWeighting:function(){return this.m_weighting},setWeighting:function(a){this.m_weighting=a},getNegativeWeight:function(){return this.m_negativeWeight},setNegativeWeight:function(a){this.m_negativeWeight=a},getAnswerScores:function(){return this.m_answerScores},setAnswerScores:function(a){this.m_answerScores=a},getNumTries:function(){return this.m_numTries},
setNumTries:function(a){this.m_numTries=a},getAnswersIncomplete:function(){return this.m_answersIncomplete},setAnswersIncomplete:function(a){this.m_answersIncomplete=a},getAnsweredCorrectly:function(){return this.m_answeredCorrectly},setAnsweredCorrectly:function(a){this.m_answeredCorrectly=a},getPausedMsecs:function(){return this.m_pausedMsecs},setPausedMsecs:function(a){this.m_pausedMsecs=a},getQuestionNumInQuiz:function(){return this.m_questionNumInQuiz},setQuestionNumInQuiz:function(a){this.m_questionNumInQuiz=
a},getWasJudged:function(){return this.m_wasJudged},setIsPretest:function(a){this.m_isPretestQuestion=a},getIsPretest:function(){return this.m_isPretestQuestion},setWasJudged:function(a){this.m_wasJudged=a},resetScore:function(){this.m_answerScores=[];this.m_numTries=0;this.m_endTime=this.m_startTime=void 0;this.m_answeredCorrectly=this.m_answersIncomplete=!1;this.m_pausedMsecs=0;this.m_wasJudged=!1;this.m_questionSpecificScore&&this.m_questionSpecificScore.reset()}};
cp.QuizSlideGraphManager=function(){cp.QuizSlideGraphManager.baseConstructor.call(this);this.m_CompletionBranchMinQuizScore=this.m_CompletionBranchMaxQuizScore=0;this.m_CompletionBranchMinQuizScoreSet=this.m_CompletionBranchMaxQuizScoreSet=!1;this.m_SlideNumToQuestionNumMap={};this.m_progressNumber=0;this.m_startSlideIndex=-1};cp.inherits(cp.QuizSlideGraphManager,cp.SlideGraphManager);cp.QuizSlideGraphManager.prototype.getPlaybackController=function(){return cp.movie.playbackController};
cp.QuizSlideGraphManager.prototype.countQuizSlides=function(a){for(var b={},c=0,d=0;d<a.length;++d){var e=a[d];void 0==b[e]&&(b[e]=e,this.IsNonPretestQuestionSlide(e)&&++c)}return c};cp.QuizSlideGraphManager.prototype.countQuizMaxScore=function(a){var b=this.getPlaybackController();if(void 0==b)return"NaN";b=b.GetQuizController();if(!b)return 0;for(var c={},d=0,e=0;e<a.length;++e){var f=a[e];void 0==c[f]&&(c[f]=f,d+=b.getQuizSlideMaxScore(f))}return d};
cp.QuizSlideGraphManager.prototype.countQuizMinScore=function(a){var b=this.getPlaybackController();if(void 0==b)return"NaN";b=b.GetQuizController();if(!b)return 0;for(var c={},d=0,e=0;e<a.length;++e){var f=a[e];void 0==c[f]&&(c[f]=f,d+=b.getQuizSlideMinScore(f))}return d};
cp.QuizSlideGraphManager.prototype.countQuizScore=function(a){var b=this.getPlaybackController();if(void 0==b)return"NaN";b=b.GetQuizController();if(!b)return 0;for(var c={},d=0,e=0;e<a.length;++e){var f=a[e];void 0==c[f]&&(c[f]=f,d+=b.getQuizSlideScore(f))}return d};
cp.QuizSlideGraphManager.prototype.findCompletionBranchTraverse=function(a,b,c){var d=!1,e=-1;!d&&void 0==this.m_SlideGraphObj[a]&&(e=this.BranchEnum.kBranchFound,d=!0);!d&&void 0!=c[a]&&(e=this.BranchEnum.kLoopBranchFound,d=!0);e!=this.BranchEnum.kLoopBranchFound&&(b.push(a),c[a]=a);if(d){++this.m_BranchNumber;if(1==this.m_BranchNumber){var e=[],e=this.m_CurrentBranch.length,f=b.length;0<e&&0<f&&this.m_CurrentBranch[e-1]==b[0]?(e=this.m_CurrentBranch.slice(0,e-1),e=e.concat(b),this.m_CompletionBranch=
e.slice()):this.m_CompletionBranch=this.m_CurrentBranch.concat(b);this.m_CompletionBranchSet=!0;this.m_CompletionBranchMaxQuizScore=this.countQuizMaxScore(this.m_CompletionBranch);this.m_CompletionBranchMaxQuizScoreSet=!0;this.m_CompletionBranchMinQuizScore=this.countQuizMinScore(this.m_CompletionBranch);this.m_CompletionBranchMinQuizScoreSet=!0;b.pop();delete c[a];return this.BranchEnum.kBranchFound}if(2<=this.m_BranchNumber){this.m_CompletionBranchSet=!1;if(this.m_CompletionBranchMaxQuizScoreSet){if(this.countQuizMaxScore(this.m_CurrentBranch.concat(b))==
this.m_CompletionBranchMaxQuizScore)return e!=this.BranchEnum.kLoopBranchFound&&(b.pop(),delete c[a]),this.BranchEnum.kBranchFound;this.m_CompletionBranchMaxQuizScoreSet=!1;e!=this.BranchEnum.kLoopBranchFound&&(b.pop(),delete c[a]);return this.BranchEnum.kMultipleBranchFound}e!=this.BranchEnum.kLoopBranchFound&&(b.pop(),delete c[a]);return this.BranchEnum.kMultipleBranchFound}}var d=this.m_SlideGraphObj[a],g=!1;for(f in d)switch(this.findCompletionBranchTraverse(Number(f),b,c)){case this.BranchEnum.kBranchFound:g=
!0;case this.BranchEnum.kBranchNotFound:break;case this.BranchEnum.kMultipleBranchFound:return this.BranchEnum.kMultipleBranchFound}e!=this.BranchEnum.kLoopBranchFound&&(b.pop(),delete c[a]);return g?this.BranchEnum.kBranchFound:this.BranchEnum.kBranchNotFound};
cp.QuizSlideGraphManager.prototype.findCompletionBranch=function(){var a=1<=this.m_CurrentBranch.length?this.m_CurrentBranch[this.m_CurrentBranch.length-1]:this.m_RootSlideIndex;this.m_startSlideIndex=a;this.m_CompletionBranch=[];this.m_CompletionBranchSet=!1;this.m_BranchNumber=0;this.findCompletionBranchTraverse(a,[],{})};
cp.QuizSlideGraphManager.prototype.IsNonPretestQuestionSlide=function(a){var b=this.getPlaybackController();return b&&(b=b.GetQuizController())?b.IsNonPretestQuestionSlide(a):!1};cp.QuizSlideGraphManager.prototype.findFirstNonPretestQuestionSlide=function(){for(var a=this.m_CurrentBranch.length,b=0;b<a;++b)if(this.IsNonPretestQuestionSlide(this.m_CurrentBranch[b]))return this.m_CurrentBranch[b];return-1};
cp.QuizSlideGraphManager.prototype.getMaxQuizScore=function(){!this.m_CompletionBranchSet&&!this.m_CompletionBranchMaxQuizScoreSet&&this.findCompletionBranch();if(!this.m_CompletionBranchSet&&!this.m_CompletionBranchMaxQuizScoreSet)return"NaN";var a=-1;return a=this.m_CompletionBranchMaxQuizScoreSet?this.m_CompletionBranchMaxQuizScore:this.countQuizMaxScore(this.m_CompletionBranch)};
cp.QuizSlideGraphManager.prototype.getMinQuizScore=function(){!this.m_CompletionBranchSet&&!this.m_CompletionBranchMinQuizScoreSet&&this.findCompletionBranch();if(!this.m_CompletionBranchSet&&!this.m_CompletionBranchMinQuizScoreSet)return"NaN";var a="NaN";return a=this.m_CompletionBranchMinQuizScoreSet?this.m_CompletionBranchMinQuizScore:this.countQuizMinScore(this.m_CompletionBranch)};
cp.QuizSlideGraphManager.prototype.getQuizScorePercentage=function(){!this.m_CompletionBranchSet&&!this.m_CompletionBranchMaxQuizScoreSet&&this.findCompletionBranch();if(!this.m_CompletionBranchSet&&!this.m_CompletionBranchMaxQuizScoreSet)return"NaN";var a=this.countQuizScore(this.m_CurrentBranch),b=-1,b=this.m_CompletionBranchSlideCountSet?this.m_CompletionBranchSlideCount:this.countQuizMaxScore(this.m_CompletionBranch);return 0>=b?"NaN":100*a/b};
cp.QuizSlideGraphManager.prototype.getNextAttemptFirstQuestionSlideIndex=function(){return this.findFirstNonPretestQuestionSlide()};cp.QuizSlideGraphManager.prototype.getReviewFirstQuestionSlideIndex=function(){return this.findFirstNonPretestQuestionSlide()};cp.QuizSlideGraphManager.prototype.getNumQuestions=function(){!this.m_CompletionBranchSet&&!this.m_CompletionBranchMaxQuizScoreSet&&this.findCompletionBranch();return!this.m_CompletionBranchSet&&!this.m_CompletionBranchMaxQuizScoreSet?"NaN":this.countQuizSlides(this.m_CompletionBranch)};
cp.QuizSlideGraphManager.prototype.getQuestionSlideProgressNumber=function(a){return this.m_SlideNumToQuestionNumMap&&void 0!=this.m_SlideNumToQuestionNumMap[a]?this.m_SlideNumToQuestionNumMap[a]:"NaN"};cp.QuizSlideGraphManager.prototype.setQuestionSlideProgressNumber=function(a){this.m_SlideNumToQuestionNumMap||(this.m_SlideNumToQuestionNumMap={});void 0==this.m_SlideNumToQuestionNumMap[a]&&(this.m_SlideNumToQuestionNumMap[a]=++this.m_progressNumber)};
cp.QuizSlideGraphManager.prototype.getLastQuestionSlideIndex=function(){if(!this.getPlaybackController())return-1;this.m_CompletionBranchSet||this.findCompletionBranch();if(!this.m_CompletionBranchSet)return-1;for(var a=-1,b=this.m_CompletionBranch.length,c=0;c<b;++c){var d=this.m_CompletionBranch[c];this.IsNonPretestQuestionSlide(d)&&d>a&&(a=d)}return a};
cp.QuizSlideGraphManager.prototype.resetCurrentBranch=function(a){if(!(0>a)){for(var b=-1,c=0;c<this.m_CurrentBranch.length;++c)if(this.m_CurrentBranch[c]==a){b=a;break}0<=b&&b+1<this.m_CurrentBranch.length&&this.m_CurrentBranch.splice(b+1);a={};for(c=b=0;c<this.m_CurrentBranch.length;++c){var d=this.m_CurrentBranch[c];this.m_SlideNumToQuestionNumMap.hasOwnProperty(d)&&(a[d]=this.m_SlideNumToQuestionNumMap[d],b<this.m_SlideNumToQuestionNumMap[d]&&(b=this.m_SlideNumToQuestionNumMap[d]))}this.m_SlideNumToQuestionNumMap=
a;this.m_progressNumber=b;this.m_CompletionBranchMinQuizScore=this.m_CompletionBranchMaxQuizScore=0;this.m_CompletionBranchMinQuizScoreSet=this.m_CompletionBranchMaxQuizScoreSet=!1;this.findCompletionBranch()}};
cp.QuizSlideGraphManager.prototype.findLastContinousBranchFromHistory=function(a,b){for(var c=[],d=this.m_BranchHistory.length-1;0<=d;--d)if(c=[],this.m_BranchHistory[d]==a){for(var e=-1,f=!0,g=d;g<this.m_BranchHistory.length;++g){c.push(this.m_BranchHistory[g]);if(this.m_BranchHistory[g]==b){e=g;break}if(g!=this.m_BranchHistory.length-1&&!this.getIsJumpValid(this.m_BranchHistory[g],this.m_BranchHistory[g+1])){f=!1;break}}if(-1!=e&&f)return c}return c=[]};
cp.QuizSlideGraphManager.prototype.updateCurrentBranch=function(a){if(!(0>a)){var b=this.getPlaybackController();if(b&&((b=b.GetQuizController())||!b.GetIsInReviewMode())){for(var c=this.m_CurrentBranch.length,d=-1,e=0;e<this.m_CurrentBranch.length;++e)if(this.m_CurrentBranch[e]==a){d=e;break}if(-1!=d&&d+1<c){this.m_CurrentBranch.splice(d+1);b={};for(c=a=0;c<this.m_CurrentBranch.length;++c)d=this.m_CurrentBranch[c],this.m_SlideNumToQuestionNumMap.hasOwnProperty(d)&&(b[d]=this.m_SlideNumToQuestionNumMap[d],
a<this.m_SlideNumToQuestionNumMap[d]&&(a=this.m_SlideNumToQuestionNumMap[d]));this.m_SlideNumToQuestionNumMap=b;this.m_progressNumber=a}else if(0<this.m_CurrentBranch.length&&-1==d){a=this.findLastContinousBranchFromHistory(this.m_CurrentBranch[this.m_CurrentBranch.length-1],a);for(c=0;c<a.length;++c)this.m_CurrentBranch.push(a[c]),this.m_BranchHistory.push(a[c]),b&&"Question"==b.GetSlideType(a[c])&&this.setQuestionSlideProgressNumber(a[c])}this.m_CompletionBranchMinQuizScore=this.m_CompletionBranchMaxQuizScore=
0;this.m_CompletionBranchMinQuizScoreSet=this.m_CompletionBranchMaxQuizScoreSet=!1;this.findCompletionBranch()}}};cp.PoolManager=function(){this.m_framesAddedSoFar=0};
cp.PoolManager.prototype={updateQuestionData:function(a,b){var c=cp.D[a];c&&(c.w=b.w,c.it=b.it,c.oid=b.oid,c.sra=b.sra,c.nw=b.nw,c.oca=b.oca,c.ofa=b.ofa)},updateModelDataForSlides:function(a,b){var c=-1,d=-1,e=cp.D.project_main.slides;if(e&&!(0>=e.length)){var e=e.split(","),f=e[a],g=cp.D[f];g.w=b.w;g.oca=b.oca;g.ofa=b.ofa;g.v=b.v;this.updateQuestionData(g.qs,b);var i=g.to-g.from+1;this.m_framesAddedSoFar+=i;var j=-1;0==a?(c=1,d=g.to,j=0):(j=cp.D[e[a-1]],c=j.to+1,d=c+i-1,j=j.to);cp.poolVerbose&&cp.log("Slide Name : "+
f+", from : "+g.from+", pauseAt : "+g.pa+", to : "+g.to);g.from=c;g.pa+=c;g.to=d;g.audioName&&(d=cp.D[g.audioName],cp.poolVerbose&&cp.log("Random : "+g.audioName+" : "+d.from+", "+d.to+". Adding : "+(c-1)),d.from+=c-1,d.to+=c-1,cp.poolVerbose&&cp.log("Random : "+g.audioName+" after addition : "+d.from+", "+d.to));cp.poolVerbose&&cp.log("Slide Name : "+f+", from : "+g.from+", pauseAt : "+g.pa+", to : "+g.to);this.updateStartEndFramesForSlideItems(j,f,g.to);cp.poolVerbose&&cp.log("Adding : "+i);for(c=
a+1;c<e.length;++c)f=e[c],d=cp.D[f],j=d.pn,j&&""!=j||(cp.poolVerbose&&cp.log(f+" : "+d.from+", "+d.to+". Adding : "+i),d.from+=i,d.to+=i,cp.poolVerbose&&cp.log(f+" after addition : "+d.from+", "+d.to),d.pa+=i,this.updateStartEndFramesForSlideItems(i,f,d.to));this.updateStartEndFramesForSlideAudios(i,g.rsi,g.audioName)}},updateStartEndFramesForSlideAudios:function(a,b,c){var d=cp.D.project_main.slideAudios;d||(d="");for(var e=[],d=d.split(","),f=0;f<b;++f)e.push(d[f]);c&&e.push(c);for(f=b;f<d.length;++f)if(e.push(d[f]),
b=cp.D[d[f]])cp.poolVerbose&&cp.log(d[f]+" : "+b.from+", "+b.to+". Adding : "+a),b.from+=a,b.to+=a,cp.poolVerbose&&cp.log(d[f]+" after addition : "+b.from+", "+b.to);cp.D.project_main.slideAudios=e.toString()},updateStartEndFramesForSlideItems:function(a,b,c){var d=cp.D[b],e=d.si;if(e&&!(0>=e.length)){for(var f in e){var g=cp.D[e[f].n];if(void 0!=g&&(!0==g.immo?g.to=c:1!=g.rp&&1!=g.rpa||g.apsn==b?(g.from+=a,g.pa&&(g.pa+=a),g.to+=a):g.to=c,void 0!=g.ia)){var i=cp.D[g.ia];i&&(1!=g.rp&&1!=g.rpa&&g.apsn==
b)&&(i.from+=a-1,i.to+=a)}}if((b=d.iph)&&0<b.length)for(var j in b)void 0!=b[j]&&(c=cp.D[b[j].n],void 0!=c&&c.pa&&(c.pa+=a))}},updateSlideDataFromRandomSlideData:function(a,b){var c=b.qnq;if(void 0!=c){var d=cp.D[a];cp.D[d.qs+c]=cp.D[d.qs];cp.D[d.qs+c].qnq=c;cp.D[d.qs+c].oid=b.oid;d.qnq=c;d.pn=b.pn;d.rsi=b.rsi;this.updateQuestionNameAtIndex(d.qs,c)}},loadPools:function(){var a=cp.D.project_main.pools;if(!(void 0==a||0>=a.length))for(var b=0;b<a.length;++b)this.loadPoolDataIntoModel(a[b])},loadPoolDataIntoModel:function(a){for(var b=
cp.model[a+"Data"],c=cp.D[a].pqs,d=0;d<c.length;++d){var e=b[c[d]+"Data"],f;for(f in e)cp.D[f]=e[f]}var b=a+"Images",g;for(g in b)cp.model.images.push(g);g=a+"Videos";for(var i in g)cp.model.videos.push(i);var a=a+"SlideVideos",j;for(j in a)cp.model.slideVideos.push(j)},updateSlideNameAtIndex:function(a,b){var c=cp.D.project_main.slides;0>=c.length||(c=c.split(","),b>c.length-1||(c[b]=a,cp.D.project_main.slides=c.toString()))},updateQuestionNameAtIndex:function(a,b){var c=cp.D.project_main.questions;
0>=c.length||(c=c.split(","),b>c.length-1||(c[b]=a,cp.movie&&(cp.movie.questions=c),cp.D.project_main.questions=c.toString()))},removeAllReferences:function(a){var b=cp.D.project_main.questions;if(0<b.length){for(var c=b.split(","),d=[],b=0;b<c.length;++b)c[b]!=a&&d.push(c[b]);cp.D.project_main.questions=d.toString()}b=cp.D.project_main.slides;if(0<b.length){c=b.split(",");d=[];for(b=0;b<c.length;++b)c[b]!=a&&d.push(c[b]);cp.D.project_main.slides=d.toString()}},updateSlidesAndQuestionsFromPool:function(){var a=
cp.D.project_main.pools;if(!(void 0==a||0>=a.length))if(a=cp.D.project_main.slides,!(void 0==a||0>=a.length)){for(var a=a.split(","),b=0,c=0;c<a.length;++c){var d=a[c],e=cp.D[d],f=e.pn;if(f&&""!=f){var g=cp.D[f],f=g.pqs,i=-1;if(e.is){g=g.rsqs;if(0>=g.length){this.removeAllReferences(d);b++;continue}void 0==f.sindex?f.sindex=0:f.sindex++;i=Number(g[f.sindex])}else{g=g.rgqs;if(0>=g.length){this.removeAllReferences(d);b++;continue}void 0==f.gindex?f.gindex=0:f.gindex++;i=Number(g[f.gindex])}f=f[i];this.updateSlideNameAtIndex(f,
c-b);e.qnq-=b;this.updateSlideDataFromRandomSlideData(f,e);this.updateModelDataForSlides(c-b,e);-1!=d.indexOf("rq")&&(d=d.split("rq")[1],""!=d&&(cp.D[d]=cp.D[f]))}}this.updateMainMovieData()}},updateMainMovieData:function(){var a=cp.D.project_main.slides;0>=a.length||(a=a.split(","),cp.D.project_main.to=cp.D[a[a.length-1]].to)},updateSlideData:function(a,b,c){this.updateSlideNameAtIndex(a,b);this.updateSlideDataFromRandomSlideData(a,c);this.updateModelDataForSlides(b,c)},randomizePools:function(){if(!(""!=
cp.resumeDataChunk&&void 0!=cp.resumeDataChunk&&"0"!=cp.resumeDataChunk)){var a=cp.D.project_main.pools;if(a){var b=a.length;if(!(0>=b)){cp.poolVerbose&&cp.log("Randomizing");for(var c=0;c<b;++c){for(var d=cp.D[a[c]],e=d.rsqs,f=e.length,g=f;g--;){var i=parseInt(Math.random()*f),j=e[g];e[g]=e[i];e[i]=j}d.rsqs=e;e=d.rgqs;for(g=f=e.length;g--;)i=parseInt(Math.random()*f),j=e[g],e[g]=e[i],e[i]=j;d.rgqs=e}this.updateSlidesAndQuestionsFromPool()}}}}};
(function(){cp.borderInit=function(d){cp.borderCreated=!1;cp.lBorderW=0;cp.tBorderW=0;cp.rBorderW=0;cp.bBorderW=0;var a=d.borderProperties;if(a){var b=document.getElementById("projectBorder"),c=cp.getMainContainer();cp.responsive||(c.style.width=b.style.width=a.w+"px",c.style.height=b.style.height=a.h+"px");a.l=void 0!=a.l?a.l:0;a.t=void 0!=a.t?a.t:0;a.r=void 0!=a.r?a.r:0;a.b=void 0!=a.b?a.b:0;cp.lBorderW=a.l;cp.tBorderW=a.t;cp.rBorderW=a.r;cp.bBorderW=a.b;b.style.backgroundColor=a.bc;(c=a.ip)&&(b.style["background-image"]=
"url('"+c+"')");a.hasSqEd||(b.style["border-radius"]="20px");cp.updateBorderPosition(d,!0);cp.borderCreated=!0;cp.complete()}}})();
cp.playbar=function(a){return document.getElementById(a)};cp.PB=cp.playbar;cp.PB.Btns={kBtnAudioOff:"AudioOff",kBtnAudioOn:"AudioOn",kBtnBackward:"Backward",kBtnCC:"CC",kBtnExit:"Exit",kBtnFastForward:"FastForward",kBtnFastForward1:"FastForward1",kBtnFastForward2:"FastForward2",kBtnForward:"Forward",kBtnInfo:"Info",kBtnLogo:"Logo",kBtnPlay:"Play",kBtnPause:"Pause",kBtnPrint:"Print",kBtnProgress:"Progress",kBtnRewind:"Rewind",kBtnThumb:"Thumb",kBtnThumbBase:"ThumbBase",kBtnTOC:"TOC"};
cp.PB.BtnStyleImages="Color ColorSmall Glow GlowSmall Height Shadow ShadowSmall InnerStroke InnerStrokeSmall Shade ShadeSmall Stroke StrokeSmall".split(" ");cp.PB.kLargeBtn=0;cp.PB.kSmallBtn=1;cp.PB.kBtnMargin=2;cp.PB.kIndentMargin=8;cp.PB.movieProperties=null;cp.PB.assetsLoaded=0;cp.PB.isVertical=!1;cp.PB.numBtns=0;cp.PB.playBarDim=0;cp.PB.mainMovie=null;cp.PB.playBarOtherDim=0;cp.PB.playbarHasLogo=!1;cp.PB.playbarHasInfo=!1;cp.PB.playbarHasPrint=!1;cp.PB.loadedAssetArr={};
cp.PB.playBarIconsFolder="./assets/playbar/PlaybarIcons/";cp.PB.PNGSuffix=".png";cp.PB.btnSizeMap={};cp.PB.btnSizeMap[cp.PB.Btns.kBtnAudioOff]=cp.PB.kSmallBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnAudioOn]=cp.PB.kSmallBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnBackward]=cp.PB.kSmallBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnCC]=cp.PB.kSmallBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnExit]=cp.PB.kSmallBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnFastForward]=cp.PB.kSmallBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnFastForward1]=cp.PB.kSmallBtn;
cp.PB.btnSizeMap[cp.PB.Btns.kBtnFastForward2]=cp.PB.kSmallBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnForward]=cp.PB.kSmallBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnPlay]=cp.PB.kLargeBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnPause]=cp.PB.kLargeBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnRewind]=cp.PB.kSmallBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnTOC]=cp.PB.kSmallBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnInfo]=cp.PB.kSmallBtn;cp.PB.btnSizeMap[cp.PB.Btns.kBtnPrint]=cp.PB.kSmallBtn;cp.PB.playBarHeight=0;cp.PB.playBarCSSLoaded=!1;
cp.PB.toolTips={};cp.PB.toolTips[cp.PB.Btns.kBtnRewind]="Rewind ;\u5012\u5e36 ;Rembobiner ;Zur\u00fcckspulen ;Riavvolgi ;\u5dfb\u304d\u623b\u3057 ;Rebobinar ;\ub418\uac10\uae30 ;Retroceder ".split(";");cp.PB.toolTips[cp.PB.Btns.kBtnBackward]="Back ;\u5f8c\u9000 ;Retour ;Zur\u00fcck ;Indietro ;\u623b\u308b ;Atr\u00e1s ;\ub4a4\ub85c ;Voltar ".split(";");cp.PB.toolTips[cp.PB.Btns.kBtnPlay]="Play ;\u64ad\u653e ;Lire ;Abspielen ;Esegui ;\u518d\u751f ;Reproducir ;\uc7ac\uc0dd ;Reproduzir ".split(";");
cp.PB.toolTips[cp.PB.Btns.kBtnPause]="Pause ;\u66ab\u505c ;Pause ;Anhalten ;Pausa ;\u4e00\u6642\u505c\u6b62 ;Pausa ;\uc77c\uc2dc \uc911\uc9c0 ;Pausar ".split(";");cp.PB.toolTips[cp.PB.Btns.kBtnForward]="Forward ;\u524d\u9032 ;Avancer ;Weiter ;Avanti ;\u9032\u3080 ;Adelante ;\uc55e\uc73c\ub85c ;Avan\u00e7ar ".split(";");cp.PB.toolTips[cp.PB.Btns.kBtnCC]="Closed Captioning ;\u96b1\u85cf\u5f0f\u5b57\u5e55 ;Sous-titrage ;Bilduntertitel ;Didascalie ;\u30af\u30ed\u30fc\u30ba\u30c9\u30ad\u30e3\u30d7\u30b7\u30e7\u30f3 ;Subt\u00edtulos opcionales ;\ud3d0\uc1c4 \ucea1\uc158 ;Legenda codificada ".split(";");
cp.PB.toolTips[cp.PB.Btns.kBtnAudioOn]="Audio Off ;\u95dc\u9589\u97f3\u8a0a ;Audio d\u00e9sactiv\u00e9 ;Audio aus ;Audio spento ;\u97f3\u58f0 \u30aa\u30d5 ;Audio desact. ;\uc624\ub514\uc624 \ub044\uae30 ;\u00c1udio ligado ".split(";");cp.PB.toolTips[cp.PB.Btns.kBtnAudioOff]="Audio On ;\u958b\u555f\u97f3\u8a0a ;Audio activ\u00e9 ;Audio an ;Audio acceso ;\u97f3\u58f0 \u30aa\u30f3 ;Audio act.;\uc624\ub514\uc624 \ucf1c\uae30 ;\u00c1udio desligado ".split(";");cp.PB.toolTips[cp.PB.Btns.kBtnExit]="Exit ;\u7d50\u675f ;Quitter ;Beenden ;Esci ;\u9589\u3058\u308b ;Salir ;\ub05d\ub0b4\uae30 ;Sair ".split(";");
cp.PB.toolTips[cp.PB.Btns.kBtnInfo]="Information ;\u8cc7\u8a0a ;Informations ;Informationen ;Informazioni ;\u60c5\u5831 ;Informaci\u00f3n ;\uc815\ubcf4 ;Informa\u00e7\u00f5es ".split(";");cp.PB.toolTips[cp.PB.Btns.kBtnTOC]="Table of Contents ;\u76ee\u9304 ;Table des mati\u00e8res ;Inhaltsverzeichnis ;Sommario ;\u76ee\u6b21 ;Contenido ;\ubaa9\ucc28 ;\u00cdndice anal\u00edtico ".split(";");cp.PB.toolTips[cp.PB.Btns.kBtnFastForward]="2x Fast Forward Speed ;2 \u500d\u901f\u5feb\u8f49 ;Vitesse d'avance rapide x2 ;Zweifache Vorspulgeschwindigkeit ;Velocit\u00e0 avanzamento rapido 2x ;2 \u500d\u901f ;Velocidad de avance r\u00e1pido 2x ;2\ubc30\uc18d \ube68\ub9ac \uac10\uae30 ;Velocidade 2x de avan\u00e7ar ".split(";");
cp.PB.toolTips[cp.PB.Btns.kBtnFastForward1]="4x Fast Forward Speed ;4 \u500d\u901f\u5feb\u8f49 ;Vitesse d'avance rapide x4 ;Vierfache Vorspulgeschwindigkeit ;Velocit\u00e0 avanzamento rapido 4x ;4 \u500d\u901f ;Velocidad de avance r\u00e1pido 4x ;4\ubc30\uc18d \ube68\ub9ac \uac10\uae30 ;Velocidade 4x de avan\u00e7ar ".split(";");cp.PB.toolTips[cp.PB.Btns.kBtnFastForward2]="Normal Speed ;\u6b63\u5e38\u901f\u5ea6 ;Vitesse normale ;Normale Geschwindigkeit ;Velocit\u00e0 normale ;\u6a19\u6e96\u901f\u5ea6 ;Velocidad normal ;\uc77c\ubc18 \uc18d\ub3c4 ;Velocidade normal ".split(";");
cp.PB.toolTips[cp.PB.Btns.kBtnPrint]="Print;\u5217\u5370 ;Imprimer ;Drucken ;Stampa ;\u5370\u5237 ;Imprimir ;\uc778\uc1c4 ;Imprimir ".split(";");cp.PB.toolTipLocaleIndex=0;cp.localizeToolTips=function(a){return cp.playbarTooltips&&cp.playbarTooltips[a]?cp.playbarTooltips[a]:cp.PB.toolTips[a][cp.PB.toolTipLocaleIndex]?cp.PB.toolTips[a][cp.PB.toolTipLocaleIndex]:a};
cp.PB.PlayBarButton=function(a,b,c){this.SmallSuffix="Small";this.isSmall=cp.PB.btnSizeMap[a];this.iconName=a;this.playBarDiv=b;this.currDiv=document.createElement("canvas");this.currDiv.parentObj=this;this.playBarDiv.appendChild(this.currDiv);this.currDiv.setAttribute("class",this.isSmall?"playbarSmallButton":"playbarBigButton");this.currDiv.width=this.currDiv.clientWidth;this.currDiv.height=this.currDiv.clientHeight;this.ctx=this.currDiv.getContext("2d");this.currDiv.imgElemArray=[];this.currDiv.toggleimgElemArray=
[];this.currDiv.title=cp.PB.MP.PBP.noToolTips?"":this.iconName;this.currDiv.curIcon=0;this.currDiv.tabIndex=0;this.currDiv.setAttribute("role","button");this.clickHandler=c;this.currDiv.style.marginTop=0==cp.PB.MP.PBP.tworow?(this.playBarDiv.height-this.currDiv.height)/2+"px":"0px";this.currDiv.style.marginLeft="0px"};
cp.PB.PlayBarButton.prototype={setImage:function(a){var b=cp.PB.loadedAssetArr[a+(this.isSmall?this.SmallSuffix:"")];void 0!=b&&(b.isGlow="Glow"==a,b.showImage=!0,b.imageName=a+(this.isSmall?this.SmallSuffix:""),this.currDiv.imgElemArray[this.currDiv.imgElemArray.length]=b)},getWidth:function(){void 0==this.actualClientWidth&&(this.actualClientWidth=this.currDiv.clientWidth);return this.actualClientWidth},destroy:function(){this.currDiv&&(this.currDiv.style.display="none",this.currDiv.parentElement&&
this.currDiv.parentElement.removeChild(this.currDiv))},setPosNWidth:function(a,b,c,d){if(0>=d)return 0;cp.registerGestureEvent(this.currDiv,cp.GESTURE_EVENT_TYPES.TAP,this.onClick);this.currDiv.onkeydown=this.onKeyDown;d=a?0:parseFloat(window.getComputedStyle(this.currDiv).marginLeft.replace("px",""));this.currDiv.style.marginLeft=d+b+"px";b=parseFloat(window.getComputedStyle(this.currDiv).marginTop.replace("px",""));this.currDiv.style.marginTop=b+(a?0:c)+"px";this.refresh();return cp.PB.kBtnMargin},
setIcon:function(a){var b=cp.PB.loadedAssetArr[a];b.parentElem=this.currDiv;b.isGlow=!1;b.imageName=a;cp.PB.isVertical&&cp.applyTransform(b,"matrix(0,1,-1,0,0,0)");this.currDiv.toggleimgElemArray[this.currDiv.toggleimgElemArray.length]=b;this.currDiv.currImageName=a;this.currDiv.title=cp.PB.MP.PBP.noToolTips?"":cp.localizeToolTips(this.currDiv.toggleimgElemArray[this.currDiv.curIcon].imageName)},onClick:function(a){this.parentObj.toggleImage(a);void 0!=this.parentObj.clickHandler&&this.parentObj.clickHandler()},
onKeyDown:function(a){var b;a.keyCode?b=a.keyCode:a.which&&(b=a.which);32==b&&(this.parentObj.toggleImage(a),void 0!=this.parentObj.clickHandler&&this.parentObj.clickHandler())},toggleImage:function(a){var b=this.currDiv;null==b&&(b=this);b.curIcon=(b.curIcon+1)%b.toggleimgElemArray.length;var c=cp.localizeToolTips(b.toggleimgElemArray[b.curIcon].imageName);b.title=cp.PB.MP.PBP.noToolTips?"":c;cp.modifyAlternativeAccessibleText(b,c);b.parentObj.onMouseOver(a)},changeImage:function(a){var b=this.currDiv;
null==b&&(b=this);this.currDiv.currImageName=a;for(var c=0;c<b.toggleimgElemArray.length;++c)if(a==b.toggleimgElemArray[c].imageName){if(c==b.curIcon)return;b.curIcon=c;b.title=cp.localizeToolTips(b.toggleimgElemArray[b.curIcon].imageName)}if(b.rollover)b.parentObj.onMouseOver(null);else b.parentObj.onMouseOut(null)},refresh:function(){this.onMouseOut(null)},onMouseOver:function(){var a=this.ctx,b=this.currDiv;null==b&&(b=this);null==a&&(a=this.getContext("2d"));b.rollover=!0;var c;a.clearRect(0,
0,b.clientWidth,b.clientHeight);for(var d=0;d<b.imgElemArray.length;++d)c=b.imgElemArray[d],a.drawImage(c,(b.clientWidth-c.width)/2,(b.clientHeight-c.height)/2);c=b.toggleimgElemArray[b.curIcon];var d=b.clientWidth/2,f=b.clientHeight/2,g=c.width,e=c.height;a.translate(d,f);a.rotate(Math.PI/180*(cp.PB.isVertical?-90:0));a.drawImage(c,-g/2,-e/2,g,e);b.currImageName=c.imageName;a.rotate(Math.PI/180*(cp.PB.isVertical?90:0));a.translate(-d,-f)},onMouseOut:function(){var a=this.ctx,b=this.currDiv;null==
b&&(b=this);null==a&&(a=this.getContext("2d"));b.rollover=!1;a.clearRect(0,0,b.clientWidth,b.clientHeight);if(b.imgElemArray){for(var c=0;c<b.imgElemArray.length;++c){var d=b.imgElemArray[c];d.isGlow||a.drawImage(d,(b.clientWidth-d.width)/2,(b.clientHeight-d.height)/2)}var d=b.toggleimgElemArray[b.curIcon],c=b.clientWidth/2,f=b.clientHeight/2,g=d.width,e=d.height;a.translate(c,f);a.rotate(Math.PI/180*(cp.PB.isVertical?-90:0));a.drawImage(d,-g/2,-e/2,g,e);b.currImageName=d.imageName;a.rotate(Math.PI/
180*(cp.PB.isVertical?90:0));a.translate(-c,-f)}}};
cp.PB.PlayBarSlider=function(a){this.thumbBase="ThumbBase";this.progress="Progress";this.thumb="Thumb";this.playBarDiv=a;this.currDiv=document.createElement("div");this.currDiv.setAttribute("class","playbarSlider");this.playBarDiv.appendChild(this.currDiv);this.currDiv.border="0px";this.currDiv.margin="0px";this.currDiv.padding="0px";this.progressDiv=document.createElement("canvas");this.currDiv.appendChild(this.progressDiv);this.currDiv.progressDiv=this.progressDiv;this.progressDiv.id="playbarSlider";
this.thumbimg=cp.PB.loadedAssetArr[this.thumb];this.thumbDiv=document.createElement("div");a=-1;0===cp.D.pref.rkt&&(a=10006);this.thumbDiv.setAttribute("tabindex",a);this.thumbDiv.setAttribute("class","playbarSliderThumb");this.currDiv.appendChild(this.thumbDiv);cp.fixWebkitScaling(this.thumbDiv);this.thumbimg.style.display="block";this.thumbDiv.appendChild(this.thumbimg);this.progressDiv.thumbDiv=this.thumbDiv;this.thumbDiv.progressDiv=this.progressDiv;this.thumbDiv.id="playbarSliderThumb";this.currDiv.style.marginLeft=
"0px";""==this.currDiv.style.marginTop&&(this.currDiv.style.marginTop="0px");this.currDiv.height=1==cp.PB.MP.PBP.tworow?this.playBarDiv.height/2:this.playBarDiv.height};
cp.PB.PlayBarSlider.prototype={adjustWidth:function(){this.currDiv.style.width="58px"},setPosNWidth:function(a,b,c,d){d-=this.progressDiv.thumbDiv.clientWidth;if(0>=d)return 0;this.currDiv.width=d;this.currDiv.style.width=d+"px";d=a?0:parseFloat(window.getComputedStyle(this.currDiv).marginLeft.replace("px",""));this.currDiv.style.marginLeft=d+b+2*cp.PB.kBtnMargin+"px";b=a?0:parseFloat(window.getComputedStyle(this.currDiv).marginTop.replace("px",""));a||(this.currDiv.style.marginTop=b+c+"px");this.init(a);
this.refresh(a);this.currDiv.style.display="inline";return 2*cp.PB.kBtnMargin},getWidth:function(){void 0==this.actualClientWidth&&(this.actualClientWidth=this.currDiv.clientWidth+this.progressDiv.thumbDiv.clientWidth);return this.actualClientWidth},destroy:function(){this.currDiv&&(this.currDiv.style.display="none",this.currDiv.parentElement&&this.currDiv.parentElement.removeChild(this.currDiv))},init:function(){this.thumbDiv.width=this.thumbDiv.clientWidth;this.thumbDiv.height=this.thumbDiv.clientHeight;
var a=cp.PB.loadedAssetArr[this.thumbBase];this.progressDiv.parentObj=this;cp.registerGestureEvent(this.progressDiv,cp.GESTURE_EVENT_TYPES.TAP,this.moveSlider);this.progressDiv.updateSlider=this.updateSlider;this.progressDiv.thumbBasePattern=this.progressDiv.getContext("2d").createPattern(a,"repeat");a=cp.PB.loadedAssetArr[this.progress];this.progressDiv.progressPattern=this.progressDiv.getContext("2d").createPattern(a,"repeat");this.progressDiv.width=this.currDiv.width;this.progressDiv.height=a.height;
this.progressDiv.style.marginTop="0px";this.progressDiv.style.marginLeft=this.thumbDiv.width/2+"px";this.progressDiv.maxFrameWidth=this.progressDiv.width;this.progressDiv.maxFrameHeight=this.progressDiv.height;this.progressDiv.style.marginTop=0==cp.PB.MP.PBP.tworow?(this.playBarDiv.height-this.progressDiv.height)/2+"px":(this.playBarDiv.height/2-this.progressDiv.height)/2+"px";this.currDiv.width+=this.thumbDiv.width;this.currDiv.style.width=this.currDiv.width+"px";this.currDiv.height=this.playBarDiv.height;
cp.browser!=cp.FIREFOX&&(cp.device==cp.IDEVICE?this.thumbDiv.ontouchstart=this.onMouseDown:this.thumbDiv.onmousedown=this.onMouseDown);a=parseFloat(window.getComputedStyle(this.thumbDiv).top.replace("px",""));if(1==cp.PB.MP.PBP.tworow){var b=0;cp.responsive&&(b=-this.thumbDiv.clientHeight/2);this.thumbDiv.style.top=a+b+this.playBarDiv.height/2+(this.playBarDiv.height/2-this.progressDiv.height)/2+"px"}else this.thumbDiv.style.top=a+(this.playBarDiv.height-this.progressDiv.height)/2+"px";cp.pg||cp.createAlternativeAccessibleText(this.thumbDiv,
"Progress, Slide "+(cpInfoCurrentSlideIndex+1)+" of "+cp.movie.stage.slides.length,"slider")},refresh:function(){cp.responsive?this.updateSlider(cpInfoCurrentFrame):this.updateSlider(1)},onMouseDown:function(a){this.underDrag=!0;cp.em&&cp.em.fireEvent("CPStartPlaybarScrubbing");this.style.position="absolute";var b=document.getElementById("playbarSliderThumb").progressDiv,c=b.progLen,d=document.onmousemove,f=document.onmouseup;cp.device==cp.IDEVICE&&(d=document.ontouchmove,f=document.ontouchend);var g=
a;cp.device==cp.IDEVICE&&(g=a.touches[0]);a=function(a){cp.playbarMoved();a.stopPropagation();var d=a;if(cp.device==cp.IDEVICE){d=a.touches[0];a.preventDefault()}a=0;a=cp.PB.isVertical?d.clientY-g.clientY:d.clientX-g.clientX;if(a!=0){d=Math.round((c+a)*cp.PB.MP.project_main.to/b.width);if(d<1)d=1;else if(cp.frame>cp.PB.MP.project_main.to)d=cp.PB.MP.project_main.to;if(cp.PB.mainMovie&&!cp.PB.mainMovie.virgin){cp.PB.mainMovie.pause(cp.ReasonForPause.PLAYBAR_ACTION);cp.PB.mainMovie.jumpToFrame(d)}}};
cp.device==cp.IDEVICE?document.ontouchmove=a:document.onmousemove=a;a=function(){if(cp.device==cp.IDEVICE){document.ontouchmove=d;document.ontouchend=f}else{document.onmousemove=d;document.onmouseup=f}cp.em&&cp.em.fireEvent("CPEndPlaybarScrubbing")};cp.device==cp.IDEVICE?document.ontouchend=a:document.onmouseup=a;return!1},moveSlider:function(a){cp.playbarMoved();a=Math.round((void 0==a.offsetX?a.layerX-a.currentTarget.offsetLeft:a.offsetX)*cp.PB.MP.project_main.to/this.width);1>a?a=1:a>cp.PB.MP.project_main.to&&
(a=cp.PB.MP.project_main.to);cp.PB.mainMovie&&!cp.PB.mainMovie.virgin&&(cp.PB.mainMovie.pause(cp.ReasonForPause.PLAYBAR_ACTION),cp.PB.mainMovie.jumpToFrame(a))},updateSlider:function(a){a>cp.PB.MP.project_main.to&&(a=cp.PB.MP.project_main.to);var b=this.progressDiv;null==b&&(b=this);var c=b.getContext("2d");c.clearRect(0,0,b.width,b.height);c.fillStyle=b.thumbBasePattern;c.fillRect(0,0,b.width,b.height);c.fillStyle=b.progressPattern;c.fillRect(0,0,b.width*a/cp.PB.MP.project_main.to,b.height);b.progLen=
b.width*a/cp.PB.MP.project_main.to;b.thumbDiv.style.marginLeft=b.progLen+"px";b.thumbDiv.title=cpInfoCurrentSlideIndex+1+"/"+cp.movie.stage.slides.length;cp.modifyAlternativeAccessibleText(this.thumbDiv,"Progress, Slide "+(cpInfoCurrentSlideIndex+1)+" of "+cp.movie.stage.slides.length)}};
cp.PB.playBarConstruct=function(a){this.playBarDiv=a;this.slider=this.bkGrndDiv=null;this.firstRowArray=[];this.secondRowArray=[];this.btnMap={};this.secondRowMinWidth=this.firstRowMinWidth=this.minWidth=0;this.logo=null};
cp.PB.playBarConstruct.prototype={createSlider:function(a,b,c){this.slider&&cp.responsive&&this.slider.destroy();if(void 0==cp.PB.MP.playBarProperties.hasSlider||0==cp.PB.MP.playBarProperties.hasSlider)return 0;this.slider=new cp.PB.PlayBarSlider(this.bkGrndDiv);if(this.slider.getWidth()+4*cp.PB.kBtnMargin+c+2*cp.PB.kIndentMargin>cp.PB.playBarDim)return this.slider.destroy(),0;b[b.length]=this.slider;this.slider.expectedWidth=this.slider.getWidth();return this.slider.expectedWidth+4*cp.PB.kBtnMargin},
createBackground:function(){var a=document.getElementById("playbarBkGrnd");a.height=a.clientHeight;this.bkGrndDiv=a},setBackGroundWidth:function(a){this.bkGrndDiv.width=a;this.bkGrndDiv.style.width=a+"px";a=cp.PB.loadedAssetArr.BackGround.src;if(cp.PB.MP.PBP.applyColors){var b=document.createElement("canvas");b.width=this.bkGrndDiv.width;b.height=this.bkGrndDiv.height;a=b.getContext("2d");a.clearRect(0,0,this.bkGrndDiv.width,this.bkGrndDiv.height);a.globalAlpha=cp.PB.MP.PBP.alpha/100;cp.setFillStrokeStyle(cp.PB.MP.PBP.BkColor,
b);a.fillRect(0,0,this.bkGrndDiv.width,this.bkGrndDiv.height);""==this.bkGrndDiv.style.backgroundImage&&(a=b.toDataURL("image/png"),this.bkGrndDiv.style.backgroundImage='url("'+a+'")');this.bkGrndDiv.style.backgroundSize="100% 100%"}else b=document.createElement("canvas"),this.bkGrndDiv.insertBefore(b,this.bkGrndDiv.firstChild),b.width=this.bkGrndDiv.width,b.height=this.bkGrndDiv.height,b.style.position="absolute",b.style.display="block",a=b.getContext("2d"),a.clearRect(0,0,this.bkGrndDiv.width,this.bkGrndDiv.height),
a.globalAlpha=cp.PB.MP.PBP.alpha/100,a.drawImage(cp.PB.loadedAssetArr.BackGround,0,0,this.bkGrndDiv.width,this.bkGrndDiv.height),b.style.zIndex=-10},createButton:function(a,b,c,d,f,g){var e,h;if(cp.responsive&&(e=this.btnMap[b[0]]))e.currDiv&&(h=e.currDiv.currImageName),e.destroy();if(b[0]!=cp.PB.Btns.kBtnInfo&&b[0]!=cp.PB.Btns.kBtnPrint){if(void 0==cp.PB.MP.playBarProperties["has"+b[0]]||0==cp.PB.MP.playBarProperties["has"+b[0]])return 0}else if(b[0]==cp.PB.Btns.kBtnInfo&&!1==cp.PB.playbarHasInfo||
b[0]==cp.PB.Btns.kBtnPrint&&!1==cp.PB.playbarHasPrint)return 0;if(void 0==cp.PB.loadedAssetArr[b[0]])return 0;e=new cp.PB.PlayBarButton(b[0],this.bkGrndDiv,d);if(e.getWidth()+cp.PB.kBtnMargin+f+2*cp.PB.kIndentMargin>cp.PB.playBarDim)return e.destroy(),0;e.setImage("Shadow");e.setImage("Stroke");e.setImage("Color");e.setImage("Shade");e.setImage("InnerStroke");e.setImage("Glow");e.setImage("InnerShade");a&&(e.currDiv.style.display="block");for(d=0;d<b.length;++d)e.setIcon(b[d]),a&&e.changeImage(h),
this.btnMap[b[d]]=e;e.currDiv.setAttribute("tabindex",g);cp.createAlternativeAccessibleText(e.currDiv,cp.localizeToolTips(b[0]),"");e.currDiv.onmouseover=e.onMouseOver;cp.registerGestureEvent(e.currDiv,cp.GESTURE_EVENT_TYPES.TAP,e.toggleImage);e.currDiv.onmouseout=e.onMouseOut;c[c.length]=e;e.expectedWidth=e.getWidth();return e.expectedWidth+cp.PB.kBtnMargin},createLogo:function(a,b){if(!1==cp.PB.playbarHasLogo)return 0;var c;a?(c=document.getElementById("playbarLogo"),this.bkGrndDiv.removeChild(c),
this.bkGrndDiv.appendChild(c)):(c=document.createElement("div"),c.id="playbarLogo",this.bkGrndDiv.appendChild(c),c.setAttribute("class","playbarLogo"));c.style.marginTop=0==cp.PB.MP.PBP.tworow?(this.bkGrndDiv.height-c.clientHeight)/2+"px":"0px";if(c.clientWidth+cp.PB.kBtnMargin+b+2*cp.PB.kIndentMargin>cp.PB.playBarDim)return this.bkGrndDiv.removeChild(c),0;this.logo=c;return c.clientWidth+cp.PB.kBtnMargin},initComponents:function(a){var b=cp.D.quizzingData.quizBranchAware;if(0==cp.PB.MP.PBP.tworow){for(var c=
cp.PB.kIndentMargin,d=0,d=void 0==this.slider&&!b?1<this.firstRowArray.length?(this.bkGrndDiv.width-this.firstRowMinWidth)/(this.firstRowArray.length-1):(this.bkGrndDiv.width-this.firstRowMinWidth)/2:0,b=0;b<this.firstRowArray.length;++b)cp.responsive&&0>=this.firstRowArray[b].expectedWidth||(c=this.firstRowArray[b].setPosNWidth(a,c,0,this.firstRowArray[b].expectedWidth),c+=d);null!=this.logo&&(this.logo.style.marginLeft=c+"px")}else{for(var c=cp.PB.kIndentMargin,d=1<this.firstRowArray.length?(this.bkGrndDiv.width-
this.firstRowMinWidth)/(this.firstRowArray.length-1):(this.bkGrndDiv.width-this.firstRowMinWidth)/2,f=0,b=0;b<this.firstRowArray.length;++b)c=this.firstRowArray[b].setPosNWidth(a,c,(this.bkGrndDiv.height/2-this.firstRowArray[b].currDiv.height)/2,this.firstRowArray[b].expectedWidth),c+=d,f<(this.bkGrndDiv.height/2+this.firstRowArray[b].currDiv.height)/2&&(f=(this.bkGrndDiv.height/2+this.firstRowArray[b].currDiv.height)/2);c=cp.PB.kIndentMargin;d=void 0==this.slider?1<this.secondRowArray.length?(this.bkGrndDiv.width-
this.secondRowMinWidth)/(this.secondRowArray.length-1):(this.bkGrndDiv.width-this.secondRowMinWidth)/2:0;for(b=0;b<this.secondRowArray.length;++b)c=this.secondRowArray[b].setPosNWidth(a,c,this.bkGrndDiv.height/2-f+(this.bkGrndDiv.height/2-this.secondRowArray[b].currDiv.height)/2,this.secondRowArray[b].expectedWidth),c+=d;null!=this.logo&&(this.logo.style.marginLeft=c+"px",this.logo.style.marginTop=this.bkGrndDiv.height/2-f+(this.bkGrndDiv.height/2-this.secondRowArray[b].currDiv.height)/2+"px")}},
transformPlaybar:function(){var a="matrix(",a=cp.PB.isVertical?a+"0,1,-1,0,":a+"1,0,0,1,";this.playBarDiv.style.left="0px";this.playBarDiv.style.top="0px";var b=0,c=0;switch(cp.PB.MP.PBP.position){case 2:b+=cp.PB.playBarOtherDim,cp.PB.MP.PBP.overlay&&(b-=this.bkGrndDiv.height);case 0:b+=(-this.bkGrndDiv.width+this.bkGrndDiv.height)/2;cp.loadedModules.toc&&1==cp.toc.movieProperties.tocProperties.position&&(b+=cp.D.tocProperties.width);switch(cp.PB.MP.PBP.layout){case 0:c=(this.bkGrndDiv.width-this.bkGrndDiv.height)/
2;break;case 1:c=(cp.PB.playBarDim-this.bkGrndDiv.height)/2;break;case 2:c=cp.PB.playBarDim-(this.bkGrndDiv.width+this.bkGrndDiv.height)/2;break;case 3:c=(cp.PB.playBarDim-this.bkGrndDiv.height)/2}break;case 3:c+=cp.PB.playBarOtherDim,cp.PB.MP.PBP.overlay&&(c-=this.bkGrndDiv.height);case 1:switch(cp.PB.MP.PBP.layout){case 0:b=0;break;case 1:b=cp.PB.playBarDim-this.bkGrndDiv.width;break;case 2:b=(cp.PB.playBarDim-this.bkGrndDiv.width)/2;break;case 3:b=0}cp.loadedModules.toc&&(1==cp.toc.movieProperties.tocProperties.position&&
!cp.toc.movieProperties.tocProperties.overlay)&&(b+=cp.D.tocProperties.width)}cp.applyTransform(this.playBarDiv,a+(b+","+c+")"))},applyColor:function(a,b){var c=document.createElement("canvas"),d=document.createElement("canvas");d.width=b.width;d.height=b.height;c.width=b.width;c.height=b.height;var f=c.getContext("2d");f.clearRect(0,0,b.width,b.height);cp.setFillStrokeStyle(a,c,void 0,!0);f.fillRect(0,0,b.width,b.height);f=d.getContext("2d");f.clearRect(0,0,b.width,b.height);f.globalAlpha=a.alpha/
100;f.drawImage(b,0,0,b.width,b.height);f.globalCompositeOperation="source-atop";f.drawImage(c,0,0,b.width,b.height);return d},setHasButtons:function(){if(cp.responsive&&cp.PB&&(cp.PB.MP&&cp.PB.MP.PBP)&&cp.responsiveButtons){cp.PB.MP.PBPO||(cp.PB.MP.PBPO={});var a=cp.responsiveWidths.indexOf(cp.ResponsiveProjWidth);if(!(0>a||a>=cp.responsiveWidths.length)){var a=cp.responsiveWidths.length-1-a,b;for(b in cp.responsiveButtons){if(void 0===cp.PB.MP.PBPO["has"+b]||"undefined"===cp.PB.MP.PBPO["has"+b])cp.PB.MP.PBPO["has"+
b]=cp.PB.MP.PBP["has"+b];cp.PB.MP.PBPO["has"+b]&&(cp.PB.MP.PBP["has"+b]=cp.responsiveButtons[b][a])}}}},layoutPlaybar:function(a){this.firstRowArray=[];this.secondRowArray=[];var b=0,c=-cp.PB.kBtnMargin;cp.PB.isVertical=0==cp.PB.MP.PBP.position%2?!0:!1;cp.responsive?(this.setHasButtons(),cp.PB.playBarDim=cp("project").clientWidth*cp.respGestureScaleFactor>window.innerWidth?window.innerWidth:cp("project").clientWidth):cp.PB.playBarDim=cp.PB.isVertical?cp.PB.MP.project.h:cp.PB.MP.project.w;cp.PB.playBarOtherDim=
!1==cp.PB.isVertical?cp.PB.MP.project.h:cp.PB.MP.project.w;this.createBackground(cp.PB.playBarDim);if(cp.PB.MP.PBP.tworow)c+=this.createButton(a,[cp.PB.Btns.kBtnRewind],this.firstRowArray,this.rewindHandler,c),c+=this.createButton(a,[cp.PB.Btns.kBtnBackward],this.firstRowArray,this.backwardHandler,c),c+=this.createButton(a,[cp.PB.Btns.kBtnPlay,cp.PB.Btns.kBtnPause],this.firstRowArray,this.playPauseHandler,c),c+=this.createButton(a,[cp.PB.Btns.kBtnForward],this.firstRowArray,this.forwardHandler,c),
c+=this.createButton(a,[cp.PB.Btns.kBtnFastForward,cp.PB.Btns.kBtnFastForward1,cp.PB.Btns.kBtnFastForward2],this.firstRowArray,this.fastForwardHandler,c),this.firstRowMinWidth=c+=2*cp.PB.kIndentMargin,c=-cp.PB.kBtnMargin,c+=this.createButton(a,[cp.PB.Btns.kBtnTOC],this.secondRowArray,this.tocHandler,c),c+=this.createButton(a,[cp.PB.Btns.kBtnPrint],this.secondRowArray,null,c),c+=this.createButton(a,[cp.PB.Btns.kBtnExit],this.secondRowArray,this.exitHandler,c),d=this.createSlider(a,this.secondRowArray,
c),cp.device!=cp.IDEVICE&&(c+=this.createButton(a,[cp.PB.Btns.kBtnAudioOn,cp.PB.Btns.kBtnAudioOff],this.secondRowArray,this.audioOnOffHandler,c)),c+=this.createButton(a,[cp.PB.Btns.kBtnCC],this.secondRowArray,this.ccHandler,c),c+=this.createButton(a,[cp.PB.Btns.kBtnInfo],this.secondRowArray,this.showInfoHandler,c),c+=this.createLogo(a,c),c+=2*cp.PB.kIndentMargin,this.secondRowMinWidth=c+d,this.minWidth=this.firstRowMinWidth>this.secondRowMinWidth?this.firstRowMinWidth:this.secondRowMinWidth,3==cp.PB.MP.PBP.layout?
(b=cp.PB.playBarDim,void 0!=this.slider&&(d=b-c-4*cp.PB.kBtnMargin,this.slider.expectedWidth=d,cp.responsive&&58>=this.slider.expectedWidth&&(this.slider.destroy(),this.slider=void 0))):b=this.minWidth;else{if(0===cp.D.pref.rkt){var c=c+this.createButton(a,[cp.PB.Btns.kBtnRewind],this.firstRowArray,this.rewindHandler,c,10001),c=c+this.createButton(a,[cp.PB.Btns.kBtnPlay,cp.PB.Btns.kBtnPause],this.firstRowArray,this.playPauseHandler,c,10002),c=c+this.createButton(a,[cp.PB.Btns.kBtnBackward],this.firstRowArray,
this.backwardHandler,c,10003),c=c+this.createButton(a,[cp.PB.Btns.kBtnForward],this.firstRowArray,this.forwardHandler,c,10004),c=c+this.createButton(a,[cp.PB.Btns.kBtnFastForward,cp.PB.Btns.kBtnFastForward1,cp.PB.Btns.kBtnFastForward2],this.firstRowArray,this.fastForwardHandler,c,10005),d=this.createSlider(a,this.firstRowArray,c);cp.device!=cp.IDEVICE&&(c+=this.createButton(a,[cp.PB.Btns.kBtnAudioOn,cp.PB.Btns.kBtnAudioOff],this.firstRowArray,this.audioOnOffHandler,c,10007));c+=this.createButton(a,
[cp.PB.Btns.kBtnCC],this.firstRowArray,this.ccHandler,c,10008);c+=this.createButton(a,[cp.PB.Btns.kBtnTOC],this.firstRowArray,this.tocHandler,c,10009);c+=this.createButton(a,[cp.PB.Btns.kBtnPrint],this.firstRowArray,null,c,10010);c+=this.createButton(a,[cp.PB.Btns.kBtnExit],this.firstRowArray,this.exitHandler,c,10011);c+=this.createButton(a,[cp.PB.Btns.kBtnInfo],this.firstRowArray,this.showInfoHandler,c,10012)}else c+=this.createButton(a,[cp.PB.Btns.kBtnRewind],this.firstRowArray,this.rewindHandler,
c,-1),c+=this.createButton(a,[cp.PB.Btns.kBtnPlay,cp.PB.Btns.kBtnPause],this.firstRowArray,this.playPauseHandler,c,-1),c+=this.createButton(a,[cp.PB.Btns.kBtnBackward],this.firstRowArray,this.backwardHandler,c,-1),c+=this.createButton(a,[cp.PB.Btns.kBtnForward],this.firstRowArray,this.forwardHandler,c,-1),c+=this.createButton(a,[cp.PB.Btns.kBtnFastForward,cp.PB.Btns.kBtnFastForward1,cp.PB.Btns.kBtnFastForward2],this.firstRowArray,this.fastForwardHandler,c,-1),d=this.createSlider(a,this.firstRowArray,
c),cp.device!=cp.IDEVICE&&(c+=this.createButton(a,[cp.PB.Btns.kBtnAudioOn,cp.PB.Btns.kBtnAudioOff],this.firstRowArray,this.audioOnOffHandler,c,-1)),c+=this.createButton(a,[cp.PB.Btns.kBtnCC],this.firstRowArray,this.ccHandler,c,-1),c+=this.createButton(a,[cp.PB.Btns.kBtnTOC],this.firstRowArray,this.tocHandler,c,-1),c+=this.createButton(a,[cp.PB.Btns.kBtnPrint],this.firstRowArray,null,c,-1),c+=this.createButton(a,[cp.PB.Btns.kBtnExit],this.firstRowArray,this.exitHandler,c,-1),c+=this.createButton(a,
[cp.PB.Btns.kBtnInfo],this.firstRowArray,this.showInfoHandler,c,-1);c+=this.createLogo(a,c);this.minWidth=this.firstRowMinWidth=c+=2*cp.PB.kIndentMargin;3==cp.PB.MP.PBP.layout?(b=cp.PB.playBarDim,void 0!=this.slider&&(d=b-c-4*cp.PB.kBtnMargin,this.slider.expectedWidth=d,cp.responsive&&58>=this.slider.expectedWidth&&(this.slider.destroy(),this.slider=void 0))):b=c+d}this.setBackGroundWidth(b);this.initComponents(a);cp.responsive||this.transformPlaybar();this.playBarDiv.constrObj=this;this.playBarDiv.play=
this.onMovieResume;this.playBarDiv.pause=this.onMoviePaused;this.playBarDiv.mute=this.onAudioOff;this.playBarDiv.unmute=this.onAudioOn;cp.handleSpecialForPlaybar(this);cp.PB.MP.PBP.showOnHover&&!cp("playbar").animator&&(a=new cp.PB.playbarAnimator(this.playBarDiv),a.init(cp.PB.playBarHeight),this.playBarDiv.animator=a)},morphImages:function(){for(var a=0;a<cp.playbarAssetArr.length;++a){var b=cp.PB.loadedAssetArr[cp.playbarAssetArr[a]];if(void 0!=b){var c=b.playbarassetName,c=c.replace("Small","");
if("Glow"==c||"Progress"==c)cp.PB.loadedAssetArr[cp.playbarAssetArr[a]]=this.applyColor(cp.PB.MP.PBP.GlowColor,b);else if("Color"==c||"ThumbBase"==c)cp.PB.loadedAssetArr[cp.playbarAssetArr[a]]=this.applyColor(cp.PB.MP.PBP.FaceColor,b);else if(c==cp.PB.Btns.kBtnAudioOff||c==cp.PB.Btns.kBtnAudioOn||c==cp.PB.Btns.kBtnBackward||c==cp.PB.Btns.kBtnCC||c==cp.PB.Btns.kBtnExit||c==cp.PB.Btns.kBtnFastForward||c==cp.PB.Btns.kBtnFastForward1||c==cp.PB.Btns.kBtnFastForward2||c==cp.PB.Btns.kBtnForward||c==cp.PB.Btns.kBtnPlay||
c==cp.PB.Btns.kBtnPause||c==cp.PB.Btns.kBtnRewind||c==cp.PB.Btns.kBtnTOC)cp.PB.loadedAssetArr[cp.playbarAssetArr[a]]=this.applyColor(cp.PB.MP.PBP.IconColor,b)}}},exitHandler:function(){DoCPExit&&DoCPExit()},showInfoHandler:function(){cp.infoBgImg?cp.showInfoDialog():(cp.infoBgImg=new Image,cp.infoBgImg.onload=function(){cp.showInfoDialog()},cp.infoBgImg.src="assets/playbar/PlaybarIcons/infobg.png")},audioOnOffHandler:function(){cp.toggleMute()},playPauseHandler:function(){cp.playPause(!0)},backwardHandler:function(){cp.goToPreviousSlide()},
forwardHandler:function(){cp.goToNextSlide()},fastForwardHandler:function(){cp.fastForward()},rewindHandler:function(){cp.rewind()},ccHandler:function(){cp.showHideCC()},tocHandler:function(){cp.showHideTOC()},onMoviePaused:function(){var a=this.constrObj;void 0!=a&&void 0!=a.btnMap[cp.PB.Btns.kBtnPause]&&a.btnMap[cp.PB.Btns.kBtnPause].changeImage(cp.PB.Btns.kBtnPlay)},onMovieResume:function(){var a=this.constrObj;void 0!=a&&void 0!=a.btnMap[cp.PB.Btns.kBtnPlay]&&a.btnMap[cp.PB.Btns.kBtnPlay].changeImage(cp.PB.Btns.kBtnPause)},
onAudioOn:function(){var a=this.constrObj;void 0!=a&&void 0!=a.btnMap[cp.PB.Btns.kBtnAudioOff]&&a.btnMap[cp.PB.Btns.kBtnAudioOff].changeImage(cp.PB.Btns.kBtnAudioOn)},onAudioOff:function(){var a=this.constrObj;void 0!=a&&void 0!=a.btnMap[cp.PB.Btns.kBtnAudioOn]&&a.btnMap[cp.PB.Btns.kBtnAudioOn].changeImage(cp.PB.Btns.kBtnAudioOff)},playbarAssetsLoaded:function(){cp.PB.playbarCreated=!1;cp.PB.assetsLoaded++;cp.PB.assetsLoaded==cp.playbarAssetArr.length&&(cp.PB.MP.PBP.applyColors&&this.parentObj.morphImages(),
this.parentObj.layoutPlaybar(),cp.PB.playbarCreated=!0,cp.complete())},createBkDiv:function(){var a=document.createElement("div");this.playBarDiv.appendChild(a);a.setAttribute("class","playbarBackGround");a.style.webkitBoxShadow="";a.style.boxShadow="";a.style.mozBoxShadow="";a.id="playbarBkGrnd";cp.PB.MP.PBP.tworow&&(a.style.height=2*a.clientHeight+"px");a=parseFloat(window.getComputedStyle(a).height.replace("px",""));cp.PB.playBarHeight=a;cp.PB.MP.PBP.playBarHeight=a;if(cp.PB.MP.PBP.overlay)cp.setMovieLeftTopRightBottom(0,
0,0,0);else{var b=0,c=0,d=0,f=0;0==cp.PB.MP.PBP.position?b=a:1==cp.PB.MP.PBP.position?c=a:2==cp.PB.MP.PBP.position?d=a:3==cp.PB.MP.PBP.position&&(f=a);cp.setMovieLeftTopRightBottom(b,c,d,f)}3==cp.PB.MP.PBP.position?cp.setCCPosition(a):cp.setCCPosition(0)},loadPlaybarAssets:function(){for(var a=0;a<cp.playbarAssetArr.length;++a){var b=new Image;b.playbarassetName=cp.playbarAssetArr[a];cp.playbarAssetArr[a]==cp.PB.Btns.kBtnLogo&&(cp.PB.playbarHasLogo=!0);cp.playbarAssetArr[a]==cp.PB.Btns.kBtnInfo&&
(cp.PB.playbarHasInfo=!0);cp.playbarAssetArr[a]==cp.PB.Btns.kBtnPrint&&(cp.PB.playbarHasPrint=!0);b.parentObj=this;cp.PB.loadedAssetArr[cp.playbarAssetArr[a]]=b;b.onload=this.playbarAssetsLoaded;b.onerror=this.playbarAssetsLoaded;b.src=cp.PB.playBarIconsFolder+cp.playbarAssetArr[a]+cp.PB.PNGSuffix}},shrinkPlaybarAssetsArr:function(){var a={},b;for(b in cp.PB.Btns)a[cp.PB.Btns[b]]=cp.playbarAssetArr.indexOf(cp.PB.Btns[b]);!cp.PB.MP.PBP.hasRewind&&0<=a[cp.PB.Btns.kBtnRewind]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnRewind]];
!cp.PB.MP.PBP.hasBackward&&0<=a[cp.PB.Btns.kBtnBackward]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnBackward]];!cp.PB.MP.PBP.hasForward&&0<=a[cp.PB.Btns.kBtnForward]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnForward]];!cp.PB.MP.PBP.hasCC&&0<=a[cp.PB.Btns.kBtnCC]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnCC]];!cp.PB.MP.PBP.hasExit&&0<=a[cp.PB.Btns.kBtnExit]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnExit]];cp.PB.MP.PBP.hasPlay||(0<=a[cp.PB.Btns.kBtnPlay]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnPlay]],
0<=a[cp.PB.Btns.kBtnPause]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnPause]]);cp.PB.MP.PBP.hasSlider||(0<=a[cp.PB.Btns.kBtnProgress]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnProgress]],0<=a[cp.PB.Btns.kBtnThumb]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnThumb]],0<=a[cp.PB.Btns.kBtnThumbBase]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnThumbBase]]);cp.PB.MP.PBP.hasAudioOn||(0<=a[cp.PB.Btns.kBtnAudioOn]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnAudioOn]],0<=a[cp.PB.Btns.kBtnAudioOff]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnAudioOff]]);
cp.PB.MP.PBP.hasFastForward||(0<=a[cp.PB.Btns.kBtnFastForward]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnFastForward]],0<=a[cp.PB.Btns.kBtnFastForward1]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnFastForward1]],0<=a[cp.PB.Btns.kBtnFastForward2]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnFastForward2]]);(!cp.PB.MP.project.hasTOC||!cp.PB.MP.tocProperties.overlay)&&0<=a[cp.PB.Btns.kBtnTOC]&&delete cp.playbarAssetArr[a[cp.PB.Btns.kBtnTOC]];a=!1;for(b in cp.PB.Btns)cp.playbarAssetArr.indexOf(0<=cp.PB.Btns[b])&&
(a=!0);if(!a)for(b=0;b<cp.PB.BtnStyleImages.length;++b)a=cp.playbarAssetArr.indexOf(cp.PB.BtnStyleImages[b]),0<=a&&cp.playbarAssetArr.splice(a,1);for(b=cp.playbarAssetArr.length-1;0<=b;--b)void 0==cp.playbarAssetArr[b]&&cp.playbarAssetArr.splice(b,1)}};cp.loadplaybar=function(){cp.PB.rootObj.createBkDiv();cp.PB.rootObj.shrinkPlaybarAssetsArr();cp.PB.rootObj.loadPlaybarAssets()};
cp.PB.playbarAnimator=function(a){this.endVal=this.startVal=0;this.param="";this.objDiv=a;this.totalSteps=25;this.currStep=0;this.direction=1;this.intervalId=this.timeoutId=-1;this.isAnimating=!1};
cp.PB.playbarAnimator.prototype={init:function(a){3==cp.PB.MP.PBP.position?(this.startVal=cp.responsive?cp("div_Slide").getBoundingClientRect().bottom-a:parseFloat(window.getComputedStyle(this.objDiv).top.replace("px","")),this.endVal=this.startVal+a,this.param="top"):2==cp.PB.MP.PBP.position?(this.startVal=cp.responsive?this.objDiv.getBoundingClientRect().left:parseFloat(window.getComputedStyle(this.objDiv).left.replace("px","")),this.endVal=this.startVal+a,cp.loadedModules.toc&&0==cp.toc.movieProperties.tocProperties.position&&
(this.endVal+=cp.toc.movieProperties.tocProperties.width),this.param="left"):1==cp.PB.MP.PBP.position?(this.startVal=cp.responsive?this.objDiv.getBoundingClientRect().top:parseFloat(window.getComputedStyle(this.objDiv).top.replace("px","")),this.endVal=this.startVal-a,this.param="top"):0==cp.PB.MP.PBP.position&&(this.startVal=cp.responsive?this.objDiv.getBoundingClientRect().left:parseFloat(window.getComputedStyle(this.objDiv).left.replace("px","")),this.endVal=this.startVal-a,cp.loadedModules.toc&&
1==cp.toc.movieProperties.tocProperties.position&&(this.endVal-=cp.toc.movieProperties.tocProperties.width),this.param="left")},resetStartEndValForResponsive:function(){cp.responsive&&(this.startVal=cp("div_Slide").getBoundingClientRect().bottom-cp.PB.playBarHeight,this.endVal=this.startVal+cp.PB.playBarHeight)},startTimer:function(){clearTimeout(this.timeoutId);this.timeoutId=setTimeout(this.hidePlaybar,2E3)},easeOut:function(a,b){var c=a+Math.pow(1/this.totalSteps*this.currStep,0.3)*(b-a);return Math.ceil(c)},
beginAnim:function(){var a=document.getElementById("playbar");if(null!=a){a.style.position="absolute";var b=a.animator;b.direction?(b.currStep++,b.currStep>=b.totalSteps?(clearInterval(b.intervalId),b.currStep=0,b.isAnimating=!1,a.style[b.param]=b.endVal+"px"):a.style[b.param]=b.easeOut(b.startVal,b.endVal)+"px"):(b.currStep++,b.currStep>=b.totalSteps?(clearInterval(b.intervalId),b.currStep=0,b.isAnimating=!1,a.style[b.param]=b.startVal+"px"):a.style[b.param]=b.easeOut(b.endVal,b.startVal)+"px")}},
hidePlaybar:function(){var a=document.getElementById("playbar");a&&(clearTimeout(a.animator.timeoutId),a.animator.direction=1,a.animator.isAnimating=!0,clearInterval(a.animator.intervalId),a.animator.playbarHidden=!0,a.animator.intervalId=setInterval(a.animator.beginAnim,20))},showPlaybar:function(a){var b=document.getElementById("playbar");if(b&&(clearTimeout(b.animator.timeoutId),a||(b.animator.timeoutId=setTimeout(b.animator.hidePlaybar,2E3)),!(b.animator.isAnimating&&0==b.animator.direction)&&
parseFloat(window.getComputedStyle(b)[b.animator.param].replace("px",""))!=this.startVal))b.animator.direction=0,b.animator.isAnimating=!0,clearInterval(b.animator.intervalId),b.animator.playbarHidden=!1,b.animator.intervalId=setInterval(b.animator.beginAnim,20)}};
cp.playBarInit=function(a,b){cp.PB.movieProperties=a;cp.PB.MP=cp.PB.movieProperties;cp.PB.MP.PBP=cp.PB.MP.playBarProperties;cp.PB.MP.PBP.locale&&(cp.PB.toolTipLocaleIndex=cp.PB.MP.PBP.locale);var c=document.getElementById("playbar");cp.PB.MP.PBP.hasPlayBar||(c.style.display="none",cp.setMovieLeftTopRightBottom(0,0,0,0));cp.PB.rootObj=new cp.PB.playBarConstruct(c);cp.responsive||(c.style.left=0==cp.PB.MP.PBP.position?"0px":(cp.PB.MP.project.hasTOC&&!cp.PB.MP.tocProperties.overlay?cp.D.tocProperties.width:
0)+"px",c.style.top="0px");cp.PB.MP.project.hasTOC&&cp.PB.MP.tocProperties.overlay&&(cp.PB.MP.PBP.hasTOC=!0);cp.PB.MP.PBP.hasPlayBar&&cp.loadplaybar(b)};cp.setPlaybarCallback=function(a){cp.PB.mainMovie=a};
cp.CPProjInit();cp.fireModuleReadyEvent=function(c){if(document.createEvent){var b=document.createEvent("Events");b.initEvent("moduleReadyEvent",!0,!0,null);b.Data=cp.currentWindow.cpAPIInterface;c.dispatchEvent(b)}};
cp.DoCPInit=function(){function c(){d();cp.Automate()}cp.initializeGestureEvents&&cp.initializeGestureEvents();if(!cp.pg&&!cp.sbw&&!cp.isSupportedWebkitBasedBrowser()&&RuntimeBrowserDetect){var b="This browser does not support some of the content in the file you are trying to view. Use one of the following browsers:<ul><li>Internet Explorer 9 or later</li><li>Safari 5.1 or later</li><li>Google Chrome 17 or later</li></ul>",a="Adobe Captivate",f="OK";if(cp&&cp.model&&cp.model.data){var e=cp.model.data.rtDialog;
e&&(b=e.rtUnsupportedBowser,a=e.rtWarningTitle,f=e.rtokb)}RuntimeBrowserDetect.init(b,a,f)}cp.initiated=!1;cp.LMSTypes={};cp.LMSTypes.NONE=0;cp.LMSTypes.SCORM2004=1;cp.LMSTypes.SCORM12=2;cp.LMSTypes.Authorware=3;cp.LMSTypes.AICC=4;cp.LMSTypes.QuestionMark=5;cp.LMSTypes.Email=6;cp.LMSTypes.Breeze=7;cp.LMSTypes.Acrobat=8;cp.LMSTypes.InternalServer=9;cp.LMSTypes.TinCan=10;var d=cp.ContinueCPInit,b=function(){jQuery(window).unload(function(){cp.UnloadActivties()})};cp.currentWindow=window;cp.parentWindow=
window.parent;cp.topWindow=window.top;try{cp.parentWindow.document&&cp.verbose&&console.log("tring to access document of parent window")}catch(g){cp.parentWindow=cp.currentWindow}try{cp.topWindow.document&&cp.verbose&&console.log("tring to access document of top window")}catch(h){cp.topWindow=cp.currentWindow;try{for(;cp.topWindow.parent.document;)cp.topWindow=cp.topWindow.parent}catch(i){}}cp.IsRunningInACAP=1==cp.getParameterByName("capi_player");cp.IsRunningInALEC=1==cp.getParameterByName("CPinsideAlec");
cp.IsRunningInRoboHelp="true"==cp.getParameterByName("CPinsideRH");cp.currentWindow.cpAPIInterface=cp.IsRunningInACAP?new cp.ACAPInterfaceClass:new cp.CPAPIInterfaceClass;cp.currentWindow.cpAPIEventEmitter=cp.currentWindow.cpAPIInterface.getEventEmitter();if(cp.IsRunningInACAP)cp.fireModuleReadyEvent(cp.parentWindow),a={Name:"CPGetEvent"},a.cpName=a.Name,a.Data={},a.Data.ask="resumeData",a.Data.callback=cp.handleACAPResumeData,a.cpData=a.Data,cp.currentWindow.cpAPIEventEmitter.trigger(a),b();else{if(!cp.IsRunningInACAP&&
cp.D&&cp.D.quizReportingData)switch(a=cp.D.quizReportingData.lmsType,cp.LMSDriverHolder=void 0,a){case cp.LMSTypes.SCORM2004:case cp.LMSTypes.SCORM12:case cp.LMSTypes.TinCan:cp.LMSDriverHolder=window;d=cp.LoadActivities;b();break;case cp.LMSTypes.AICC:cp.LMSDriverHolder=window.parent;cp.LMSDriverHolder.blockedForLMS||(cp.LMSDriverHolder.blockedForLMS=!0,cp("blockUserInteraction").style.display="block",cp("blockUserInteraction").style.width="100%",cp("blockUserInteraction").style.height="100%");d=
cp.LMSDriverHolder.HTMLContentLoadedCallback;b();break;default:cp.LMSDriverHolder=void 0}d=cp.IsRunningInConnect()?cp.LoadActivities:d;d||(d=cp.ContinueCPInit,cp.NotRunningInLMS=!0);cp.pg&&window.device&&"iOS"===window.device.platform&&StatusBar&&StatusBar.overlaysWebView(!1);cp.pg&&window.device&&"Android"===window.device.platform?cp.Phonegap.loadResources(c):c()}};
cp.ContinueCPInit=function(){cp.CPPreInit();cp.QuizLibraryInit();cp.CPPostInit();"undefined"!=typeof CPAutomator&&CPAutomator.init();document.getElementById("playImage").focus();cp.initiated=!0;cp.complete()};
window.DoCPExit=function(){try{cp.em.fireEvent("CPMovieExit");if(cp.IsRunningInACAP||cp.IsRunningInALEC){cp.currentWindow.open("goodbye.html","_self");return}if(cp.IsRunningInRoboHelp){var c=cp.currentWindow.open("","_self");c.close();return}cp.currentWindow!=cp.parentWindow&&cp.parentWindow&&cp.parentWindow.hasOwnProperty("DoCPExit")?cp.parentWindow.DoCPExit():cp.IsRunningInConnect()?cp.parentWindow.close():cp.topWindow==self?(c=window.open("","_self"),c.close()):(c=cp.topWindow.open("","_self"),
c.top.close())}catch(b){}cp.pg&&navigator&&navigator.app&&"function"===typeof navigator.app.exitApp&&navigator.app.exitApp();cp.win8&&(window&&window.parent)&&window.parent.postMessage({name:"WIN8APPCLOSE",data:{}},"*");cp.currentWindow.open("goodbye.html","_self")};cp.Automate=function(){"undefined"!=typeof CPAutomator&&CPAutomator.CPRunSuite.model.workflow&&setTimeout(function(){CPAutomator.Replay.init()},1E4)};

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists