skin.js 805 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888
  1. // Garden Gnome Software - Skin
  2. // Pano2VR 6.0.1/17227
  3. // Filename: simplex_v6.ggsk
  4. // Generated 周三 11月 2 22:17:39 2022
  5. var _vr_flag = true
  6. function pano2vrSkin(player,base) {
  7. player.addVariable('opt_hotspot_preview', 2, true);
  8. player.addVariable('opt_zoom', 2, true);
  9. player.addVariable('opt_autorotate', 2, true);
  10. player.addVariable('opt_info', 2, false);
  11. player.addVariable('opt_thumbnail', 2, true);
  12. player.addVariable('opt_thumbnail_tooltip', 2, true);
  13. player.addVariable('opt_projection', 2, true);
  14. player.addVariable('opt_gyro', 2, true);
  15. player.addVariable('opt_fullscreen', 2, true);
  16. player.addVariable('opt_autohide', 2, false);
  17. player.addVariable('opt_loader', 2, true);
  18. player.addVariable('opt_loader_mulires', 2, true);
  19. player.addVariable('opt_url', 2, false);
  20. player.addVariable('vis_userdata', 2, false);
  21. player.addVariable('vis_close_buton', 2, false);
  22. player.addVariable('vis_image_popup', 2, false);
  23. player.addVariable('vis_info_popup', 2, false);
  24. player.addVariable('vis_video_popup_file', 2, false);
  25. player.addVariable('vis_video_popup_url', 2, false);
  26. player.addVariable('vis_video_popup_vimeo', 2, false);
  27. player.addVariable('vis_video_popup_youtube', 2, false);
  28. player.addVariable('vis_website', 2, false);
  29. player.addVariable('vis_thumbnail_menu_show', 2, true);
  30. player.addVariable('vis_thumbnail_menu_mobile', 2, false);
  31. player.addVariable('vis_thumbnail_menu_auto_hide', 2, true);
  32. player.addVariable('vis_360image_once', 2, true);
  33. player.addVariable('vis_loader', 2, true);
  34. player.addVariable('vis_timer', 2, false);
  35. player.addVariable('pos_zoom_in', 1, 0);
  36. player.addVariable('pos_zoom_out', 1, 0);
  37. player.addVariable('pos_autorotate', 1, 0);
  38. player.addVariable('pos_information', 1, 0);
  39. player.addVariable('pos_thumbnail', 1, 0);
  40. player.addVariable('pos_projection', 1, 0);
  41. player.addVariable('pos_gyro', 1, 0);
  42. player.addVariable('pos_fullscreen', 1, 0);
  43. player.addVariable('pos_controller', 1, 0);
  44. player.addVariable('pos_360image', 1, 0);
  45. var me=this;
  46. var skin=this;
  47. var flag=false;
  48. var hotspotTemplates={};
  49. var skinKeyPressed = 0;
  50. this.player=player;
  51. this.player.skinObj=this;
  52. this.divSkin=player.divSkin;
  53. this.ggUserdata=player.userdata;
  54. this.lastSize={ w: -1,h: -1 };
  55. var basePath="";
  56. // auto detect base path
  57. if (base=='?') {
  58. var scripts = document.getElementsByTagName('script');
  59. for(var i=0;i<scripts.length;i++) {
  60. var src=scripts[i].src;
  61. if (src.indexOf('skin.js')>=0) {
  62. var p=src.lastIndexOf('/');
  63. if (p>=0) {
  64. basePath=src.substr(0,p+1);
  65. }
  66. }
  67. }
  68. } else
  69. if (base) {
  70. basePath=base;
  71. }
  72. this.elementMouseDown=[];
  73. this.elementMouseOver=[];
  74. var cssPrefix='';
  75. var domTransition='transition';
  76. var domTransform='transform';
  77. var prefixes='Webkit,Moz,O,ms,Ms'.split(',');
  78. var i;
  79. var hs,el,els,elo,ela,elHorScrollFg,elHorScrollBg,elVertScrollFg,elVertScrollBg,elCornerBg;
  80. if (typeof document.body.style['transform'] == 'undefined') {
  81. for(var i=0;i<prefixes.length;i++) {
  82. if (typeof document.body.style[prefixes[i] + 'Transform'] !== 'undefined') {
  83. cssPrefix='-' + prefixes[i].toLowerCase() + '-';
  84. domTransition=prefixes[i] + 'Transition';
  85. domTransform=prefixes[i] + 'Transform';
  86. }
  87. }
  88. }
  89. player.setMargins(0,0,0,0);
  90. this.updateSize=function(startElement) {
  91. var stack=[];
  92. stack.push(startElement);
  93. while(stack.length>0) {
  94. var e=stack.pop();
  95. if (e.ggUpdatePosition) {
  96. e.ggUpdatePosition();
  97. }
  98. if (e.hasChildNodes()) {
  99. for(var i=0;i<e.childNodes.length;i++) {
  100. stack.push(e.childNodes[i]);
  101. }
  102. }
  103. }
  104. }
  105. this.callNodeChange=function(startElement) {
  106. var stack=[];
  107. stack.push(startElement);
  108. while(stack.length>0) {
  109. var e=stack.pop();
  110. if (e.ggNodeChange) {
  111. e.ggNodeChange();
  112. }
  113. if (e.hasChildNodes()) {
  114. for(var i=0;i<e.childNodes.length;i++) {
  115. stack.push(e.childNodes[i]);
  116. }
  117. }
  118. }
  119. }
  120. player.addListener('configloaded', function() { me.callNodeChange(me.divSkin); });
  121. player.addListener('changenodeid', function() { me.callNodeChange(me.divSkin); });
  122. var parameterToTransform=function(p) {
  123. var hs='translate(' + p.rx + 'px,' + p.ry + 'px) rotate(' + p.a + 'deg) scale(' + p.sx + ',' + p.sy + ')';
  124. return hs;
  125. }
  126. this.findElements=function(id,regex) {
  127. var r=[];
  128. var stack=[];
  129. var pat=new RegExp(id,'');
  130. stack.push(me.divSkin);
  131. while(stack.length>0) {
  132. var e=stack.pop();
  133. if (regex) {
  134. if (pat.test(e.ggId)) r.push(e);
  135. } else {
  136. if (e.ggId==id) r.push(e);
  137. }
  138. if (e.hasChildNodes()) {
  139. for(var i=0;i<e.childNodes.length;i++) {
  140. stack.push(e.childNodes[i]);
  141. }
  142. }
  143. }
  144. return r;
  145. }
  146. this.addSkin=function() {
  147. var hs='';
  148. this.ggCurrentTime=new Date().getTime();
  149. el=me._show_controller_button=document.createElement('div');
  150. els=me._show_controller_button__img=document.createElement('img');
  151. els.className='ggskin ggskin_svg';
  152. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2FyZGVuIEdub21lIFNvZnR3YXJlIC0gU2tpbiBCdXR0b25zIC0tPg0KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIiBbDQoJPCFFTlRJVFkgbnNfZmxvd3MgImh0dHA6Ly9ucy5hZG9iZS5jb20vRmxvd3MvMS4wLyI+DQoJPCFFTlRJVFkgbnNfZXh0ZW5kICJodHRwOi8vbnMuYWRvYmUuY29tL0V4dGVuc2liaWxpdHkvMS4wLyI+DQoJPCFFTlRJVFkgbnNfYWkgImh0dHA6Ly9ucy5hZG9iZS'+
  153. '5jb20vQWRvYmVJbGx1c3RyYXRvci8xMC4wLyI+DQoJPCFFTlRJVFkgbnNfZ3JhcGhzICJodHRwOi8vbnMuYWRvYmUuY29tL0dyYXBocy8xLjAvIj4NCl0+DQo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM6eD0iJm5zX2V4dGVuZDsiIHhtbG5zOmk9IiZuc19haTsiIHhtbG5zOmdyYXBoPSImbnNfZ3JhcGhzOyINCgkgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWx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SItMzU0MC42NjciIGN5PSItMjU5MC4zNzYi'+
  156. 'IHI9IjIuNzYiLz4NCgkJCTxjaXJjbGUgZmlsbD0iI0ZGRkZGRiIgY3g9Ii0zNTQwLjY2NyIgY3k9Ii0yNTkwLjM3NiIgcj0iMi43NiIvPg0KCQkJPGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS13aWR0aD0iMC4yIiBjeD0iLTM1NDAuNjY3IiBjeT0iLTI1OTAuMzc2IiByPSIyLjc2Ii8+DQoJCTwvZz4NCgk8L2c+DQoJPGc+DQoNCgkJCTxjaXJjbGUgb3BhY2l0eT0iMC40IiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS13aWR0aD0iMS41IiAgYTphZG9iZS1ibGVuZGluZy1tb2RlPSJtdWx0aXBseSIgY3g9Ii0zNTUwIiBjeT0iLTI1OTAuMzc2Ii'+
  157. 'ByPSIyLjc2Ii8+DQoJCTxjaXJjbGUgZmlsbD0iI0ZGRkZGRiIgY3g9Ii0zNTUwIiBjeT0iLTI1OTAuMzc2IiByPSIyLjc2Ii8+DQoJCTxjaXJjbGUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2Utd2lkdGg9IjAuMiIgY3g9Ii0zNTUwIiBjeT0iLTI1OTAuMzc2IiByPSIyLjc2Ii8+DQoJPC9nPg0KPC9nPg0KPC9zdmc+DQo=';
  158. me._show_controller_button__img.setAttribute('src',hs);
  159. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;show_controller_button;');
  160. els['ondragstart']=function() { return false; };
  161. el.appendChild(els);
  162. el.ggSubElement = els;
  163. elo=me._show_controller_button__imgo=document.createElement('img');
  164. elo.className='ggskin ggskin_svg';
  165. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR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bmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiICBhOmFkb2JlLWJsZW5kaW5nLW1vZGU9Im11bHRpcGx5IiBjeD0iLTM1NTAiIGN5PSItMj'+
  170. 'U1NS43MDkiIHI9IjMuMDM2Ii8+DQoJCTxjaXJjbGUgZmlsbD0iI0ZGRkZGRiIgY3g9Ii0zNTUwIiBjeT0iLTI1NTUuNzA5IiByPSIzLjAzNiIvPg0KCQk8Y2lyY2xlIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIwLjIiIGN4PSItMzU1MCIgY3k9Ii0yNTU1LjcwOSIgcj0iMy4wMzYiLz4NCgk8L2c+DQo8L2c+DQo8L3N2Zz4NCg==';
  171. me._show_controller_button__imgo.setAttribute('src',hs);
  172. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;show_controller_button;');
  173. elo['ondragstart']=function() { return false; };
  174. el.appendChild(elo);
  175. el.ggId="show_controller_button";
  176. el.ggDx=0;
  177. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  178. el.ggVisible=true;
  179. el.className="ggskin ggskin_svg ";
  180. el.ggType='svg';
  181. hs ='';
  182. hs+='bottom : 23px;';
  183. hs+='cursor : pointer;';
  184. hs+='height : 32px;';
  185. hs+='left : -10000px;';
  186. hs+='opacity : 0;';
  187. hs+='position : absolute;';
  188. hs+='visibility : hidden;';
  189. hs+='width : 32px;';
  190. hs+='pointer-events:auto;';
  191. el.setAttribute('style',hs);
  192. el.style[domTransform + 'Origin']='50% 50%';
  193. me._show_controller_button.ggIsActive=function() {
  194. return false;
  195. }
  196. el.ggElementNodeId=function() {
  197. return player.getCurrentNode();
  198. }
  199. me._show_controller_button.logicBlock_position = function() {
  200. var newLogicStatePosition;
  201. if (
  202. (player.getVariableValue('vis_website') == true) ||
  203. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  204. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  205. (player.getVariableValue('vis_video_popup_url') == true) ||
  206. (player.getVariableValue('vis_video_popup_file') == true) ||
  207. (player.getVariableValue('vis_info_popup') == true) ||
  208. (player.getVariableValue('vis_image_popup') == true) ||
  209. (player.getVariableValue('vis_userdata') == true)
  210. )
  211. {
  212. newLogicStatePosition = 0;
  213. }
  214. else {
  215. newLogicStatePosition = -1;
  216. }
  217. if (me._show_controller_button.ggCurrentLogicStatePosition != newLogicStatePosition) {
  218. me._show_controller_button.ggCurrentLogicStatePosition = newLogicStatePosition;
  219. me._show_controller_button.style[domTransition]='left 0s, bottom 0s';
  220. if (me._show_controller_button.ggCurrentLogicStatePosition == 0) {
  221. this.ggDx = 0;
  222. me._show_controller_button.style.bottom='-100px';
  223. me._show_controller_button.ggUpdatePosition(true);
  224. }
  225. else {
  226. me._show_controller_button.ggDx=0;
  227. me._show_controller_button.style.bottom='23px';
  228. me._show_controller_button.ggUpdatePosition(true);
  229. }
  230. }
  231. }
  232. me._show_controller_button.onclick=function (e) {
  233. me._hide_timer.ggTimeout=Number("5") * 1000.0;
  234. me._hide_timer.ggTimestamp=skin.ggCurrentTime;
  235. }
  236. me._show_controller_button.onmouseover=function (e) {
  237. me._show_controller_button__img.style.visibility='hidden';
  238. me._show_controller_button__imgo.style.visibility='inherit';
  239. me.elementMouseOver['show_controller_button']=true;
  240. me._tt_show_controller.logicBlock_visible();
  241. }
  242. me._show_controller_button.onmouseout=function (e) {
  243. me._show_controller_button__img.style.visibility='inherit';
  244. me._show_controller_button__imgo.style.visibility='hidden';
  245. me.elementMouseOver['show_controller_button']=false;
  246. me._tt_show_controller.logicBlock_visible();
  247. }
  248. me._show_controller_button.ontouchend=function (e) {
  249. me.elementMouseOver['show_controller_button']=false;
  250. me._tt_show_controller.logicBlock_visible();
  251. }
  252. me._show_controller_button.ggUpdatePosition=function (useTransition) {
  253. if (useTransition==='undefined') {
  254. useTransition = false;
  255. }
  256. if (!useTransition) {
  257. this.style[domTransition]='none';
  258. }
  259. if (this.parentNode) {
  260. var pw=this.parentNode.clientWidth;
  261. var w=this.offsetWidth;
  262. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  263. }
  264. }
  265. el=me._hide_timer=document.createElement('div');
  266. el.ggTimestamp=0;
  267. el.ggLastIsActive=false;
  268. el.ggTimeout=0;
  269. el.ggId="hide_timer";
  270. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  271. el.ggVisible=true;
  272. el.className="ggskin ggskin_timer ";
  273. el.ggType='timer';
  274. hs ='';
  275. hs+='height : 32px;';
  276. hs+='left : 0px;';
  277. hs+='position : absolute;';
  278. hs+='top : 0px;';
  279. hs+='visibility : inherit;';
  280. hs+='width : 32px;';
  281. hs+='pointer-events:none;';
  282. el.setAttribute('style',hs);
  283. el.style[domTransform + 'Origin']='50% 50%';
  284. me._hide_timer.ggIsActive=function() {
  285. return (me._hide_timer.ggTimestamp + me._hide_timer.ggTimeout) >= me.ggCurrentTime;
  286. }
  287. el.ggElementNodeId=function() {
  288. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  289. return this.parentNode.ggElementNodeId();
  290. }
  291. return player.getCurrentNode();
  292. }
  293. me._hide_timer.ggActivate=function () {
  294. if (player.transitionsDisabled) {
  295. me._controller.style[domTransition]='none';
  296. } else {
  297. me._controller.style[domTransition]='all 500ms ease-out 0ms';
  298. }
  299. me._controller.style.opacity='1';
  300. me._controller.style.visibility=me._controller.ggVisible?'inherit':'hidden';
  301. if (player.transitionsDisabled) {
  302. me._show_controller_button.style[domTransition]='none';
  303. } else {
  304. me._show_controller_button.style[domTransition]='all 500ms ease-out 0ms';
  305. }
  306. me._show_controller_button.style.opacity='0';
  307. me._show_controller_button.style.visibility='hidden';
  308. player.setVariableValue('vis_thumbnail_menu_auto_hide', true);
  309. }
  310. me._hide_timer.ggDeactivate=function () {
  311. if (player.transitionsDisabled) {
  312. me._show_controller_button.style[domTransition]='none';
  313. } else {
  314. me._show_controller_button.style[domTransition]='all 500ms ease-out 0ms';
  315. }
  316. me._show_controller_button.style.opacity='1';
  317. me._show_controller_button.style.visibility=me._show_controller_button.ggVisible?'inherit':'hidden';
  318. if (player.transitionsDisabled) {
  319. me._controller.style[domTransition]='none';
  320. } else {
  321. me._controller.style[domTransition]='all 500ms ease-out 0ms';
  322. }
  323. me._controller.style.opacity='0';
  324. me._controller.style.visibility='hidden';
  325. player.setVariableValue('vis_thumbnail_menu_auto_hide', false);
  326. }
  327. me._hide_timer.ggUpdatePosition=function (useTransition) {
  328. }
  329. me._show_controller_button.appendChild(me._hide_timer);
  330. el=me._tt_show_controller=document.createElement('div');
  331. els=me._tt_show_controller__text=document.createElement('div');
  332. el.className='ggskin ggskin_textdiv';
  333. el.ggTextDiv=els;
  334. el.ggId="tt_show_controller";
  335. el.ggDx=0;
  336. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  337. el.ggVisible=false;
  338. el.className="ggskin ggskin_text ";
  339. el.ggType='text';
  340. hs ='';
  341. hs+='height : 20px;';
  342. hs+='left : -10000px;';
  343. hs+='position : absolute;';
  344. hs+='top : 32px;';
  345. hs+='visibility : hidden;';
  346. hs+='width : 120px;';
  347. hs+='pointer-events:auto;';
  348. hs+='text-shadow: 1px 1px 4px #000000;';
  349. el.setAttribute('style',hs);
  350. el.style[domTransform + 'Origin']='50% 50%';
  351. hs ='position:absolute;';
  352. hs += 'box-sizing: border-box;';
  353. hs+='cursor: default;';
  354. hs+='left: 0px;';
  355. hs+='top: 0px;';
  356. hs+='width: 120px;';
  357. hs+='height: 20px;';
  358. hs+='border: 0px solid #000000;';
  359. hs+='color: rgba(255,255,255,1);';
  360. hs+='text-align: center;';
  361. hs+='white-space: nowrap;';
  362. hs+='padding: 0px 1px 0px 1px;';
  363. hs+='overflow: hidden;';
  364. els.setAttribute('style',hs);
  365. els.innerHTML="Show Controller";
  366. el.appendChild(els);
  367. me._tt_show_controller.ggIsActive=function() {
  368. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  369. return this.parentNode.ggIsActive();
  370. }
  371. return false;
  372. }
  373. el.ggElementNodeId=function() {
  374. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  375. return this.parentNode.ggElementNodeId();
  376. }
  377. return player.getCurrentNode();
  378. }
  379. me._tt_show_controller.logicBlock_position = function() {
  380. var newLogicStatePosition;
  381. if (
  382. (player.getIsMobile() == true)
  383. )
  384. {
  385. newLogicStatePosition = 0;
  386. }
  387. else {
  388. newLogicStatePosition = -1;
  389. }
  390. if (me._tt_show_controller.ggCurrentLogicStatePosition != newLogicStatePosition) {
  391. me._tt_show_controller.ggCurrentLogicStatePosition = newLogicStatePosition;
  392. me._tt_show_controller.style[domTransition]='left 0s, top 0s';
  393. if (me._tt_show_controller.ggCurrentLogicStatePosition == 0) {
  394. this.ggDx = 0;
  395. me._tt_show_controller.style.top='-25px';
  396. me._tt_show_controller.ggUpdatePosition(true);
  397. }
  398. else {
  399. me._tt_show_controller.ggDx=0;
  400. me._tt_show_controller.style.top='32px';
  401. me._tt_show_controller.ggUpdatePosition(true);
  402. }
  403. }
  404. }
  405. me._tt_show_controller.logicBlock_visible = function() {
  406. var newLogicStateVisible;
  407. if (
  408. (me.elementMouseOver['show_controller_button'] == true)
  409. )
  410. {
  411. newLogicStateVisible = 0;
  412. }
  413. else {
  414. newLogicStateVisible = -1;
  415. }
  416. if (me._tt_show_controller.ggCurrentLogicStateVisible != newLogicStateVisible) {
  417. me._tt_show_controller.ggCurrentLogicStateVisible = newLogicStateVisible;
  418. me._tt_show_controller.style[domTransition]='left 0s, top 0s';
  419. if (me._tt_show_controller.ggCurrentLogicStateVisible == 0) {
  420. me._tt_show_controller.style.visibility=(Number(me._tt_show_controller.style.opacity)>0||!me._tt_show_controller.style.opacity)?'inherit':'hidden';
  421. me._tt_show_controller.ggVisible=true;
  422. }
  423. else {
  424. me._tt_show_controller.style.visibility="hidden";
  425. me._tt_show_controller.ggVisible=false;
  426. }
  427. }
  428. }
  429. me._tt_show_controller.ggUpdatePosition=function (useTransition) {
  430. if (useTransition==='undefined') {
  431. useTransition = false;
  432. }
  433. if (!useTransition) {
  434. this.style[domTransition]='none';
  435. }
  436. if (this.parentNode) {
  437. var pw=this.parentNode.clientWidth;
  438. var w=this.offsetWidth + 0;
  439. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  440. }
  441. }
  442. me._show_controller_button.appendChild(me._tt_show_controller);
  443. me.divSkin.appendChild(me._show_controller_button);
  444. el=me._loading_multires=document.createElement('div');
  445. els=me._loading_multires__img=document.createElement('img');
  446. els.className='ggskin ggskin_svg';
  447. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnIHN0YW5kYWxvbmU9J25vJz8+CjxzdmcgaGVpZ2h0PSI3cHgiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iMjZweCIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmVyc2lvbj0iMS4wIiB2aWV3Qm94PSIwIDAgMTI4IDM1IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogPGc+CiAgPGNpcmNsZSBjeD0iMTcuNSIgZmlsbC1vcGFjaXR5PSIxIiBmaWxsPSIjZmZmZmZmIiBjeT0iMTcuNSIgcj0iMTcuNSIvPg'+
  448. 'ogIDxhbmltYXRlIHZhbHVlcz0iMC4zOzE7MTswLjM7MC4zIiBkdXI9IjYwMG1zIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIga2V5VGltZXM9IjA7MC4xNjc7MC41OzAuNjY4OzEiIGJlZ2luPSIwcyIvPgogPC9nPgogPGc+CiAgPGNpcmNsZSBjeD0iMTEwLjUiIGZpbGwtb3BhY2l0eT0iMSIgZmlsbD0iI2ZmZmZmZiIgY3k9IjE3LjUiIHI9IjE3LjUiLz4KICA8YW5pbWF0ZSB2YWx1ZXM9IjAuMzswLjM7MTsxOzAuMyIgZHVyPSI2MDBtcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIGtleVRpbWVzPSIwOzAu'+
  449. 'MzM0OzAuNTswLjgzNTsxIiBiZWdpbj0iMHMiLz4KIDwvZz4KIDxnPgogIDxjaXJjbGUgY3g9IjY0IiBmaWxsLW9wYWNpdHk9IjEiIGZpbGw9IiNmZmZmZmYiIGN5PSIxNy41IiByPSIxNy41Ii8+CiAgPGFuaW1hdGUgdmFsdWVzPSIwLjM7MC4zOzE7MTswLjM7MC4zIiBkdXI9IjYwMG1zIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIga2V5VGltZXM9IjA7MC4xNjc7MC4zMzQ7MC42Njg7MC44MzU7MSIgYmVnaW49IjBzIi8+CiA8L2c+Cjwvc3ZnPgo=';
  450. me._loading_multires__img.setAttribute('src',hs);
  451. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;loading_multires;');
  452. els['ondragstart']=function() { return false; };
  453. el.appendChild(els);
  454. el.ggSubElement = els;
  455. el.ggId="loading_multires";
  456. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  457. el.ggVisible=false;
  458. el.className="ggskin ggskin_svg ";
  459. el.ggType='svg';
  460. hs ='';
  461. hs+='height : 7px;';
  462. hs+='position : absolute;';
  463. hs+='right : 6px;';
  464. hs+='top : 6px;';
  465. hs+='visibility : hidden;';
  466. hs+='width : 25px;';
  467. hs+='pointer-events:auto;';
  468. el.setAttribute('style',hs);
  469. el.style[domTransform + 'Origin']='50% 50%';
  470. me._loading_multires.ggIsActive=function() {
  471. return false;
  472. }
  473. el.ggElementNodeId=function() {
  474. return player.getCurrentNode();
  475. }
  476. me._loading_multires.logicBlock_visible = function() {
  477. var newLogicStateVisible;
  478. if (
  479. (player.getIsTileLoading() == true) &&
  480. (player.getVariableValue('opt_loader_mulires') == true)
  481. )
  482. {
  483. newLogicStateVisible = 0;
  484. }
  485. else {
  486. newLogicStateVisible = -1;
  487. }
  488. if (me._loading_multires.ggCurrentLogicStateVisible != newLogicStateVisible) {
  489. me._loading_multires.ggCurrentLogicStateVisible = newLogicStateVisible;
  490. me._loading_multires.style[domTransition]='';
  491. if (me._loading_multires.ggCurrentLogicStateVisible == 0) {
  492. me._loading_multires.style.visibility=(Number(me._loading_multires.style.opacity)>0||!me._loading_multires.style.opacity)?'inherit':'hidden';
  493. me._loading_multires.ggVisible=true;
  494. }
  495. else {
  496. me._loading_multires.style.visibility="hidden";
  497. me._loading_multires.ggVisible=false;
  498. }
  499. }
  500. }
  501. me._loading_multires.ggUpdatePosition=function (useTransition) {
  502. }
  503. me.divSkin.appendChild(me._loading_multires);
  504. el=me._screentint=document.createElement('div');
  505. el.ggId="screentint";
  506. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  507. el.ggVisible=true;
  508. el.className="ggskin ggskin_rectangle ";
  509. el.ggType='rectangle';
  510. hs ='';
  511. hs+='background : rgba(0,0,0,0.392157);';
  512. hs+='border : 1px solid #000000;';
  513. hs+='cursor : pointer;';
  514. hs+='height : 100%;';
  515. hs+='left : 0px;';
  516. hs+='opacity : 0;';
  517. hs+='position : absolute;';
  518. hs+='top : 0px;';
  519. hs+='visibility : hidden;';
  520. hs+='width : 100%;';
  521. hs+='pointer-events:auto;';
  522. el.setAttribute('style',hs);
  523. el.style[domTransform + 'Origin']='50% 50%';
  524. me._screentint.ggIsActive=function() {
  525. return false;
  526. }
  527. el.ggElementNodeId=function() {
  528. return player.getCurrentNode();
  529. }
  530. me._screentint.logicBlock_alpha = function() {
  531. var newLogicStateAlpha;
  532. if (
  533. (player.getVariableValue('vis_image_popup') == true) ||
  534. (player.getVariableValue('vis_info_popup') == true) ||
  535. (player.getVariableValue('vis_video_popup_file') == true) ||
  536. (player.getVariableValue('vis_video_popup_url') == true) ||
  537. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  538. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  539. (player.getVariableValue('vis_userdata') == true) ||
  540. (player.getVariableValue('vis_website') == true) ||
  541. (player.getVariableValue('vis_thumbnail_menu_mobile') == true) &&
  542. (player.getVariableValue('vis_thumbnail_menu_auto_hide') == true) &&
  543. (player.getViewerSize().width <= 450)
  544. )
  545. {
  546. newLogicStateAlpha = 0;
  547. }
  548. else {
  549. newLogicStateAlpha = -1;
  550. }
  551. if (me._screentint.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  552. me._screentint.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  553. me._screentint.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  554. if (me._screentint.ggCurrentLogicStateAlpha == 0) {
  555. me._screentint.style.visibility=me._screentint.ggVisible?'inherit':'hidden';
  556. me._screentint.style.opacity=1;
  557. }
  558. else {
  559. me._screentint.style.visibility="hidden";
  560. me._screentint.style.opacity=0;
  561. }
  562. }
  563. }
  564. me._screentint.onclick=function (e) {
  565. player.setVariableValue('vis_image_popup', false);
  566. player.setVariableValue('vis_info_popup', false);
  567. player.setVariableValue('vis_video_popup_file', false);
  568. player.setVariableValue('vis_video_popup_url', false);
  569. player.setVariableValue('vis_video_popup_vimeo', false);
  570. player.setVariableValue('vis_video_popup_youtube', false);
  571. player.setVariableValue('vis_website', false);
  572. player.setVariableValue('vis_userdata', false);
  573. }
  574. me._screentint.ggUpdatePosition=function (useTransition) {
  575. }
  576. me.divSkin.appendChild(me._screentint);
  577. el=me._controller=document.createElement('div');
  578. el.ggId="controller";
  579. el.ggDx=0;
  580. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  581. el.ggVisible=true;
  582. el.className="ggskin ggskin_container ";
  583. el.ggType='container';
  584. hs ='';
  585. hs+='bottom : 23px;';
  586. hs+='height : 32px;';
  587. hs+='left : -10000px;';
  588. hs+='opacity : 0;';
  589. hs+='position : absolute;';
  590. hs+='visibility : hidden;';
  591. hs+='width : 256px;';
  592. hs+='pointer-events:none;';
  593. el.setAttribute('style',hs);
  594. el.style[domTransform + 'Origin']='50% 50%';
  595. me._controller.ggIsActive=function() {
  596. return false;
  597. }
  598. el.ggElementNodeId=function() {
  599. return player.getCurrentNode();
  600. }
  601. me._controller.logicBlock_position = function() {
  602. var newLogicStatePosition;
  603. if (
  604. (player.getVariableValue('vis_website') == true) ||
  605. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  606. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  607. (player.getVariableValue('vis_video_popup_url') == true) ||
  608. (player.getVariableValue('vis_video_popup_file') == true) ||
  609. (player.getVariableValue('vis_info_popup') == true) ||
  610. (player.getVariableValue('vis_image_popup') == true) ||
  611. (player.getVariableValue('vis_userdata') == true)
  612. )
  613. {
  614. newLogicStatePosition = 0;
  615. }
  616. else {
  617. newLogicStatePosition = -1;
  618. }
  619. if (me._controller.ggCurrentLogicStatePosition != newLogicStatePosition) {
  620. me._controller.ggCurrentLogicStatePosition = newLogicStatePosition;
  621. me._controller.style[domTransition]='left 0s, bottom 0s, opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  622. if (me._controller.ggCurrentLogicStatePosition == 0) {
  623. this.ggDx = 0;
  624. me._controller.style.bottom='-100px';
  625. me._controller.ggUpdatePosition(true);
  626. }
  627. else {
  628. me._controller.ggDx=0;
  629. me._controller.style.bottom='23px';
  630. me._controller.ggUpdatePosition(true);
  631. }
  632. }
  633. }
  634. me._controller.logicBlock_alpha = function() {
  635. var newLogicStateAlpha;
  636. if (
  637. (player.getVariableValue('vis_timer') == true)
  638. )
  639. {
  640. newLogicStateAlpha = 0;
  641. }
  642. else {
  643. newLogicStateAlpha = -1;
  644. }
  645. if (me._controller.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  646. me._controller.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  647. me._controller.style[domTransition]='left 0s, bottom 0s, opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  648. if (me._controller.ggCurrentLogicStateAlpha == 0) {
  649. me._controller.style.visibility=me._controller.ggVisible?'inherit':'hidden';
  650. me._controller.style.opacity=1;
  651. }
  652. else {
  653. me._controller.style.visibility="hidden";
  654. me._controller.style.opacity=0;
  655. }
  656. }
  657. }
  658. me._controller.onmouseover=function (e) {
  659. me.elementMouseOver['controller']=true;
  660. }
  661. me._controller.onmouseout=function (e) {
  662. me.elementMouseOver['controller']=false;
  663. }
  664. me._controller.ontouchend=function (e) {
  665. me.elementMouseOver['controller']=false;
  666. }
  667. me._controller.ggUpdatePosition=function (useTransition) {
  668. if (useTransition==='undefined') {
  669. useTransition = false;
  670. }
  671. if (!useTransition) {
  672. this.style[domTransition]='none';
  673. }
  674. if (this.parentNode) {
  675. var pw=this.parentNode.clientWidth;
  676. var w=this.offsetWidth;
  677. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  678. }
  679. }
  680. el=me._controller_slider=document.createElement('div');
  681. el.ggId="controller_slider";
  682. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  683. el.ggVisible=true;
  684. el.className="ggskin ggskin_container ";
  685. el.ggType='container';
  686. hs ='';
  687. hs+='height : 32px;';
  688. hs+='left : 0px;';
  689. hs+='position : absolute;';
  690. hs+='top : 0px;';
  691. hs+='visibility : inherit;';
  692. hs+='width : 32px;';
  693. hs+='pointer-events:none;';
  694. el.setAttribute('style',hs);
  695. el.style[domTransform + 'Origin']='50% 50%';
  696. me._controller_slider.ggIsActive=function() {
  697. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  698. return this.parentNode.ggIsActive();
  699. }
  700. return false;
  701. }
  702. el.ggElementNodeId=function() {
  703. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  704. return this.parentNode.ggElementNodeId();
  705. }
  706. return player.getCurrentNode();
  707. }
  708. me._controller_slider.logicBlock_position = function() {
  709. var newLogicStatePosition;
  710. if (
  711. (player.getVariableValue('pos_controller') == 1)
  712. )
  713. {
  714. newLogicStatePosition = 0;
  715. }
  716. else if (
  717. (player.getVariableValue('pos_controller') == 2)
  718. )
  719. {
  720. newLogicStatePosition = 1;
  721. }
  722. else if (
  723. (player.getVariableValue('pos_controller') == 3)
  724. )
  725. {
  726. newLogicStatePosition = 2;
  727. }
  728. else if (
  729. (player.getVariableValue('pos_controller') == 4)
  730. )
  731. {
  732. newLogicStatePosition = 3;
  733. }
  734. else if (
  735. (player.getVariableValue('pos_controller') == 5)
  736. )
  737. {
  738. newLogicStatePosition = 4;
  739. }
  740. else if (
  741. (player.getVariableValue('pos_controller') == 6)
  742. )
  743. {
  744. newLogicStatePosition = 5;
  745. }
  746. else if (
  747. (player.getVariableValue('pos_controller') == 7)
  748. )
  749. {
  750. newLogicStatePosition = 6;
  751. }
  752. else if (
  753. (player.getVariableValue('pos_controller') == 8)
  754. )
  755. {
  756. newLogicStatePosition = 7;
  757. }
  758. else {
  759. newLogicStatePosition = -1;
  760. }
  761. if (me._controller_slider.ggCurrentLogicStatePosition != newLogicStatePosition) {
  762. me._controller_slider.ggCurrentLogicStatePosition = newLogicStatePosition;
  763. me._controller_slider.style[domTransition]='left 0s, top 0s';
  764. if (me._controller_slider.ggCurrentLogicStatePosition == 0) {
  765. me._controller_slider.style.left='112px';
  766. me._controller_slider.style.top='0px';
  767. }
  768. else if (me._controller_slider.ggCurrentLogicStatePosition == 1) {
  769. me._controller_slider.style.left='96px';
  770. me._controller_slider.style.top='0px';
  771. }
  772. else if (me._controller_slider.ggCurrentLogicStatePosition == 2) {
  773. me._controller_slider.style.left='80px';
  774. me._controller_slider.style.top='0px';
  775. }
  776. else if (me._controller_slider.ggCurrentLogicStatePosition == 3) {
  777. me._controller_slider.style.left='64px';
  778. me._controller_slider.style.top='0px';
  779. }
  780. else if (me._controller_slider.ggCurrentLogicStatePosition == 4) {
  781. me._controller_slider.style.left='48px';
  782. me._controller_slider.style.top='0px';
  783. }
  784. else if (me._controller_slider.ggCurrentLogicStatePosition == 5) {
  785. me._controller_slider.style.left='32px';
  786. me._controller_slider.style.top='0px';
  787. }
  788. else if (me._controller_slider.ggCurrentLogicStatePosition == 6) {
  789. me._controller_slider.style.left='16px';
  790. me._controller_slider.style.top='0px';
  791. }
  792. else if (me._controller_slider.ggCurrentLogicStatePosition == 7) {
  793. me._controller_slider.style.left='0px';
  794. me._controller_slider.style.top='0px';
  795. }
  796. else {
  797. me._controller_slider.style.left='0px';
  798. me._controller_slider.style.top='0px';
  799. }
  800. }
  801. }
  802. me._controller_slider.ggUpdatePosition=function (useTransition) {
  803. }
  804. el=me._fullscreen_buttons=document.createElement('div');
  805. el.ggPermeable=false;
  806. el.ggId="fullscreen_buttons";
  807. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  808. el.ggVisible=false;
  809. el.className="ggskin ggskin_container ";
  810. el.ggType='container';
  811. hs ='';
  812. hs+='height : 32px;';
  813. hs+='left : 224px;';
  814. hs+='position : absolute;';
  815. hs+='top : 0px;';
  816. hs+='visibility : hidden;';
  817. hs+='width : 32px;';
  818. hs+='pointer-events:auto;';
  819. el.setAttribute('style',hs);
  820. el.style[domTransform + 'Origin']='50% 50%';
  821. me._fullscreen_buttons.ggIsActive=function() {
  822. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  823. return this.parentNode.ggIsActive();
  824. }
  825. return false;
  826. }
  827. el.ggElementNodeId=function() {
  828. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  829. return this.parentNode.ggElementNodeId();
  830. }
  831. return player.getCurrentNode();
  832. }
  833. me._fullscreen_buttons.logicBlock_position = function() {
  834. var newLogicStatePosition;
  835. if (
  836. (player.getVariableValue('pos_fullscreen') == 0)
  837. )
  838. {
  839. newLogicStatePosition = 0;
  840. }
  841. else if (
  842. (player.getVariableValue('pos_fullscreen') == 1)
  843. )
  844. {
  845. newLogicStatePosition = 1;
  846. }
  847. else if (
  848. (player.getVariableValue('pos_fullscreen') == 2)
  849. )
  850. {
  851. newLogicStatePosition = 2;
  852. }
  853. else if (
  854. (player.getVariableValue('pos_fullscreen') == 3)
  855. )
  856. {
  857. newLogicStatePosition = 3;
  858. }
  859. else if (
  860. (player.getVariableValue('pos_fullscreen') == 4)
  861. )
  862. {
  863. newLogicStatePosition = 4;
  864. }
  865. else if (
  866. (player.getVariableValue('pos_fullscreen') == 5)
  867. )
  868. {
  869. newLogicStatePosition = 5;
  870. }
  871. else if (
  872. (player.getVariableValue('pos_fullscreen') == 6)
  873. )
  874. {
  875. newLogicStatePosition = 6;
  876. }
  877. else if (
  878. (player.getVariableValue('pos_fullscreen') == 7)
  879. )
  880. {
  881. newLogicStatePosition = 7;
  882. }
  883. else {
  884. newLogicStatePosition = -1;
  885. }
  886. if (me._fullscreen_buttons.ggCurrentLogicStatePosition != newLogicStatePosition) {
  887. me._fullscreen_buttons.ggCurrentLogicStatePosition = newLogicStatePosition;
  888. me._fullscreen_buttons.style[domTransition]='left 0s, top 0s';
  889. if (me._fullscreen_buttons.ggCurrentLogicStatePosition == 0) {
  890. me._fullscreen_buttons.style.left='0px';
  891. me._fullscreen_buttons.style.top='0px';
  892. }
  893. else if (me._fullscreen_buttons.ggCurrentLogicStatePosition == 1) {
  894. me._fullscreen_buttons.style.left='32px';
  895. me._fullscreen_buttons.style.top='0px';
  896. }
  897. else if (me._fullscreen_buttons.ggCurrentLogicStatePosition == 2) {
  898. me._fullscreen_buttons.style.left='64px';
  899. me._fullscreen_buttons.style.top='0px';
  900. }
  901. else if (me._fullscreen_buttons.ggCurrentLogicStatePosition == 3) {
  902. me._fullscreen_buttons.style.left='96px';
  903. me._fullscreen_buttons.style.top='0px';
  904. }
  905. else if (me._fullscreen_buttons.ggCurrentLogicStatePosition == 4) {
  906. me._fullscreen_buttons.style.left='128px';
  907. me._fullscreen_buttons.style.top='0px';
  908. }
  909. else if (me._fullscreen_buttons.ggCurrentLogicStatePosition == 5) {
  910. me._fullscreen_buttons.style.left='160px';
  911. me._fullscreen_buttons.style.top='0px';
  912. }
  913. else if (me._fullscreen_buttons.ggCurrentLogicStatePosition == 6) {
  914. me._fullscreen_buttons.style.left='192px';
  915. me._fullscreen_buttons.style.top='0px';
  916. }
  917. else if (me._fullscreen_buttons.ggCurrentLogicStatePosition == 7) {
  918. me._fullscreen_buttons.style.left='224px';
  919. me._fullscreen_buttons.style.top='0px';
  920. }
  921. else {
  922. me._fullscreen_buttons.style.left='224px';
  923. me._fullscreen_buttons.style.top='0px';
  924. }
  925. }
  926. }
  927. me._fullscreen_buttons.logicBlock_visible = function() {
  928. var newLogicStateVisible;
  929. if (
  930. (player.getVariableValue('opt_fullscreen') == true) &&
  931. (player.getOS() != 4)
  932. )
  933. {
  934. newLogicStateVisible = 0;
  935. }
  936. else {
  937. newLogicStateVisible = -1;
  938. }
  939. if (me._fullscreen_buttons.ggCurrentLogicStateVisible != newLogicStateVisible) {
  940. me._fullscreen_buttons.ggCurrentLogicStateVisible = newLogicStateVisible;
  941. me._fullscreen_buttons.style[domTransition]='left 0s, top 0s';
  942. if (me._fullscreen_buttons.ggCurrentLogicStateVisible == 0) {
  943. me._fullscreen_buttons.style.visibility=(Number(me._fullscreen_buttons.style.opacity)>0||!me._fullscreen_buttons.style.opacity)?'inherit':'hidden';
  944. me._fullscreen_buttons.ggVisible=true;
  945. }
  946. else {
  947. me._fullscreen_buttons.style.visibility="hidden";
  948. me._fullscreen_buttons.ggVisible=false;
  949. }
  950. }
  951. }
  952. me._fullscreen_buttons.onclick=function (e) {
  953. player.toggleFullscreen();
  954. }
  955. me._fullscreen_buttons.onmouseover=function (e) {
  956. me.elementMouseOver['fullscreen_buttons']=true;
  957. me._tt_fullscreen.logicBlock_visible();
  958. }
  959. me._fullscreen_buttons.onmouseout=function (e) {
  960. me.elementMouseOver['fullscreen_buttons']=false;
  961. me._tt_fullscreen.logicBlock_visible();
  962. }
  963. me._fullscreen_buttons.ontouchend=function (e) {
  964. me.elementMouseOver['fullscreen_buttons']=false;
  965. me._tt_fullscreen.logicBlock_visible();
  966. }
  967. me._fullscreen_buttons.ggUpdatePosition=function (useTransition) {
  968. }
  969. el=me._fullscreen=document.createElement('div');
  970. els=me._fullscreen__img=document.createElement('img');
  971. els.className='ggskin ggskin_svg';
  972. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  973. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSI+Cgk8cGF0aCBkPSJNMjguMTQ5LDcuMDM0Yy0wLjIyMy0wLjIyMy0wLjUzMS0wLjM1MS0wLjg0Ni0wLjM1MUg0LjY5N2MtMC4zMTUsMC0wLjYyNCwwLjEyOC0wLjg0NiwwLjM1MQ0KCQlTMy41LDcuNTY1LDMuNSw3Ljg4djE2LjI0YzAsMC4zMTUsMC4xMj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5Ni'+
  983. 'wxLjE5NiwxLjE5NmMwLjY2LDAsMS4xOTYtMC41MzUsMS4xOTYtMS4xOTZWMTYNCgkJYzAtMC4zMTUtMC4xMjgtMC42MjMtMC4zNS0wLjg0NkMxNi42MjMsMTQuOTMxLDE2LjMxNCwxNC44MDQsMTYsMTQuODA0eiBNMjEuMDUsMTEuNTY1bC0wLjIyMSwwLjE0OA0KCQljLTAuNDI3LDAuMjg2LTAuNTQyLDAuODYzLTAuMjU3LDEuMjkxYzAuMTgsMC4yNjgsMC40NzUsMC40MTMsMC43NzQsMC40MTNjMC4xNzgsMCwwLjM1Ny0wLjA1MSwwLjUxNy0wLjE1N2wwLjIyMS0wLjE0OA0KCQljMC40MjgtMC4yODYsMC41NDItMC44NjMsMC4yNTctMS4yOTFTMjEuNDc4LDExLjI4LDIxLjA1LDExLjU2NXoiLz4N'+
  984. 'Cgk8L2c+Cjwvc3ZnPg==';
  985. me._fullscreen__img.setAttribute('src',hs);
  986. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;fullscreen;');
  987. els['ondragstart']=function() { return false; };
  988. el.appendChild(els);
  989. el.ggSubElement = els;
  990. elo=me._fullscreen__imgo=document.createElement('img');
  991. elo.className='ggskin ggskin_svg';
  992. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3d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YzLDAuMjU3LTEuMjkxUzIxLjQ3OCwxMS4yOCwyMS4wNSwxMS41NjV6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  1005. me._fullscreen__imgo.setAttribute('src',hs);
  1006. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;fullscreen;');
  1007. elo['ondragstart']=function() { return false; };
  1008. el.appendChild(elo);
  1009. el.ggId="fullscreen";
  1010. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  1011. el.ggVisible=true;
  1012. el.className="ggskin ggskin_svg ";
  1013. el.ggType='svg';
  1014. hs ='';
  1015. hs+='cursor : pointer;';
  1016. hs+='height : 32px;';
  1017. hs+='left : 0px;';
  1018. hs+='position : absolute;';
  1019. hs+='top : 0px;';
  1020. hs+='visibility : inherit;';
  1021. hs+='width : 32px;';
  1022. hs+='pointer-events:auto;';
  1023. el.setAttribute('style',hs);
  1024. el.style[domTransform + 'Origin']='50% 50%';
  1025. me._fullscreen.ggIsActive=function() {
  1026. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  1027. return this.parentNode.ggIsActive();
  1028. }
  1029. return false;
  1030. }
  1031. el.ggElementNodeId=function() {
  1032. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  1033. return this.parentNode.ggElementNodeId();
  1034. }
  1035. return player.getCurrentNode();
  1036. }
  1037. me._fullscreen.logicBlock_alpha = function() {
  1038. var newLogicStateAlpha;
  1039. if (
  1040. (player.getIsFullscreen() == true)
  1041. )
  1042. {
  1043. newLogicStateAlpha = 0;
  1044. }
  1045. else {
  1046. newLogicStateAlpha = -1;
  1047. }
  1048. if (me._fullscreen.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  1049. me._fullscreen.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  1050. me._fullscreen.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  1051. if (me._fullscreen.ggCurrentLogicStateAlpha == 0) {
  1052. me._fullscreen.style.visibility="hidden";
  1053. me._fullscreen.style.opacity=0;
  1054. }
  1055. else {
  1056. me._fullscreen.style.visibility=me._fullscreen.ggVisible?'inherit':'hidden';
  1057. me._fullscreen.style.opacity=1;
  1058. }
  1059. }
  1060. }
  1061. me._fullscreen.onmouseover=function (e) {
  1062. me._fullscreen__img.style.visibility='hidden';
  1063. me._fullscreen__imgo.style.visibility='inherit';
  1064. }
  1065. me._fullscreen.onmouseout=function (e) {
  1066. me._fullscreen__img.style.visibility='inherit';
  1067. me._fullscreen__imgo.style.visibility='hidden';
  1068. }
  1069. me._fullscreen.ggUpdatePosition=function (useTransition) {
  1070. }
  1071. me._fullscreen_buttons.appendChild(me._fullscreen);
  1072. el=me._fullscreen_off=document.createElement('div');
  1073. els=me._fullscreen_off__img=document.createElement('img');
  1074. els.className='ggskin ggskin_svg';
  1075. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  1076. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuN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mi0xLjI5MS0wLjI1NmwtMC4yMjEsMC4xNDdjLTAuNDI4LDAuMjg1LTAuNTQyLDAuODYzLTAuMjU2LDEuMjlj'+
  1097. 'MC4xNzksMC4yNjksMC40NzQsMC40MTQsMC43NzQsMC40MTQNCgkJYzAuMTc4LDAsMC4zNTctMC4wNTEsMC41MTYtMC4xNTZsMC4yMjItMC4xNDhDMjUuMjc0LDEwLjk4MSwyNS4zODksMTAuNDAzLDI1LjEwNCw5Ljk3NnoiLz4NCgk8L2c+Cjwvc3ZnPg==';
  1098. me._fullscreen_off__img.setAttribute('src',hs);
  1099. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;fullscreen_off;');
  1100. els['ondragstart']=function() { return false; };
  1101. el.appendChild(els);
  1102. el.ggSubElement = els;
  1103. elo=me._fullscreen_off__imgo=document.createElement('img');
  1104. elo.className='ggskin ggskin_svg';
  1105. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  1106. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZ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TAuMjQyYy0wLjY2MSwwLTEuMTk2LDAuNTM2LTEuMTk2LDEuMTk2DQoJCWMwLDAuNjYxLDAuNTM1LDEuMTk2LDEuMTk2LDEuMTk2aDAuMjQyYzAuNjYsMCwxLjE5Ni0wLjUzNSwxLjE5Ni0xLjE5NkMyMy45MzYsMjMuNDYsMjMuMzk5LDIyLjkyNCwy'+
  1127. 'Mi43MzksMjIuOTI0eiBNMjUuMTA0LDkuOTc2DQoJCWMtMC4yODUtMC40MjctMC44NjMtMC41NDItMS4yOTEtMC4yNTZsLTAuMjIxLDAuMTQ3Yy0wLjQyOCwwLjI4NS0wLjU0MiwwLjg2My0wLjI1NiwxLjI5YzAuMTc5LDAuMjY5LDAuNDc0LDAuNDE0LDAuNzc0LDAuNDE0DQoJCWMwLjE3OCwwLDAuMzU3LTAuMDUxLDAuNTE2LTAuMTU2bDAuMjIyLTAuMTQ4QzI1LjI3NCwxMC45ODEsMjUuMzg5LDEwLjQwMywyNS4xMDQsOS45NzZ6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  1128. me._fullscreen_off__imgo.setAttribute('src',hs);
  1129. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;fullscreen_off;');
  1130. elo['ondragstart']=function() { return false; };
  1131. el.appendChild(elo);
  1132. el.ggId="fullscreen_off";
  1133. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  1134. el.ggVisible=true;
  1135. el.className="ggskin ggskin_svg ";
  1136. el.ggType='svg';
  1137. hs ='';
  1138. hs+='cursor : pointer;';
  1139. hs+='height : 32px;';
  1140. hs+='left : 0px;';
  1141. hs+='opacity : 0;';
  1142. hs+='position : absolute;';
  1143. hs+='top : 0px;';
  1144. hs+='visibility : hidden;';
  1145. hs+='width : 32px;';
  1146. hs+='pointer-events:auto;';
  1147. el.setAttribute('style',hs);
  1148. el.style[domTransform + 'Origin']='50% 50%';
  1149. me._fullscreen_off.ggIsActive=function() {
  1150. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  1151. return this.parentNode.ggIsActive();
  1152. }
  1153. return false;
  1154. }
  1155. el.ggElementNodeId=function() {
  1156. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  1157. return this.parentNode.ggElementNodeId();
  1158. }
  1159. return player.getCurrentNode();
  1160. }
  1161. me._fullscreen_off.logicBlock_alpha = function() {
  1162. var newLogicStateAlpha;
  1163. if (
  1164. (player.getIsFullscreen() == true)
  1165. )
  1166. {
  1167. newLogicStateAlpha = 0;
  1168. }
  1169. else {
  1170. newLogicStateAlpha = -1;
  1171. }
  1172. if (me._fullscreen_off.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  1173. me._fullscreen_off.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  1174. me._fullscreen_off.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  1175. if (me._fullscreen_off.ggCurrentLogicStateAlpha == 0) {
  1176. me._fullscreen_off.style.visibility=me._fullscreen_off.ggVisible?'inherit':'hidden';
  1177. me._fullscreen_off.style.opacity=1;
  1178. }
  1179. else {
  1180. me._fullscreen_off.style.visibility="hidden";
  1181. me._fullscreen_off.style.opacity=0;
  1182. }
  1183. }
  1184. }
  1185. me._fullscreen_off.onmouseover=function (e) {
  1186. me._fullscreen_off__img.style.visibility='hidden';
  1187. me._fullscreen_off__imgo.style.visibility='inherit';
  1188. }
  1189. me._fullscreen_off.onmouseout=function (e) {
  1190. me._fullscreen_off__img.style.visibility='inherit';
  1191. me._fullscreen_off__imgo.style.visibility='hidden';
  1192. }
  1193. me._fullscreen_off.ggUpdatePosition=function (useTransition) {
  1194. }
  1195. me._fullscreen_buttons.appendChild(me._fullscreen_off);
  1196. el=me._tt_fullscreen=document.createElement('div');
  1197. els=me._tt_fullscreen__text=document.createElement('div');
  1198. el.className='ggskin ggskin_textdiv';
  1199. el.ggTextDiv=els;
  1200. el.ggId="tt_fullscreen";
  1201. el.ggDx=0;
  1202. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  1203. el.ggVisible=false;
  1204. el.className="ggskin ggskin_text ";
  1205. el.ggType='text';
  1206. hs ='';
  1207. hs+='z-index: 100;';
  1208. hs+='height : 20px;';
  1209. hs+='left : -10000px;';
  1210. hs+='position : absolute;';
  1211. hs+='top : 32px;';
  1212. hs+='visibility : hidden;';
  1213. hs+='width : 100px;';
  1214. hs+='pointer-events:auto;';
  1215. hs+='text-shadow: 1px 1px 4px #000000;';
  1216. el.setAttribute('style',hs);
  1217. el.style[domTransform + 'Origin']='50% 50%';
  1218. hs ='position:absolute;';
  1219. hs += 'box-sizing: border-box;';
  1220. hs+='cursor: default;';
  1221. hs+='left: 0px;';
  1222. hs+='top: 0px;';
  1223. hs+='width: auto;';
  1224. hs+='height: auto;';
  1225. hs+='border: 0px solid #000000;';
  1226. hs+='color: rgba(255,255,255,1);';
  1227. hs+='text-align: center;';
  1228. hs+='white-space: nowrap;';
  1229. hs+='padding: 0px 1px 0px 1px;';
  1230. hs+='overflow: hidden;';
  1231. els.setAttribute('style',hs);
  1232. els.innerHTML="";
  1233. el.appendChild(els);
  1234. me._tt_fullscreen.ggIsActive=function() {
  1235. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  1236. return this.parentNode.ggIsActive();
  1237. }
  1238. return false;
  1239. }
  1240. el.ggElementNodeId=function() {
  1241. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  1242. return this.parentNode.ggElementNodeId();
  1243. }
  1244. return player.getCurrentNode();
  1245. }
  1246. me._tt_fullscreen.logicBlock_position = function() {
  1247. var newLogicStatePosition;
  1248. if (
  1249. (player.getIsMobile() == true)
  1250. )
  1251. {
  1252. newLogicStatePosition = 0;
  1253. }
  1254. else {
  1255. newLogicStatePosition = -1;
  1256. }
  1257. if (me._tt_fullscreen.ggCurrentLogicStatePosition != newLogicStatePosition) {
  1258. me._tt_fullscreen.ggCurrentLogicStatePosition = newLogicStatePosition;
  1259. me._tt_fullscreen.style[domTransition]='left 0s, top 0s';
  1260. if (me._tt_fullscreen.ggCurrentLogicStatePosition == 0) {
  1261. this.ggDx = 0;
  1262. me._tt_fullscreen.style.top='-25px';
  1263. me._tt_fullscreen.ggUpdatePosition(true);
  1264. }
  1265. else {
  1266. me._tt_fullscreen.ggDx=0;
  1267. me._tt_fullscreen.style.top='32px';
  1268. me._tt_fullscreen.ggUpdatePosition(true);
  1269. }
  1270. }
  1271. }
  1272. me._tt_fullscreen.logicBlock_visible = function() {
  1273. var newLogicStateVisible;
  1274. if (
  1275. (me.elementMouseOver['fullscreen_buttons'] == true)
  1276. )
  1277. {
  1278. newLogicStateVisible = 0;
  1279. }
  1280. else {
  1281. newLogicStateVisible = -1;
  1282. }
  1283. if (me._tt_fullscreen.ggCurrentLogicStateVisible != newLogicStateVisible) {
  1284. me._tt_fullscreen.ggCurrentLogicStateVisible = newLogicStateVisible;
  1285. me._tt_fullscreen.style[domTransition]='left 0s, top 0s';
  1286. if (me._tt_fullscreen.ggCurrentLogicStateVisible == 0) {
  1287. me._tt_fullscreen.style.visibility=(Number(me._tt_fullscreen.style.opacity)>0||!me._tt_fullscreen.style.opacity)?'inherit':'hidden';
  1288. me._tt_fullscreen.ggVisible=true;
  1289. }
  1290. else {
  1291. me._tt_fullscreen.style.visibility="hidden";
  1292. me._tt_fullscreen.ggVisible=false;
  1293. }
  1294. }
  1295. }
  1296. me._tt_fullscreen.logicBlock_text = function() {
  1297. var newLogicStateText;
  1298. if (
  1299. (player.getIsFullscreen() == true)
  1300. )
  1301. {
  1302. newLogicStateText = 0;
  1303. }
  1304. else if (
  1305. (player.getIsFullscreen() == false)
  1306. )
  1307. {
  1308. newLogicStateText = 1;
  1309. }
  1310. else {
  1311. newLogicStateText = -1;
  1312. }
  1313. if (me._tt_fullscreen.ggCurrentLogicStateText != newLogicStateText) {
  1314. me._tt_fullscreen.ggCurrentLogicStateText = newLogicStateText;
  1315. me._tt_fullscreen.style[domTransition]='left 0s, top 0s';
  1316. if (me._tt_fullscreen.ggCurrentLogicStateText == 0) {
  1317. me._tt_fullscreen.ggText="Exit Fullscreen";
  1318. me._tt_fullscreen__text.innerHTML=me._tt_fullscreen.ggText;
  1319. if (me._tt_fullscreen.ggUpdateText) {
  1320. me._tt_fullscreen.ggUpdateText=function() {
  1321. var hs="Exit Fullscreen";
  1322. if (hs!=this.ggText) {
  1323. this.ggText=hs;
  1324. this.ggTextDiv.innerHTML=hs;
  1325. if (this.ggUpdatePosition) this.ggUpdatePosition();
  1326. }
  1327. }
  1328. } else {
  1329. if (me._tt_fullscreen.ggUpdatePosition) me._tt_fullscreen.ggUpdatePosition();
  1330. }
  1331. }
  1332. else if (me._tt_fullscreen.ggCurrentLogicStateText == 1) {
  1333. me._tt_fullscreen.ggText="Enter Fullscreen";
  1334. me._tt_fullscreen__text.innerHTML=me._tt_fullscreen.ggText;
  1335. if (me._tt_fullscreen.ggUpdateText) {
  1336. me._tt_fullscreen.ggUpdateText=function() {
  1337. var hs="Enter Fullscreen";
  1338. if (hs!=this.ggText) {
  1339. this.ggText=hs;
  1340. this.ggTextDiv.innerHTML=hs;
  1341. if (this.ggUpdatePosition) this.ggUpdatePosition();
  1342. }
  1343. }
  1344. } else {
  1345. if (me._tt_fullscreen.ggUpdatePosition) me._tt_fullscreen.ggUpdatePosition();
  1346. }
  1347. }
  1348. else {
  1349. me._tt_fullscreen.ggText="";
  1350. me._tt_fullscreen__text.innerHTML=me._tt_fullscreen.ggText;
  1351. if (me._tt_fullscreen.ggUpdateText) {
  1352. me._tt_fullscreen.ggUpdateText=function() {
  1353. var hs="";
  1354. if (hs!=this.ggText) {
  1355. this.ggText=hs;
  1356. this.ggTextDiv.innerHTML=hs;
  1357. if (this.ggUpdatePosition) this.ggUpdatePosition();
  1358. }
  1359. }
  1360. } else {
  1361. if (me._tt_fullscreen.ggUpdatePosition) me._tt_fullscreen.ggUpdatePosition();
  1362. }
  1363. }
  1364. }
  1365. }
  1366. me._tt_fullscreen.ggUpdatePosition=function (useTransition) {
  1367. if (useTransition==='undefined') {
  1368. useTransition = false;
  1369. }
  1370. if (!useTransition) {
  1371. this.style[domTransition]='none';
  1372. }
  1373. if (this.parentNode) {
  1374. var pw=this.parentNode.clientWidth;
  1375. var w=this.offsetWidth + 0;
  1376. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  1377. }
  1378. this.style[domTransition]='left 0';
  1379. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  1380. }
  1381. me._fullscreen_buttons.appendChild(me._tt_fullscreen);
  1382. me._controller_slider.appendChild(me._fullscreen_buttons);
  1383. el=me._gyro=document.createElement('div');
  1384. el.ggId="gyro";
  1385. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  1386. el.ggVisible=false;
  1387. el.className="ggskin ggskin_container ";
  1388. el.ggType='container';
  1389. hs ='';
  1390. hs+='height : 32px;';
  1391. hs+='left : 192px;';
  1392. hs+='position : absolute;';
  1393. hs+='top : 0px;';
  1394. hs+='visibility : hidden;';
  1395. hs+='width : 32px;';
  1396. hs+='pointer-events:none;';
  1397. el.setAttribute('style',hs);
  1398. el.style[domTransform + 'Origin']='50% 50%';
  1399. me._gyro.ggIsActive=function() {
  1400. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  1401. return this.parentNode.ggIsActive();
  1402. }
  1403. return false;
  1404. }
  1405. el.ggElementNodeId=function() {
  1406. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  1407. return this.parentNode.ggElementNodeId();
  1408. }
  1409. return player.getCurrentNode();
  1410. }
  1411. me._gyro.logicBlock_position = function() {
  1412. var newLogicStatePosition;
  1413. if (
  1414. (player.getVariableValue('pos_gyro') == 0)
  1415. )
  1416. {
  1417. newLogicStatePosition = 0;
  1418. }
  1419. else if (
  1420. (player.getVariableValue('pos_gyro') == 1)
  1421. )
  1422. {
  1423. newLogicStatePosition = 1;
  1424. }
  1425. else if (
  1426. (player.getVariableValue('pos_gyro') == 2)
  1427. )
  1428. {
  1429. newLogicStatePosition = 2;
  1430. }
  1431. else if (
  1432. (player.getVariableValue('pos_gyro') == 3)
  1433. )
  1434. {
  1435. newLogicStatePosition = 3;
  1436. }
  1437. else if (
  1438. (player.getVariableValue('pos_gyro') == 4)
  1439. )
  1440. {
  1441. newLogicStatePosition = 4;
  1442. }
  1443. else if (
  1444. (player.getVariableValue('pos_gyro') == 5)
  1445. )
  1446. {
  1447. newLogicStatePosition = 5;
  1448. }
  1449. else if (
  1450. (player.getVariableValue('pos_gyro') == 6)
  1451. )
  1452. {
  1453. newLogicStatePosition = 6;
  1454. }
  1455. else {
  1456. newLogicStatePosition = -1;
  1457. }
  1458. if (me._gyro.ggCurrentLogicStatePosition != newLogicStatePosition) {
  1459. me._gyro.ggCurrentLogicStatePosition = newLogicStatePosition;
  1460. me._gyro.style[domTransition]='left 0s, top 0s';
  1461. if (me._gyro.ggCurrentLogicStatePosition == 0) {
  1462. me._gyro.style.left='0px';
  1463. me._gyro.style.top='0px';
  1464. }
  1465. else if (me._gyro.ggCurrentLogicStatePosition == 1) {
  1466. me._gyro.style.left='32px';
  1467. me._gyro.style.top='0px';
  1468. }
  1469. else if (me._gyro.ggCurrentLogicStatePosition == 2) {
  1470. me._gyro.style.left='64px';
  1471. me._gyro.style.top='0px';
  1472. }
  1473. else if (me._gyro.ggCurrentLogicStatePosition == 3) {
  1474. me._gyro.style.left='96px';
  1475. me._gyro.style.top='0px';
  1476. }
  1477. else if (me._gyro.ggCurrentLogicStatePosition == 4) {
  1478. me._gyro.style.left='128px';
  1479. me._gyro.style.top='0px';
  1480. }
  1481. else if (me._gyro.ggCurrentLogicStatePosition == 5) {
  1482. me._gyro.style.left='160px';
  1483. me._gyro.style.top='0px';
  1484. }
  1485. else if (me._gyro.ggCurrentLogicStatePosition == 6) {
  1486. me._gyro.style.left='192px';
  1487. me._gyro.style.top='0px';
  1488. }
  1489. else {
  1490. me._gyro.style.left='192px';
  1491. me._gyro.style.top='0px';
  1492. }
  1493. }
  1494. }
  1495. me._gyro.logicBlock_visible = function() {
  1496. var newLogicStateVisible;
  1497. if (
  1498. (player.getVariableValue('opt_gyro') == true) &&
  1499. (player.getIsMobile() == true)
  1500. )
  1501. {
  1502. newLogicStateVisible = 0;
  1503. }
  1504. else {
  1505. newLogicStateVisible = -1;
  1506. }
  1507. if (me._gyro.ggCurrentLogicStateVisible != newLogicStateVisible) {
  1508. me._gyro.ggCurrentLogicStateVisible = newLogicStateVisible;
  1509. me._gyro.style[domTransition]='left 0s, top 0s';
  1510. if (me._gyro.ggCurrentLogicStateVisible == 0) {
  1511. me._gyro.style.visibility=(Number(me._gyro.style.opacity)>0||!me._gyro.style.opacity)?'inherit':'hidden';
  1512. me._gyro.ggVisible=true;
  1513. }
  1514. else {
  1515. me._gyro.style.visibility="hidden";
  1516. me._gyro.ggVisible=false;
  1517. }
  1518. }
  1519. }
  1520. me._gyro.onclick=function (e) {
  1521. player.stopAutorotate();
  1522. player.setUseGyro(!(player.getUseGyro()));
  1523. }
  1524. me._gyro.onmouseover=function (e) {
  1525. me.elementMouseOver['gyro']=true;
  1526. me._tt_gyro.logicBlock_visible();
  1527. }
  1528. me._gyro.onmouseout=function (e) {
  1529. me.elementMouseOver['gyro']=false;
  1530. me._tt_gyro.logicBlock_visible();
  1531. }
  1532. me._gyro.ontouchend=function (e) {
  1533. me.elementMouseOver['gyro']=false;
  1534. me._tt_gyro.logicBlock_visible();
  1535. }
  1536. me._gyro.ggUpdatePosition=function (useTransition) {
  1537. }
  1538. el=me._gyro_on=document.createElement('div');
  1539. els=me._gyro_on__img=document.createElement('img');
  1540. els.className='ggskin ggskin_svg';
  1541. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ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jUtMC4xMzgsMS41NzMtMC4xMzhjMS44MzIsMCwzLjIxNiwwLjU4OCwzLjUyOCwxLjQ5OA0KCQkJCWMwLjQ3NiwxLjM4Ny0xLjQ0OSwzLjc3Ni00Ljk3MSw0Ljk4M2MtMS4xNjQsMC4zOTgtMi4zNTksMC42MS0zLjQ1NiwwLjYxYy0xLjgzMiwwLTMuMjE2LTAuNTg4'+
  1551. 'LTMuNTI4LTEuNDk3DQoJCQkJYy0wLjM4Ni0xLjEyOSwwLjgxMS0yLjkxNywzLjE2My00LjE5NWwtMC43OTEtMi4zMDljLTMuNTMsMS43OTItNS41MjUsNC43NjQtNC42NjEsNy4yODhjMC42NzIsMS45NjEsMi44NDcsMy4xMzIsNS44MTcsMy4xMzINCgkJCQljMC45ODUsMCwyLjAyNS0wLjEzOCwzLjA2MS0wLjM5NmwwLjU5OCwxLjc0M2MwLjE3MiwwLjUwMiwwLjY0MiwwLjgxOCwxLjE0NSwwLjgxOGMwLjEzLDAsMC4yNjMtMC4wMjEsMC4zOTMtMC4wNjUNCgkJCQljMC42MzEtMC4yMTcsMC45NjktMC45MDQsMC43NTEtMS41MzdsLTAuNTk3LTEuNzQxQy0zNDgzLjg0My0yNTg3LjA3Ny0zNDgxLj'+
  1552. 'UyMi0yNTkwLjI3MS0zNDgyLjQ0MS0yNTkyLjk1N3oiLz4NCgkJPC9nPg0KCTwvZz4NCjwvZz4NCjxnIGlkPSJMYXllcl8yIj4NCjwvZz4NCjwvc3ZnPg0K';
  1553. me._gyro_on__img.setAttribute('src',hs);
  1554. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;gyro_on;');
  1555. els['ondragstart']=function() { return false; };
  1556. el.appendChild(els);
  1557. el.ggSubElement = els;
  1558. elo=me._gyro_on__imgo=document.createElement('img');
  1559. elo.className='ggskin ggskin_svg';
  1560. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0id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wvZz4NCjwvc3ZnPg0K';
  1572. me._gyro_on__imgo.setAttribute('src',hs);
  1573. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;gyro_on;');
  1574. elo['ondragstart']=function() { return false; };
  1575. el.appendChild(elo);
  1576. el.ggId="gyro_on";
  1577. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  1578. el.ggVisible=true;
  1579. el.className="ggskin ggskin_svg ";
  1580. el.ggType='svg';
  1581. hs ='';
  1582. hs+='cursor : pointer;';
  1583. hs+='height : 32px;';
  1584. hs+='left : 0px;';
  1585. hs+='opacity : 0;';
  1586. hs+='position : absolute;';
  1587. hs+='top : 0px;';
  1588. hs+='visibility : hidden;';
  1589. hs+='width : 32px;';
  1590. hs+='pointer-events:auto;';
  1591. el.setAttribute('style',hs);
  1592. el.style[domTransform + 'Origin']='50% 50%';
  1593. me._gyro_on.ggIsActive=function() {
  1594. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  1595. return this.parentNode.ggIsActive();
  1596. }
  1597. return false;
  1598. }
  1599. el.ggElementNodeId=function() {
  1600. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  1601. return this.parentNode.ggElementNodeId();
  1602. }
  1603. return player.getCurrentNode();
  1604. }
  1605. me._gyro_on.logicBlock_alpha = function() {
  1606. var newLogicStateAlpha;
  1607. if (
  1608. (player.getUseGyro() == false)
  1609. )
  1610. {
  1611. newLogicStateAlpha = 0;
  1612. }
  1613. else {
  1614. newLogicStateAlpha = -1;
  1615. }
  1616. if (me._gyro_on.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  1617. me._gyro_on.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  1618. me._gyro_on.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  1619. if (me._gyro_on.ggCurrentLogicStateAlpha == 0) {
  1620. me._gyro_on.style.visibility=me._gyro_on.ggVisible?'inherit':'hidden';
  1621. me._gyro_on.style.opacity=1;
  1622. }
  1623. else {
  1624. me._gyro_on.style.visibility="hidden";
  1625. me._gyro_on.style.opacity=0;
  1626. }
  1627. }
  1628. }
  1629. me._gyro_on.onclick=function (e) {
  1630. if (player.transitionsDisabled) {
  1631. me._gyro_on.style[domTransition]='none';
  1632. } else {
  1633. me._gyro_on.style[domTransition]='all 500ms ease-out 0ms';
  1634. }
  1635. me._gyro_on.style.opacity='0';
  1636. me._gyro_on.style.visibility='hidden';
  1637. if (player.transitionsDisabled) {
  1638. me._gyro_off.style[domTransition]='none';
  1639. } else {
  1640. me._gyro_off.style[domTransition]='all 500ms ease-out 0ms';
  1641. }
  1642. me._gyro_off.style.opacity='1';
  1643. me._gyro_off.style.visibility=me._gyro_off.ggVisible?'inherit':'hidden';
  1644. me.__360image_gyro.ggTimeout=Number("4") * 1000.0;
  1645. me.__360image_gyro.ggTimestamp=skin.ggCurrentTime;
  1646. me.__360image_timer.ggTimeout=Number("0.4") * 1000.0;
  1647. me.__360image_timer.ggTimestamp=skin.ggCurrentTime;
  1648. }
  1649. me._gyro_on.onmouseover=function (e) {
  1650. me._gyro_on__img.style.visibility='hidden';
  1651. me._gyro_on__imgo.style.visibility='inherit';
  1652. }
  1653. me._gyro_on.onmouseout=function (e) {
  1654. me._gyro_on__img.style.visibility='inherit';
  1655. me._gyro_on__imgo.style.visibility='hidden';
  1656. }
  1657. me._gyro_on.ggUpdatePosition=function (useTransition) {
  1658. }
  1659. me._gyro.appendChild(me._gyro_on);
  1660. el=me._gyro_off=document.createElement('div');
  1661. els=me._gyro_off__img=document.createElement('img');
  1662. els.className='ggskin ggskin_svg';
  1663. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2L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Lz4NCgkJCTxwYXRoIGZpbGw9IiNGRkZGRkYiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIwLjIiIGQ9Ik0tMzQ0NS4wNTgtMjU5Mi44MDJjLTAuNjY2LTEuOTQzLTIuODItMy4xMDMtNS43NjItMy4xMDMNCgkJCQljLTAuNzUxLDAtMS41MzQsMC4wODYtMi4zMjIsMC4yMzlsMC43ODYsMi4yOTFjMC41MjQtMC4wODUsMS4wNDItMC4xMzQsMS41MzctMC4xMzRjMS44MTUsMCwzLjE4NywwLjU4MywzLjQ5NSwxLjQ4NA0KCQkJCWMwLjIyMiwwLjY0Ni0wLjA5LDEuNTE2LTAuODU0LDIuMzg2Yy0wLjIwNiwwLjIzNS0wLj'+
  1678. 'Q0NCwwLjQ2Mi0wLjcwMiwwLjY4MmMwLjA1NCwwLjMzMiwwLjAxMiwwLjY4My0wLjE1LDEuMDA1bC0wLjYxMiwxLjIyMw0KCQkJCWwxLjA1NywwLjUyOWMwLjg1OC0wLjU0NiwxLjYwOC0xLjE3NCwyLjIwOC0xLjg1N0MtMzQ0NS4wMTItMjU4OS42MTQtMzQ0NC41NDMtMjU5MS4yOTktMzQ0NS4wNTgtMjU5Mi44MDJ6Ii8+DQoJCTwvZz4NCgk8L2c+DQo8L2c+DQo8ZyBpZD0iRWJlbmVfMSI+DQo8L2c+DQo8ZyBpZD0iTGF5ZXJfMiI+DQo8L2c+DQo8L3N2Zz4NCg==';
  1679. me._gyro_off__img.setAttribute('src',hs);
  1680. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;gyro_off;');
  1681. els['ondragstart']=function() { return false; };
  1682. el.appendChild(els);
  1683. el.ggSubElement = els;
  1684. elo=me._gyro_off__imgo=document.createElement('img');
  1685. elo.className='ggskin ggskin_svg';
  1686. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NC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8+DQoJCTwvZz4NCgk8L2c+DQo8L2c+DQo8ZyBpZD0iRWJlbmVfMSI+DQo8L2c+DQo8ZyBpZD0iTGF5ZXJfMiI+DQo8L2c+DQo8L3N2Zz4NCg==';
  1703. me._gyro_off__imgo.setAttribute('src',hs);
  1704. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;gyro_off;');
  1705. elo['ondragstart']=function() { return false; };
  1706. el.appendChild(elo);
  1707. el.ggId="gyro_off";
  1708. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  1709. el.ggVisible=true;
  1710. el.className="ggskin ggskin_svg ";
  1711. el.ggType='svg';
  1712. hs ='';
  1713. hs+='cursor : pointer;';
  1714. hs+='height : 32px;';
  1715. hs+='left : 0px;';
  1716. hs+='opacity : 0;';
  1717. hs+='position : absolute;';
  1718. hs+='top : 0px;';
  1719. hs+='visibility : hidden;';
  1720. hs+='width : 32px;';
  1721. hs+='pointer-events:auto;';
  1722. el.setAttribute('style',hs);
  1723. el.style[domTransform + 'Origin']='50% 50%';
  1724. me._gyro_off.ggIsActive=function() {
  1725. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  1726. return this.parentNode.ggIsActive();
  1727. }
  1728. return false;
  1729. }
  1730. el.ggElementNodeId=function() {
  1731. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  1732. return this.parentNode.ggElementNodeId();
  1733. }
  1734. return player.getCurrentNode();
  1735. }
  1736. me._gyro_off.logicBlock_alpha = function() {
  1737. var newLogicStateAlpha;
  1738. if (
  1739. (player.getUseGyro() == true)
  1740. )
  1741. {
  1742. newLogicStateAlpha = 0;
  1743. }
  1744. else {
  1745. newLogicStateAlpha = -1;
  1746. }
  1747. if (me._gyro_off.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  1748. me._gyro_off.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  1749. me._gyro_off.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  1750. if (me._gyro_off.ggCurrentLogicStateAlpha == 0) {
  1751. me._gyro_off.style.visibility=me._gyro_off.ggVisible?'inherit':'hidden';
  1752. me._gyro_off.style.opacity=1;
  1753. }
  1754. else {
  1755. me._gyro_off.style.visibility="hidden";
  1756. me._gyro_off.style.opacity=0;
  1757. }
  1758. }
  1759. }
  1760. me._gyro_off.onclick=function (e) {
  1761. if (player.transitionsDisabled) {
  1762. me._gyro_off.style[domTransition]='none';
  1763. } else {
  1764. me._gyro_off.style[domTransition]='all 500ms ease-out 0ms';
  1765. }
  1766. me._gyro_off.style.opacity='0';
  1767. me._gyro_off.style.visibility='hidden';
  1768. if (player.transitionsDisabled) {
  1769. me._gyro_on.style[domTransition]='none';
  1770. } else {
  1771. me._gyro_on.style[domTransition]='all 500ms ease-out 0ms';
  1772. }
  1773. me._gyro_on.style.opacity='1';
  1774. me._gyro_on.style.visibility=me._gyro_on.ggVisible?'inherit':'hidden';
  1775. }
  1776. me._gyro_off.onmouseover=function (e) {
  1777. me._gyro_off__img.style.visibility='hidden';
  1778. me._gyro_off__imgo.style.visibility='inherit';
  1779. }
  1780. me._gyro_off.onmouseout=function (e) {
  1781. me._gyro_off__img.style.visibility='inherit';
  1782. me._gyro_off__imgo.style.visibility='hidden';
  1783. }
  1784. me._gyro_off.ggUpdatePosition=function (useTransition) {
  1785. }
  1786. me._gyro.appendChild(me._gyro_off);
  1787. el=me._tt_gyro=document.createElement('div');
  1788. els=me._tt_gyro__text=document.createElement('div');
  1789. el.className='ggskin ggskin_textdiv';
  1790. el.ggTextDiv=els;
  1791. el.ggId="tt_gyro";
  1792. el.ggDx=0;
  1793. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  1794. el.ggVisible=false;
  1795. el.className="ggskin ggskin_text ";
  1796. el.ggType='text';
  1797. hs ='';
  1798. hs+='z-index: 100;';
  1799. hs+='height : 20px;';
  1800. hs+='left : -10000px;';
  1801. hs+='position : absolute;';
  1802. hs+='top : 32px;';
  1803. hs+='visibility : hidden;';
  1804. hs+='width : 100px;';
  1805. hs+='pointer-events:auto;';
  1806. hs+='text-shadow: 1px 1px 4px #000000;';
  1807. el.setAttribute('style',hs);
  1808. el.style[domTransform + 'Origin']='50% 50%';
  1809. hs ='position:absolute;';
  1810. hs += 'box-sizing: border-box;';
  1811. hs+='cursor: default;';
  1812. hs+='left: 0px;';
  1813. hs+='top: 0px;';
  1814. hs+='width: auto;';
  1815. hs+='height: auto;';
  1816. hs+='border: 0px solid #000000;';
  1817. hs+='color: rgba(255,255,255,1);';
  1818. hs+='text-align: center;';
  1819. hs+='white-space: nowrap;';
  1820. hs+='padding: 0px 1px 0px 1px;';
  1821. hs+='overflow: hidden;';
  1822. els.setAttribute('style',hs);
  1823. els.innerHTML="";
  1824. el.appendChild(els);
  1825. me._tt_gyro.ggIsActive=function() {
  1826. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  1827. return this.parentNode.ggIsActive();
  1828. }
  1829. return false;
  1830. }
  1831. el.ggElementNodeId=function() {
  1832. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  1833. return this.parentNode.ggElementNodeId();
  1834. }
  1835. return player.getCurrentNode();
  1836. }
  1837. me._tt_gyro.logicBlock_position = function() {
  1838. var newLogicStatePosition;
  1839. if (
  1840. (player.getIsMobile() == true)
  1841. )
  1842. {
  1843. newLogicStatePosition = 0;
  1844. }
  1845. else {
  1846. newLogicStatePosition = -1;
  1847. }
  1848. if (me._tt_gyro.ggCurrentLogicStatePosition != newLogicStatePosition) {
  1849. me._tt_gyro.ggCurrentLogicStatePosition = newLogicStatePosition;
  1850. me._tt_gyro.style[domTransition]='left 0s, top 0s';
  1851. if (me._tt_gyro.ggCurrentLogicStatePosition == 0) {
  1852. this.ggDx = 0;
  1853. me._tt_gyro.style.top='-25px';
  1854. me._tt_gyro.ggUpdatePosition(true);
  1855. }
  1856. else {
  1857. me._tt_gyro.ggDx=0;
  1858. me._tt_gyro.style.top='32px';
  1859. me._tt_gyro.ggUpdatePosition(true);
  1860. }
  1861. }
  1862. }
  1863. me._tt_gyro.logicBlock_visible = function() {
  1864. var newLogicStateVisible;
  1865. if (
  1866. (me.elementMouseOver['gyro'] == true)
  1867. )
  1868. {
  1869. newLogicStateVisible = 0;
  1870. }
  1871. else {
  1872. newLogicStateVisible = -1;
  1873. }
  1874. if (me._tt_gyro.ggCurrentLogicStateVisible != newLogicStateVisible) {
  1875. me._tt_gyro.ggCurrentLogicStateVisible = newLogicStateVisible;
  1876. me._tt_gyro.style[domTransition]='left 0s, top 0s';
  1877. if (me._tt_gyro.ggCurrentLogicStateVisible == 0) {
  1878. me._tt_gyro.style.visibility=(Number(me._tt_gyro.style.opacity)>0||!me._tt_gyro.style.opacity)?'inherit':'hidden';
  1879. me._tt_gyro.ggVisible=true;
  1880. }
  1881. else {
  1882. me._tt_gyro.style.visibility="hidden";
  1883. me._tt_gyro.ggVisible=false;
  1884. }
  1885. }
  1886. }
  1887. me._tt_gyro.logicBlock_text = function() {
  1888. var newLogicStateText;
  1889. if (
  1890. (player.getUseGyro() == true)
  1891. )
  1892. {
  1893. newLogicStateText = 0;
  1894. }
  1895. else if (
  1896. (player.getUseGyro() == false)
  1897. )
  1898. {
  1899. newLogicStateText = 1;
  1900. }
  1901. else {
  1902. newLogicStateText = -1;
  1903. }
  1904. if (me._tt_gyro.ggCurrentLogicStateText != newLogicStateText) {
  1905. me._tt_gyro.ggCurrentLogicStateText = newLogicStateText;
  1906. me._tt_gyro.style[domTransition]='left 0s, top 0s';
  1907. if (me._tt_gyro.ggCurrentLogicStateText == 0) {
  1908. me._tt_gyro.ggText="Gyroscope Off";
  1909. me._tt_gyro__text.innerHTML=me._tt_gyro.ggText;
  1910. if (me._tt_gyro.ggUpdateText) {
  1911. me._tt_gyro.ggUpdateText=function() {
  1912. var hs="Gyroscope Off";
  1913. if (hs!=this.ggText) {
  1914. this.ggText=hs;
  1915. this.ggTextDiv.innerHTML=hs;
  1916. if (this.ggUpdatePosition) this.ggUpdatePosition();
  1917. }
  1918. }
  1919. } else {
  1920. if (me._tt_gyro.ggUpdatePosition) me._tt_gyro.ggUpdatePosition();
  1921. }
  1922. }
  1923. else if (me._tt_gyro.ggCurrentLogicStateText == 1) {
  1924. me._tt_gyro.ggText="Gyroscope On";
  1925. me._tt_gyro__text.innerHTML=me._tt_gyro.ggText;
  1926. if (me._tt_gyro.ggUpdateText) {
  1927. me._tt_gyro.ggUpdateText=function() {
  1928. var hs="Gyroscope On";
  1929. if (hs!=this.ggText) {
  1930. this.ggText=hs;
  1931. this.ggTextDiv.innerHTML=hs;
  1932. if (this.ggUpdatePosition) this.ggUpdatePosition();
  1933. }
  1934. }
  1935. } else {
  1936. if (me._tt_gyro.ggUpdatePosition) me._tt_gyro.ggUpdatePosition();
  1937. }
  1938. }
  1939. else {
  1940. me._tt_gyro.ggText="";
  1941. me._tt_gyro__text.innerHTML=me._tt_gyro.ggText;
  1942. if (me._tt_gyro.ggUpdateText) {
  1943. me._tt_gyro.ggUpdateText=function() {
  1944. var hs="";
  1945. if (hs!=this.ggText) {
  1946. this.ggText=hs;
  1947. this.ggTextDiv.innerHTML=hs;
  1948. if (this.ggUpdatePosition) this.ggUpdatePosition();
  1949. }
  1950. }
  1951. } else {
  1952. if (me._tt_gyro.ggUpdatePosition) me._tt_gyro.ggUpdatePosition();
  1953. }
  1954. }
  1955. }
  1956. }
  1957. me._tt_gyro.ggUpdatePosition=function (useTransition) {
  1958. if (useTransition==='undefined') {
  1959. useTransition = false;
  1960. }
  1961. if (!useTransition) {
  1962. this.style[domTransition]='none';
  1963. }
  1964. if (this.parentNode) {
  1965. var pw=this.parentNode.clientWidth;
  1966. var w=this.offsetWidth + 0;
  1967. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  1968. }
  1969. this.style[domTransition]='left 0';
  1970. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  1971. }
  1972. me._gyro.appendChild(me._tt_gyro);
  1973. me._controller_slider.appendChild(me._gyro);
  1974. el=me._projection_buttons=document.createElement('div');
  1975. el.ggPermeable=false;
  1976. el.ggId="projection_buttons";
  1977. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  1978. el.ggVisible=false;
  1979. el.className="ggskin ggskin_container ";
  1980. el.ggType='container';
  1981. hs ='';
  1982. hs+='height : 32px;';
  1983. hs+='left : 160px;';
  1984. hs+='position : absolute;';
  1985. hs+='top : 0px;';
  1986. hs+='visibility : hidden;';
  1987. hs+='width : 32px;';
  1988. hs+='pointer-events:auto;';
  1989. el.setAttribute('style',hs);
  1990. el.style[domTransform + 'Origin']='50% 50%';
  1991. me._projection_buttons.ggIsActive=function() {
  1992. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  1993. return this.parentNode.ggIsActive();
  1994. }
  1995. return false;
  1996. }
  1997. el.ggElementNodeId=function() {
  1998. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  1999. return this.parentNode.ggElementNodeId();
  2000. }
  2001. return player.getCurrentNode();
  2002. }
  2003. me._projection_buttons.logicBlock_position = function() {
  2004. var newLogicStatePosition;
  2005. if (
  2006. (player.getVariableValue('pos_projection') == 0)
  2007. )
  2008. {
  2009. newLogicStatePosition = 0;
  2010. }
  2011. else if (
  2012. (player.getVariableValue('pos_projection') == 1)
  2013. )
  2014. {
  2015. newLogicStatePosition = 1;
  2016. }
  2017. else if (
  2018. (player.getVariableValue('pos_projection') == 2)
  2019. )
  2020. {
  2021. newLogicStatePosition = 2;
  2022. }
  2023. else if (
  2024. (player.getVariableValue('pos_projection') == 3)
  2025. )
  2026. {
  2027. newLogicStatePosition = 3;
  2028. }
  2029. else if (
  2030. (player.getVariableValue('pos_projection') == 4)
  2031. )
  2032. {
  2033. newLogicStatePosition = 4;
  2034. }
  2035. else if (
  2036. (player.getVariableValue('pos_projection') == 5)
  2037. )
  2038. {
  2039. newLogicStatePosition = 5;
  2040. }
  2041. else {
  2042. newLogicStatePosition = -1;
  2043. }
  2044. if (me._projection_buttons.ggCurrentLogicStatePosition != newLogicStatePosition) {
  2045. me._projection_buttons.ggCurrentLogicStatePosition = newLogicStatePosition;
  2046. me._projection_buttons.style[domTransition]='left 0s, top 0s';
  2047. if (me._projection_buttons.ggCurrentLogicStatePosition == 0) {
  2048. me._projection_buttons.style.left='0px';
  2049. me._projection_buttons.style.top='0px';
  2050. }
  2051. else if (me._projection_buttons.ggCurrentLogicStatePosition == 1) {
  2052. me._projection_buttons.style.left='32px';
  2053. me._projection_buttons.style.top='0px';
  2054. }
  2055. else if (me._projection_buttons.ggCurrentLogicStatePosition == 2) {
  2056. me._projection_buttons.style.left='64px';
  2057. me._projection_buttons.style.top='0px';
  2058. }
  2059. else if (me._projection_buttons.ggCurrentLogicStatePosition == 3) {
  2060. me._projection_buttons.style.left='96px';
  2061. me._projection_buttons.style.top='0px';
  2062. }
  2063. else if (me._projection_buttons.ggCurrentLogicStatePosition == 4) {
  2064. me._projection_buttons.style.left='128px';
  2065. me._projection_buttons.style.top='0px';
  2066. }
  2067. else if (me._projection_buttons.ggCurrentLogicStatePosition == 5) {
  2068. me._projection_buttons.style.left='160px';
  2069. me._projection_buttons.style.top='0px';
  2070. }
  2071. else {
  2072. me._projection_buttons.style.left='160px';
  2073. me._projection_buttons.style.top='0px';
  2074. }
  2075. }
  2076. }
  2077. me._projection_buttons.logicBlock_visible = function() {
  2078. var newLogicStateVisible;
  2079. if (
  2080. (player.getVariableValue('opt_projection') == true)
  2081. )
  2082. {
  2083. newLogicStateVisible = 0;
  2084. }
  2085. else {
  2086. newLogicStateVisible = -1;
  2087. }
  2088. if (me._projection_buttons.ggCurrentLogicStateVisible != newLogicStateVisible) {
  2089. me._projection_buttons.ggCurrentLogicStateVisible = newLogicStateVisible;
  2090. me._projection_buttons.style[domTransition]='left 0s, top 0s';
  2091. if (me._projection_buttons.ggCurrentLogicStateVisible == 0) {
  2092. me._projection_buttons.style.visibility=(Number(me._projection_buttons.style.opacity)>0||!me._projection_buttons.style.opacity)?'inherit':'hidden';
  2093. me._projection_buttons.ggVisible=true;
  2094. }
  2095. else {
  2096. me._projection_buttons.style.visibility="hidden";
  2097. me._projection_buttons.ggVisible=false;
  2098. }
  2099. }
  2100. }
  2101. me._projection_buttons.onclick=function (e) {
  2102. if (
  2103. (
  2104. (player.getProjection() == 4)
  2105. )
  2106. ) {
  2107. player.changeProjectionEx(9,1);
  2108. }
  2109. if (
  2110. (
  2111. (player.getProjection() == 9)
  2112. )
  2113. ) {
  2114. player.changeProjectionEx(12,1);
  2115. }
  2116. if (
  2117. (
  2118. (player.getProjection() == 12)
  2119. )
  2120. ) {
  2121. player.changeProjectionEx(4,1);
  2122. }
  2123. }
  2124. me._projection_buttons.onmouseover=function (e) {
  2125. me.elementMouseOver['projection_buttons']=true;
  2126. me._tt_projection.logicBlock_visible();
  2127. }
  2128. me._projection_buttons.onmouseout=function (e) {
  2129. me.elementMouseOver['projection_buttons']=false;
  2130. me._tt_projection.logicBlock_visible();
  2131. }
  2132. me._projection_buttons.ontouchend=function (e) {
  2133. me.elementMouseOver['projection_buttons']=false;
  2134. me._tt_projection.logicBlock_visible();
  2135. }
  2136. me._projection_buttons.ggUpdatePosition=function (useTransition) {
  2137. }
  2138. el=me._stereographic=document.createElement('div');
  2139. els=me._stereographic__img=document.createElement('img');
  2140. els.className='ggskin ggskin_svg';
  2141. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnI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xLjAwNmMwLjIwMSwwLjEzNSwwLjQzNiwwLjIwMywwLjY3MiwwLjIwMw0KCQkJCWMwLjE1NiwwLDAuMzE2LTAuMDI5LDAuNDY1LTAuMDkzYzAuMDI5LTAuMDEzLDMuMDYxLTEuMjYyLDYuMDUzLTEuMjYyYzIuOTc3LDAsNi4wMjMsMS4yNSw2LjA1MywxLjI2Mw0KCQkJCWMwLjM3NSwwLjE1NCwwLjgwMSwwLjExMiwxLjEzNy0wLjExMWMwLjMzNi0wLjIyNSwwLjUzOS0wLjYwMiwwLjUzOS0xLjAwNlYxMS45N0MyMy43MjksMTEuNTc5LDIzLjUzOSwxMS'+
  2154. '4yMTIsMjMuMjIxLDEwLjk4NXoNCgkJCQkgTTIxLjMwOSwxOC4yNzJjLTEuMzM0LTAuNDAyLTMuMzA1LTAuODY1LTUuMzA5LTAuODY1cy0zLjk3NSwwLjQ2My01LjMwOSwwLjg2NXYtNC42OTNDMTIuMDE4LDEzLjkxNSwxNCwxNC4zMDksMTYsMTQuMzA5DQoJCQkJczMuOTgyLTAuMzk0LDUuMzA5LTAuNzI5VjE4LjI3MnoiLz4NCgkJPC9nPg0KCTwvZz4NCjwvZz4NCjwvc3ZnPg0K';
  2155. me._stereographic__img.setAttribute('src',hs);
  2156. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;stereographic;');
  2157. els['ondragstart']=function() { return false; };
  2158. el.appendChild(els);
  2159. el.ggSubElement = els;
  2160. elo=me._stereographic__imgo=document.createElement('img');
  2161. elo.className='ggskin ggskin_svg';
  2162. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9D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LjczNS0xLjE3Yy0wLjQwOC0wLjE0'+
  2174. 'MS0wLjg1Ny0wLjA3NC0xLjIwOCwwLjE3NQ0KCQkJCWMtMC4zNSwwLjI1MS0wLjU1OSwwLjY1My0wLjU1OSwxLjA4M3Y4LjgwM2MwLDAuNDQ0LDAuMjI0LDAuODYxLDAuNTk0LDEuMTA2YzAuMjIxLDAuMTQ3LDAuNDc5LDAuMjIzLDAuNzM4LDAuMjIzDQoJCQkJYzAuMTcyLDAsMC4zNDktMC4wMzIsMC41MTItMC4xMDJjMC4wMzItMC4wMTQsMy4zNjYtMS4zODgsNi42NTgtMS4zODhjMy4yNzQsMCw2LjYyNiwxLjM3NSw2LjY1OCwxLjM4OQ0KCQkJCWMwLjQxMiwwLjE3LDAuODgxLDAuMTIzLDEuMjUtMC4xMjJjMC4zNjktMC4yNDcsMC41OTMtMC42NjIsMC41OTMtMS4xMDZ2LTguODAzQzI0LjUwMS'+
  2175. 'wxMS4xMzcsMjQuMjkzLDEwLjczMiwyMy45NDIsMTAuNDgzeg0KCQkJCSBNMjEuODM5LDE4LjVjLTEuNDY3LTAuNDQzLTMuNjM1LTAuOTUyLTUuODM5LTAuOTUycy00LjM3MiwwLjUwOS01Ljg0LDAuOTUydi01LjE2M2MxLjQ1OSwwLjM2OSwzLjY0LDAuODAzLDUuODQsMC44MDMNCgkJCQlzNC4zODEtMC40MzQsNS44MzktMC44MDNWMTguNXoiLz4NCgkJPC9nPg0KCTwvZz4NCjwvZz4NCjwvc3ZnPg0K';
  2176. me._stereographic__imgo.setAttribute('src',hs);
  2177. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;stereographic;');
  2178. elo['ondragstart']=function() { return false; };
  2179. el.appendChild(elo);
  2180. el.ggId="stereographic";
  2181. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  2182. el.ggVisible=true;
  2183. el.className="ggskin ggskin_svg ";
  2184. el.ggType='svg';
  2185. hs ='';
  2186. hs+='cursor : pointer;';
  2187. hs+='height : 32px;';
  2188. hs+='left : 0px;';
  2189. hs+='position : absolute;';
  2190. hs+='top : 0px;';
  2191. hs+='visibility : inherit;';
  2192. hs+='width : 32px;';
  2193. hs+='pointer-events:auto;';
  2194. el.setAttribute('style',hs);
  2195. el.style[domTransform + 'Origin']='50% 50%';
  2196. me._stereographic.ggIsActive=function() {
  2197. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  2198. return this.parentNode.ggIsActive();
  2199. }
  2200. return false;
  2201. }
  2202. el.ggElementNodeId=function() {
  2203. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  2204. return this.parentNode.ggElementNodeId();
  2205. }
  2206. return player.getCurrentNode();
  2207. }
  2208. me._stereographic.onmouseover=function (e) {
  2209. me._stereographic__img.style.visibility='hidden';
  2210. me._stereographic__imgo.style.visibility='inherit';
  2211. }
  2212. me._stereographic.onmouseout=function (e) {
  2213. me._stereographic__img.style.visibility='inherit';
  2214. me._stereographic__imgo.style.visibility='hidden';
  2215. }
  2216. me._stereographic.ggUpdatePosition=function (useTransition) {
  2217. }
  2218. me._projection_buttons.appendChild(me._stereographic);
  2219. el=me._tt_projection=document.createElement('div');
  2220. els=me._tt_projection__text=document.createElement('div');
  2221. el.className='ggskin ggskin_textdiv';
  2222. el.ggTextDiv=els;
  2223. el.ggId="tt_projection";
  2224. el.ggDx=0;
  2225. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  2226. el.ggVisible=false;
  2227. el.className="ggskin ggskin_text ";
  2228. el.ggType='text';
  2229. hs ='';
  2230. hs+='z-index: 100;';
  2231. hs+='height : 20px;';
  2232. hs+='left : -10000px;';
  2233. hs+='position : absolute;';
  2234. hs+='top : 32px;';
  2235. hs+='visibility : hidden;';
  2236. hs+='width : 100px;';
  2237. hs+='pointer-events:auto;';
  2238. hs+='text-shadow: 1px 1px 4px #000000;';
  2239. el.setAttribute('style',hs);
  2240. el.style[domTransform + 'Origin']='50% 50%';
  2241. hs ='position:absolute;';
  2242. hs += 'box-sizing: border-box;';
  2243. hs+='cursor: default;';
  2244. hs+='left: 0px;';
  2245. hs+='top: 0px;';
  2246. hs+='width: auto;';
  2247. hs+='height: auto;';
  2248. hs+='border: 0px solid #000000;';
  2249. hs+='color: rgba(255,255,255,1);';
  2250. hs+='text-align: center;';
  2251. hs+='white-space: nowrap;';
  2252. hs+='padding: 0px 1px 0px 1px;';
  2253. hs+='overflow: hidden;';
  2254. els.setAttribute('style',hs);
  2255. els.innerHTML="";
  2256. el.appendChild(els);
  2257. me._tt_projection.ggIsActive=function() {
  2258. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  2259. return this.parentNode.ggIsActive();
  2260. }
  2261. return false;
  2262. }
  2263. el.ggElementNodeId=function() {
  2264. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  2265. return this.parentNode.ggElementNodeId();
  2266. }
  2267. return player.getCurrentNode();
  2268. }
  2269. me._tt_projection.logicBlock_position = function() {
  2270. var newLogicStatePosition;
  2271. if (
  2272. (player.getIsMobile() == true)
  2273. )
  2274. {
  2275. newLogicStatePosition = 0;
  2276. }
  2277. else {
  2278. newLogicStatePosition = -1;
  2279. }
  2280. if (me._tt_projection.ggCurrentLogicStatePosition != newLogicStatePosition) {
  2281. me._tt_projection.ggCurrentLogicStatePosition = newLogicStatePosition;
  2282. me._tt_projection.style[domTransition]='left 0s, top 0s';
  2283. if (me._tt_projection.ggCurrentLogicStatePosition == 0) {
  2284. this.ggDx = 0;
  2285. me._tt_projection.style.top='-25px';
  2286. me._tt_projection.ggUpdatePosition(true);
  2287. }
  2288. else {
  2289. me._tt_projection.ggDx=0;
  2290. me._tt_projection.style.top='32px';
  2291. me._tt_projection.ggUpdatePosition(true);
  2292. }
  2293. }
  2294. }
  2295. me._tt_projection.logicBlock_visible = function() {
  2296. var newLogicStateVisible;
  2297. if (
  2298. (me.elementMouseOver['projection_buttons'] == true)
  2299. )
  2300. {
  2301. newLogicStateVisible = 0;
  2302. }
  2303. else {
  2304. newLogicStateVisible = -1;
  2305. }
  2306. if (me._tt_projection.ggCurrentLogicStateVisible != newLogicStateVisible) {
  2307. me._tt_projection.ggCurrentLogicStateVisible = newLogicStateVisible;
  2308. me._tt_projection.style[domTransition]='left 0s, top 0s';
  2309. if (me._tt_projection.ggCurrentLogicStateVisible == 0) {
  2310. me._tt_projection.style.visibility=(Number(me._tt_projection.style.opacity)>0||!me._tt_projection.style.opacity)?'inherit':'hidden';
  2311. me._tt_projection.ggVisible=true;
  2312. }
  2313. else {
  2314. me._tt_projection.style.visibility="hidden";
  2315. me._tt_projection.ggVisible=false;
  2316. }
  2317. }
  2318. }
  2319. me._tt_projection.logicBlock_text = function() {
  2320. var newLogicStateText;
  2321. if (
  2322. (player.getProjection() == 4)
  2323. )
  2324. {
  2325. newLogicStateText = 0;
  2326. }
  2327. else if (
  2328. (player.getProjection() == 9)
  2329. )
  2330. {
  2331. newLogicStateText = 1;
  2332. }
  2333. else if (
  2334. (player.getProjection() == 12)
  2335. )
  2336. {
  2337. newLogicStateText = 2;
  2338. }
  2339. else {
  2340. newLogicStateText = -1;
  2341. }
  2342. if (me._tt_projection.ggCurrentLogicStateText != newLogicStateText) {
  2343. me._tt_projection.ggCurrentLogicStateText = newLogicStateText;
  2344. me._tt_projection.style[domTransition]='left 0s, top 0s';
  2345. if (me._tt_projection.ggCurrentLogicStateText == 0) {
  2346. me._tt_projection.ggText="Change to Sterographic";
  2347. me._tt_projection__text.innerHTML=me._tt_projection.ggText;
  2348. if (me._tt_projection.ggUpdateText) {
  2349. me._tt_projection.ggUpdateText=function() {
  2350. var hs="Change to Sterographic";
  2351. if (hs!=this.ggText) {
  2352. this.ggText=hs;
  2353. this.ggTextDiv.innerHTML=hs;
  2354. if (this.ggUpdatePosition) this.ggUpdatePosition();
  2355. }
  2356. }
  2357. } else {
  2358. if (me._tt_projection.ggUpdatePosition) me._tt_projection.ggUpdatePosition();
  2359. }
  2360. }
  2361. else if (me._tt_projection.ggCurrentLogicStateText == 1) {
  2362. me._tt_projection.ggText="Change to Fisheye";
  2363. me._tt_projection__text.innerHTML=me._tt_projection.ggText;
  2364. if (me._tt_projection.ggUpdateText) {
  2365. me._tt_projection.ggUpdateText=function() {
  2366. var hs="Change to Fisheye";
  2367. if (hs!=this.ggText) {
  2368. this.ggText=hs;
  2369. this.ggTextDiv.innerHTML=hs;
  2370. if (this.ggUpdatePosition) this.ggUpdatePosition();
  2371. }
  2372. }
  2373. } else {
  2374. if (me._tt_projection.ggUpdatePosition) me._tt_projection.ggUpdatePosition();
  2375. }
  2376. }
  2377. else if (me._tt_projection.ggCurrentLogicStateText == 2) {
  2378. me._tt_projection.ggText="Change to Rectilinear";
  2379. me._tt_projection__text.innerHTML=me._tt_projection.ggText;
  2380. if (me._tt_projection.ggUpdateText) {
  2381. me._tt_projection.ggUpdateText=function() {
  2382. var hs="Change to Rectilinear";
  2383. if (hs!=this.ggText) {
  2384. this.ggText=hs;
  2385. this.ggTextDiv.innerHTML=hs;
  2386. if (this.ggUpdatePosition) this.ggUpdatePosition();
  2387. }
  2388. }
  2389. } else {
  2390. if (me._tt_projection.ggUpdatePosition) me._tt_projection.ggUpdatePosition();
  2391. }
  2392. }
  2393. else {
  2394. me._tt_projection.ggText="";
  2395. me._tt_projection__text.innerHTML=me._tt_projection.ggText;
  2396. if (me._tt_projection.ggUpdateText) {
  2397. me._tt_projection.ggUpdateText=function() {
  2398. var hs="";
  2399. if (hs!=this.ggText) {
  2400. this.ggText=hs;
  2401. this.ggTextDiv.innerHTML=hs;
  2402. if (this.ggUpdatePosition) this.ggUpdatePosition();
  2403. }
  2404. }
  2405. } else {
  2406. if (me._tt_projection.ggUpdatePosition) me._tt_projection.ggUpdatePosition();
  2407. }
  2408. }
  2409. }
  2410. }
  2411. me._tt_projection.ggUpdatePosition=function (useTransition) {
  2412. if (useTransition==='undefined') {
  2413. useTransition = false;
  2414. }
  2415. if (!useTransition) {
  2416. this.style[domTransition]='none';
  2417. }
  2418. if (this.parentNode) {
  2419. var pw=this.parentNode.clientWidth;
  2420. var w=this.offsetWidth + 0;
  2421. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  2422. }
  2423. this.style[domTransition]='left 0';
  2424. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  2425. }
  2426. me._projection_buttons.appendChild(me._tt_projection);
  2427. me._controller_slider.appendChild(me._projection_buttons);
  2428. el=me._thumbnail=document.createElement('div');
  2429. el.ggPermeable=false;
  2430. el.ggId="thumbnail";
  2431. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  2432. el.ggVisible=false;
  2433. el.className="ggskin ggskin_container ";
  2434. el.ggType='container';
  2435. hs ='';
  2436. hs+='height : 32px;';
  2437. hs+='left : 128px;';
  2438. hs+='position : absolute;';
  2439. hs+='top : 0px;';
  2440. hs+='visibility : hidden;';
  2441. hs+='width : 32px;';
  2442. hs+='pointer-events:auto;';
  2443. el.setAttribute('style',hs);
  2444. el.style[domTransform + 'Origin']='50% 50%';
  2445. me._thumbnail.ggIsActive=function() {
  2446. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  2447. return this.parentNode.ggIsActive();
  2448. }
  2449. return false;
  2450. }
  2451. el.ggElementNodeId=function() {
  2452. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  2453. return this.parentNode.ggElementNodeId();
  2454. }
  2455. return player.getCurrentNode();
  2456. }
  2457. me._thumbnail.logicBlock_position = function() {
  2458. var newLogicStatePosition;
  2459. if (
  2460. (player.getVariableValue('pos_thumbnail') == 0)
  2461. )
  2462. {
  2463. newLogicStatePosition = 0;
  2464. }
  2465. else if (
  2466. (player.getVariableValue('pos_thumbnail') == 1)
  2467. )
  2468. {
  2469. newLogicStatePosition = 1;
  2470. }
  2471. else if (
  2472. (player.getVariableValue('pos_thumbnail') == 2)
  2473. )
  2474. {
  2475. newLogicStatePosition = 2;
  2476. }
  2477. else if (
  2478. (player.getVariableValue('pos_thumbnail') == 3)
  2479. )
  2480. {
  2481. newLogicStatePosition = 3;
  2482. }
  2483. else if (
  2484. (player.getVariableValue('pos_thumbnail') == 4)
  2485. )
  2486. {
  2487. newLogicStatePosition = 4;
  2488. }
  2489. else {
  2490. newLogicStatePosition = -1;
  2491. }
  2492. if (me._thumbnail.ggCurrentLogicStatePosition != newLogicStatePosition) {
  2493. me._thumbnail.ggCurrentLogicStatePosition = newLogicStatePosition;
  2494. me._thumbnail.style[domTransition]='left 0s, top 0s';
  2495. if (me._thumbnail.ggCurrentLogicStatePosition == 0) {
  2496. me._thumbnail.style.left='0px';
  2497. me._thumbnail.style.top='0px';
  2498. }
  2499. else if (me._thumbnail.ggCurrentLogicStatePosition == 1) {
  2500. me._thumbnail.style.left='32px';
  2501. me._thumbnail.style.top='0px';
  2502. }
  2503. else if (me._thumbnail.ggCurrentLogicStatePosition == 2) {
  2504. me._thumbnail.style.left='64px';
  2505. me._thumbnail.style.top='0px';
  2506. }
  2507. else if (me._thumbnail.ggCurrentLogicStatePosition == 3) {
  2508. me._thumbnail.style.left='96px';
  2509. me._thumbnail.style.top='0px';
  2510. }
  2511. else if (me._thumbnail.ggCurrentLogicStatePosition == 4) {
  2512. me._thumbnail.style.left='128px';
  2513. me._thumbnail.style.top='0px';
  2514. }
  2515. else {
  2516. me._thumbnail.style.left='128px';
  2517. me._thumbnail.style.top='0px';
  2518. }
  2519. }
  2520. }
  2521. me._thumbnail.logicBlock_visible = function() {
  2522. var newLogicStateVisible;
  2523. if (
  2524. (player.getVariableValue('opt_thumbnail') == true) &&
  2525. (player.getIsTour() == true)
  2526. )
  2527. {
  2528. newLogicStateVisible = 0;
  2529. }
  2530. else {
  2531. newLogicStateVisible = -1;
  2532. }
  2533. if (me._thumbnail.ggCurrentLogicStateVisible != newLogicStateVisible) {
  2534. me._thumbnail.ggCurrentLogicStateVisible = newLogicStateVisible;
  2535. me._thumbnail.style[domTransition]='left 0s, top 0s';
  2536. if (me._thumbnail.ggCurrentLogicStateVisible == 0) {
  2537. me._thumbnail.style.visibility=(Number(me._thumbnail.style.opacity)>0||!me._thumbnail.style.opacity)?'inherit':'hidden';
  2538. me._thumbnail.ggVisible=true;
  2539. }
  2540. else {
  2541. me._thumbnail.style.visibility="hidden";
  2542. me._thumbnail.ggVisible=false;
  2543. }
  2544. }
  2545. }
  2546. me._thumbnail.onclick=function (e) {
  2547. if (
  2548. (
  2549. (player.getViewerSize().width <= 450)
  2550. )
  2551. ) {
  2552. if (_vr_flag) {
  2553. document.querySelectorAll('.ggskin.ggskin_scrollarea')[0].style.visibility='hidden'
  2554. document.querySelectorAll('.ggskin.ggskin_scrollarea')[0].style.opacity=0
  2555. _vr_flag = false
  2556. } else {
  2557. document.querySelectorAll('.ggskin.ggskin_scrollarea')[0].style.visibility='visible'
  2558. document.querySelectorAll('.ggskin.ggskin_scrollarea')[0].style.opacity=1
  2559. _vr_flag = true
  2560. }
  2561. // player.setVariableValue('vis_thumbnail_menu_mobile', !player.getVariableValue('vis_thumbnail_menu_mobile'));
  2562. }
  2563. if (
  2564. (
  2565. (player.getViewerSize().width > 450)
  2566. )
  2567. ) {
  2568. player.setVariableValue('vis_thumbnail_menu_show', !player.getVariableValue('vis_thumbnail_menu_show'));
  2569. }
  2570. }
  2571. me._thumbnail.onmouseover=function (e) {
  2572. me.elementMouseOver['thumbnail']=true;
  2573. me._tt_thumbnail_open.logicBlock_visible();
  2574. }
  2575. me._thumbnail.onmouseout=function (e) {
  2576. me.elementMouseOver['thumbnail']=false;
  2577. me._tt_thumbnail_open.logicBlock_visible();
  2578. }
  2579. me._thumbnail.ontouchend=function (e) {
  2580. me.elementMouseOver['thumbnail']=false;
  2581. me._tt_thumbnail_open.logicBlock_visible();
  2582. }
  2583. me._thumbnail.ggUpdatePosition=function (useTransition) {
  2584. }
  2585. el=me._thumbnail_show_button_show=document.createElement('div');
  2586. els=me._thumbnail_show_button_show__img=document.createElement('img');
  2587. els.className='ggskin ggskin_svg';
  2588. hs='data:image/svg+x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wxNC4wOTUsMTEuOTc4LDEzLjUyMSwxMS4yNzEsMTMuNTIxeiIvPg0KCQkJPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2Utd2lkdGg9IjAuMiIgZD0iTTE3LjE1MiwxMy41MjFoLTIuMzk2Yy0wLjcwNywwLTEuMjgsMC41NzMtMS4yOCwxLjI4djIuMzk2DQoJCQkJYzAsMC43MDcsMC41NzMsMS4yNzksMS4yOCwxLjI3OWgyLjM5NmMwLjcwNywwLDEuMjc5LTAuNTcyLDEuMjc5LTEuMjc5di0yLjM5NkMxOC40MzIsMTQuMDk1LDE3Ljg1OSwxMy41MjEsMTcuMTUyLDEzLjUyMXoi'+
  2598. 'Lz4NCgkJCTxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIwLjIiIGQ9Ik0yMy4wMzUsMTMuNTIxaC0yLjM5NmMtMC43MDcsMC0xLjI4MSwwLjU3My0xLjI4MSwxLjI4djIuMzk2DQoJCQkJYzAsMC43MDcsMC41NzQsMS4yNzksMS4yODEsMS4yNzloMi4zOTZjMC43MDcsMCwxLjI4MS0wLjU3MiwxLjI4MS0xLjI3OXYtMi4zOTZDMjQuMzE2LDE0LjA5NSwyMy43NDIsMTMuNTIxLDIzLjAzNSwxMy41MjF6Ii8+DQoJCTwvZz4NCgk8L2c+DQo8L2c+DQo8L3N2Zz4NCg==';
  2599. me._thumbnail_show_button_show__img.setAttribute('src',hs);
  2600. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;thumbnail_show_button_show;');
  2601. els['ondragstart']=function() { return false; };
  2602. el.appendChild(els);
  2603. el.ggSubElement = els;
  2604. elo=me._thumbnail_show_button_show__imgo=document.createElement('img');
  2605. elo.className='ggskin ggskin_svg';
  2606. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGlu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h2LTIuNjM3QzEyLjIwNiwxMy45MDQsMTEuNTc1LDEzLjI3MywxMC43OTgsMTMuMjczeiIvPg0KCQkJPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2Utd2lkdGg9IjAuMiIgZD0iTTE3LjI2OCwxMy4yNzNoLTIuNjM2Yy0wLjc3NywwLTEuNDA4LDAuNjMxLTEuNDA4LDEuNDA4djIuNjM3DQoJCQkJYzAsMC43NzcsMC42MzEsMS40MDcsMS40MDgsMS40MDdoMi42'+
  2616. 'MzZjMC43NzcsMCwxLjQwNy0wLjYzLDEuNDA3LTEuNDA3di0yLjYzN0MxOC42NzUsMTMuOTA0LDE4LjA0NSwxMy4yNzMsMTcuMjY4LDEzLjI3M3oiLz4NCgkJCTxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIwLjIiIGQ9Ik0yMy43MzgsMTMuMjczaC0yLjYzNmMtMC43NzgsMC0xLjQwOSwwLjYzMS0xLjQwOSwxLjQwOHYyLjYzNw0KCQkJCWMwLDAuNzc3LDAuNjMxLDEuNDA3LDEuNDA5LDEuNDA3aDIuNjM2YzAuNzc4LDAsMS40MDktMC42MywxLjQwOS0xLjQwN3YtMi42MzdDMjUuMTQ3LDEzLjkwNCwyNC41MTcsMTMuMjczLDIzLjczOCwxMy4yNzN6Ii8+DQ'+
  2617. 'oJCTwvZz4NCgk8L2c+DQo8L2c+DQo8L3N2Zz4NCg==';
  2618. me._thumbnail_show_button_show__imgo.setAttribute('src',hs);
  2619. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;thumbnail_show_button_show;');
  2620. elo['ondragstart']=function() { return false; };
  2621. el.appendChild(elo);
  2622. el.ggId="thumbnail_show_button_show";
  2623. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  2624. el.ggVisible=true;
  2625. el.className="ggskin ggskin_svg ";
  2626. el.ggType='svg';
  2627. hs ='';
  2628. hs+='cursor : pointer;';
  2629. hs+='height : 32px;';
  2630. hs+='left : 0px;';
  2631. hs+='position : absolute;';
  2632. hs+='top : 0px;';
  2633. hs+='visibility : inherit;';
  2634. hs+='width : 32px;';
  2635. hs+='pointer-events:auto;';
  2636. el.setAttribute('style',hs);
  2637. el.style[domTransform + 'Origin']='50% 50%';
  2638. me._thumbnail_show_button_show.ggIsActive=function() {
  2639. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  2640. return this.parentNode.ggIsActive();
  2641. }
  2642. return false;
  2643. }
  2644. el.ggElementNodeId=function() {
  2645. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  2646. return this.parentNode.ggElementNodeId();
  2647. }
  2648. return player.getCurrentNode();
  2649. }
  2650. me._thumbnail_show_button_show.onmouseover=function (e) {
  2651. me._thumbnail_show_button_show__img.style.visibility='hidden';
  2652. me._thumbnail_show_button_show__imgo.style.visibility='inherit';
  2653. }
  2654. me._thumbnail_show_button_show.onmouseout=function (e) {
  2655. me._thumbnail_show_button_show__img.style.visibility='inherit';
  2656. me._thumbnail_show_button_show__imgo.style.visibility='hidden';
  2657. }
  2658. me._thumbnail_show_button_show.ggUpdatePosition=function (useTransition) {
  2659. }
  2660. me._thumbnail.appendChild(me._thumbnail_show_button_show);
  2661. el=me._tt_thumbnail_open=document.createElement('div');
  2662. els=me._tt_thumbnail_open__text=document.createElement('div');
  2663. el.className='ggskin ggskin_textdiv';
  2664. el.ggTextDiv=els;
  2665. el.ggId="tt_thumbnail_open";
  2666. el.ggDx=0;
  2667. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  2668. el.ggVisible=false;
  2669. el.className="ggskin ggskin_text ";
  2670. el.ggType='text';
  2671. hs ='';
  2672. hs+='z-index: 100;';
  2673. hs+='height : 20px;';
  2674. hs+='left : -10000px;';
  2675. hs+='position : absolute;';
  2676. hs+='top : 32px;';
  2677. hs+='visibility : hidden;';
  2678. hs+='width : 100px;';
  2679. hs+='pointer-events:auto;';
  2680. hs+='text-shadow: 1px 1px 4px #000000;';
  2681. el.setAttribute('style',hs);
  2682. el.style[domTransform + 'Origin']='50% 50%';
  2683. hs ='position:absolute;';
  2684. hs += 'box-sizing: border-box;';
  2685. hs+='cursor: default;';
  2686. hs+='left: 0px;';
  2687. hs+='top: 0px;';
  2688. hs+='width: auto;';
  2689. hs+='height: auto;';
  2690. hs+='border: 0px solid #000000;';
  2691. hs+='color: rgba(255,255,255,1);';
  2692. hs+='text-align: center;';
  2693. hs+='white-space: nowrap;';
  2694. hs+='padding: 0px 1px 0px 1px;';
  2695. hs+='overflow: hidden;';
  2696. els.setAttribute('style',hs);
  2697. els.innerHTML="";
  2698. el.appendChild(els);
  2699. me._tt_thumbnail_open.ggIsActive=function() {
  2700. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  2701. return this.parentNode.ggIsActive();
  2702. }
  2703. return false;
  2704. }
  2705. el.ggElementNodeId=function() {
  2706. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  2707. return this.parentNode.ggElementNodeId();
  2708. }
  2709. return player.getCurrentNode();
  2710. }
  2711. me._tt_thumbnail_open.logicBlock_position = function() {
  2712. var newLogicStatePosition;
  2713. if (
  2714. (player.getIsMobile() == true)
  2715. )
  2716. {
  2717. newLogicStatePosition = 0;
  2718. }
  2719. else {
  2720. newLogicStatePosition = -1;
  2721. }
  2722. if (me._tt_thumbnail_open.ggCurrentLogicStatePosition != newLogicStatePosition) {
  2723. me._tt_thumbnail_open.ggCurrentLogicStatePosition = newLogicStatePosition;
  2724. me._tt_thumbnail_open.style[domTransition]='left 0s, top 0s';
  2725. if (me._tt_thumbnail_open.ggCurrentLogicStatePosition == 0) {
  2726. this.ggDx = 0;
  2727. me._tt_thumbnail_open.style.top='-25px';
  2728. me._tt_thumbnail_open.ggUpdatePosition(true);
  2729. }
  2730. else {
  2731. me._tt_thumbnail_open.ggDx=0;
  2732. me._tt_thumbnail_open.style.top='32px';
  2733. me._tt_thumbnail_open.ggUpdatePosition(true);
  2734. }
  2735. }
  2736. }
  2737. me._tt_thumbnail_open.logicBlock_visible = function() {
  2738. var newLogicStateVisible;
  2739. if (
  2740. (me.elementMouseOver['thumbnail'] == true)
  2741. )
  2742. {
  2743. newLogicStateVisible = 0;
  2744. }
  2745. else {
  2746. newLogicStateVisible = -1;
  2747. }
  2748. if (me._tt_thumbnail_open.ggCurrentLogicStateVisible != newLogicStateVisible) {
  2749. me._tt_thumbnail_open.ggCurrentLogicStateVisible = newLogicStateVisible;
  2750. me._tt_thumbnail_open.style[domTransition]='left 0s, top 0s';
  2751. if (me._tt_thumbnail_open.ggCurrentLogicStateVisible == 0) {
  2752. me._tt_thumbnail_open.style.visibility=(Number(me._tt_thumbnail_open.style.opacity)>0||!me._tt_thumbnail_open.style.opacity)?'inherit':'hidden';
  2753. me._tt_thumbnail_open.ggVisible=true;
  2754. }
  2755. else {
  2756. me._tt_thumbnail_open.style.visibility="hidden";
  2757. me._tt_thumbnail_open.ggVisible=false;
  2758. }
  2759. }
  2760. }
  2761. me._tt_thumbnail_open.logicBlock_text = function() {
  2762. var newLogicStateText;
  2763. if (
  2764. (player.getVariableValue('vis_thumbnail_menu_show') == true) &&
  2765. (player.getViewerSize().width > 450)
  2766. )
  2767. {
  2768. newLogicStateText = 0;
  2769. }
  2770. else if (
  2771. (player.getVariableValue('vis_thumbnail_menu_mobile') == true) &&
  2772. (player.getViewerSize().width <= 450)
  2773. )
  2774. {
  2775. newLogicStateText = 1;
  2776. }
  2777. else if (
  2778. (player.getVariableValue('vis_thumbnail_menu_show') == false) &&
  2779. (player.getViewerSize().width > 450)
  2780. )
  2781. {
  2782. newLogicStateText = 2;
  2783. }
  2784. else if (
  2785. (player.getVariableValue('vis_thumbnail_menu_mobile') == false) &&
  2786. (player.getViewerSize().width <= 450)
  2787. )
  2788. {
  2789. newLogicStateText = 3;
  2790. }
  2791. else {
  2792. newLogicStateText = -1;
  2793. }
  2794. if (me._tt_thumbnail_open.ggCurrentLogicStateText != newLogicStateText) {
  2795. me._tt_thumbnail_open.ggCurrentLogicStateText = newLogicStateText;
  2796. me._tt_thumbnail_open.style[domTransition]='left 0s, top 0s';
  2797. if (me._tt_thumbnail_open.ggCurrentLogicStateText == 0) {
  2798. me._tt_thumbnail_open.ggText="Hide Thumbnail Menu";
  2799. me._tt_thumbnail_open__text.innerHTML=me._tt_thumbnail_open.ggText;
  2800. if (me._tt_thumbnail_open.ggUpdateText) {
  2801. me._tt_thumbnail_open.ggUpdateText=function() {
  2802. var hs="Hide Thumbnail Menu";
  2803. if (hs!=this.ggText) {
  2804. this.ggText=hs;
  2805. this.ggTextDiv.innerHTML=hs;
  2806. if (this.ggUpdatePosition) this.ggUpdatePosition();
  2807. }
  2808. }
  2809. } else {
  2810. if (me._tt_thumbnail_open.ggUpdatePosition) me._tt_thumbnail_open.ggUpdatePosition();
  2811. }
  2812. }
  2813. else if (me._tt_thumbnail_open.ggCurrentLogicStateText == 1) {
  2814. me._tt_thumbnail_open.ggText="Hide Thumbnail Menu";
  2815. me._tt_thumbnail_open__text.innerHTML=me._tt_thumbnail_open.ggText;
  2816. if (me._tt_thumbnail_open.ggUpdateText) {
  2817. me._tt_thumbnail_open.ggUpdateText=function() {
  2818. var hs="Hide Thumbnail Menu";
  2819. if (hs!=this.ggText) {
  2820. this.ggText=hs;
  2821. this.ggTextDiv.innerHTML=hs;
  2822. if (this.ggUpdatePosition) this.ggUpdatePosition();
  2823. }
  2824. }
  2825. } else {
  2826. if (me._tt_thumbnail_open.ggUpdatePosition) me._tt_thumbnail_open.ggUpdatePosition();
  2827. }
  2828. }
  2829. else if (me._tt_thumbnail_open.ggCurrentLogicStateText == 2) {
  2830. me._tt_thumbnail_open.ggText="Show Thumbnail Menu";
  2831. me._tt_thumbnail_open__text.innerHTML=me._tt_thumbnail_open.ggText;
  2832. if (me._tt_thumbnail_open.ggUpdateText) {
  2833. me._tt_thumbnail_open.ggUpdateText=function() {
  2834. var hs="Show Thumbnail Menu";
  2835. if (hs!=this.ggText) {
  2836. this.ggText=hs;
  2837. this.ggTextDiv.innerHTML=hs;
  2838. if (this.ggUpdatePosition) this.ggUpdatePosition();
  2839. }
  2840. }
  2841. } else {
  2842. if (me._tt_thumbnail_open.ggUpdatePosition) me._tt_thumbnail_open.ggUpdatePosition();
  2843. }
  2844. }
  2845. else if (me._tt_thumbnail_open.ggCurrentLogicStateText == 3) {
  2846. me._tt_thumbnail_open.ggText="Show Thumbnail Menu";
  2847. me._tt_thumbnail_open__text.innerHTML=me._tt_thumbnail_open.ggText;
  2848. if (me._tt_thumbnail_open.ggUpdateText) {
  2849. me._tt_thumbnail_open.ggUpdateText=function() {
  2850. var hs="Show Thumbnail Menu";
  2851. if (hs!=this.ggText) {
  2852. this.ggText=hs;
  2853. this.ggTextDiv.innerHTML=hs;
  2854. if (this.ggUpdatePosition) this.ggUpdatePosition();
  2855. }
  2856. }
  2857. } else {
  2858. if (me._tt_thumbnail_open.ggUpdatePosition) me._tt_thumbnail_open.ggUpdatePosition();
  2859. }
  2860. }
  2861. else {
  2862. me._tt_thumbnail_open.ggText="";
  2863. me._tt_thumbnail_open__text.innerHTML=me._tt_thumbnail_open.ggText;
  2864. if (me._tt_thumbnail_open.ggUpdateText) {
  2865. me._tt_thumbnail_open.ggUpdateText=function() {
  2866. var hs="";
  2867. if (hs!=this.ggText) {
  2868. this.ggText=hs;
  2869. this.ggTextDiv.innerHTML=hs;
  2870. if (this.ggUpdatePosition) this.ggUpdatePosition();
  2871. }
  2872. }
  2873. } else {
  2874. if (me._tt_thumbnail_open.ggUpdatePosition) me._tt_thumbnail_open.ggUpdatePosition();
  2875. }
  2876. }
  2877. }
  2878. }
  2879. me._tt_thumbnail_open.ggUpdatePosition=function (useTransition) {
  2880. if (useTransition==='undefined') {
  2881. useTransition = false;
  2882. }
  2883. if (!useTransition) {
  2884. this.style[domTransition]='none';
  2885. }
  2886. if (this.parentNode) {
  2887. var pw=this.parentNode.clientWidth;
  2888. var w=this.offsetWidth + 0;
  2889. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  2890. }
  2891. this.style[domTransition]='left 0';
  2892. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  2893. }
  2894. me._thumbnail.appendChild(me._tt_thumbnail_open);
  2895. me._controller_slider.appendChild(me._thumbnail);
  2896. el=me._info=document.createElement('div');
  2897. els=me._info__img=document.createElement('img');
  2898. els.className='ggskin ggskin_svg';
  2899. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  2900. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSI+CgkJPGc+DQoJCQk8cGF0aCBkPSJNMy41LDE2QzMuNSw5LjA5Niw5LjA5NiwzLjUsMTYsMy41bDAsMGM2LjkwMywwLDEyLjQ5OSw1LjU5NiwxMi41LDEyLjVsMCwwDQoJCQkJYy0wLjAw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Zz4NCgk8L2c+Cjwvc3ZnPg==';
  2908. me._info__img.setAttribute('src',hs);
  2909. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;info;');
  2910. els['ondragstart']=function() { return false; };
  2911. el.appendChild(els);
  2912. el.ggSubElement = els;
  2913. elo=me._info__imgo=document.createElement('img');
  2914. elo.className='ggskin ggskin_svg';
  2915. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  2916. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTYsMTYpIHNjYWxlKDEuMSkgdHJhbnNsYXRlKC0xNiwtMTYpIj4KCQk8Zz4NCgkJCTxwYXRoIGQ9Ik0zLjUsMTZDMy41LDkuMDk2LDkuMDk2LDMuNSwxNiwzLjVsMCwwYzYuOTAzLDAsMTIuNDk5LDUuNT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Ljc3NWMwLjY2LDAsMS4xOTctMC41MzYsMS4xOTctMS4xOTYNCgkJCQkJQzE5LjcyOSwyMC45MjYsMTkuMTkyLDIwLjM5MSwxOC41MzIsMjAuMzkxeiIvPg0KCQkJPC9nPg0KCQk8L2c+DQoJPC9nPgo8L3N2Zz4=';
  2924. me._info__imgo.setAttribute('src',hs);
  2925. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;info;');
  2926. elo['ondragstart']=function() { return false; };
  2927. el.appendChild(elo);
  2928. el.ggId="info";
  2929. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  2930. el.ggVisible=false;
  2931. el.className="ggskin ggskin_svg ";
  2932. el.ggType='svg';
  2933. hs ='';
  2934. hs+='cursor : pointer;';
  2935. hs+='height : 32px;';
  2936. hs+='left : 96px;';
  2937. hs+='position : absolute;';
  2938. hs+='top : 0px;';
  2939. hs+='visibility : hidden;';
  2940. hs+='width : 32px;';
  2941. hs+='pointer-events:auto;';
  2942. el.setAttribute('style',hs);
  2943. el.style[domTransform + 'Origin']='50% 50%';
  2944. me._info.ggIsActive=function() {
  2945. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  2946. return this.parentNode.ggIsActive();
  2947. }
  2948. return false;
  2949. }
  2950. el.ggElementNodeId=function() {
  2951. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  2952. return this.parentNode.ggElementNodeId();
  2953. }
  2954. return player.getCurrentNode();
  2955. }
  2956. me._info.logicBlock_position = function() {
  2957. var newLogicStatePosition;
  2958. if (
  2959. (player.getVariableValue('pos_information') == 0)
  2960. )
  2961. {
  2962. newLogicStatePosition = 0;
  2963. }
  2964. else if (
  2965. (player.getVariableValue('pos_information') == 1)
  2966. )
  2967. {
  2968. newLogicStatePosition = 1;
  2969. }
  2970. else if (
  2971. (player.getVariableValue('pos_information') == 2)
  2972. )
  2973. {
  2974. newLogicStatePosition = 2;
  2975. }
  2976. else if (
  2977. (player.getVariableValue('pos_information') == 3)
  2978. )
  2979. {
  2980. newLogicStatePosition = 3;
  2981. }
  2982. else {
  2983. newLogicStatePosition = -1;
  2984. }
  2985. if (me._info.ggCurrentLogicStatePosition != newLogicStatePosition) {
  2986. me._info.ggCurrentLogicStatePosition = newLogicStatePosition;
  2987. me._info.style[domTransition]='left 0s, top 0s';
  2988. if (me._info.ggCurrentLogicStatePosition == 0) {
  2989. me._info.style.left='0px';
  2990. me._info.style.top='0px';
  2991. }
  2992. else if (me._info.ggCurrentLogicStatePosition == 1) {
  2993. me._info.style.left='32px';
  2994. me._info.style.top='0px';
  2995. }
  2996. else if (me._info.ggCurrentLogicStatePosition == 2) {
  2997. me._info.style.left='64px';
  2998. me._info.style.top='0px';
  2999. }
  3000. else if (me._info.ggCurrentLogicStatePosition == 3) {
  3001. me._info.style.left='96px';
  3002. me._info.style.top='0px';
  3003. }
  3004. else {
  3005. me._info.style.left='96px';
  3006. me._info.style.top='0px';
  3007. }
  3008. }
  3009. }
  3010. me._info.logicBlock_visible = function() {
  3011. var newLogicStateVisible;
  3012. if (
  3013. (player.getVariableValue('opt_info') == true)
  3014. )
  3015. {
  3016. newLogicStateVisible = 0;
  3017. }
  3018. else {
  3019. newLogicStateVisible = -1;
  3020. }
  3021. if (me._info.ggCurrentLogicStateVisible != newLogicStateVisible) {
  3022. me._info.ggCurrentLogicStateVisible = newLogicStateVisible;
  3023. me._info.style[domTransition]='left 0s, top 0s';
  3024. if (me._info.ggCurrentLogicStateVisible == 0) {
  3025. me._info.style.visibility=(Number(me._info.style.opacity)>0||!me._info.style.opacity)?'inherit':'hidden';
  3026. me._info.ggVisible=true;
  3027. }
  3028. else {
  3029. me._info.style.visibility="hidden";
  3030. me._info.ggVisible=false;
  3031. }
  3032. }
  3033. }
  3034. me._info.onclick=function (e) {
  3035. player.setVariableValue('vis_userdata', true);
  3036. }
  3037. me._info.onmouseover=function (e) {
  3038. me._info__img.style.visibility='hidden';
  3039. me._info__imgo.style.visibility='inherit';
  3040. me.elementMouseOver['info']=true;
  3041. me._tt_userdata.logicBlock_visible();
  3042. }
  3043. me._info.onmouseout=function (e) {
  3044. me._info__img.style.visibility='inherit';
  3045. me._info__imgo.style.visibility='hidden';
  3046. me.elementMouseOver['info']=false;
  3047. me._tt_userdata.logicBlock_visible();
  3048. }
  3049. me._info.ontouchend=function (e) {
  3050. me.elementMouseOver['info']=false;
  3051. me._tt_userdata.logicBlock_visible();
  3052. }
  3053. me._info.ggUpdatePosition=function (useTransition) {
  3054. }
  3055. el=me._tt_userdata=document.createElement('div');
  3056. els=me._tt_userdata__text=document.createElement('div');
  3057. el.className='ggskin ggskin_textdiv';
  3058. el.ggTextDiv=els;
  3059. el.ggId="tt_userdata";
  3060. el.ggDx=0;
  3061. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  3062. el.ggVisible=false;
  3063. el.className="ggskin ggskin_text ";
  3064. el.ggType='text';
  3065. hs ='';
  3066. hs+='z-index: 100;';
  3067. hs+='height : 20px;';
  3068. hs+='left : -10000px;';
  3069. hs+='position : absolute;';
  3070. hs+='top : 32px;';
  3071. hs+='visibility : hidden;';
  3072. hs+='width : 100px;';
  3073. hs+='pointer-events:auto;';
  3074. hs+='text-shadow: 1px 1px 4px #000000;';
  3075. el.setAttribute('style',hs);
  3076. el.style[domTransform + 'Origin']='50% 50%';
  3077. hs ='position:absolute;';
  3078. hs += 'box-sizing: border-box;';
  3079. hs+='cursor: default;';
  3080. hs+='left: 0px;';
  3081. hs+='top: 0px;';
  3082. hs+='width: auto;';
  3083. hs+='height: auto;';
  3084. hs+='border: 0px solid #000000;';
  3085. hs+='color: rgba(255,255,255,1);';
  3086. hs+='text-align: center;';
  3087. hs+='white-space: nowrap;';
  3088. hs+='padding: 0px 1px 0px 1px;';
  3089. hs+='overflow: hidden;';
  3090. els.setAttribute('style',hs);
  3091. els.innerHTML="Show User Data";
  3092. el.appendChild(els);
  3093. me._tt_userdata.ggIsActive=function() {
  3094. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  3095. return this.parentNode.ggIsActive();
  3096. }
  3097. return false;
  3098. }
  3099. el.ggElementNodeId=function() {
  3100. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  3101. return this.parentNode.ggElementNodeId();
  3102. }
  3103. return player.getCurrentNode();
  3104. }
  3105. me._tt_userdata.logicBlock_position = function() {
  3106. var newLogicStatePosition;
  3107. if (
  3108. (player.getIsMobile() == true)
  3109. )
  3110. {
  3111. newLogicStatePosition = 0;
  3112. }
  3113. else {
  3114. newLogicStatePosition = -1;
  3115. }
  3116. if (me._tt_userdata.ggCurrentLogicStatePosition != newLogicStatePosition) {
  3117. me._tt_userdata.ggCurrentLogicStatePosition = newLogicStatePosition;
  3118. me._tt_userdata.style[domTransition]='left 0s, top 0s';
  3119. if (me._tt_userdata.ggCurrentLogicStatePosition == 0) {
  3120. this.ggDx = 0;
  3121. me._tt_userdata.style.top='-25px';
  3122. me._tt_userdata.ggUpdatePosition(true);
  3123. }
  3124. else {
  3125. me._tt_userdata.ggDx=0;
  3126. me._tt_userdata.style.top='32px';
  3127. me._tt_userdata.ggUpdatePosition(true);
  3128. }
  3129. }
  3130. }
  3131. me._tt_userdata.logicBlock_visible = function() {
  3132. var newLogicStateVisible;
  3133. if (
  3134. (me.elementMouseOver['info'] == true)
  3135. )
  3136. {
  3137. newLogicStateVisible = 0;
  3138. }
  3139. else {
  3140. newLogicStateVisible = -1;
  3141. }
  3142. if (me._tt_userdata.ggCurrentLogicStateVisible != newLogicStateVisible) {
  3143. me._tt_userdata.ggCurrentLogicStateVisible = newLogicStateVisible;
  3144. me._tt_userdata.style[domTransition]='left 0s, top 0s';
  3145. if (me._tt_userdata.ggCurrentLogicStateVisible == 0) {
  3146. me._tt_userdata.style.visibility=(Number(me._tt_userdata.style.opacity)>0||!me._tt_userdata.style.opacity)?'inherit':'hidden';
  3147. me._tt_userdata.ggVisible=true;
  3148. }
  3149. else {
  3150. me._tt_userdata.style.visibility="hidden";
  3151. me._tt_userdata.ggVisible=false;
  3152. }
  3153. }
  3154. }
  3155. me._tt_userdata.ggUpdatePosition=function (useTransition) {
  3156. if (useTransition==='undefined') {
  3157. useTransition = false;
  3158. }
  3159. if (!useTransition) {
  3160. this.style[domTransition]='none';
  3161. }
  3162. if (this.parentNode) {
  3163. var pw=this.parentNode.clientWidth;
  3164. var w=this.offsetWidth + 0;
  3165. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  3166. }
  3167. this.style[domTransition]='left 0';
  3168. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  3169. }
  3170. me._info.appendChild(me._tt_userdata);
  3171. me._controller_slider.appendChild(me._info);
  3172. el=me._autorotate_buttons=document.createElement('div');
  3173. el.ggPermeable=false;
  3174. el.ggId="autorotate_buttons";
  3175. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  3176. el.ggVisible=false;
  3177. el.className="ggskin ggskin_container ";
  3178. el.ggType='container';
  3179. hs ='';
  3180. hs+='height : 32px;';
  3181. hs+='left : 64px;';
  3182. hs+='position : absolute;';
  3183. hs+='top : 0px;';
  3184. hs+='visibility : hidden;';
  3185. hs+='width : 32px;';
  3186. hs+='pointer-events:auto;';
  3187. el.setAttribute('style',hs);
  3188. el.style[domTransform + 'Origin']='50% 50%';
  3189. me._autorotate_buttons.ggIsActive=function() {
  3190. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  3191. return this.parentNode.ggIsActive();
  3192. }
  3193. return false;
  3194. }
  3195. el.ggElementNodeId=function() {
  3196. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  3197. return this.parentNode.ggElementNodeId();
  3198. }
  3199. return player.getCurrentNode();
  3200. }
  3201. me._autorotate_buttons.logicBlock_position = function() {
  3202. var newLogicStatePosition;
  3203. if (
  3204. (player.getVariableValue('pos_autorotate') == 0)
  3205. )
  3206. {
  3207. newLogicStatePosition = 0;
  3208. }
  3209. else if (
  3210. (player.getVariableValue('pos_autorotate') == 1)
  3211. )
  3212. {
  3213. newLogicStatePosition = 1;
  3214. }
  3215. else if (
  3216. (player.getVariableValue('pos_autorotate') == 2)
  3217. )
  3218. {
  3219. newLogicStatePosition = 2;
  3220. }
  3221. else {
  3222. newLogicStatePosition = -1;
  3223. }
  3224. if (me._autorotate_buttons.ggCurrentLogicStatePosition != newLogicStatePosition) {
  3225. me._autorotate_buttons.ggCurrentLogicStatePosition = newLogicStatePosition;
  3226. me._autorotate_buttons.style[domTransition]='left 0s, top 0s';
  3227. if (me._autorotate_buttons.ggCurrentLogicStatePosition == 0) {
  3228. me._autorotate_buttons.style.left='0px';
  3229. me._autorotate_buttons.style.top='0px';
  3230. }
  3231. else if (me._autorotate_buttons.ggCurrentLogicStatePosition == 1) {
  3232. me._autorotate_buttons.style.left='32px';
  3233. me._autorotate_buttons.style.top='0px';
  3234. }
  3235. else if (me._autorotate_buttons.ggCurrentLogicStatePosition == 2) {
  3236. me._autorotate_buttons.style.left='64px';
  3237. me._autorotate_buttons.style.top='0px';
  3238. }
  3239. else {
  3240. me._autorotate_buttons.style.left='64px';
  3241. me._autorotate_buttons.style.top='0px';
  3242. }
  3243. }
  3244. }
  3245. me._autorotate_buttons.logicBlock_visible = function() {
  3246. var newLogicStateVisible;
  3247. if (
  3248. (player.getVariableValue('opt_autorotate') == true)
  3249. )
  3250. {
  3251. newLogicStateVisible = 0;
  3252. }
  3253. else {
  3254. newLogicStateVisible = -1;
  3255. }
  3256. if (me._autorotate_buttons.ggCurrentLogicStateVisible != newLogicStateVisible) {
  3257. me._autorotate_buttons.ggCurrentLogicStateVisible = newLogicStateVisible;
  3258. me._autorotate_buttons.style[domTransition]='left 0s, top 0s';
  3259. if (me._autorotate_buttons.ggCurrentLogicStateVisible == 0) {
  3260. me._autorotate_buttons.style.visibility=(Number(me._autorotate_buttons.style.opacity)>0||!me._autorotate_buttons.style.opacity)?'inherit':'hidden';
  3261. me._autorotate_buttons.ggVisible=true;
  3262. }
  3263. else {
  3264. me._autorotate_buttons.style.visibility="hidden";
  3265. me._autorotate_buttons.ggVisible=false;
  3266. }
  3267. }
  3268. }
  3269. me._autorotate_buttons.onclick=function (e) {
  3270. player.setUseGyro(false);
  3271. player.toggleAutorotate();
  3272. }
  3273. me._autorotate_buttons.onmouseover=function (e) {
  3274. me.elementMouseOver['autorotate_buttons']=true;
  3275. me._tt_rotate.logicBlock_visible();
  3276. }
  3277. me._autorotate_buttons.onmouseout=function (e) {
  3278. me.elementMouseOver['autorotate_buttons']=false;
  3279. me._tt_rotate.logicBlock_visible();
  3280. }
  3281. me._autorotate_buttons.ontouchend=function (e) {
  3282. me.elementMouseOver['autorotate_buttons']=false;
  3283. me._tt_rotate.logicBlock_visible();
  3284. }
  3285. me._autorotate_buttons.ggUpdatePosition=function (useTransition) {
  3286. }
  3287. el=me._autorotate_start=document.createElement('div');
  3288. els=me._autorotate_start__img=document.createElement('img');
  3289. els.className='ggskin ggskin_svg';
  3290. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  3291. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw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uMDM5YzAuNDkxLTAuNDQyLDEuMjQ3LTAuNDAzLDEuNjg5LDAuMDg4bDAsMGMwLjQ0MiwwLjQ5MSwwLjQwMiwxLjI0Ny0wLjA4OCwxLjY4OWwwLDBsLTIuMzg2LDIuMTVsMi4zOD'+
  3303. 'YsMi4xNDkNCgkJCWMwLjQ5LDAuNDQyLDAuNTMsMS4xOTksMC4wODgsMS42OWwwLDBjLTAuMjM2LDAuMjYyLTAuNTYyLDAuMzk1LTAuODksMC4zOTVsMCwwQzE2LjkxMiwyMy45MjgsMTYuNjI1LDIzLjgyNiwxNi4zOTYsMjMuNjIxDQoJCQlMMTYuMzk2LDIzLjYyMXoiLz4NCgk8L2c+Cjwvc3ZnPg==';
  3304. me._autorotate_start__img.setAttribute('src',hs);
  3305. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;autorotate_start;');
  3306. els['ondragstart']=function() { return false; };
  3307. el.appendChild(els);
  3308. el.ggSubElement = els;
  3309. elo=me._autorotate_start__imgo=document.createElement('img');
  3310. elo.className='ggskin ggskin_svg';
  3311. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH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MDQybDAsMEMxOC42OTYsMjAuODg0LDE4LjIxNCwyMC41MzMsMTguMDcsMjAuMDAxTDE4LjA3LDIwLjAwMXoiLz4NCgkJPHBhdGggZD0iTTE2LjM5NiwyMy42MjFsLTMuMzczLTMuMDM5Yy0wLjI1MS0wLjIyNi0wLjM5Ni0wLjU1MS0wLjM5Ni0wLjg4OWwwLDBjMC0wLjMzNywwLjE0Ni0wLjY2MywwLjM5Ni0wLjg4OQ'+
  3324. '0KCQkJbDAsMGwzLjM3NC0zLjAzOWMwLjQ5MS0wLjQ0MiwxLjI0Ny0wLjQwMywxLjY4OSwwLjA4OGwwLDBjMC40NDIsMC40OTEsMC40MDIsMS4yNDctMC4wODgsMS42ODlsMCwwbC0yLjM4NiwyLjE1bDIuMzg2LDIuMTQ5DQoJCQljMC40OSwwLjQ0MiwwLjUzLDEuMTk5LDAuMDg4LDEuNjlsMCwwYy0wLjIzNiwwLjI2Mi0wLjU2MiwwLjM5NS0wLjg5LDAuMzk1bDAsMEMxNi45MTIsMjMuOTI4LDE2LjYyNSwyMy44MjYsMTYuMzk2LDIzLjYyMQ0KCQkJTDE2LjM5NiwyMy42MjF6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  3325. me._autorotate_start__imgo.setAttribute('src',hs);
  3326. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;autorotate_start;');
  3327. elo['ondragstart']=function() { return false; };
  3328. el.appendChild(elo);
  3329. el.ggId="autorotate_start";
  3330. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  3331. el.ggVisible=true;
  3332. el.className="ggskin ggskin_svg ";
  3333. el.ggType='svg';
  3334. hs ='';
  3335. hs+='cursor : pointer;';
  3336. hs+='height : 32px;';
  3337. hs+='left : 0px;';
  3338. hs+='position : absolute;';
  3339. hs+='top : 0px;';
  3340. hs+='visibility : inherit;';
  3341. hs+='width : 32px;';
  3342. hs+='pointer-events:auto;';
  3343. el.setAttribute('style',hs);
  3344. el.style[domTransform + 'Origin']='50% 50%';
  3345. me._autorotate_start.ggIsActive=function() {
  3346. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  3347. return this.parentNode.ggIsActive();
  3348. }
  3349. return false;
  3350. }
  3351. el.ggElementNodeId=function() {
  3352. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  3353. return this.parentNode.ggElementNodeId();
  3354. }
  3355. return player.getCurrentNode();
  3356. }
  3357. me._autorotate_start.logicBlock_alpha = function() {
  3358. var newLogicStateAlpha;
  3359. if (
  3360. (player.getIsAutorotating() == true)
  3361. )
  3362. {
  3363. newLogicStateAlpha = 0;
  3364. }
  3365. else {
  3366. newLogicStateAlpha = -1;
  3367. }
  3368. if (me._autorotate_start.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  3369. me._autorotate_start.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  3370. me._autorotate_start.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  3371. if (me._autorotate_start.ggCurrentLogicStateAlpha == 0) {
  3372. me._autorotate_start.style.visibility="hidden";
  3373. me._autorotate_start.style.opacity=0;
  3374. }
  3375. else {
  3376. me._autorotate_start.style.visibility=me._autorotate_start.ggVisible?'inherit':'hidden';
  3377. me._autorotate_start.style.opacity=1;
  3378. }
  3379. }
  3380. }
  3381. me._autorotate_start.onmouseover=function (e) {
  3382. me._autorotate_start__img.style.visibility='hidden';
  3383. me._autorotate_start__imgo.style.visibility='inherit';
  3384. }
  3385. me._autorotate_start.onmouseout=function (e) {
  3386. me._autorotate_start__img.style.visibility='inherit';
  3387. me._autorotate_start__imgo.style.visibility='hidden';
  3388. }
  3389. me._autorotate_start.ggUpdatePosition=function (useTransition) {
  3390. }
  3391. me._autorotate_buttons.appendChild(me._autorotate_start);
  3392. el=me._autorotate_stop=document.createElement('div');
  3393. els=me._autorotate_stop__img=document.createElement('img');
  3394. els.className='ggskin ggskin_svg';
  3395. hs='data:image/sv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MC4zNTEsMC44NDYsMC4zNTFjMC4zMDcsMCwwLjYxMi0wLjExNywwLjg0Ni0wLjM1MWwxLjU1OC0xLjU1OGwxLjU1NywxLjU1OA0KCQljMC4yMzMsMC4yMzMsMC41NCwwLjM1MSwwLjg0NiwwLjM1MWMwLjMwNywwLDAuNjEyLTAuMTE3LDAuODQ3LTAuMzUxYzAuNDY3LTAuNDY3LDAuNDY3LTEuMjI1'+
  3407. 'LDAtMS42OTJsLTEuNTU4LTEuNTU3bDEuNTU4LTEuNTU3DQoJCUMxOS44MzEsMTcuNDA2LDE5LjgzMSwxNi42NDgsMTkuMzY0LDE2LjE4MnoiLz4NCgk8L2c+Cjwvc3ZnPg==';
  3408. me._autorotate_stop__img.setAttribute('src',hs);
  3409. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;autorotate_stop;');
  3410. els['ondragstart']=function() { return false; };
  3411. el.appendChild(els);
  3412. el.ggSubElement = els;
  3413. elo=me._autorotate_stop__imgo=document.createElement('img');
  3414. elo.className='ggskin ggskin_svg';
  3415. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  3416. 'k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DMTkuODMxLDE3LjQwNiwxOS44MzEsMTYuNjQ4LDE5LjM2NCwxNi4xODJ6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  3428. me._autorotate_stop__imgo.setAttribute('src',hs);
  3429. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;autorotate_stop;');
  3430. elo['ondragstart']=function() { return false; };
  3431. el.appendChild(elo);
  3432. el.ggId="autorotate_stop";
  3433. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  3434. el.ggVisible=true;
  3435. el.className="ggskin ggskin_svg ";
  3436. el.ggType='svg';
  3437. hs ='';
  3438. hs+='cursor : pointer;';
  3439. hs+='height : 32px;';
  3440. hs+='left : 0px;';
  3441. hs+='opacity : 0;';
  3442. hs+='position : absolute;';
  3443. hs+='top : 0px;';
  3444. hs+='visibility : hidden;';
  3445. hs+='width : 32px;';
  3446. hs+='pointer-events:auto;';
  3447. el.setAttribute('style',hs);
  3448. el.style[domTransform + 'Origin']='50% 50%';
  3449. me._autorotate_stop.ggIsActive=function() {
  3450. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  3451. return this.parentNode.ggIsActive();
  3452. }
  3453. return false;
  3454. }
  3455. el.ggElementNodeId=function() {
  3456. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  3457. return this.parentNode.ggElementNodeId();
  3458. }
  3459. return player.getCurrentNode();
  3460. }
  3461. me._autorotate_stop.logicBlock_alpha = function() {
  3462. var newLogicStateAlpha;
  3463. if (
  3464. (player.getIsAutorotating() == true)
  3465. )
  3466. {
  3467. newLogicStateAlpha = 0;
  3468. }
  3469. else {
  3470. newLogicStateAlpha = -1;
  3471. }
  3472. if (me._autorotate_stop.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  3473. me._autorotate_stop.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  3474. me._autorotate_stop.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  3475. if (me._autorotate_stop.ggCurrentLogicStateAlpha == 0) {
  3476. me._autorotate_stop.style.visibility=me._autorotate_stop.ggVisible?'inherit':'hidden';
  3477. me._autorotate_stop.style.opacity=1;
  3478. }
  3479. else {
  3480. me._autorotate_stop.style.visibility="hidden";
  3481. me._autorotate_stop.style.opacity=0;
  3482. }
  3483. }
  3484. }
  3485. me._autorotate_stop.onmouseover=function (e) {
  3486. me._autorotate_stop__img.style.visibility='hidden';
  3487. me._autorotate_stop__imgo.style.visibility='inherit';
  3488. }
  3489. me._autorotate_stop.onmouseout=function (e) {
  3490. me._autorotate_stop__img.style.visibility='inherit';
  3491. me._autorotate_stop__imgo.style.visibility='hidden';
  3492. }
  3493. me._autorotate_stop.ggUpdatePosition=function (useTransition) {
  3494. }
  3495. me._autorotate_buttons.appendChild(me._autorotate_stop);
  3496. el=me._tt_rotate=document.createElement('div');
  3497. els=me._tt_rotate__text=document.createElement('div');
  3498. el.className='ggskin ggskin_textdiv';
  3499. el.ggTextDiv=els;
  3500. el.ggId="tt_rotate";
  3501. el.ggDx=0;
  3502. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  3503. el.ggVisible=false;
  3504. el.className="ggskin ggskin_text ";
  3505. el.ggType='text';
  3506. hs ='';
  3507. hs+='z-index: 100;';
  3508. hs+='height : 20px;';
  3509. hs+='left : -10000px;';
  3510. hs+='position : absolute;';
  3511. hs+='top : 32px;';
  3512. hs+='visibility : hidden;';
  3513. hs+='width : 100px;';
  3514. hs+='pointer-events:auto;';
  3515. hs+='text-shadow: 1px 1px 4px #000000;';
  3516. el.setAttribute('style',hs);
  3517. el.style[domTransform + 'Origin']='50% 50%';
  3518. hs ='position:absolute;';
  3519. hs += 'box-sizing: border-box;';
  3520. hs+='cursor: default;';
  3521. hs+='left: 0px;';
  3522. hs+='top: 0px;';
  3523. hs+='width: auto;';
  3524. hs+='height: auto;';
  3525. hs+='border: 0px solid #000000;';
  3526. hs+='color: rgba(255,255,255,1);';
  3527. hs+='text-align: center;';
  3528. hs+='white-space: nowrap;';
  3529. hs+='padding: 0px 1px 0px 1px;';
  3530. hs+='overflow: hidden;';
  3531. els.setAttribute('style',hs);
  3532. els.innerHTML="";
  3533. el.appendChild(els);
  3534. me._tt_rotate.ggIsActive=function() {
  3535. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  3536. return this.parentNode.ggIsActive();
  3537. }
  3538. return false;
  3539. }
  3540. el.ggElementNodeId=function() {
  3541. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  3542. return this.parentNode.ggElementNodeId();
  3543. }
  3544. return player.getCurrentNode();
  3545. }
  3546. me._tt_rotate.logicBlock_position = function() {
  3547. var newLogicStatePosition;
  3548. if (
  3549. (player.getIsMobile() == true)
  3550. )
  3551. {
  3552. newLogicStatePosition = 0;
  3553. }
  3554. else {
  3555. newLogicStatePosition = -1;
  3556. }
  3557. if (me._tt_rotate.ggCurrentLogicStatePosition != newLogicStatePosition) {
  3558. me._tt_rotate.ggCurrentLogicStatePosition = newLogicStatePosition;
  3559. me._tt_rotate.style[domTransition]='left 0s, top 0s';
  3560. if (me._tt_rotate.ggCurrentLogicStatePosition == 0) {
  3561. this.ggDx = 0;
  3562. me._tt_rotate.style.top='-25px';
  3563. me._tt_rotate.ggUpdatePosition(true);
  3564. }
  3565. else {
  3566. me._tt_rotate.ggDx=0;
  3567. me._tt_rotate.style.top='32px';
  3568. me._tt_rotate.ggUpdatePosition(true);
  3569. }
  3570. }
  3571. }
  3572. me._tt_rotate.logicBlock_visible = function() {
  3573. var newLogicStateVisible;
  3574. if (
  3575. (me.elementMouseOver['autorotate_buttons'] == true)
  3576. )
  3577. {
  3578. newLogicStateVisible = 0;
  3579. }
  3580. else {
  3581. newLogicStateVisible = -1;
  3582. }
  3583. if (me._tt_rotate.ggCurrentLogicStateVisible != newLogicStateVisible) {
  3584. me._tt_rotate.ggCurrentLogicStateVisible = newLogicStateVisible;
  3585. me._tt_rotate.style[domTransition]='left 0s, top 0s';
  3586. if (me._tt_rotate.ggCurrentLogicStateVisible == 0) {
  3587. me._tt_rotate.style.visibility=(Number(me._tt_rotate.style.opacity)>0||!me._tt_rotate.style.opacity)?'inherit':'hidden';
  3588. me._tt_rotate.ggVisible=true;
  3589. }
  3590. else {
  3591. me._tt_rotate.style.visibility="hidden";
  3592. me._tt_rotate.ggVisible=false;
  3593. }
  3594. }
  3595. }
  3596. me._tt_rotate.logicBlock_text = function() {
  3597. var newLogicStateText;
  3598. if (
  3599. (player.getIsAutorotating() == true)
  3600. )
  3601. {
  3602. newLogicStateText = 0;
  3603. }
  3604. else if (
  3605. (player.getIsAutorotating() == false)
  3606. )
  3607. {
  3608. newLogicStateText = 1;
  3609. }
  3610. else {
  3611. newLogicStateText = -1;
  3612. }
  3613. if (me._tt_rotate.ggCurrentLogicStateText != newLogicStateText) {
  3614. me._tt_rotate.ggCurrentLogicStateText = newLogicStateText;
  3615. me._tt_rotate.style[domTransition]='left 0s, top 0s';
  3616. if (me._tt_rotate.ggCurrentLogicStateText == 0) {
  3617. me._tt_rotate.ggText="Stop Auto Rotate";
  3618. me._tt_rotate__text.innerHTML=me._tt_rotate.ggText;
  3619. if (me._tt_rotate.ggUpdateText) {
  3620. me._tt_rotate.ggUpdateText=function() {
  3621. var hs="Stop Auto Rotate";
  3622. if (hs!=this.ggText) {
  3623. this.ggText=hs;
  3624. this.ggTextDiv.innerHTML=hs;
  3625. if (this.ggUpdatePosition) this.ggUpdatePosition();
  3626. }
  3627. }
  3628. } else {
  3629. if (me._tt_rotate.ggUpdatePosition) me._tt_rotate.ggUpdatePosition();
  3630. }
  3631. }
  3632. else if (me._tt_rotate.ggCurrentLogicStateText == 1) {
  3633. me._tt_rotate.ggText="Start Auto Rotate";
  3634. me._tt_rotate__text.innerHTML=me._tt_rotate.ggText;
  3635. if (me._tt_rotate.ggUpdateText) {
  3636. me._tt_rotate.ggUpdateText=function() {
  3637. var hs="Start Auto Rotate";
  3638. if (hs!=this.ggText) {
  3639. this.ggText=hs;
  3640. this.ggTextDiv.innerHTML=hs;
  3641. if (this.ggUpdatePosition) this.ggUpdatePosition();
  3642. }
  3643. }
  3644. } else {
  3645. if (me._tt_rotate.ggUpdatePosition) me._tt_rotate.ggUpdatePosition();
  3646. }
  3647. }
  3648. else {
  3649. me._tt_rotate.ggText="";
  3650. me._tt_rotate__text.innerHTML=me._tt_rotate.ggText;
  3651. if (me._tt_rotate.ggUpdateText) {
  3652. me._tt_rotate.ggUpdateText=function() {
  3653. var hs="";
  3654. if (hs!=this.ggText) {
  3655. this.ggText=hs;
  3656. this.ggTextDiv.innerHTML=hs;
  3657. if (this.ggUpdatePosition) this.ggUpdatePosition();
  3658. }
  3659. }
  3660. } else {
  3661. if (me._tt_rotate.ggUpdatePosition) me._tt_rotate.ggUpdatePosition();
  3662. }
  3663. }
  3664. }
  3665. }
  3666. me._tt_rotate.ggUpdatePosition=function (useTransition) {
  3667. if (useTransition==='undefined') {
  3668. useTransition = false;
  3669. }
  3670. if (!useTransition) {
  3671. this.style[domTransition]='none';
  3672. }
  3673. if (this.parentNode) {
  3674. var pw=this.parentNode.clientWidth;
  3675. var w=this.offsetWidth + 0;
  3676. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  3677. }
  3678. this.style[domTransition]='left 0';
  3679. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  3680. }
  3681. me._autorotate_buttons.appendChild(me._tt_rotate);
  3682. me._controller_slider.appendChild(me._autorotate_buttons);
  3683. el=me._zoomout=document.createElement('div');
  3684. els=me._zoomout__img=document.createElement('img');
  3685. els.className='ggskin ggskin_svg';
  3686. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc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OTUsMC4wMD'+
  3691. 'EsNS4zMTMsMS4xMyw3LjE0NiwyLjk2MQ0KCQkJYzEuODMyLDEuODMzLDIuOTYsNC4zNTIsMi45NjEsNy4xNDdDMjYuMTA2LDE4Ljc5NSwyNC45NzksMjEuMzE0LDIzLjE0NiwyMy4xNDZ6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  3692. me._zoomout__img.setAttribute('src',hs);
  3693. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;zoomout;');
  3694. els['ondragstart']=function() { return false; };
  3695. el.appendChild(els);
  3696. el.ggSubElement = els;
  3697. elo=me._zoomout__imgo=document.createElement('img');
  3698. elo.className='ggskin ggskin_svg';
  3699. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  3700. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJ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S4xKSB0cmFuc2xhdGUoLTE2LC0xNikiPgoJCTxwYXRoIGQ9Ik0yMS43NTgsMTQuODA0SDEwLjI0MWMtMC42NiwwLTEuMTk2LDAuNTM1LTEuMTk2LDEuMTk2YzAs'+
  3703. 'MC42NjEsMC41MzYsMS4xOTYsMS4xOTYsMS4xOTZoMTEuNTE3DQoJCQljMC42NjEsMCwxLjE5Ny0wLjUzNiwxLjE5Ny0xLjE5NkMyMi45NTUsMTUuMzM5LDIyLjQxOSwxNC44MDQsMjEuNzU4LDE0LjgwNHogTTE2LDMuNUM5LjA5NiwzLjUsMy41LDkuMDk2LDMuNSwxNg0KCQkJYzAsNi45MDMsNS41OTYsMTIuNDk5LDEyLjUsMTIuNWM2LjkwMy0wLjAwMSwxMi40OTktNS41OTcsMTIuNS0xMi41QzI4LjQ5OSw5LjA5NiwyMi45MDMsMy41LDE2LDMuNXogTTIzLjE0NiwyMy4xNDYNCgkJCWMtMS44MzIsMS44MzEtNC4zNTIsMi45Ni03LjE0NiwyLjk2cy01LjMxNC0xLjEyOS03LjE0Ni0yLjk2QzcuMD'+
  3704. 'IyLDIxLjMxNCw1Ljg5NCwxOC43OTUsNS44OTMsMTYNCgkJCWMwLjAwMS0yLjc5NSwxLjEyOS01LjMxNCwyLjk2MS03LjE0N2MxLjgzMy0xLjgzMSw0LjM1Mi0yLjk2LDcuMTQ2LTIuOTYxYzIuNzk1LDAuMDAxLDUuMzEzLDEuMTMsNy4xNDYsMi45NjENCgkJCWMxLjgzMiwxLjgzMywyLjk2LDQuMzUyLDIuOTYxLDcuMTQ3QzI2LjEwNiwxOC43OTUsMjQuOTc5LDIxLjMxNCwyMy4xNDYsMjMuMTQ2eiIvPg0KCTwvZz4KPC9zdmc+';
  3705. me._zoomout__imgo.setAttribute('src',hs);
  3706. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;zoomout;');
  3707. elo['ondragstart']=function() { return false; };
  3708. el.appendChild(elo);
  3709. el.ggId="zoomout";
  3710. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  3711. el.ggVisible=false;
  3712. el.className="ggskin ggskin_svg ";
  3713. el.ggType='svg';
  3714. hs ='';
  3715. hs+='cursor : pointer;';
  3716. hs+='height : 32px;';
  3717. hs+='left : 32px;';
  3718. hs+='position : absolute;';
  3719. hs+='top : 0px;';
  3720. hs+='visibility : hidden;';
  3721. hs+='width : 32px;';
  3722. hs+='pointer-events:auto;';
  3723. el.setAttribute('style',hs);
  3724. el.style[domTransform + 'Origin']='50% 50%';
  3725. me._zoomout.ggIsActive=function() {
  3726. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  3727. return this.parentNode.ggIsActive();
  3728. }
  3729. return false;
  3730. }
  3731. el.ggElementNodeId=function() {
  3732. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  3733. return this.parentNode.ggElementNodeId();
  3734. }
  3735. return player.getCurrentNode();
  3736. }
  3737. me._zoomout.logicBlock_visible = function() {
  3738. var newLogicStateVisible;
  3739. if (
  3740. (player.getVariableValue('opt_zoom') == true)
  3741. )
  3742. {
  3743. newLogicStateVisible = 0;
  3744. }
  3745. else {
  3746. newLogicStateVisible = -1;
  3747. }
  3748. if (me._zoomout.ggCurrentLogicStateVisible != newLogicStateVisible) {
  3749. me._zoomout.ggCurrentLogicStateVisible = newLogicStateVisible;
  3750. me._zoomout.style[domTransition]='';
  3751. if (me._zoomout.ggCurrentLogicStateVisible == 0) {
  3752. me._zoomout.style.visibility=(Number(me._zoomout.style.opacity)>0||!me._zoomout.style.opacity)?'inherit':'hidden';
  3753. me._zoomout.ggVisible=true;
  3754. }
  3755. else {
  3756. me._zoomout.style.visibility="hidden";
  3757. me._zoomout.ggVisible=false;
  3758. }
  3759. }
  3760. }
  3761. me._zoomout.onmouseover=function (e) {
  3762. me._zoomout__img.style.visibility='hidden';
  3763. me._zoomout__imgo.style.visibility='inherit';
  3764. me.elementMouseOver['zoomout']=true;
  3765. me._tt_zoomout.logicBlock_visible();
  3766. }
  3767. me._zoomout.onmouseout=function (e) {
  3768. me._zoomout__img.style.visibility='inherit';
  3769. me._zoomout__imgo.style.visibility='hidden';
  3770. me.elementMouseDown['zoomout']=false;
  3771. me.elementMouseOver['zoomout']=false;
  3772. me._tt_zoomout.logicBlock_visible();
  3773. }
  3774. me._zoomout.onmousedown=function (e) {
  3775. me.elementMouseDown['zoomout']=true;
  3776. }
  3777. me._zoomout.onmouseup=function (e) {
  3778. me.elementMouseDown['zoomout']=false;
  3779. }
  3780. me._zoomout.ontouchend=function (e) {
  3781. me.elementMouseDown['zoomout']=false;
  3782. me.elementMouseOver['zoomout']=false;
  3783. me._tt_zoomout.logicBlock_visible();
  3784. }
  3785. me._zoomout.ggUpdatePosition=function (useTransition) {
  3786. }
  3787. el=me._tt_zoomout=document.createElement('div');
  3788. els=me._tt_zoomout__text=document.createElement('div');
  3789. el.className='ggskin ggskin_textdiv';
  3790. el.ggTextDiv=els;
  3791. el.ggId="tt_zoomout";
  3792. el.ggDx=0;
  3793. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  3794. el.ggVisible=false;
  3795. el.className="ggskin ggskin_text ";
  3796. el.ggType='text';
  3797. hs ='';
  3798. hs+='z-index: 100;';
  3799. hs+='height : 20px;';
  3800. hs+='left : -10000px;';
  3801. hs+='position : absolute;';
  3802. hs+='top : 32px;';
  3803. hs+='visibility : hidden;';
  3804. hs+='width : 100px;';
  3805. hs+='pointer-events:auto;';
  3806. hs+='text-shadow: 1px 1px 4px #000000;';
  3807. el.setAttribute('style',hs);
  3808. el.style[domTransform + 'Origin']='50% 50%';
  3809. hs ='position:absolute;';
  3810. hs += 'box-sizing: border-box;';
  3811. hs+='cursor: default;';
  3812. hs+='left: 0px;';
  3813. hs+='top: 0px;';
  3814. hs+='width: auto;';
  3815. hs+='height: auto;';
  3816. hs+='border: 0px solid #000000;';
  3817. hs+='color: rgba(255,255,255,1);';
  3818. hs+='text-align: center;';
  3819. hs+='white-space: nowrap;';
  3820. hs+='padding: 0px 1px 0px 1px;';
  3821. hs+='overflow: hidden;';
  3822. els.setAttribute('style',hs);
  3823. els.innerHTML="Zoom Out";
  3824. el.appendChild(els);
  3825. me._tt_zoomout.ggIsActive=function() {
  3826. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  3827. return this.parentNode.ggIsActive();
  3828. }
  3829. return false;
  3830. }
  3831. el.ggElementNodeId=function() {
  3832. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  3833. return this.parentNode.ggElementNodeId();
  3834. }
  3835. return player.getCurrentNode();
  3836. }
  3837. me._tt_zoomout.logicBlock_position = function() {
  3838. var newLogicStatePosition;
  3839. if (
  3840. (player.getIsMobile() == true)
  3841. )
  3842. {
  3843. newLogicStatePosition = 0;
  3844. }
  3845. else {
  3846. newLogicStatePosition = -1;
  3847. }
  3848. if (me._tt_zoomout.ggCurrentLogicStatePosition != newLogicStatePosition) {
  3849. me._tt_zoomout.ggCurrentLogicStatePosition = newLogicStatePosition;
  3850. me._tt_zoomout.style[domTransition]='left 0s, top 0s';
  3851. if (me._tt_zoomout.ggCurrentLogicStatePosition == 0) {
  3852. this.ggDx = 0;
  3853. me._tt_zoomout.style.top='-25px';
  3854. me._tt_zoomout.ggUpdatePosition(true);
  3855. }
  3856. else {
  3857. me._tt_zoomout.ggDx=0;
  3858. me._tt_zoomout.style.top='32px';
  3859. me._tt_zoomout.ggUpdatePosition(true);
  3860. }
  3861. }
  3862. }
  3863. me._tt_zoomout.logicBlock_visible = function() {
  3864. var newLogicStateVisible;
  3865. if (
  3866. (me.elementMouseOver['zoomout'] == true)
  3867. )
  3868. {
  3869. newLogicStateVisible = 0;
  3870. }
  3871. else {
  3872. newLogicStateVisible = -1;
  3873. }
  3874. if (me._tt_zoomout.ggCurrentLogicStateVisible != newLogicStateVisible) {
  3875. me._tt_zoomout.ggCurrentLogicStateVisible = newLogicStateVisible;
  3876. me._tt_zoomout.style[domTransition]='left 0s, top 0s';
  3877. if (me._tt_zoomout.ggCurrentLogicStateVisible == 0) {
  3878. me._tt_zoomout.style.visibility=(Number(me._tt_zoomout.style.opacity)>0||!me._tt_zoomout.style.opacity)?'inherit':'hidden';
  3879. me._tt_zoomout.ggVisible=true;
  3880. }
  3881. else {
  3882. me._tt_zoomout.style.visibility="hidden";
  3883. me._tt_zoomout.ggVisible=false;
  3884. }
  3885. }
  3886. }
  3887. me._tt_zoomout.ggUpdatePosition=function (useTransition) {
  3888. if (useTransition==='undefined') {
  3889. useTransition = false;
  3890. }
  3891. if (!useTransition) {
  3892. this.style[domTransition]='none';
  3893. }
  3894. if (this.parentNode) {
  3895. var pw=this.parentNode.clientWidth;
  3896. var w=this.offsetWidth + 0;
  3897. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  3898. }
  3899. this.style[domTransition]='left 0';
  3900. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  3901. }
  3902. me._zoomout.appendChild(me._tt_zoomout);
  3903. me._controller_slider.appendChild(me._zoomout);
  3904. el=me._zoomin=document.createElement('div');
  3905. els=me._zoomin__img=document.createElement('img');
  3906. els.className='ggskin ggskin_svg';
  3907. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3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MuMTQ2Yy0xLjgzMiwxLjgzMS00LjM1MiwyLjk2LTcuMTQ2LDIuOTZzLTUuMzE0LTEuMTI5LTcuMTQ2LTIuOTYNCgkJCUM3LjAyMiwyMS4zMTQsNS44OTQsMTguNzk1LDUuODkzLDE2YzAuMDAxLTIuNzk1LDEuMTI5LTUuMzE0LDIuOTYxLTcuMTQ3YzEuODMzLTEuODMxLDQuMzUyLTIuOTYsNy4xNDYtMi45NjENCgkJCWMyLjc5NSww'+
  3913. 'LjAwMSw1LjMxMywxLjEzLDcuMTQ2LDIuOTYxYzEuODMyLDEuODMzLDIuOTYsNC4zNTIsMi45NjEsNy4xNDdDMjYuMTA2LDE4Ljc5NSwyNC45NzksMjEuMzE0LDIzLjE0NiwyMy4xNDZ6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  3914. me._zoomin__img.setAttribute('src',hs);
  3915. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;zoomin;');
  3916. els['ondragstart']=function() { return false; };
  3917. el.appendChild(els);
  3918. el.ggSubElement = els;
  3919. elo=me._zoomin__imgo=document.createElement('img');
  3920. elo.className='ggskin ggskin_svg';
  3921. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d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sNi45MDMsNS41OTYsMTIuNDk5LDEyLjUsMTIuNWM2LjkwMy0wLjAwMSwxMi40OTktNS41OTcsMTIuNS0xMi41DQoJCQlDMjguNDk5LDkuMDk2LDIyLjkwMywzLjUsMTYsMy41eiBNMjMuMTQ2LDIzLjE0NmMtMS44MzIsMS44MzEtNC4zNTIsMi45Ni03LjE0NiwyLjk2cy01LjMxNC0xLjEyOS03LjE0Ni0yLjk2DQoJCQlD'+
  3927. 'Ny4wMjIsMjEuMzE0LDUuODk0LDE4Ljc5NSw1Ljg5MywxNmMwLjAwMS0yLjc5NSwxLjEyOS01LjMxNCwyLjk2MS03LjE0N2MxLjgzMy0xLjgzMSw0LjM1Mi0yLjk2LDcuMTQ2LTIuOTYxDQoJCQljMi43OTUsMC4wMDEsNS4zMTMsMS4xMyw3LjE0NiwyLjk2MWMxLjgzMiwxLjgzMywyLjk2LDQuMzUyLDIuOTYxLDcuMTQ3QzI2LjEwNiwxOC43OTUsMjQuOTc5LDIxLjMxNCwyMy4xNDYsMjMuMTQ2eiIvPg0KCTwvZz4KPC9zdmc+';
  3928. me._zoomin__imgo.setAttribute('src',hs);
  3929. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;zoomin;');
  3930. elo['ondragstart']=function() { return false; };
  3931. el.appendChild(elo);
  3932. el.ggId="zoomin";
  3933. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  3934. el.ggVisible=false;
  3935. el.className="ggskin ggskin_svg ";
  3936. el.ggType='svg';
  3937. hs ='';
  3938. hs+='cursor : pointer;';
  3939. hs+='height : 32px;';
  3940. hs+='left : 0px;';
  3941. hs+='position : absolute;';
  3942. hs+='top : 0px;';
  3943. hs+='visibility : hidden;';
  3944. hs+='width : 32px;';
  3945. hs+='pointer-events:auto;';
  3946. el.setAttribute('style',hs);
  3947. el.style[domTransform + 'Origin']='50% 50%';
  3948. me._zoomin.ggIsActive=function() {
  3949. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  3950. return this.parentNode.ggIsActive();
  3951. }
  3952. return false;
  3953. }
  3954. el.ggElementNodeId=function() {
  3955. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  3956. return this.parentNode.ggElementNodeId();
  3957. }
  3958. return player.getCurrentNode();
  3959. }
  3960. me._zoomin.logicBlock_visible = function() {
  3961. var newLogicStateVisible;
  3962. if (
  3963. (player.getVariableValue('opt_zoom') == true)
  3964. )
  3965. {
  3966. newLogicStateVisible = 0;
  3967. }
  3968. else {
  3969. newLogicStateVisible = -1;
  3970. }
  3971. if (me._zoomin.ggCurrentLogicStateVisible != newLogicStateVisible) {
  3972. me._zoomin.ggCurrentLogicStateVisible = newLogicStateVisible;
  3973. me._zoomin.style[domTransition]='';
  3974. if (me._zoomin.ggCurrentLogicStateVisible == 0) {
  3975. me._zoomin.style.visibility=(Number(me._zoomin.style.opacity)>0||!me._zoomin.style.opacity)?'inherit':'hidden';
  3976. me._zoomin.ggVisible=true;
  3977. }
  3978. else {
  3979. me._zoomin.style.visibility="hidden";
  3980. me._zoomin.ggVisible=false;
  3981. }
  3982. }
  3983. }
  3984. me._zoomin.onmouseover=function (e) {
  3985. me._zoomin__img.style.visibility='hidden';
  3986. me._zoomin__imgo.style.visibility='inherit';
  3987. me.elementMouseOver['zoomin']=true;
  3988. me._tt_zoomin.logicBlock_visible();
  3989. }
  3990. me._zoomin.onmouseout=function (e) {
  3991. me._zoomin__img.style.visibility='inherit';
  3992. me._zoomin__imgo.style.visibility='hidden';
  3993. me.elementMouseDown['zoomin']=false;
  3994. me.elementMouseOver['zoomin']=false;
  3995. me._tt_zoomin.logicBlock_visible();
  3996. }
  3997. me._zoomin.onmousedown=function (e) {
  3998. me.elementMouseDown['zoomin']=true;
  3999. }
  4000. me._zoomin.onmouseup=function (e) {
  4001. me.elementMouseDown['zoomin']=false;
  4002. }
  4003. me._zoomin.ontouchend=function (e) {
  4004. me.elementMouseDown['zoomin']=false;
  4005. me.elementMouseOver['zoomin']=false;
  4006. me._tt_zoomin.logicBlock_visible();
  4007. }
  4008. me._zoomin.ggUpdatePosition=function (useTransition) {
  4009. }
  4010. el=me._tt_zoomin=document.createElement('div');
  4011. els=me._tt_zoomin__text=document.createElement('div');
  4012. el.className='ggskin ggskin_textdiv';
  4013. el.ggTextDiv=els;
  4014. el.ggId="tt_zoomin";
  4015. el.ggDx=0;
  4016. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  4017. el.ggVisible=false;
  4018. el.className="ggskin ggskin_text ";
  4019. el.ggType='text';
  4020. hs ='';
  4021. hs+='z-index: 100;';
  4022. hs+='height : 20px;';
  4023. hs+='left : -10000px;';
  4024. hs+='position : absolute;';
  4025. hs+='top : 32px;';
  4026. hs+='visibility : hidden;';
  4027. hs+='width : 100px;';
  4028. hs+='pointer-events:auto;';
  4029. hs+='text-shadow: 1px 1px 4px #000000;';
  4030. el.setAttribute('style',hs);
  4031. el.style[domTransform + 'Origin']='50% 50%';
  4032. hs ='position:absolute;';
  4033. hs += 'box-sizing: border-box;';
  4034. hs+='cursor: default;';
  4035. hs+='left: 0px;';
  4036. hs+='top: 0px;';
  4037. hs+='width: auto;';
  4038. hs+='height: auto;';
  4039. hs+='border: 0px solid #000000;';
  4040. hs+='color: rgba(255,255,255,1);';
  4041. hs+='text-align: center;';
  4042. hs+='white-space: nowrap;';
  4043. hs+='padding: 0px 1px 0px 1px;';
  4044. hs+='overflow: hidden;';
  4045. els.setAttribute('style',hs);
  4046. els.innerHTML="Zoom In";
  4047. el.appendChild(els);
  4048. me._tt_zoomin.ggIsActive=function() {
  4049. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  4050. return this.parentNode.ggIsActive();
  4051. }
  4052. return false;
  4053. }
  4054. el.ggElementNodeId=function() {
  4055. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  4056. return this.parentNode.ggElementNodeId();
  4057. }
  4058. return player.getCurrentNode();
  4059. }
  4060. me._tt_zoomin.logicBlock_position = function() {
  4061. var newLogicStatePosition;
  4062. if (
  4063. (player.getIsMobile() == true)
  4064. )
  4065. {
  4066. newLogicStatePosition = 0;
  4067. }
  4068. else {
  4069. newLogicStatePosition = -1;
  4070. }
  4071. if (me._tt_zoomin.ggCurrentLogicStatePosition != newLogicStatePosition) {
  4072. me._tt_zoomin.ggCurrentLogicStatePosition = newLogicStatePosition;
  4073. me._tt_zoomin.style[domTransition]='left 0s, top 0s';
  4074. if (me._tt_zoomin.ggCurrentLogicStatePosition == 0) {
  4075. this.ggDx = 0;
  4076. me._tt_zoomin.style.top='-25px';
  4077. me._tt_zoomin.ggUpdatePosition(true);
  4078. }
  4079. else {
  4080. me._tt_zoomin.ggDx=0;
  4081. me._tt_zoomin.style.top='32px';
  4082. me._tt_zoomin.ggUpdatePosition(true);
  4083. }
  4084. }
  4085. }
  4086. me._tt_zoomin.logicBlock_visible = function() {
  4087. var newLogicStateVisible;
  4088. if (
  4089. (me.elementMouseOver['zoomin'] == true)
  4090. )
  4091. {
  4092. newLogicStateVisible = 0;
  4093. }
  4094. else {
  4095. newLogicStateVisible = -1;
  4096. }
  4097. if (me._tt_zoomin.ggCurrentLogicStateVisible != newLogicStateVisible) {
  4098. me._tt_zoomin.ggCurrentLogicStateVisible = newLogicStateVisible;
  4099. me._tt_zoomin.style[domTransition]='left 0s, top 0s';
  4100. if (me._tt_zoomin.ggCurrentLogicStateVisible == 0) {
  4101. me._tt_zoomin.style.visibility=(Number(me._tt_zoomin.style.opacity)>0||!me._tt_zoomin.style.opacity)?'inherit':'hidden';
  4102. me._tt_zoomin.ggVisible=true;
  4103. }
  4104. else {
  4105. me._tt_zoomin.style.visibility="hidden";
  4106. me._tt_zoomin.ggVisible=false;
  4107. }
  4108. }
  4109. }
  4110. me._tt_zoomin.ggUpdatePosition=function (useTransition) {
  4111. if (useTransition==='undefined') {
  4112. useTransition = false;
  4113. }
  4114. if (!useTransition) {
  4115. this.style[domTransition]='none';
  4116. }
  4117. if (this.parentNode) {
  4118. var pw=this.parentNode.clientWidth;
  4119. var w=this.offsetWidth + 0;
  4120. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  4121. }
  4122. this.style[domTransition]='left 0';
  4123. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  4124. }
  4125. me._zoomin.appendChild(me._tt_zoomin);
  4126. me._controller_slider.appendChild(me._zoomin);
  4127. el=me._key_up=document.createElement('div');
  4128. el.ggId="key_up";
  4129. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  4130. el.ggVisible=true;
  4131. el.className="ggskin ggskin_container ";
  4132. el.ggType='container';
  4133. hs ='';
  4134. hs+='height : 32px;';
  4135. hs+='left : 0px;';
  4136. hs+='position : absolute;';
  4137. hs+='top : 0px;';
  4138. hs+='visibility : inherit;';
  4139. hs+='width : 32px;';
  4140. hs+='pointer-events:none;';
  4141. el.setAttribute('style',hs);
  4142. el.style[domTransform + 'Origin']='50% 50%';
  4143. me._key_up.ggIsActive=function() {
  4144. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  4145. return this.parentNode.ggIsActive();
  4146. }
  4147. return false;
  4148. }
  4149. el.ggElementNodeId=function() {
  4150. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  4151. return this.parentNode.ggElementNodeId();
  4152. }
  4153. return player.getCurrentNode();
  4154. }
  4155. me._key_up.onmouseout=function (e) {
  4156. me.elementMouseDown['key_up']=false;
  4157. }
  4158. me._key_up.onmousedown=function (e) {
  4159. me.elementMouseDown['key_up']=true;
  4160. }
  4161. me._key_up.onmouseup=function (e) {
  4162. me.elementMouseDown['key_up']=false;
  4163. }
  4164. me._key_up.ontouchend=function (e) {
  4165. me.elementMouseDown['key_up']=false;
  4166. }
  4167. me._key_up.ggUpdatePosition=function (useTransition) {
  4168. }
  4169. me._controller_slider.appendChild(me._key_up);
  4170. el=me._key_down=document.createElement('div');
  4171. el.ggId="key_down";
  4172. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  4173. el.ggVisible=true;
  4174. el.className="ggskin ggskin_container ";
  4175. el.ggType='container';
  4176. hs ='';
  4177. hs+='height : 32px;';
  4178. hs+='left : 0px;';
  4179. hs+='position : absolute;';
  4180. hs+='top : 0px;';
  4181. hs+='visibility : inherit;';
  4182. hs+='width : 32px;';
  4183. hs+='pointer-events:none;';
  4184. el.setAttribute('style',hs);
  4185. el.style[domTransform + 'Origin']='50% 50%';
  4186. me._key_down.ggIsActive=function() {
  4187. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  4188. return this.parentNode.ggIsActive();
  4189. }
  4190. return false;
  4191. }
  4192. el.ggElementNodeId=function() {
  4193. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  4194. return this.parentNode.ggElementNodeId();
  4195. }
  4196. return player.getCurrentNode();
  4197. }
  4198. me._key_down.onmouseout=function (e) {
  4199. me.elementMouseDown['key_down']=false;
  4200. }
  4201. me._key_down.onmousedown=function (e) {
  4202. me.elementMouseDown['key_down']=true;
  4203. }
  4204. me._key_down.onmouseup=function (e) {
  4205. me.elementMouseDown['key_down']=false;
  4206. }
  4207. me._key_down.ontouchend=function (e) {
  4208. me.elementMouseDown['key_down']=false;
  4209. }
  4210. me._key_down.ggUpdatePosition=function (useTransition) {
  4211. }
  4212. me._controller_slider.appendChild(me._key_down);
  4213. el=me._key_left=document.createElement('div');
  4214. el.ggId="key_left";
  4215. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  4216. el.ggVisible=true;
  4217. el.className="ggskin ggskin_container ";
  4218. el.ggType='container';
  4219. hs ='';
  4220. hs+='height : 32px;';
  4221. hs+='left : 0px;';
  4222. hs+='position : absolute;';
  4223. hs+='top : 0px;';
  4224. hs+='visibility : inherit;';
  4225. hs+='width : 32px;';
  4226. hs+='pointer-events:none;';
  4227. el.setAttribute('style',hs);
  4228. el.style[domTransform + 'Origin']='50% 50%';
  4229. me._key_left.ggIsActive=function() {
  4230. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  4231. return this.parentNode.ggIsActive();
  4232. }
  4233. return false;
  4234. }
  4235. el.ggElementNodeId=function() {
  4236. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  4237. return this.parentNode.ggElementNodeId();
  4238. }
  4239. return player.getCurrentNode();
  4240. }
  4241. me._key_left.onmouseout=function (e) {
  4242. me.elementMouseDown['key_left']=false;
  4243. }
  4244. me._key_left.onmousedown=function (e) {
  4245. me.elementMouseDown['key_left']=true;
  4246. }
  4247. me._key_left.onmouseup=function (e) {
  4248. me.elementMouseDown['key_left']=false;
  4249. }
  4250. me._key_left.ontouchend=function (e) {
  4251. me.elementMouseDown['key_left']=false;
  4252. }
  4253. me._key_left.ggUpdatePosition=function (useTransition) {
  4254. }
  4255. me._controller_slider.appendChild(me._key_left);
  4256. el=me._key_right=document.createElement('div');
  4257. el.ggId="key_right";
  4258. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  4259. el.ggVisible=true;
  4260. el.className="ggskin ggskin_container ";
  4261. el.ggType='container';
  4262. hs ='';
  4263. hs+='height : 32px;';
  4264. hs+='left : 0px;';
  4265. hs+='position : absolute;';
  4266. hs+='top : 0px;';
  4267. hs+='visibility : inherit;';
  4268. hs+='width : 32px;';
  4269. hs+='pointer-events:none;';
  4270. el.setAttribute('style',hs);
  4271. el.style[domTransform + 'Origin']='50% 50%';
  4272. me._key_right.ggIsActive=function() {
  4273. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  4274. return this.parentNode.ggIsActive();
  4275. }
  4276. return false;
  4277. }
  4278. el.ggElementNodeId=function() {
  4279. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  4280. return this.parentNode.ggElementNodeId();
  4281. }
  4282. return player.getCurrentNode();
  4283. }
  4284. me._key_right.onmouseout=function (e) {
  4285. me.elementMouseDown['key_right']=false;
  4286. }
  4287. me._key_right.onmousedown=function (e) {
  4288. me.elementMouseDown['key_right']=true;
  4289. }
  4290. me._key_right.onmouseup=function (e) {
  4291. me.elementMouseDown['key_right']=false;
  4292. }
  4293. me._key_right.ontouchend=function (e) {
  4294. me.elementMouseDown['key_right']=false;
  4295. }
  4296. me._key_right.ggUpdatePosition=function (useTransition) {
  4297. }
  4298. me._controller_slider.appendChild(me._key_right);
  4299. me._controller.appendChild(me._controller_slider);
  4300. el=me._element_alpha_timer=document.createElement('div');
  4301. el.ggTimestamp=this.ggCurrentTime;
  4302. el.ggLastIsActive=true;
  4303. el.ggTimeout=1000;
  4304. el.ggId="element_alpha_timer";
  4305. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  4306. el.ggVisible=true;
  4307. el.className="ggskin ggskin_timer ";
  4308. el.ggType='timer';
  4309. hs ='';
  4310. hs+='height : 32px;';
  4311. hs+='left : 0px;';
  4312. hs+='position : absolute;';
  4313. hs+='top : 0px;';
  4314. hs+='visibility : inherit;';
  4315. hs+='width : 32px;';
  4316. hs+='pointer-events:none;';
  4317. el.setAttribute('style',hs);
  4318. el.style[domTransform + 'Origin']='50% 50%';
  4319. me._element_alpha_timer.ggIsActive=function() {
  4320. return (me._element_alpha_timer.ggTimestamp + me._element_alpha_timer.ggTimeout) >= me.ggCurrentTime;
  4321. }
  4322. el.ggElementNodeId=function() {
  4323. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  4324. return this.parentNode.ggElementNodeId();
  4325. }
  4326. return player.getCurrentNode();
  4327. }
  4328. me._element_alpha_timer.ggDeactivate=function () {
  4329. player.setVariableValue('vis_timer', true);
  4330. }
  4331. me._element_alpha_timer.ggUpdatePosition=function (useTransition) {
  4332. }
  4333. me._controller.appendChild(me._element_alpha_timer);
  4334. me.divSkin.appendChild(me._controller);
  4335. el=me._thumbnail_menu=document.createElement('div');
  4336. els=me._thumbnail_menu__content=document.createElement('div');
  4337. el.ggContent=els;
  4338. el.appendChild(els);
  4339. el.ggHorScrollVisible = false;
  4340. el.ggVertScrollVisible = false;
  4341. el.ggContentLeftOffset = 0;
  4342. el.ggContentTopOffset = 0;
  4343. hs ='';
  4344. hs+='height : 77px;';
  4345. hs+='left : 50%;';
  4346. hs+='margin-left : -59.5px;';
  4347. hs+='margin-top : -38.5px;';
  4348. hs+='overflow : visible;';
  4349. hs+='position : absolute;';
  4350. hs+='top : 50%;';
  4351. hs+='width : 119px;';
  4352. hs+="";
  4353. els.setAttribute('style',hs);
  4354. me._thumbnail_menu.ggScrollByX = function(diffX) {
  4355. if(!me._thumbnail_menu.ggHorScrollVisible || diffX == 0) return;
  4356. me._thumbnail_menu.ggScrollPosX = (me._thumbnail_menu__horScrollFg.offsetLeft + diffX);
  4357. me._thumbnail_menu.ggScrollPosX = Math.max(me._thumbnail_menu.ggScrollPosX, 0);
  4358. me._thumbnail_menu.ggScrollPosX = Math.min(me._thumbnail_menu.ggScrollPosX, me._thumbnail_menu__horScrollBg.clientWidth - me._thumbnail_menu__horScrollFg.clientWidth);
  4359. me._thumbnail_menu__horScrollFg.style.left = me._thumbnail_menu.ggScrollPosX + 'px';
  4360. me._thumbnail_menu__content.style.left = -(Math.round(me._thumbnail_menu.ggScrollPosX / me._thumbnail_menu.ggHPercentVisible)) + me._thumbnail_menu.ggContentLeftOffset + 'px';
  4361. me._thumbnail_menu.ggScrollPosXPercent = (me._thumbnail_menu__horScrollFg.offsetLeft / me._thumbnail_menu__horScrollBg.clientWidth);
  4362. }
  4363. me._thumbnail_menu.ggScrollByXSmooth = function(diffX) {
  4364. if(!me._thumbnail_menu.ggHorScrollVisible || diffX == 0) return;
  4365. var scrollPerInterval = diffX / 25;
  4366. var scrollCurrX = 0;
  4367. var id = setInterval(function() {
  4368. scrollCurrX += scrollPerInterval;
  4369. me._thumbnail_menu.ggScrollPosX += scrollPerInterval;
  4370. if (diffX > 0 && (scrollCurrX >= diffX || me._thumbnail_menu.ggScrollPosX >= me._thumbnail_menu__horScrollBg.clientWidth - me._thumbnail_menu__horScrollFg.clientWidth)) {
  4371. me._thumbnail_menu.ggScrollPosX = Math.min(me._thumbnail_menu.ggScrollPosX, me._thumbnail_menu__horScrollBg.clientWidth - me._thumbnail_menu__horScrollFg.clientWidth);
  4372. clearInterval(id);
  4373. }
  4374. if (diffX < 0 && (scrollCurrX <= diffX || me._thumbnail_menu.ggScrollPosX <= 0)) {
  4375. me._thumbnail_menu.ggScrollPosX = Math.max(me._thumbnail_menu.ggScrollPosX, 0);
  4376. clearInterval(id);
  4377. }
  4378. me._thumbnail_menu__horScrollFg.style.left = me._thumbnail_menu.ggScrollPosX + 'px';
  4379. me._thumbnail_menu__content.style.left = -(Math.round(me._thumbnail_menu.ggScrollPosX / me._thumbnail_menu.ggHPercentVisible)) + me._thumbnail_menu.ggContentLeftOffset + 'px';
  4380. me._thumbnail_menu.ggScrollPosXPercent = (me._thumbnail_menu__horScrollFg.offsetLeft / me._thumbnail_menu__horScrollBg.clientWidth);
  4381. }, 10);
  4382. }
  4383. me._thumbnail_menu.ggScrollByY = function(diffY) {
  4384. if(!me._thumbnail_menu.ggVertScrollVisible || diffY == 0) return;
  4385. me._thumbnail_menu.ggScrollPosY = (me._thumbnail_menu__vertScrollFg.offsetTop + diffY);
  4386. me._thumbnail_menu.ggScrollPosY = Math.max(me._thumbnail_menu.ggScrollPosY, 0);
  4387. me._thumbnail_menu.ggScrollPosY = Math.min(me._thumbnail_menu.ggScrollPosY, me._thumbnail_menu__vertScrollBg.clientHeight - me._thumbnail_menu__vertScrollFg.clientHeight);
  4388. me._thumbnail_menu__vertScrollFg.style.top = me._thumbnail_menu.ggScrollPosY + 'px';
  4389. me._thumbnail_menu__content.style.top = -(Math.round(me._thumbnail_menu.ggScrollPosY / me._thumbnail_menu.ggVPercentVisible)) + me._thumbnail_menu.ggContentTopOffset + 'px';
  4390. me._thumbnail_menu.ggScrollPosYPercent = (me._thumbnail_menu__vertScrollFg.offsetTop / me._thumbnail_menu__vertScrollBg.clientHeight);
  4391. }
  4392. me._thumbnail_menu.ggScrollByYSmooth = function(diffY) {
  4393. if(!me._thumbnail_menu.ggVertScrollVisible || diffY == 0) return;
  4394. var scrollPerInterval = diffY / 25;
  4395. var scrollCurrY = 0;
  4396. var id = setInterval(function() {
  4397. scrollCurrY += scrollPerInterval;
  4398. me._thumbnail_menu.ggScrollPosY += scrollPerInterval;
  4399. if (diffY > 0 && (scrollCurrY >= diffY || me._thumbnail_menu.ggScrollPosY >= me._thumbnail_menu__vertScrollBg.clientHeight - me._thumbnail_menu__vertScrollFg.clientHeight)) {
  4400. me._thumbnail_menu.ggScrollPosY = Math.min(me._thumbnail_menu.ggScrollPosY, me._thumbnail_menu__vertScrollBg.clientHeight - me._thumbnail_menu__vertScrollFg.clientHeight);
  4401. clearInterval(id);
  4402. }
  4403. if (diffY < 0 && (scrollCurrY <= diffY || me._thumbnail_menu.ggScrollPosY <= 0)) {
  4404. me._thumbnail_menu.ggScrollPosY = Math.max(me._thumbnail_menu.ggScrollPosY, 0);
  4405. clearInterval(id);
  4406. }
  4407. me._thumbnail_menu__vertScrollFg.style.top = me._thumbnail_menu.ggScrollPosY + 'px';
  4408. me._thumbnail_menu__content.style.top = -(Math.round(me._thumbnail_menu.ggScrollPosY / me._thumbnail_menu.ggVPercentVisible)) + me._thumbnail_menu.ggContentTopOffset + 'px';
  4409. me._thumbnail_menu.ggScrollPosYPercent = (me._thumbnail_menu__vertScrollFg.offsetTop / me._thumbnail_menu__vertScrollBg.clientHeight);
  4410. }, 10);
  4411. }
  4412. me._thumbnail_menu.ggScrollIntoView = function(posX, posY, width, height) {
  4413. if (me._thumbnail_menu.ggHorScrollVisible) {
  4414. if (posX < 0) {
  4415. var diffX = Math.floor(posX * me._thumbnail_menu.ggHPercentVisible);
  4416. me._thumbnail_menu.ggScrollByXSmooth(diffX);
  4417. } else if (posX + width > me._thumbnail_menu.clientWidth - (me._thumbnail_menu.ggVertScrollVisible ? 15 : 0)) {
  4418. var diffX = Math.ceil(((posX + width) - (me._thumbnail_menu.clientWidth - (me._thumbnail_menu.ggVertScrollVisible ? 15 : 0))) * me._thumbnail_menu.ggHPercentVisible);
  4419. me._thumbnail_menu.ggScrollByXSmooth(diffX);
  4420. }
  4421. }
  4422. if (me._thumbnail_menu.ggVertScrollVisible) {
  4423. if (posY < 0) {
  4424. var diffY = Math.floor(posY * me._thumbnail_menu.ggVPercentVisible);
  4425. me._thumbnail_menu.ggScrollByYSmooth(diffY);
  4426. } else if (posY + height > me._thumbnail_menu.clientHeight - (me._thumbnail_menu.ggHorScrollVisible ? 15 : 0)) {
  4427. var diffY = Math.ceil(((posY + height) - (me._thumbnail_menu.clientHeight - (me._thumbnail_menu.ggHorScrollVisible ? 15 : 0))) * me._thumbnail_menu.ggVPercentVisible);
  4428. me._thumbnail_menu.ggScrollByYSmooth(diffY);
  4429. }
  4430. }
  4431. }
  4432. els.ontouchstart = function(e) {
  4433. e = e || window.event;
  4434. var t = e.touches;
  4435. me._thumbnail_menu.ggDragLastX = t[0].clientX;
  4436. me._thumbnail_menu.ggDragLastY = t[0].clientY;
  4437. me._thumbnail_menu__content.ontouchend = function() {
  4438. me._thumbnail_menu__content.ontouchend = null;
  4439. me._thumbnail_menu__content.ontouchmove = null;
  4440. }
  4441. me._thumbnail_menu__content.ontouchmove = function(e) {
  4442. e = e || window.event;
  4443. e.preventDefault();
  4444. var t = e.touches;
  4445. var diffX = t[0].clientX - me._thumbnail_menu.ggDragLastX;
  4446. var diffY = t[0].clientY - me._thumbnail_menu.ggDragLastY;
  4447. me._thumbnail_menu.ggDragLastX = t[0].clientX;
  4448. me._thumbnail_menu.ggDragLastY = t[0].clientY;
  4449. me._thumbnail_menu.ggScrollByX(-diffX);
  4450. me._thumbnail_menu.ggScrollByY(-diffY);
  4451. }
  4452. }
  4453. elHorScrollBg = me._thumbnail_menu__horScrollBg = document.createElement('div');
  4454. el.appendChild(elHorScrollBg);
  4455. elHorScrollBg.setAttribute('style', 'position: absolute; left: 0px; bottom: 0px; visibility: hidden; width: 400px; height: 15px; background-color: rgba(255,255,255,0.392157); pointer-events: auto;');
  4456. elHorScrollBg.className='ggskin ggskin_scrollarea_hscrollbg';
  4457. elHorScrollFg = me._thumbnail_menu__horScrollFg = document.createElement('div');
  4458. elHorScrollBg.appendChild(elHorScrollFg);
  4459. elHorScrollFg.className='ggskin ggskin_scrollarea_hscrollfg';
  4460. elHorScrollFg.setAttribute('style', 'position: absolute; left: 0px; top: 0px; visibility: hidden; width: 400px; height: 15px; background-color: rgba(255,255,255,1); pointer-events: auto;');
  4461. me._thumbnail_menu.ggScrollPosX = 0;
  4462. me._thumbnail_menu.ggScrollPosXPercent = 0.0;
  4463. elHorScrollFg.onmousedown = function(e) {
  4464. e = e || window.event;
  4465. e.preventDefault();
  4466. e.stopPropagation();
  4467. me._thumbnail_menu.ggDragLastX = e.clientX;
  4468. document.onmouseup = function() {
  4469. document.onmouseup = null;
  4470. document.onmousemove = null;
  4471. }
  4472. document.onmousemove = function(e) {
  4473. e = e || window.event;
  4474. e.preventDefault();
  4475. var diffX = e.clientX - me._thumbnail_menu.ggDragLastX;
  4476. me._thumbnail_menu.ggDragLastX = e.clientX;
  4477. me._thumbnail_menu.ggScrollByX(diffX);
  4478. }
  4479. }
  4480. elHorScrollFg.ontouchstart = function(e) {
  4481. e = e || window.event;
  4482. e.preventDefault();
  4483. e.stopPropagation();
  4484. var t = e.touches;
  4485. me._thumbnail_menu.ggDragLastX = t[0].clientX;
  4486. document.ontouchend = function() {
  4487. document.ontouchend = null;
  4488. document.ontouchmove = null;
  4489. }
  4490. document.ontouchmove = function(e) {
  4491. e = e || window.event;
  4492. e.preventDefault();
  4493. var t = e.touches;
  4494. var diffX = t[0].clientX - me._thumbnail_menu.ggDragLastX;
  4495. me._thumbnail_menu.ggDragLastX = t[0].clientX;
  4496. me._thumbnail_menu.ggScrollByX(diffX);
  4497. }
  4498. }
  4499. elHorScrollBg.onmousedown = function(e) {
  4500. e = e || window.event;
  4501. e.preventDefault();
  4502. var diffX = me._thumbnail_menu.ggScrollWidth;
  4503. if (e.offsetX < me._thumbnail_menu.ggScrollPosX) {
  4504. diffX = diffX * -1;
  4505. }
  4506. me._thumbnail_menu.ggScrollByXSmooth(diffX);
  4507. }
  4508. elHorScrollBg.ontouchstart = function(e) {
  4509. e = e || window.event;
  4510. e.preventDefault();
  4511. e.stopPropagation();
  4512. var t = e.touches;
  4513. var rect = me._thumbnail_menu__horScrollBg.getBoundingClientRect();
  4514. var diffX = me._thumbnail_menu.ggScrollWidth;
  4515. if ((t[0].clientX - rect.left) < me._thumbnail_menu.ggScrollPosX) {
  4516. diffX = diffX * -1;
  4517. }
  4518. me._thumbnail_menu.ggScrollByXSmooth(diffX);
  4519. }
  4520. el.addEventListener('wheel', function(e) {
  4521. var wheelDelta = Math.sign(e.deltaX);
  4522. me._thumbnail_menu.ggScrollByXSmooth(20 * wheelDelta);
  4523. });
  4524. elCornerBg = me._thumbnail_menu__cornerBg = document.createElement('div');
  4525. el.appendChild(elCornerBg);
  4526. elCornerBg.setAttribute('style', 'position: absolute; right: 0px; bottom: 0px; visibility: hidden; width: 15px; height: 15px; background-color: rgba(255,255,255,1);');
  4527. elCornerBg.className='ggskin ggskin_scrollarea_scrollcorner';
  4528. el.ggId="thumbnail_menu";
  4529. el.ggDx=0;
  4530. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  4531. el.ggVisible=false;
  4532. el.className="ggskin ggskin_scrollarea ";
  4533. el.ggType='scrollarea';
  4534. hs ='';
  4535. hs+='border : 1px solid rgba(0, 0, 0, 0);';
  4536. hs+='bottom : 65px;';
  4537. hs+='height : 85px;';
  4538. hs+='left : -10000px;';
  4539. hs+='opacity : 0;';
  4540. hs+='overflow : hidden;';
  4541. hs+='position : absolute;';
  4542. hs+='visibility : hidden;';
  4543. hs+='width : 80%;';
  4544. hs+='pointer-events:none;';
  4545. el.setAttribute('style',hs);
  4546. el.style[domTransform + 'Origin']='50% 50%';
  4547. me._thumbnail_menu.ggIsActive=function() {
  4548. return false;
  4549. }
  4550. el.ggElementNodeId=function() {
  4551. return player.getCurrentNode();
  4552. }
  4553. me._thumbnail_menu.logicBlock_position = function() {
  4554. var newLogicStatePosition;
  4555. if (
  4556. (player.getVariableValue('vis_website') == true) ||
  4557. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  4558. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  4559. (player.getVariableValue('vis_video_popup_url') == true) ||
  4560. (player.getVariableValue('vis_video_popup_file') == true) ||
  4561. (player.getVariableValue('vis_info_popup') == true) ||
  4562. (player.getVariableValue('vis_image_popup') == true) ||
  4563. (player.getVariableValue('vis_userdata') == true)
  4564. )
  4565. {
  4566. newLogicStatePosition = 0;
  4567. }
  4568. else if (
  4569. (player.getIsMobile() == true)
  4570. )
  4571. {
  4572. newLogicStatePosition = 1;
  4573. }
  4574. else {
  4575. newLogicStatePosition = -1;
  4576. }
  4577. if (me._thumbnail_menu.ggCurrentLogicStatePosition != newLogicStatePosition) {
  4578. me._thumbnail_menu.ggCurrentLogicStatePosition = newLogicStatePosition;
  4579. me._thumbnail_menu.style[domTransition]='left 0s, bottom 0s, opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  4580. if (me._thumbnail_menu.ggCurrentLogicStatePosition == 0) {
  4581. this.ggDx = 0;
  4582. me._thumbnail_menu.style.bottom='-100px';
  4583. me._thumbnail_menu.ggUpdatePosition(true);
  4584. }
  4585. else if (me._thumbnail_menu.ggCurrentLogicStatePosition == 1) {
  4586. this.ggDx = 0;
  4587. me._thumbnail_menu.style.bottom='80px';
  4588. me._thumbnail_menu.ggUpdatePosition(true);
  4589. }
  4590. else {
  4591. me._thumbnail_menu.ggDx=0;
  4592. me._thumbnail_menu.style.bottom='65px';
  4593. me._thumbnail_menu.ggUpdatePosition(true);
  4594. }
  4595. }
  4596. }
  4597. me._thumbnail_menu.logicBlock_visible = function() {
  4598. var newLogicStateVisible;
  4599. if (
  4600. (player.getVariableValue('opt_thumbnail') == true) &&
  4601. (player.getIsTour() == true) &&
  4602. (player.getViewerSize().width > 450)
  4603. )
  4604. {
  4605. newLogicStateVisible = 0;
  4606. }
  4607. else {
  4608. newLogicStateVisible = -1;
  4609. }
  4610. if (me._thumbnail_menu.ggCurrentLogicStateVisible != newLogicStateVisible) {
  4611. me._thumbnail_menu.ggCurrentLogicStateVisible = newLogicStateVisible;
  4612. me._thumbnail_menu.style[domTransition]='left 0s, bottom 0s, opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  4613. if (me._thumbnail_menu.ggCurrentLogicStateVisible == 0) {
  4614. me._thumbnail_menu.style.visibility=(Number(me._thumbnail_menu.style.opacity)>0||!me._thumbnail_menu.style.opacity)?'inherit':'hidden';
  4615. me._thumbnail_menu.ggVisible=true;
  4616. }
  4617. else {
  4618. me._thumbnail_menu.style.visibility="hidden";
  4619. me._thumbnail_menu.ggVisible=false;
  4620. }
  4621. }
  4622. }
  4623. me._thumbnail_menu.logicBlock_alpha = function() {
  4624. var newLogicStateAlpha;
  4625. if (
  4626. (player.getVariableValue('vis_thumbnail_menu_show') == true) &&
  4627. (player.getVariableValue('vis_thumbnail_menu_auto_hide') == true) &&
  4628. (player.getVariableValue('vis_timer') == true) &&
  4629. (player.getViewerSize().width > 450)
  4630. )
  4631. {
  4632. newLogicStateAlpha = 0;
  4633. }
  4634. else {
  4635. newLogicStateAlpha = -1;
  4636. }
  4637. if (me._thumbnail_menu.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  4638. me._thumbnail_menu.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  4639. me._thumbnail_menu.style[domTransition]='left 0s, bottom 0s, opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  4640. if (me._thumbnail_menu.ggCurrentLogicStateAlpha == 0) {
  4641. me._thumbnail_menu.style.visibility=me._thumbnail_menu.ggVisible?'inherit':'hidden';
  4642. me._thumbnail_menu.style.opacity=1;
  4643. }
  4644. else {
  4645. me._thumbnail_menu.style.visibility="hidden";
  4646. me._thumbnail_menu.style.opacity=0;
  4647. }
  4648. }
  4649. }
  4650. me._thumbnail_menu.ggUpdatePosition=function (useTransition) {
  4651. if (useTransition==='undefined') {
  4652. useTransition = false;
  4653. }
  4654. if (!useTransition) {
  4655. this.style[domTransition]='none';
  4656. }
  4657. if (this.parentNode) {
  4658. var pw=this.parentNode.clientWidth;
  4659. var w=this.offsetWidth;
  4660. this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px';
  4661. }
  4662. {
  4663. this.ggContent.style.left = '0px';
  4664. this.ggContent.style.top = '0px';
  4665. this.ggContentLeftOffset = 0;
  4666. this.ggContentTopOffset = 0;
  4667. var domRectContent = this.ggContent.getBoundingClientRect();
  4668. var minX = 0;
  4669. var minY = 0;
  4670. var maxX = 0;
  4671. var maxY = 0;
  4672. var stack=[];
  4673. stack.push(this.ggContent);
  4674. while(stack.length>0) {
  4675. var e=stack.pop();
  4676. if (e.getBoundingClientRect) {
  4677. var domRectChild = e.getBoundingClientRect();
  4678. var diffX = domRectChild.left - domRectContent.left;
  4679. minX = Math.min(minX, diffX);
  4680. maxX = Math.max(maxX, diffX + domRectChild.width);
  4681. var diffY = domRectChild.top - domRectContent.top;
  4682. minY = Math.min(minY, diffY);
  4683. maxY = Math.max(maxY, diffY + domRectChild.height);
  4684. }
  4685. if (e.hasChildNodes()) {
  4686. for(var i=0;i<e.childNodes.length;i++) {
  4687. stack.push(e.childNodes[i]);
  4688. }
  4689. }
  4690. }
  4691. if (minX < 0) this.ggContentLeftOffset = -minX;
  4692. if (minY < 0) this.ggContentTopOffset = -minY;
  4693. var contentWidth = maxX - minX;
  4694. var contentHeight = maxY - minY;
  4695. this.ggContent.style.left = this.ggContentLeftOffset + 'px';
  4696. this.ggContent.style.top = this.ggContentTopOffset + 'px';
  4697. var containerWidth = this.clientWidth;
  4698. if (contentWidth < containerWidth) {
  4699. this.ggContent.style.left = '50%';
  4700. this.ggContent.style.marginLeft = (contentWidth/-2) + 'px';
  4701. }
  4702. else {
  4703. this.ggContent.style.left = this.ggContentLeftOffset + 'px';
  4704. this.ggContent.style.marginLeft = '0px';
  4705. }
  4706. var containerHeight = this.clientHeight;
  4707. if (contentHeight < containerHeight) {
  4708. this.ggContent.style.top = '50%';
  4709. this.ggContent.style.marginTop = (contentHeight/-2) + 'px';
  4710. }
  4711. else {
  4712. this.ggContent.style.top = this.ggContentTopOffset + 'px';
  4713. this.ggContent.style.marginTop = '0px';
  4714. }
  4715. if (contentWidth > this.clientWidth) {
  4716. me._thumbnail_menu__horScrollBg.style.visibility = 'inherit';
  4717. me._thumbnail_menu__horScrollFg.style.visibility = 'inherit';
  4718. me._thumbnail_menu.ggHorScrollVisible = true;
  4719. } else {
  4720. me._thumbnail_menu__horScrollBg.style.visibility = 'hidden';
  4721. me._thumbnail_menu__horScrollFg.style.visibility = 'hidden';
  4722. me._thumbnail_menu.ggHorScrollVisible = false;
  4723. }
  4724. if(me._thumbnail_menu.ggHorScrollVisible) {
  4725. if (me._thumbnail_menu.ggVertScrollVisible) {
  4726. me._thumbnail_menu.ggAvailableWidth = me._thumbnail_menu.clientWidth - 15;
  4727. } else {
  4728. me._thumbnail_menu.ggAvailableWidth = me._thumbnail_menu.clientWidth;
  4729. }
  4730. me._thumbnail_menu__horScrollBg.style.width = me._thumbnail_menu.ggAvailableWidth + 'px';
  4731. me._thumbnail_menu.ggHPercentVisible = me._thumbnail_menu.ggAvailableWidth / contentWidth;
  4732. if (me._thumbnail_menu.ggHPercentVisible > 1.0) me._thumbnail_menu.ggHPercentVisible = 1.0;
  4733. me._thumbnail_menu.ggScrollWidth = Math.round(me._thumbnail_menu__horScrollBg.clientWidth * me._thumbnail_menu.ggHPercentVisible);
  4734. me._thumbnail_menu__horScrollFg.style.width = me._thumbnail_menu.ggScrollWidth + 'px';
  4735. me._thumbnail_menu.ggScrollPosX = me._thumbnail_menu.ggScrollPosXPercent * me._thumbnail_menu.ggAvailableWidth;
  4736. me._thumbnail_menu.ggScrollPosX = Math.min(me._thumbnail_menu.ggScrollPosX, me._thumbnail_menu__horScrollBg.clientWidth - me._thumbnail_menu__horScrollFg.clientWidth);
  4737. me._thumbnail_menu__horScrollFg.style.left = me._thumbnail_menu.ggScrollPosX + 'px';
  4738. me._thumbnail_menu__content.style.left = -(Math.round(me._thumbnail_menu.ggScrollPosX / me._thumbnail_menu.ggHPercentVisible)) + this.ggContentLeftOffset + 'px';
  4739. } else {
  4740. me._thumbnail_menu.ggScrollPosX = 0;
  4741. me._thumbnail_menu.ggScrollPosXPercent = 0.0;
  4742. }
  4743. }
  4744. }
  4745. el=me._thumbnail_cloner=document.createElement('div');
  4746. el.ggNumRepeat = 1;
  4747. el.ggWidth = 96;
  4748. el.ggHeight = 62;
  4749. el.ggUpdating = false;
  4750. el.ggFilter = [];
  4751. el.ggInstances = [];
  4752. me._thumbnail_cloner.callChildLogicBlocks_changenodeid = function(){
  4753. if(me._thumbnail_cloner.ggInstances) {
  4754. var i;
  4755. for(i = 0; i < me._thumbnail_cloner.ggInstances.length; i++) {
  4756. if (me._thumbnail_cloner.ggInstances[i]._checkmark_tick && me._thumbnail_cloner.ggInstances[i]._checkmark_tick.logicBlock_visible) {
  4757. me._thumbnail_cloner.ggInstances[i]._checkmark_tick.logicBlock_visible();
  4758. }
  4759. if (me._thumbnail_cloner.ggInstances[i]._thumbnail_title && me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha) {
  4760. me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha();
  4761. }
  4762. }
  4763. }
  4764. }
  4765. me._thumbnail_cloner.callChildLogicBlocks_mouseover = function(){
  4766. if(me._thumbnail_cloner.ggInstances) {
  4767. var i;
  4768. for(i = 0; i < me._thumbnail_cloner.ggInstances.length; i++) {
  4769. if (me._thumbnail_cloner.ggInstances[i]._thumbnail_active && me._thumbnail_cloner.ggInstances[i]._thumbnail_active.logicBlock_bordercolor) {
  4770. me._thumbnail_cloner.ggInstances[i]._thumbnail_active.logicBlock_bordercolor();
  4771. }
  4772. }
  4773. }
  4774. }
  4775. me._thumbnail_cloner.callChildLogicBlocks_mouseover = function(){
  4776. if(me._thumbnail_cloner.ggInstances) {
  4777. var i;
  4778. for(i = 0; i < me._thumbnail_cloner.ggInstances.length; i++) {
  4779. if (me._thumbnail_cloner.ggInstances[i]._thumbnail_title && me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha) {
  4780. me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha();
  4781. }
  4782. }
  4783. }
  4784. }
  4785. me._thumbnail_cloner.callChildLogicBlocks_active = function(){
  4786. if(me._thumbnail_cloner.ggInstances) {
  4787. var i;
  4788. for(i = 0; i < me._thumbnail_cloner.ggInstances.length; i++) {
  4789. if (me._thumbnail_cloner.ggInstances[i]._checkmark_tick && me._thumbnail_cloner.ggInstances[i]._checkmark_tick.logicBlock_visible) {
  4790. me._thumbnail_cloner.ggInstances[i]._checkmark_tick.logicBlock_visible();
  4791. }
  4792. if (me._thumbnail_cloner.ggInstances[i]._thumbnail_active && me._thumbnail_cloner.ggInstances[i]._thumbnail_active.logicBlock_bordercolor) {
  4793. me._thumbnail_cloner.ggInstances[i]._thumbnail_active.logicBlock_bordercolor();
  4794. }
  4795. }
  4796. }
  4797. }
  4798. me._thumbnail_cloner.callChildLogicBlocks_varchanged_opt_thumbnail_tooltip = function(){
  4799. if(me._thumbnail_cloner.ggInstances) {
  4800. var i;
  4801. for(i = 0; i < me._thumbnail_cloner.ggInstances.length; i++) {
  4802. if (me._thumbnail_cloner.ggInstances[i]._thumbnail_title && me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha) {
  4803. me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha();
  4804. }
  4805. }
  4806. }
  4807. }
  4808. el.ggUpdate = function(filter) {
  4809. if(me._thumbnail_cloner.ggUpdating == true) return;
  4810. me._thumbnail_cloner.ggUpdating = true;
  4811. var el=me._thumbnail_cloner;
  4812. el.ggInstances = [];
  4813. if (typeof filter=='object') {
  4814. el.ggFilter = filter;
  4815. } else {
  4816. filter = el.ggFilter;
  4817. };
  4818. if (me.ggTag) filter.push(me.ggTag);
  4819. el.ggCurrentFilter = filter;
  4820. if (el.hasChildNodes() == true) {
  4821. while (el.firstChild) {
  4822. el.removeChild(el.firstChild);
  4823. }
  4824. }
  4825. var tourNodes = player.getNodeIds();
  4826. var row = 0;
  4827. var column = 0;
  4828. var numRows = el.ggNumRepeat;
  4829. if (numRows < 1) numRows = 1;
  4830. for (var i=0; i < tourNodes.length; i++) {
  4831. var nodeId = tourNodes[i];
  4832. var passed = true;
  4833. if (filter.length > 0) {
  4834. var nodeData = player.getNodeUserdata(nodeId);
  4835. for (var j=0; j < filter.length; j++) {
  4836. if (nodeData['tags'].indexOf(filter[j]) == -1) passed = false;
  4837. }
  4838. }
  4839. if (passed) {
  4840. var parameter={};
  4841. parameter.top=(row * me._thumbnail_cloner.ggHeight) + 'px';
  4842. parameter.left=(column * me._thumbnail_cloner.ggWidth) + 'px';
  4843. var inst = new SkinCloner_thumbnail_cloner_Class(nodeId, me, el, parameter);
  4844. el.ggInstances.push(inst);
  4845. el.appendChild(inst.__div);
  4846. inst.__div.ggObj=inst;
  4847. skin.updateSize(inst.__div);
  4848. row++;
  4849. if (row >= numRows) {
  4850. row = 0;
  4851. column++;
  4852. }
  4853. }
  4854. }
  4855. me._thumbnail_cloner.callChildLogicBlocks_changenodeid();
  4856. me._thumbnail_cloner.callChildLogicBlocks_mouseover();
  4857. me._thumbnail_cloner.callChildLogicBlocks_mouseover();
  4858. me._thumbnail_cloner.callChildLogicBlocks_active();
  4859. me._thumbnail_cloner.callChildLogicBlocks_varchanged_opt_thumbnail_tooltip();
  4860. me._thumbnail_cloner.ggUpdating = false;
  4861. player.triggerEvent('clonerchanged');
  4862. }
  4863. el.ggFilter = [];
  4864. el.ggId="thumbnail_cloner";
  4865. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  4866. el.ggVisible=true;
  4867. el.className="ggskin ggskin_cloner ";
  4868. el.ggType='cloner';
  4869. hs ='';
  4870. hs+='height : 62px;';
  4871. hs+='left : 2px;';
  4872. hs+='overflow : visible;';
  4873. hs+='position : absolute;';
  4874. hs+='top : 2px;';
  4875. hs+='visibility : inherit;';
  4876. hs+='width : 96px;';
  4877. hs+='pointer-events:none;';
  4878. el.setAttribute('style',hs);
  4879. el.style[domTransform + 'Origin']='50% 50%';
  4880. me._thumbnail_cloner.ggIsActive=function() {
  4881. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  4882. return this.parentNode.ggIsActive();
  4883. }
  4884. return false;
  4885. }
  4886. el.ggElementNodeId=function() {
  4887. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  4888. return this.parentNode.ggElementNodeId();
  4889. }
  4890. return player.getCurrentNode();
  4891. }
  4892. me._thumbnail_cloner.onmouseover=function (e) {
  4893. me.elementMouseOver['thumbnail_cloner']=true;
  4894. }
  4895. me._thumbnail_cloner.onmouseout=function (e) {
  4896. me.elementMouseOver['thumbnail_cloner']=false;
  4897. }
  4898. me._thumbnail_cloner.ontouchend=function (e) {
  4899. me.elementMouseOver['thumbnail_cloner']=false;
  4900. }
  4901. me._thumbnail_cloner.ggUpdateConditionNodeChange=function () {
  4902. var cnode=player.getCurrentNode();
  4903. for(var i=0; i<me._thumbnail_cloner.childNodes.length; i++) {
  4904. var child=me._thumbnail_cloner.childNodes[i];
  4905. if (child.ggObj && child.ggObj.ggNodeId==cnode) {
  4906. var childOffX = child.offsetLeft;
  4907. var childOffY = child.offsetTop;
  4908. var p = child.parentElement;
  4909. while (p != null && p!==this.divSkin) {
  4910. if (p.ggType && p.ggType == 'scrollarea') {
  4911. p.ggScrollIntoView(childOffX, childOffY, child.clientWidth, child.clientHeight);
  4912. }
  4913. childOffX += p.offsetLeft;
  4914. childOffY += p.offsetTop;
  4915. p = p.parentElement;
  4916. }
  4917. }
  4918. }
  4919. }
  4920. me._thumbnail_cloner.ggUpdatePosition=function (useTransition) {
  4921. var w=player.getViewerSize().width;
  4922. var h=player.getViewerSize().height
  4923. if ((!me._thumbnail_cloner.ggLastSize) || (me._thumbnail_cloner.ggLastSize.w!=w) || (me._thumbnail_cloner.ggLastSize.h!=h)) {
  4924. me._thumbnail_cloner.ggLastSize={ w:w, h:h };
  4925. me._thumbnail_cloner.ggUpdate();
  4926. }
  4927. }
  4928. me._thumbnail_cloner.ggNodeChange=function () {
  4929. me._thumbnail_cloner.ggUpdateConditionNodeChange();
  4930. }
  4931. me._thumbnail_menu__content.appendChild(me._thumbnail_cloner);
  4932. me.divSkin.appendChild(me._thumbnail_menu);
  4933. el=me._thumbnail_menu_mobile=document.createElement('div');
  4934. els=me._thumbnail_menu_mobile__content=document.createElement('div');
  4935. el.ggContent=els;
  4936. el.appendChild(els);
  4937. el.ggHorScrollVisible = false;
  4938. el.ggVertScrollVisible = false;
  4939. el.ggContentLeftOffset = 0;
  4940. el.ggContentTopOffset = 0;
  4941. hs ='';
  4942. hs+='height : 76.764px;';
  4943. hs+='left : 50%;';
  4944. hs+='margin-left : -59.49px;';
  4945. hs+='overflow : visible;';
  4946. hs+='position : absolute;';
  4947. hs+='top : 0px;';
  4948. hs+='width : 118.98px;';
  4949. hs+="";
  4950. els.setAttribute('style',hs);
  4951. me._thumbnail_menu_mobile.ggScrollByX = function(diffX) {
  4952. if(!me._thumbnail_menu_mobile.ggHorScrollVisible || diffX == 0) return;
  4953. me._thumbnail_menu_mobile.ggScrollPosX = (me._thumbnail_menu_mobile__horScrollFg.offsetLeft + diffX);
  4954. me._thumbnail_menu_mobile.ggScrollPosX = Math.max(me._thumbnail_menu_mobile.ggScrollPosX, 0);
  4955. me._thumbnail_menu_mobile.ggScrollPosX = Math.min(me._thumbnail_menu_mobile.ggScrollPosX, me._thumbnail_menu_mobile__horScrollBg.clientWidth - me._thumbnail_menu_mobile__horScrollFg.clientWidth);
  4956. me._thumbnail_menu_mobile__horScrollFg.style.left = me._thumbnail_menu_mobile.ggScrollPosX + 'px';
  4957. me._thumbnail_menu_mobile__content.style.left = -(Math.round(me._thumbnail_menu_mobile.ggScrollPosX / me._thumbnail_menu_mobile.ggHPercentVisible)) + me._thumbnail_menu_mobile.ggContentLeftOffset + 'px';
  4958. me._thumbnail_menu_mobile.ggScrollPosXPercent = (me._thumbnail_menu_mobile__horScrollFg.offsetLeft / me._thumbnail_menu_mobile__horScrollBg.clientWidth);
  4959. }
  4960. me._thumbnail_menu_mobile.ggScrollByXSmooth = function(diffX) {
  4961. if(!me._thumbnail_menu_mobile.ggHorScrollVisible || diffX == 0) return;
  4962. var scrollPerInterval = diffX / 25;
  4963. var scrollCurrX = 0;
  4964. var id = setInterval(function() {
  4965. scrollCurrX += scrollPerInterval;
  4966. me._thumbnail_menu_mobile.ggScrollPosX += scrollPerInterval;
  4967. if (diffX > 0 && (scrollCurrX >= diffX || me._thumbnail_menu_mobile.ggScrollPosX >= me._thumbnail_menu_mobile__horScrollBg.clientWidth - me._thumbnail_menu_mobile__horScrollFg.clientWidth)) {
  4968. me._thumbnail_menu_mobile.ggScrollPosX = Math.min(me._thumbnail_menu_mobile.ggScrollPosX, me._thumbnail_menu_mobile__horScrollBg.clientWidth - me._thumbnail_menu_mobile__horScrollFg.clientWidth);
  4969. clearInterval(id);
  4970. }
  4971. if (diffX < 0 && (scrollCurrX <= diffX || me._thumbnail_menu_mobile.ggScrollPosX <= 0)) {
  4972. me._thumbnail_menu_mobile.ggScrollPosX = Math.max(me._thumbnail_menu_mobile.ggScrollPosX, 0);
  4973. clearInterval(id);
  4974. }
  4975. me._thumbnail_menu_mobile__horScrollFg.style.left = me._thumbnail_menu_mobile.ggScrollPosX + 'px';
  4976. me._thumbnail_menu_mobile__content.style.left = -(Math.round(me._thumbnail_menu_mobile.ggScrollPosX / me._thumbnail_menu_mobile.ggHPercentVisible)) + me._thumbnail_menu_mobile.ggContentLeftOffset + 'px';
  4977. me._thumbnail_menu_mobile.ggScrollPosXPercent = (me._thumbnail_menu_mobile__horScrollFg.offsetLeft / me._thumbnail_menu_mobile__horScrollBg.clientWidth);
  4978. }, 10);
  4979. }
  4980. me._thumbnail_menu_mobile.ggScrollByY = function(diffY) {
  4981. if(!me._thumbnail_menu_mobile.ggVertScrollVisible || diffY == 0) return;
  4982. me._thumbnail_menu_mobile.ggScrollPosY = (me._thumbnail_menu_mobile__vertScrollFg.offsetTop + diffY);
  4983. me._thumbnail_menu_mobile.ggScrollPosY = Math.max(me._thumbnail_menu_mobile.ggScrollPosY, 0);
  4984. me._thumbnail_menu_mobile.ggScrollPosY = Math.min(me._thumbnail_menu_mobile.ggScrollPosY, me._thumbnail_menu_mobile__vertScrollBg.clientHeight - me._thumbnail_menu_mobile__vertScrollFg.clientHeight);
  4985. me._thumbnail_menu_mobile__vertScrollFg.style.top = me._thumbnail_menu_mobile.ggScrollPosY + 'px';
  4986. me._thumbnail_menu_mobile__content.style.top = -(Math.round(me._thumbnail_menu_mobile.ggScrollPosY / me._thumbnail_menu_mobile.ggVPercentVisible)) + me._thumbnail_menu_mobile.ggContentTopOffset + 'px';
  4987. me._thumbnail_menu_mobile.ggScrollPosYPercent = (me._thumbnail_menu_mobile__vertScrollFg.offsetTop / me._thumbnail_menu_mobile__vertScrollBg.clientHeight);
  4988. }
  4989. me._thumbnail_menu_mobile.ggScrollByYSmooth = function(diffY) {
  4990. if(!me._thumbnail_menu_mobile.ggVertScrollVisible || diffY == 0) return;
  4991. var scrollPerInterval = diffY / 25;
  4992. var scrollCurrY = 0;
  4993. var id = setInterval(function() {
  4994. scrollCurrY += scrollPerInterval;
  4995. me._thumbnail_menu_mobile.ggScrollPosY += scrollPerInterval;
  4996. if (diffY > 0 && (scrollCurrY >= diffY || me._thumbnail_menu_mobile.ggScrollPosY >= me._thumbnail_menu_mobile__vertScrollBg.clientHeight - me._thumbnail_menu_mobile__vertScrollFg.clientHeight)) {
  4997. me._thumbnail_menu_mobile.ggScrollPosY = Math.min(me._thumbnail_menu_mobile.ggScrollPosY, me._thumbnail_menu_mobile__vertScrollBg.clientHeight - me._thumbnail_menu_mobile__vertScrollFg.clientHeight);
  4998. clearInterval(id);
  4999. }
  5000. if (diffY < 0 && (scrollCurrY <= diffY || me._thumbnail_menu_mobile.ggScrollPosY <= 0)) {
  5001. me._thumbnail_menu_mobile.ggScrollPosY = Math.max(me._thumbnail_menu_mobile.ggScrollPosY, 0);
  5002. clearInterval(id);
  5003. }
  5004. me._thumbnail_menu_mobile__vertScrollFg.style.top = me._thumbnail_menu_mobile.ggScrollPosY + 'px';
  5005. me._thumbnail_menu_mobile__content.style.top = -(Math.round(me._thumbnail_menu_mobile.ggScrollPosY / me._thumbnail_menu_mobile.ggVPercentVisible)) + me._thumbnail_menu_mobile.ggContentTopOffset + 'px';
  5006. me._thumbnail_menu_mobile.ggScrollPosYPercent = (me._thumbnail_menu_mobile__vertScrollFg.offsetTop / me._thumbnail_menu_mobile__vertScrollBg.clientHeight);
  5007. }, 10);
  5008. }
  5009. me._thumbnail_menu_mobile.ggScrollIntoView = function(posX, posY, width, height) {
  5010. if (me._thumbnail_menu_mobile.ggHorScrollVisible) {
  5011. if (posX < 0) {
  5012. var diffX = Math.floor(posX * me._thumbnail_menu_mobile.ggHPercentVisible);
  5013. me._thumbnail_menu_mobile.ggScrollByXSmooth(diffX);
  5014. } else if (posX + width > me._thumbnail_menu_mobile.clientWidth - (me._thumbnail_menu_mobile.ggVertScrollVisible ? 15 : 0)) {
  5015. var diffX = Math.ceil(((posX + width) - (me._thumbnail_menu_mobile.clientWidth - (me._thumbnail_menu_mobile.ggVertScrollVisible ? 15 : 0))) * me._thumbnail_menu_mobile.ggHPercentVisible);
  5016. me._thumbnail_menu_mobile.ggScrollByXSmooth(diffX);
  5017. }
  5018. }
  5019. if (me._thumbnail_menu_mobile.ggVertScrollVisible) {
  5020. if (posY < 0) {
  5021. var diffY = Math.floor(posY * me._thumbnail_menu_mobile.ggVPercentVisible);
  5022. me._thumbnail_menu_mobile.ggScrollByYSmooth(diffY);
  5023. } else if (posY + height > me._thumbnail_menu_mobile.clientHeight - (me._thumbnail_menu_mobile.ggHorScrollVisible ? 15 : 0)) {
  5024. var diffY = Math.ceil(((posY + height) - (me._thumbnail_menu_mobile.clientHeight - (me._thumbnail_menu_mobile.ggHorScrollVisible ? 15 : 0))) * me._thumbnail_menu_mobile.ggVPercentVisible);
  5025. me._thumbnail_menu_mobile.ggScrollByYSmooth(diffY);
  5026. }
  5027. }
  5028. }
  5029. els.ontouchstart = function(e) {
  5030. e = e || window.event;
  5031. var t = e.touches;
  5032. me._thumbnail_menu_mobile.ggDragLastX = t[0].clientX;
  5033. me._thumbnail_menu_mobile.ggDragLastY = t[0].clientY;
  5034. me._thumbnail_menu_mobile__content.ontouchend = function() {
  5035. me._thumbnail_menu_mobile__content.ontouchend = null;
  5036. me._thumbnail_menu_mobile__content.ontouchmove = null;
  5037. }
  5038. me._thumbnail_menu_mobile__content.ontouchmove = function(e) {
  5039. e = e || window.event;
  5040. e.preventDefault();
  5041. var t = e.touches;
  5042. var diffX = t[0].clientX - me._thumbnail_menu_mobile.ggDragLastX;
  5043. var diffY = t[0].clientY - me._thumbnail_menu_mobile.ggDragLastY;
  5044. me._thumbnail_menu_mobile.ggDragLastX = t[0].clientX;
  5045. me._thumbnail_menu_mobile.ggDragLastY = t[0].clientY;
  5046. me._thumbnail_menu_mobile.ggScrollByX(-diffX);
  5047. me._thumbnail_menu_mobile.ggScrollByY(-diffY);
  5048. }
  5049. }
  5050. elVertScrollBg = me._thumbnail_menu_mobile__vertScrollBg = document.createElement('div');
  5051. el.appendChild(elVertScrollBg);
  5052. elVertScrollBg.setAttribute('style', 'position: absolute; right: 0px; top: 0px; visibility: hidden; width: 15px; height: 280px; background-color: rgba(255,255,255,0.392157); pointer-events: auto;');
  5053. elVertScrollBg.className='ggskin ggskin_scrollarea_vscrollbg';
  5054. elVertScrollFg = me._thumbnail_menu_mobile__vertScrollFg = document.createElement('div');
  5055. elVertScrollBg.appendChild(elVertScrollFg);
  5056. elVertScrollFg.setAttribute('style', 'position: absolute; left: 0px; top: 0px; visibility: hidden; width: 15px; height: 280px; background-color: rgba(255,255,255,1); pointer-events: auto;');
  5057. elVertScrollFg.className='ggskin ggskin_scrollarea_vscrollfg';
  5058. me._thumbnail_menu_mobile.ggScrollPosY = 0;
  5059. me._thumbnail_menu_mobile.ggScrollPosYPercent = 0.0;
  5060. elVertScrollFg.onmousedown = function(e) {
  5061. e = e || window.event;
  5062. e.preventDefault();
  5063. e.stopPropagation();
  5064. me._thumbnail_menu_mobile.ggDragLastY = e.clientY;
  5065. document.onmouseup = function() {
  5066. document.onmouseup = null;
  5067. document.onmousemove = null;
  5068. }
  5069. document.onmousemove = function(e) {
  5070. e = e || window.event;
  5071. e.preventDefault();
  5072. var diffY = e.clientY - me._thumbnail_menu_mobile.ggDragLastY;
  5073. me._thumbnail_menu_mobile.ggDragLastY = e.clientY;
  5074. me._thumbnail_menu_mobile.ggScrollByY(diffY);
  5075. }
  5076. }
  5077. elVertScrollFg.ontouchstart = function(e) {
  5078. e = e || window.event;
  5079. e.preventDefault();
  5080. e.stopPropagation();
  5081. var t = e.touches;
  5082. me._thumbnail_menu_mobile.ggDragLastY = t[0].clientY;
  5083. document.ontouchend = function() {
  5084. document.ontouchend = null;
  5085. document.ontouchmove = null;
  5086. }
  5087. document.ontouchmove = function(e) {
  5088. e = e || window.event;
  5089. e.preventDefault();
  5090. var t = e.touches;
  5091. var diffY = t[0].clientY - me._thumbnail_menu_mobile.ggDragLastY;
  5092. me._thumbnail_menu_mobile.ggDragLastY = t[0].clientY;
  5093. me._thumbnail_menu_mobile.ggScrollByY(diffY);
  5094. }
  5095. }
  5096. elVertScrollBg.onmousedown = function(e) {
  5097. e = e || window.event;
  5098. e.preventDefault();
  5099. var diffY = me._thumbnail_menu_mobile.ggScrollHeight;
  5100. if (e.offsetY < me._thumbnail_menu_mobile.ggScrollPosY) {
  5101. diffY = diffY * -1;
  5102. }
  5103. me._thumbnail_menu_mobile.ggScrollByYSmooth(diffY);
  5104. }
  5105. elVertScrollBg.ontouchstart = function(e) {
  5106. e = e || window.event;
  5107. e.preventDefault();
  5108. e.stopPropagation();
  5109. var t = e.touches;
  5110. var rect = me._thumbnail_menu_mobile__vertScrollBg.getBoundingClientRect();
  5111. var diffY = me._thumbnail_menu_mobile.ggScrollHeight;
  5112. if ((t[0].clientY - rect.top) < me._thumbnail_menu_mobile.ggScrollPosY) {
  5113. diffY = diffY * -1;
  5114. }
  5115. me._thumbnail_menu_mobile.ggScrollByYSmooth(diffY);
  5116. }
  5117. el.addEventListener('wheel', function(e) {
  5118. var wheelDelta = Math.sign(e.deltaY);
  5119. me._thumbnail_menu_mobile.ggScrollByYSmooth(20 * wheelDelta);
  5120. });
  5121. elCornerBg = me._thumbnail_menu_mobile__cornerBg = document.createElement('div');
  5122. el.appendChild(elCornerBg);
  5123. elCornerBg.setAttribute('style', 'position: absolute; right: 0px; bottom: 0px; visibility: hidden; width: 15px; height: 15px; background-color: rgba(255,255,255,1);');
  5124. elCornerBg.className='ggskin ggskin_scrollarea_scrollcorner';
  5125. el.ggId="thumbnail_menu_mobile";
  5126. el.ggDx=0;
  5127. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  5128. el.ggVisible=false;
  5129. el.className="ggskin ggskin_scrollarea ";
  5130. el.ggType='scrollarea';
  5131. hs ='';
  5132. hs+='border : 1px solid rgba(0, 0, 0, 0);';
  5133. hs+='height : 80%;';
  5134. hs+='left : -10000px;';
  5135. hs+='opacity : 0;';
  5136. hs+='overflow : hidden;';
  5137. hs+='position : absolute;';
  5138. hs+='top : 10px;';
  5139. hs+='visibility : hidden;';
  5140. hs+='width : 90%;';
  5141. hs+='pointer-events:none;';
  5142. el.setAttribute('style',hs);
  5143. el.style[domTransform + 'Origin']='50% 50%';
  5144. me._thumbnail_menu_mobile.ggIsActive=function() {
  5145. return false;
  5146. }
  5147. el.ggElementNodeId=function() {
  5148. return player.getCurrentNode();
  5149. }
  5150. me._thumbnail_menu_mobile.logicBlock_position = function() {
  5151. var newLogicStatePosition;
  5152. if (
  5153. (player.getVariableValue('vis_userdata') == true)
  5154. )
  5155. {
  5156. newLogicStatePosition = 0;
  5157. }
  5158. else {
  5159. newLogicStatePosition = -1;
  5160. }
  5161. if (me._thumbnail_menu_mobile.ggCurrentLogicStatePosition != newLogicStatePosition) {
  5162. me._thumbnail_menu_mobile.ggCurrentLogicStatePosition = newLogicStatePosition;
  5163. me._thumbnail_menu_mobile.style[domTransition]='left 0s, top 0s, opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  5164. if (me._thumbnail_menu_mobile.ggCurrentLogicStatePosition == 0) {
  5165. this.ggDx = 0;
  5166. me._thumbnail_menu_mobile.style.top='1000px';
  5167. me._thumbnail_menu_mobile.ggUpdatePosition(true);
  5168. }
  5169. else {
  5170. me._thumbnail_menu_mobile.ggDx=0;
  5171. me._thumbnail_menu_mobile.style.top='10px';
  5172. me._thumbnail_menu_mobile.ggUpdatePosition(true);
  5173. }
  5174. }
  5175. }
  5176. me._thumbnail_menu_mobile.logicBlock_visible = function() {
  5177. var newLogicStateVisible;
  5178. if (
  5179. (player.getVariableValue('opt_thumbnail') == true) &&
  5180. (player.getIsTour() == true) &&
  5181. (player.getViewerSize().width <= 450)
  5182. )
  5183. {
  5184. newLogicStateVisible = 0;
  5185. }
  5186. else {
  5187. newLogicStateVisible = -1;
  5188. }
  5189. if (me._thumbnail_menu_mobile.ggCurrentLogicStateVisible != newLogicStateVisible) {
  5190. me._thumbnail_menu_mobile.ggCurrentLogicStateVisible = newLogicStateVisible;
  5191. me._thumbnail_menu_mobile.style[domTransition]='left 0s, top 0s, opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  5192. if (me._thumbnail_menu_mobile.ggCurrentLogicStateVisible == 0) {
  5193. me._thumbnail_menu_mobile.style.visibility=(Number(me._thumbnail_menu_mobile.style.opacity)>0||!me._thumbnail_menu_mobile.style.opacity)?'inherit':'hidden';
  5194. me._thumbnail_menu_mobile.ggVisible=true;
  5195. }
  5196. else {
  5197. me._thumbnail_menu_mobile.style.visibility="hidden";
  5198. me._thumbnail_menu_mobile.ggVisible=false;
  5199. }
  5200. }
  5201. }
  5202. me._thumbnail_menu_mobile.logicBlock_alpha = function() {
  5203. var newLogicStateAlpha;
  5204. if (
  5205. (player.getVariableValue('vis_thumbnail_menu_mobile') == true) &&
  5206. (player.getVariableValue('vis_thumbnail_menu_auto_hide') == true) &&
  5207. (player.getVariableValue('vis_timer') == true) &&
  5208. (player.getViewerSize().width <= 450)
  5209. )
  5210. {
  5211. newLogicStateAlpha = 0;
  5212. }
  5213. else {
  5214. newLogicStateAlpha = -1;
  5215. }
  5216. if (me._thumbnail_menu_mobile.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  5217. me._thumbnail_menu_mobile.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  5218. me._thumbnail_menu_mobile.style[domTransition]='left 0s, top 0s, opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  5219. if (me._thumbnail_menu_mobile.ggCurrentLogicStateAlpha == 0) {
  5220. me._thumbnail_menu_mobile.style.visibility=me._thumbnail_menu_mobile.ggVisible?'inherit':'hidden';
  5221. me._thumbnail_menu_mobile.style.opacity=1;
  5222. }
  5223. else {
  5224. me._thumbnail_menu_mobile.style.visibility="hidden";
  5225. me._thumbnail_menu_mobile.style.opacity=0;
  5226. }
  5227. }
  5228. }
  5229. me._thumbnail_menu_mobile.ggUpdatePosition=function (useTransition) {
  5230. if (useTransition==='undefined') {
  5231. useTransition = false;
  5232. }
  5233. if (!useTransition) {
  5234. this.style[domTransition]='none';
  5235. }
  5236. if (this.parentNode) {
  5237. var pw=this.parentNode.clientWidth;
  5238. var w=this.offsetWidth;
  5239. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  5240. }
  5241. {
  5242. this.ggContent.style.left = '0px';
  5243. this.ggContent.style.top = '0px';
  5244. this.ggContentLeftOffset = 0;
  5245. this.ggContentTopOffset = 0;
  5246. var domRectContent = this.ggContent.getBoundingClientRect();
  5247. var minX = 0;
  5248. var minY = 0;
  5249. var maxX = 0;
  5250. var maxY = 0;
  5251. var stack=[];
  5252. stack.push(this.ggContent);
  5253. while(stack.length>0) {
  5254. var e=stack.pop();
  5255. if (e.getBoundingClientRect) {
  5256. var domRectChild = e.getBoundingClientRect();
  5257. var diffX = domRectChild.left - domRectContent.left;
  5258. minX = Math.min(minX, diffX);
  5259. maxX = Math.max(maxX, diffX + domRectChild.width);
  5260. var diffY = domRectChild.top - domRectContent.top;
  5261. minY = Math.min(minY, diffY);
  5262. maxY = Math.max(maxY, diffY + domRectChild.height);
  5263. }
  5264. if (e.hasChildNodes()) {
  5265. for(var i=0;i<e.childNodes.length;i++) {
  5266. stack.push(e.childNodes[i]);
  5267. }
  5268. }
  5269. }
  5270. if (minX < 0) this.ggContentLeftOffset = -minX;
  5271. if (minY < 0) this.ggContentTopOffset = -minY;
  5272. var contentWidth = maxX - minX;
  5273. var contentHeight = maxY - minY;
  5274. this.ggContent.style.left = this.ggContentLeftOffset + 'px';
  5275. this.ggContent.style.top = this.ggContentTopOffset + 'px';
  5276. var containerWidth = this.clientWidth;
  5277. if (contentWidth < containerWidth) {
  5278. this.ggContent.style.left = '50%';
  5279. this.ggContent.style.marginLeft = (contentWidth/-2) + 'px';
  5280. }
  5281. else {
  5282. this.ggContent.style.left = this.ggContentLeftOffset + 'px';
  5283. this.ggContent.style.marginLeft = '0px';
  5284. }
  5285. this.ggContent.style.top = -(Math.round(me._thumbnail_menu_mobile.ggScrollPosY / me._thumbnail_menu_mobile.ggVPercentVisible)) + this.ggContentTopOffset + 'px';
  5286. this.ggContent.style.marginTop = '0px';
  5287. if ((me._thumbnail_menu_mobile.ggHorScrollVisible && contentHeight > this.clientHeight - 15) || (!me._thumbnail_menu_mobile.ggHorScrollVisible && contentHeight > this.clientHeight)) {
  5288. me._thumbnail_menu_mobile__vertScrollBg.style.visibility = 'inherit';
  5289. me._thumbnail_menu_mobile__vertScrollFg.style.visibility = 'inherit';
  5290. me._thumbnail_menu_mobile.ggVertScrollVisible = true;
  5291. } else {
  5292. me._thumbnail_menu_mobile__vertScrollBg.style.visibility = 'hidden';
  5293. me._thumbnail_menu_mobile__vertScrollFg.style.visibility = 'hidden';
  5294. me._thumbnail_menu_mobile.ggVertScrollVisible = false;
  5295. }
  5296. if(me._thumbnail_menu_mobile.ggVertScrollVisible) {
  5297. if (me._thumbnail_menu_mobile.ggHorScrollVisible) {
  5298. me._thumbnail_menu_mobile.ggAvailableHeight = me._thumbnail_menu_mobile.clientHeight - 15;
  5299. me._thumbnail_menu_mobile__cornerBg.style.visibility = 'inherit';
  5300. } else {
  5301. me._thumbnail_menu_mobile.ggAvailableHeight = me._thumbnail_menu_mobile.clientHeight;
  5302. me._thumbnail_menu_mobile__cornerBg.style.visibility = 'hidden';
  5303. }
  5304. me._thumbnail_menu_mobile__vertScrollBg.style.height = me._thumbnail_menu_mobile.ggAvailableHeight + 'px';
  5305. me._thumbnail_menu_mobile.ggVPercentVisible = me._thumbnail_menu_mobile.ggAvailableHeight / contentHeight;
  5306. if (me._thumbnail_menu_mobile.ggVPercentVisible > 1.0) me._thumbnail_menu_mobile.ggVPercentVisible = 1.0;
  5307. me._thumbnail_menu_mobile.ggScrollHeight = Math.round(me._thumbnail_menu_mobile__vertScrollBg.clientHeight * me._thumbnail_menu_mobile.ggVPercentVisible);
  5308. me._thumbnail_menu_mobile__vertScrollFg.style.height = me._thumbnail_menu_mobile.ggScrollHeight + 'px';
  5309. me._thumbnail_menu_mobile.ggScrollPosY = me._thumbnail_menu_mobile.ggScrollPosYPercent * me._thumbnail_menu_mobile.ggAvailableHeight;
  5310. me._thumbnail_menu_mobile.ggScrollPosY = Math.min(me._thumbnail_menu_mobile.ggScrollPosY, me._thumbnail_menu_mobile__vertScrollBg.clientHeight - me._thumbnail_menu_mobile__vertScrollFg.clientHeight);
  5311. me._thumbnail_menu_mobile__vertScrollFg.style.top = me._thumbnail_menu_mobile.ggScrollPosY + 'px';
  5312. me._thumbnail_menu_mobile__content.style.top = -(Math.round(me._thumbnail_menu_mobile.ggScrollPosY / me._thumbnail_menu_mobile.ggVPercentVisible)) + this.ggContentTopOffset + 'px';
  5313. } else {
  5314. me._thumbnail_menu_mobile.ggScrollPosY = 0;
  5315. me._thumbnail_menu_mobile.ggScrollPosYPercent = 0.0;
  5316. me._thumbnail_menu_mobile__content.style.top = this.ggContentTopOffset + 'px';
  5317. me._thumbnail_menu_mobile__cornerBg.style.visibility = 'hidden';
  5318. }
  5319. }
  5320. }
  5321. el=me._thumbnail_cloner_mobile=document.createElement('div');
  5322. el.ggNumRepeat = 100;
  5323. el.ggWidth = 96;
  5324. el.ggHeight = 62;
  5325. el.ggUpdating = false;
  5326. el.ggFilter = [];
  5327. el.ggInstances = [];
  5328. me._thumbnail_cloner_mobile.callChildLogicBlocks_changenodeid = function(){
  5329. if(me._thumbnail_cloner_mobile.ggInstances) {
  5330. var i;
  5331. for(i = 0; i < me._thumbnail_cloner_mobile.ggInstances.length; i++) {
  5332. if (me._thumbnail_cloner_mobile.ggInstances[i]._checkmark_tick_mobile && me._thumbnail_cloner_mobile.ggInstances[i]._checkmark_tick_mobile.logicBlock_visible) {
  5333. me._thumbnail_cloner_mobile.ggInstances[i]._checkmark_tick_mobile.logicBlock_visible();
  5334. }
  5335. if (me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_title_mobile && me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_title_mobile.logicBlock_alpha) {
  5336. me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_title_mobile.logicBlock_alpha();
  5337. }
  5338. }
  5339. }
  5340. }
  5341. me._thumbnail_cloner_mobile.callChildLogicBlocks_mouseover = function(){
  5342. if(me._thumbnail_cloner_mobile.ggInstances) {
  5343. var i;
  5344. for(i = 0; i < me._thumbnail_cloner_mobile.ggInstances.length; i++) {
  5345. if (me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_active_mobile && me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_active_mobile.logicBlock_bordercolor) {
  5346. me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_active_mobile.logicBlock_bordercolor();
  5347. }
  5348. }
  5349. }
  5350. }
  5351. me._thumbnail_cloner_mobile.callChildLogicBlocks_mouseover = function(){
  5352. if(me._thumbnail_cloner_mobile.ggInstances) {
  5353. var i;
  5354. for(i = 0; i < me._thumbnail_cloner_mobile.ggInstances.length; i++) {
  5355. if (me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_title_mobile && me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_title_mobile.logicBlock_alpha) {
  5356. me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_title_mobile.logicBlock_alpha();
  5357. }
  5358. }
  5359. }
  5360. }
  5361. me._thumbnail_cloner_mobile.callChildLogicBlocks_active = function(){
  5362. if(me._thumbnail_cloner_mobile.ggInstances) {
  5363. var i;
  5364. for(i = 0; i < me._thumbnail_cloner_mobile.ggInstances.length; i++) {
  5365. if (me._thumbnail_cloner_mobile.ggInstances[i]._checkmark_tick_mobile && me._thumbnail_cloner_mobile.ggInstances[i]._checkmark_tick_mobile.logicBlock_visible) {
  5366. me._thumbnail_cloner_mobile.ggInstances[i]._checkmark_tick_mobile.logicBlock_visible();
  5367. }
  5368. if (me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_active_mobile && me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_active_mobile.logicBlock_bordercolor) {
  5369. me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_active_mobile.logicBlock_bordercolor();
  5370. }
  5371. }
  5372. }
  5373. }
  5374. me._thumbnail_cloner_mobile.callChildLogicBlocks_varchanged_opt_thumbnail_tooltip = function(){
  5375. if(me._thumbnail_cloner_mobile.ggInstances) {
  5376. var i;
  5377. for(i = 0; i < me._thumbnail_cloner_mobile.ggInstances.length; i++) {
  5378. if (me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_title_mobile && me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_title_mobile.logicBlock_alpha) {
  5379. me._thumbnail_cloner_mobile.ggInstances[i]._thumbnail_title_mobile.logicBlock_alpha();
  5380. }
  5381. }
  5382. }
  5383. }
  5384. el.ggUpdate = function(filter) {
  5385. if(me._thumbnail_cloner_mobile.ggUpdating == true) return;
  5386. me._thumbnail_cloner_mobile.ggUpdating = true;
  5387. var el=me._thumbnail_cloner_mobile;
  5388. el.ggInstances = [];
  5389. if (typeof filter=='object') {
  5390. el.ggFilter = filter;
  5391. } else {
  5392. filter = el.ggFilter;
  5393. };
  5394. if (me.ggTag) filter.push(me.ggTag);
  5395. el.ggCurrentFilter = filter;
  5396. if (el.hasChildNodes() == true) {
  5397. while (el.firstChild) {
  5398. el.removeChild(el.firstChild);
  5399. }
  5400. }
  5401. var tourNodes = player.getNodeIds();
  5402. var row = 0;
  5403. var column = 0;
  5404. var parentWidth = me._thumbnail_cloner_mobile.parentNode.clientWidth;
  5405. if (parentWidth == 0) parentWidth = me._thumbnail_cloner_mobile.parentNode.parentNode.clientWidth;
  5406. var numCols = Math.floor((parentWidth * me._thumbnail_cloner_mobile.ggNumRepeat / 100.0) / me._thumbnail_cloner_mobile.offsetWidth);
  5407. if (numCols < 1) numCols = 1;
  5408. for (var i=0; i < tourNodes.length; i++) {
  5409. var nodeId = tourNodes[i];
  5410. var passed = true;
  5411. if (filter.length > 0) {
  5412. var nodeData = player.getNodeUserdata(nodeId);
  5413. for (var j=0; j < filter.length; j++) {
  5414. if (nodeData['tags'].indexOf(filter[j]) == -1) passed = false;
  5415. }
  5416. }
  5417. if (passed) {
  5418. var parameter={};
  5419. parameter.top=(row * me._thumbnail_cloner_mobile.ggHeight) + 'px';
  5420. parameter.left=(column * me._thumbnail_cloner_mobile.ggWidth) + 'px';
  5421. var inst = new SkinCloner_thumbnail_cloner_mobile_Class(nodeId, me, el, parameter);
  5422. el.ggInstances.push(inst);
  5423. el.appendChild(inst.__div);
  5424. inst.__div.ggObj=inst;
  5425. skin.updateSize(inst.__div);
  5426. column++;
  5427. if (column >= numCols) {
  5428. column = 0;
  5429. row++;
  5430. }
  5431. }
  5432. }
  5433. me._thumbnail_cloner_mobile.callChildLogicBlocks_changenodeid();
  5434. me._thumbnail_cloner_mobile.callChildLogicBlocks_mouseover();
  5435. me._thumbnail_cloner_mobile.callChildLogicBlocks_mouseover();
  5436. me._thumbnail_cloner_mobile.callChildLogicBlocks_active();
  5437. me._thumbnail_cloner_mobile.callChildLogicBlocks_varchanged_opt_thumbnail_tooltip();
  5438. me._thumbnail_cloner_mobile.ggUpdating = false;
  5439. player.triggerEvent('clonerchanged');
  5440. }
  5441. el.ggFilter = [];
  5442. el.ggId="thumbnail_cloner_mobile";
  5443. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  5444. el.ggVisible=true;
  5445. el.className="ggskin ggskin_cloner ";
  5446. el.ggType='cloner';
  5447. hs ='';
  5448. hs+='height : 62px;';
  5449. hs+='left : 1.98px;';
  5450. hs+='overflow : visible;';
  5451. hs+='position : absolute;';
  5452. hs+='top : 1.764px;';
  5453. hs+='visibility : inherit;';
  5454. hs+='width : 96px;';
  5455. hs+='pointer-events:none;';
  5456. el.setAttribute('style',hs);
  5457. el.style[domTransform + 'Origin']='50% 50%';
  5458. me._thumbnail_cloner_mobile.ggIsActive=function() {
  5459. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  5460. return this.parentNode.ggIsActive();
  5461. }
  5462. return false;
  5463. }
  5464. el.ggElementNodeId=function() {
  5465. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  5466. return this.parentNode.ggElementNodeId();
  5467. }
  5468. return player.getCurrentNode();
  5469. }
  5470. me._thumbnail_cloner_mobile.onmouseover=function (e) {
  5471. me.elementMouseOver['thumbnail_cloner_mobile']=true;
  5472. }
  5473. me._thumbnail_cloner_mobile.onmouseout=function (e) {
  5474. me.elementMouseOver['thumbnail_cloner_mobile']=false;
  5475. }
  5476. me._thumbnail_cloner_mobile.ontouchend=function (e) {
  5477. me.elementMouseOver['thumbnail_cloner_mobile']=false;
  5478. }
  5479. me._thumbnail_cloner_mobile.ggUpdateConditionNodeChange=function () {
  5480. var cnode=player.getCurrentNode();
  5481. for(var i=0; i<me._thumbnail_cloner_mobile.childNodes.length; i++) {
  5482. var child=me._thumbnail_cloner_mobile.childNodes[i];
  5483. if (child.ggObj && child.ggObj.ggNodeId==cnode) {
  5484. var childOffX = child.offsetLeft;
  5485. var childOffY = child.offsetTop;
  5486. var p = child.parentElement;
  5487. while (p != null && p!==this.divSkin) {
  5488. if (p.ggType && p.ggType == 'scrollarea') {
  5489. p.ggScrollIntoView(childOffX, childOffY, child.clientWidth, child.clientHeight);
  5490. }
  5491. childOffX += p.offsetLeft;
  5492. childOffY += p.offsetTop;
  5493. p = p.parentElement;
  5494. }
  5495. }
  5496. }
  5497. }
  5498. me._thumbnail_cloner_mobile.ggUpdatePosition=function (useTransition) {
  5499. var w=player.getViewerSize().width;
  5500. var h=player.getViewerSize().height
  5501. if ((!me._thumbnail_cloner_mobile.ggLastSize) || (me._thumbnail_cloner_mobile.ggLastSize.w!=w) || (me._thumbnail_cloner_mobile.ggLastSize.h!=h)) {
  5502. me._thumbnail_cloner_mobile.ggLastSize={ w:w, h:h };
  5503. me._thumbnail_cloner_mobile.ggUpdate();
  5504. }
  5505. }
  5506. me._thumbnail_cloner_mobile.ggNodeChange=function () {
  5507. me._thumbnail_cloner_mobile.ggUpdateConditionNodeChange();
  5508. }
  5509. me._thumbnail_menu_mobile__content.appendChild(me._thumbnail_cloner_mobile);
  5510. me.divSkin.appendChild(me._thumbnail_menu_mobile);
  5511. el=me._web_page=document.createElement('div');
  5512. els=me._web_page__text=document.createElement('div');
  5513. el.className='ggskin ggskin_textdiv';
  5514. el.ggTextDiv=els;
  5515. el.ggId="web_page";
  5516. el.ggDx=0;
  5517. el.ggDy=0;
  5518. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  5519. el.ggVisible=false;
  5520. el.className="ggskin ggskin_text ";
  5521. el.ggType='text';
  5522. hs ='';
  5523. hs+='height : 90%;';
  5524. hs+='left : -10000px;';
  5525. hs+='position : absolute;';
  5526. hs+='top : -10000px;';
  5527. hs+='visibility : hidden;';
  5528. hs+='width : 90%;';
  5529. hs+='pointer-events:auto;';
  5530. el.setAttribute('style',hs);
  5531. el.style[domTransform + 'Origin']='0% 0%';
  5532. hs ='position:absolute;';
  5533. hs += 'box-sizing: border-box;';
  5534. hs+='cursor: default;';
  5535. hs+='left: 0px;';
  5536. hs+='top: 0px;';
  5537. hs+='width: 100%;';
  5538. hs+='height: 100%;';
  5539. hs+='border: 0px solid #000000;';
  5540. hs+='color: #000000;';
  5541. hs+='text-align: center;';
  5542. hs+='white-space: nowrap;';
  5543. hs+='padding: 0px 1px 0px 1px;';
  5544. hs+='overflow: hidden;';
  5545. els.setAttribute('style',hs);
  5546. els.innerHTML="";
  5547. el.appendChild(els);
  5548. me._web_page.ggIsActive=function() {
  5549. return false;
  5550. }
  5551. el.ggElementNodeId=function() {
  5552. return player.getCurrentNode();
  5553. }
  5554. me._web_page.logicBlock_visible = function() {
  5555. var newLogicStateVisible;
  5556. if (
  5557. (player.getVariableValue('vis_website') == true)
  5558. )
  5559. {
  5560. newLogicStateVisible = 0;
  5561. }
  5562. else {
  5563. newLogicStateVisible = -1;
  5564. }
  5565. if (me._web_page.ggCurrentLogicStateVisible != newLogicStateVisible) {
  5566. me._web_page.ggCurrentLogicStateVisible = newLogicStateVisible;
  5567. me._web_page.style[domTransition]='';
  5568. if (me._web_page.ggCurrentLogicStateVisible == 0) {
  5569. me._web_page.style.visibility=(Number(me._web_page.style.opacity)>0||!me._web_page.style.opacity)?'inherit':'hidden';
  5570. me._web_page.ggVisible=true;
  5571. }
  5572. else {
  5573. me._web_page.style.visibility="hidden";
  5574. me._web_page.ggVisible=false;
  5575. }
  5576. }
  5577. }
  5578. me._web_page.ggUpdatePosition=function (useTransition) {
  5579. if (useTransition==='undefined') {
  5580. useTransition = false;
  5581. }
  5582. if (!useTransition) {
  5583. this.style[domTransition]='none';
  5584. }
  5585. if (this.parentNode) {
  5586. var pw=this.parentNode.clientWidth;
  5587. var w=this.offsetWidth;
  5588. this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px';
  5589. var ph=this.parentNode.clientHeight;
  5590. var h=this.offsetHeight;
  5591. this.style.top=((this.ggDy * ph)/100.0 + ph/2 - h/2) + 'px';
  5592. }
  5593. }
  5594. me.divSkin.appendChild(me._web_page);
  5595. el=me._userdata=document.createElement('div');
  5596. el.ggId="userdata";
  5597. el.ggDx=0;
  5598. el.ggDy=0;
  5599. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  5600. el.ggVisible=false;
  5601. el.className="ggskin ggskin_container ";
  5602. el.ggType='container';
  5603. hs ='';
  5604. hs+='height : 140px;';
  5605. hs+='left : -10000px;';
  5606. hs+='position : absolute;';
  5607. hs+='top : -10000px;';
  5608. hs+='visibility : hidden;';
  5609. hs+='width : 240px;';
  5610. hs+='pointer-events:none;';
  5611. el.setAttribute('style',hs);
  5612. el.style[domTransform + 'Origin']='50% 50%';
  5613. me._userdata.ggIsActive=function() {
  5614. return false;
  5615. }
  5616. el.ggElementNodeId=function() {
  5617. return player.getCurrentNode();
  5618. }
  5619. me._userdata.logicBlock_visible = function() {
  5620. var newLogicStateVisible;
  5621. if (
  5622. (player.getVariableValue('vis_userdata') == true)
  5623. )
  5624. {
  5625. newLogicStateVisible = 0;
  5626. }
  5627. else {
  5628. newLogicStateVisible = -1;
  5629. }
  5630. if (me._userdata.ggCurrentLogicStateVisible != newLogicStateVisible) {
  5631. me._userdata.ggCurrentLogicStateVisible = newLogicStateVisible;
  5632. me._userdata.style[domTransition]='';
  5633. if (me._userdata.ggCurrentLogicStateVisible == 0) {
  5634. me._userdata.style.visibility=(Number(me._userdata.style.opacity)>0||!me._userdata.style.opacity)?'inherit':'hidden';
  5635. me._userdata.ggVisible=true;
  5636. }
  5637. else {
  5638. me._userdata.style.visibility="hidden";
  5639. me._userdata.ggVisible=false;
  5640. }
  5641. }
  5642. }
  5643. me._userdata.ggUpdatePosition=function (useTransition) {
  5644. if (useTransition==='undefined') {
  5645. useTransition = false;
  5646. }
  5647. if (!useTransition) {
  5648. this.style[domTransition]='none';
  5649. }
  5650. if (this.parentNode) {
  5651. var pw=this.parentNode.clientWidth;
  5652. var w=this.offsetWidth;
  5653. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  5654. var ph=this.parentNode.clientHeight;
  5655. var h=this.offsetHeight;
  5656. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  5657. }
  5658. }
  5659. el=me._userdatabg=document.createElement('div');
  5660. el.ggId="userdatabg";
  5661. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  5662. el.ggVisible=true;
  5663. el.className="ggskin ggskin_rectangle ";
  5664. el.ggType='rectangle';
  5665. hs ='';
  5666. hs+=cssPrefix + 'border-radius : 10px;';
  5667. hs+='border-radius : 10px;';
  5668. hs+='background : rgba(0,0,0,0.509804);';
  5669. hs+='border : 1px solid #ffffff;';
  5670. hs+='cursor : default;';
  5671. hs+='height : 140px;';
  5672. hs+='left : 0px;';
  5673. hs+='position : absolute;';
  5674. hs+='top : 0px;';
  5675. hs+='visibility : inherit;';
  5676. hs+='width : 240px;';
  5677. hs+='pointer-events:auto;';
  5678. el.setAttribute('style',hs);
  5679. el.style[domTransform + 'Origin']='50% 50%';
  5680. me._userdatabg.ggIsActive=function() {
  5681. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  5682. return this.parentNode.ggIsActive();
  5683. }
  5684. return false;
  5685. }
  5686. el.ggElementNodeId=function() {
  5687. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  5688. return this.parentNode.ggElementNodeId();
  5689. }
  5690. return player.getCurrentNode();
  5691. }
  5692. me._userdatabg.ggUpdatePosition=function (useTransition) {
  5693. }
  5694. me._userdata.appendChild(me._userdatabg);
  5695. el=me._userdata_title=document.createElement('div');
  5696. els=me._userdata_title__text=document.createElement('div');
  5697. el.className='ggskin ggskin_textdiv';
  5698. el.ggTextDiv=els;
  5699. el.ggId="userdata_title";
  5700. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  5701. el.ggVisible=true;
  5702. el.className="ggskin ggskin_text ";
  5703. el.ggType='text';
  5704. hs ='';
  5705. hs+='height : 20px;';
  5706. hs+='left : 10px;';
  5707. hs+='position : absolute;';
  5708. hs+='top : 10px;';
  5709. hs+='visibility : inherit;';
  5710. hs+='width : 220px;';
  5711. hs+='pointer-events:auto;';
  5712. hs+='font-weight: bold;';
  5713. el.setAttribute('style',hs);
  5714. el.style[domTransform + 'Origin']='50% 50%';
  5715. hs ='position:absolute;';
  5716. hs += 'box-sizing: border-box;';
  5717. hs+='cursor: default;';
  5718. hs+='left: 0px;';
  5719. hs+='top: 0px;';
  5720. hs+='width: 220px;';
  5721. hs+='height: 20px;';
  5722. hs+='border: 0px solid #000000;';
  5723. hs+='color: rgba(255,255,255,1);';
  5724. hs+='text-align: left;';
  5725. hs+='white-space: nowrap;';
  5726. hs+='padding: 0px 1px 0px 1px;';
  5727. hs+='overflow: hidden;';
  5728. els.setAttribute('style',hs);
  5729. me._userdata_title.ggUpdateText=function() {
  5730. var hs=me.ggUserdata.title;
  5731. if (hs!=this.ggText) {
  5732. this.ggText=hs;
  5733. this.ggTextDiv.innerHTML=hs;
  5734. if (this.ggUpdatePosition) this.ggUpdatePosition();
  5735. }
  5736. }
  5737. me._userdata_title.ggUpdateText();
  5738. el.appendChild(els);
  5739. me._userdata_title.ggIsActive=function() {
  5740. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  5741. return this.parentNode.ggIsActive();
  5742. }
  5743. return false;
  5744. }
  5745. el.ggElementNodeId=function() {
  5746. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  5747. return this.parentNode.ggElementNodeId();
  5748. }
  5749. return player.getCurrentNode();
  5750. }
  5751. me._userdata_title.ggUpdatePosition=function (useTransition) {
  5752. }
  5753. me._userdata.appendChild(me._userdata_title);
  5754. el=me._userdata_description=document.createElement('div');
  5755. els=me._userdata_description__text=document.createElement('div');
  5756. el.className='ggskin ggskin_textdiv';
  5757. el.ggTextDiv=els;
  5758. el.ggId="userdata_description";
  5759. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  5760. el.ggVisible=true;
  5761. el.className="ggskin ggskin_text ";
  5762. el.ggType='text';
  5763. hs ='';
  5764. hs+='height : 20px;';
  5765. hs+='left : 10px;';
  5766. hs+='position : absolute;';
  5767. hs+='top : 30px;';
  5768. hs+='visibility : inherit;';
  5769. hs+='width : 220px;';
  5770. hs+='pointer-events:auto;';
  5771. el.setAttribute('style',hs);
  5772. el.style[domTransform + 'Origin']='50% 50%';
  5773. hs ='position:absolute;';
  5774. hs += 'box-sizing: border-box;';
  5775. hs+='cursor: default;';
  5776. hs+='left: 0px;';
  5777. hs+='top: 0px;';
  5778. hs+='width: 220px;';
  5779. hs+='height: 20px;';
  5780. hs+='border: 0px solid #000000;';
  5781. hs+='color: rgba(255,255,255,1);';
  5782. hs+='text-align: left;';
  5783. hs+='white-space: nowrap;';
  5784. hs+='padding: 0px 1px 0px 1px;';
  5785. hs+='overflow: hidden;';
  5786. els.setAttribute('style',hs);
  5787. me._userdata_description.ggUpdateText=function() {
  5788. var hs=me.ggUserdata.description;
  5789. if (hs!=this.ggText) {
  5790. this.ggText=hs;
  5791. this.ggTextDiv.innerHTML=hs;
  5792. if (this.ggUpdatePosition) this.ggUpdatePosition();
  5793. }
  5794. }
  5795. me._userdata_description.ggUpdateText();
  5796. el.appendChild(els);
  5797. me._userdata_description.ggIsActive=function() {
  5798. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  5799. return this.parentNode.ggIsActive();
  5800. }
  5801. return false;
  5802. }
  5803. el.ggElementNodeId=function() {
  5804. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  5805. return this.parentNode.ggElementNodeId();
  5806. }
  5807. return player.getCurrentNode();
  5808. }
  5809. me._userdata_description.ggUpdatePosition=function (useTransition) {
  5810. }
  5811. me._userdata.appendChild(me._userdata_description);
  5812. el=me._userdata_author=document.createElement('div');
  5813. els=me._userdata_author__text=document.createElement('div');
  5814. el.className='ggskin ggskin_textdiv';
  5815. el.ggTextDiv=els;
  5816. el.ggId="userdata_author";
  5817. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  5818. el.ggVisible=true;
  5819. el.className="ggskin ggskin_text ";
  5820. el.ggType='text';
  5821. hs ='';
  5822. hs+='height : 20px;';
  5823. hs+='left : 10px;';
  5824. hs+='position : absolute;';
  5825. hs+='top : 50px;';
  5826. hs+='visibility : inherit;';
  5827. hs+='width : 220px;';
  5828. hs+='pointer-events:auto;';
  5829. el.setAttribute('style',hs);
  5830. el.style[domTransform + 'Origin']='50% 50%';
  5831. hs ='position:absolute;';
  5832. hs += 'box-sizing: border-box;';
  5833. hs+='cursor: default;';
  5834. hs+='left: 0px;';
  5835. hs+='top: 0px;';
  5836. hs+='width: 220px;';
  5837. hs+='height: 20px;';
  5838. hs+='border: 0px solid #000000;';
  5839. hs+='color: rgba(255,255,255,1);';
  5840. hs+='text-align: left;';
  5841. hs+='white-space: nowrap;';
  5842. hs+='padding: 0px 1px 0px 1px;';
  5843. hs+='overflow: hidden;';
  5844. els.setAttribute('style',hs);
  5845. me._userdata_author.ggUpdateText=function() {
  5846. var hs=me.ggUserdata.author;
  5847. if (hs!=this.ggText) {
  5848. this.ggText=hs;
  5849. this.ggTextDiv.innerHTML=hs;
  5850. if (this.ggUpdatePosition) this.ggUpdatePosition();
  5851. }
  5852. }
  5853. me._userdata_author.ggUpdateText();
  5854. el.appendChild(els);
  5855. me._userdata_author.ggIsActive=function() {
  5856. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  5857. return this.parentNode.ggIsActive();
  5858. }
  5859. return false;
  5860. }
  5861. el.ggElementNodeId=function() {
  5862. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  5863. return this.parentNode.ggElementNodeId();
  5864. }
  5865. return player.getCurrentNode();
  5866. }
  5867. me._userdata_author.ggUpdatePosition=function (useTransition) {
  5868. }
  5869. me._userdata.appendChild(me._userdata_author);
  5870. el=me._userdata_datetime=document.createElement('div');
  5871. els=me._userdata_datetime__text=document.createElement('div');
  5872. el.className='ggskin ggskin_textdiv';
  5873. el.ggTextDiv=els;
  5874. el.ggId="userdata_datetime";
  5875. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  5876. el.ggVisible=true;
  5877. el.className="ggskin ggskin_text ";
  5878. el.ggType='text';
  5879. hs ='';
  5880. hs+='height : 23px;';
  5881. hs+='left : 10px;';
  5882. hs+='position : absolute;';
  5883. hs+='top : 70px;';
  5884. hs+='visibility : inherit;';
  5885. hs+='width : 220px;';
  5886. hs+='pointer-events:auto;';
  5887. el.setAttribute('style',hs);
  5888. el.style[domTransform + 'Origin']='50% 50%';
  5889. hs ='position:absolute;';
  5890. hs += 'box-sizing: border-box;';
  5891. hs+='cursor: default;';
  5892. hs+='left: 0px;';
  5893. hs+='top: 0px;';
  5894. hs+='width: 220px;';
  5895. hs+='height: 23px;';
  5896. hs+='border: 0px solid #000000;';
  5897. hs+='color: rgba(255,255,255,1);';
  5898. hs+='text-align: left;';
  5899. hs+='white-space: nowrap;';
  5900. hs+='padding: 0px 1px 0px 1px;';
  5901. hs+='overflow: hidden;';
  5902. els.setAttribute('style',hs);
  5903. me._userdata_datetime.ggUpdateText=function() {
  5904. var hs=me.ggUserdata.datetime;
  5905. if (hs!=this.ggText) {
  5906. this.ggText=hs;
  5907. this.ggTextDiv.innerHTML=hs;
  5908. if (this.ggUpdatePosition) this.ggUpdatePosition();
  5909. }
  5910. }
  5911. me._userdata_datetime.ggUpdateText();
  5912. el.appendChild(els);
  5913. me._userdata_datetime.ggIsActive=function() {
  5914. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  5915. return this.parentNode.ggIsActive();
  5916. }
  5917. return false;
  5918. }
  5919. el.ggElementNodeId=function() {
  5920. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  5921. return this.parentNode.ggElementNodeId();
  5922. }
  5923. return player.getCurrentNode();
  5924. }
  5925. me._userdata_datetime.ggUpdatePosition=function (useTransition) {
  5926. }
  5927. me._userdata.appendChild(me._userdata_datetime);
  5928. el=me._userdata_copyright=document.createElement('div');
  5929. els=me._userdata_copyright__text=document.createElement('div');
  5930. el.className='ggskin ggskin_textdiv';
  5931. el.ggTextDiv=els;
  5932. el.ggId="userdata_copyright";
  5933. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  5934. el.ggVisible=true;
  5935. el.className="ggskin ggskin_text ";
  5936. el.ggType='text';
  5937. hs ='';
  5938. hs+='height : 23px;';
  5939. hs+='left : 10px;';
  5940. hs+='position : absolute;';
  5941. hs+='top : 110px;';
  5942. hs+='visibility : inherit;';
  5943. hs+='width : 220px;';
  5944. hs+='pointer-events:auto;';
  5945. el.setAttribute('style',hs);
  5946. el.style[domTransform + 'Origin']='50% 50%';
  5947. hs ='position:absolute;';
  5948. hs += 'box-sizing: border-box;';
  5949. hs+='cursor: default;';
  5950. hs+='left: 0px;';
  5951. hs+='top: 0px;';
  5952. hs+='width: 220px;';
  5953. hs+='height: 23px;';
  5954. hs+='border: 0px solid #000000;';
  5955. hs+='color: rgba(255,255,255,1);';
  5956. hs+='text-align: left;';
  5957. hs+='white-space: nowrap;';
  5958. hs+='padding: 0px 1px 0px 1px;';
  5959. hs+='overflow: hidden;';
  5960. els.setAttribute('style',hs);
  5961. me._userdata_copyright.ggUpdateText=function() {
  5962. var hs="&#169; "+me.ggUserdata.copyright;
  5963. if (hs!=this.ggText) {
  5964. this.ggText=hs;
  5965. this.ggTextDiv.innerHTML=hs;
  5966. if (this.ggUpdatePosition) this.ggUpdatePosition();
  5967. }
  5968. }
  5969. me._userdata_copyright.ggUpdateText();
  5970. el.appendChild(els);
  5971. me._userdata_copyright.ggIsActive=function() {
  5972. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  5973. return this.parentNode.ggIsActive();
  5974. }
  5975. return false;
  5976. }
  5977. el.ggElementNodeId=function() {
  5978. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  5979. return this.parentNode.ggElementNodeId();
  5980. }
  5981. return player.getCurrentNode();
  5982. }
  5983. me._userdata_copyright.ggUpdatePosition=function (useTransition) {
  5984. }
  5985. me._userdata.appendChild(me._userdata_copyright);
  5986. el=me._userdata_close=document.createElement('div');
  5987. els=me._userdata_close__img=document.createElement('img');
  5988. els.className='ggskin ggskin_svg';
  5989. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNS4wLjIsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OT'+
  5990. 'kveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnIG9wYWNpdHk9IjAuNCI+DQoJPHBhdGggc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSIgZD0iTTIxLjEzMiwxOS40MzlMMTcuNjkyLDE2bDMuNDQtMy40NGMwLjQ2OC0wLjQ2NywwLjQ2OC0xLjIyNSww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sNS4xNywwLjk4NCw3LjE0NywyLjk1OQ0KCQljMS45NzYsMS45NzcsMi45NTcsNC41NTYsMi45Niw3LjE0N2MtMC4wMDEsMi41OTEtMC45ODUsNS4xNjktMi45Niw3LjE0OEMyMS4xNjksMjUuMTIyLDE4LjU5MSwyNi4xMDYsMTYsMjYuMTA2eiIvPg0KPC9nPg0KPC9zdmc+DQo=';
  5996. me._userdata_close__img.setAttribute('src',hs);
  5997. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;userdata_close;');
  5998. els['ondragstart']=function() { return false; };
  5999. el.appendChild(els);
  6000. el.ggSubElement = els;
  6001. elo=me._userdata_close__imgo=document.createElement('img');
  6002. elo.className='ggskin ggskin_svg';
  6003. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNS4wLjIsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OT'+
  6004. 'kveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXN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gyLTQuODgyLTEyLjc5Ni00Ljg4Mi0x'+
  6009. 'Ny42NzgsMGMtNC44ODEsNC44ODEtNC44ODEsMTIuNzk2LDAsMTcuNjc4DQoJCWM0Ljg4Miw0Ljg4MSwxMi43OTYsNC44ODEsMTcuNjc4LDBDMjkuNzIsMTkuOTU3LDI5LjcyMSwxMi4wNDMsMjQuODM5LDcuMTYxeiBNMTYsMjYuMTA2Yy0yLjU5LDAtNS4xNzEtMC45ODQtNy4xNDYtMi45NTkNCgkJQzYuODc4LDIxLjE3LDUuODk1LDE4LjU5MSw1Ljg5NCwxNmMwLTIuNTkxLDAuOTgzLTUuMTcsMi45NTktNy4xNDdjMS45NzctMS45NzYsNC41NTYtMi45NTksNy4xNDgtMi45Ng0KCQljMi41OTEsMC4wMDEsNS4xNywwLjk4NCw3LjE0NywyLjk1OWMxLjk3NSwxLjk3NywyLjk1Nyw0LjU1NiwyLjk1OS'+
  6010. 'w3LjE0N2MtMC4wMDEsMi41OTItMC45ODQsNS4xNy0yLjk2LDcuMTQ4DQoJCUMyMS4xNywyNS4xMjMsMTguNTkxLDI2LjEwNywxNiwyNi4xMDZ6Ii8+DQo8L2c+DQo8L3N2Zz4NCg==';
  6011. me._userdata_close__imgo.setAttribute('src',hs);
  6012. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;userdata_close;');
  6013. elo['ondragstart']=function() { return false; };
  6014. el.appendChild(elo);
  6015. el.ggId="userdata_close";
  6016. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6017. el.ggVisible=true;
  6018. el.className="ggskin ggskin_svg ";
  6019. el.ggType='svg';
  6020. hs ='';
  6021. hs+='cursor : pointer;';
  6022. hs+='height : 32px;';
  6023. hs+='position : absolute;';
  6024. hs+='right : 2px;';
  6025. hs+='top : 4px;';
  6026. hs+='visibility : inherit;';
  6027. hs+='width : 32px;';
  6028. hs+='pointer-events:auto;';
  6029. el.setAttribute('style',hs);
  6030. el.style[domTransform + 'Origin']='50% 50%';
  6031. me._userdata_close.ggIsActive=function() {
  6032. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  6033. return this.parentNode.ggIsActive();
  6034. }
  6035. return false;
  6036. }
  6037. el.ggElementNodeId=function() {
  6038. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  6039. return this.parentNode.ggElementNodeId();
  6040. }
  6041. return player.getCurrentNode();
  6042. }
  6043. me._userdata_close.onclick=function (e) {
  6044. player.setVariableValue('vis_userdata', false);
  6045. }
  6046. me._userdata_close.onmouseover=function (e) {
  6047. me._userdata_close__img.style.visibility='hidden';
  6048. me._userdata_close__imgo.style.visibility='inherit';
  6049. }
  6050. me._userdata_close.onmouseout=function (e) {
  6051. me._userdata_close__img.style.visibility='inherit';
  6052. me._userdata_close__imgo.style.visibility='hidden';
  6053. }
  6054. me._userdata_close.ggUpdatePosition=function (useTransition) {
  6055. }
  6056. me._userdata.appendChild(me._userdata_close);
  6057. me.divSkin.appendChild(me._userdata);
  6058. el=me._information=document.createElement('div');
  6059. el.ggId="information";
  6060. el.ggDx=0;
  6061. el.ggDy=0;
  6062. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6063. el.ggVisible=false;
  6064. el.className="ggskin ggskin_container ";
  6065. el.ggType='container';
  6066. hs ='';
  6067. hs+='height : 250px;';
  6068. hs+='left : -10000px;';
  6069. hs+='position : absolute;';
  6070. hs+='top : -10000px;';
  6071. hs+='visibility : hidden;';
  6072. hs+='width : 300px;';
  6073. hs+='pointer-events:none;';
  6074. el.setAttribute('style',hs);
  6075. el.style[domTransform + 'Origin']='50% 50%';
  6076. me._information.ggIsActive=function() {
  6077. return false;
  6078. }
  6079. el.ggElementNodeId=function() {
  6080. return player.getCurrentNode();
  6081. }
  6082. me._information.logicBlock_visible = function() {
  6083. var newLogicStateVisible;
  6084. if (
  6085. (player.getVariableValue('vis_info_popup') == true)
  6086. )
  6087. {
  6088. newLogicStateVisible = 0;
  6089. }
  6090. else {
  6091. newLogicStateVisible = -1;
  6092. }
  6093. if (me._information.ggCurrentLogicStateVisible != newLogicStateVisible) {
  6094. me._information.ggCurrentLogicStateVisible = newLogicStateVisible;
  6095. me._information.style[domTransition]='';
  6096. if (me._information.ggCurrentLogicStateVisible == 0) {
  6097. me._information.style.visibility=(Number(me._information.style.opacity)>0||!me._information.style.opacity)?'inherit':'hidden';
  6098. me._information.ggVisible=true;
  6099. }
  6100. else {
  6101. me._information.style.visibility="hidden";
  6102. me._information.ggVisible=false;
  6103. }
  6104. }
  6105. }
  6106. me._information.ggUpdatePosition=function (useTransition) {
  6107. if (useTransition==='undefined') {
  6108. useTransition = false;
  6109. }
  6110. if (!useTransition) {
  6111. this.style[domTransition]='none';
  6112. }
  6113. if (this.parentNode) {
  6114. var pw=this.parentNode.clientWidth;
  6115. var w=this.offsetWidth;
  6116. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  6117. var ph=this.parentNode.clientHeight;
  6118. var h=this.offsetHeight;
  6119. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  6120. }
  6121. }
  6122. el=me._informationbg=document.createElement('div');
  6123. el.ggId="informationbg";
  6124. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6125. el.ggVisible=true;
  6126. el.className="ggskin ggskin_rectangle ";
  6127. el.ggType='rectangle';
  6128. hs ='';
  6129. hs+=cssPrefix + 'border-radius : 10px;';
  6130. hs+='border-radius : 10px;';
  6131. hs+='background : rgba(0,0,0,0.509804);';
  6132. hs+='border : 2px solid #ffffff;';
  6133. hs+='cursor : default;';
  6134. hs+='height : 250px;';
  6135. hs+='left : 0px;';
  6136. hs+='position : absolute;';
  6137. hs+='top : 0px;';
  6138. hs+='visibility : inherit;';
  6139. hs+='width : 300px;';
  6140. hs+='pointer-events:auto;';
  6141. el.setAttribute('style',hs);
  6142. el.style[domTransform + 'Origin']='50% 50%';
  6143. me._informationbg.ggIsActive=function() {
  6144. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  6145. return this.parentNode.ggIsActive();
  6146. }
  6147. return false;
  6148. }
  6149. el.ggElementNodeId=function() {
  6150. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  6151. return this.parentNode.ggElementNodeId();
  6152. }
  6153. return player.getCurrentNode();
  6154. }
  6155. me._informationbg.ggUpdatePosition=function (useTransition) {
  6156. }
  6157. me._information.appendChild(me._informationbg);
  6158. el=me._info_text_body=document.createElement('div');
  6159. els=me._info_text_body__text=document.createElement('div');
  6160. el.className='ggskin ggskin_textdiv';
  6161. el.ggTextDiv=els;
  6162. el.ggId="info_text_body";
  6163. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6164. el.ggVisible=true;
  6165. el.className="ggskin ggskin_text ";
  6166. el.ggType='text';
  6167. hs ='';
  6168. hs+='height : 193px;';
  6169. hs+='left : 12px;';
  6170. hs+='position : absolute;';
  6171. hs+='top : 45px;';
  6172. hs+='visibility : inherit;';
  6173. hs+='width : 276px;';
  6174. hs+='pointer-events:auto;';
  6175. el.setAttribute('style',hs);
  6176. el.style[domTransform + 'Origin']='50% 50%';
  6177. hs ='position:absolute;';
  6178. hs += 'box-sizing: border-box;';
  6179. hs+='cursor: default;';
  6180. hs+='left: 0px;';
  6181. hs+='top: 0px;';
  6182. hs+='width: 276px;';
  6183. hs+='height: 193px;';
  6184. hs+='border: 0px solid #000000;';
  6185. hs+='color: rgba(255,255,255,1);';
  6186. hs+='text-align: left;';
  6187. hs+='white-space: pre-wrap;';
  6188. hs+='padding: 0px 1px 0px 1px;';
  6189. hs+='overflow: hidden;';
  6190. hs+='overflow-y: auto;';
  6191. els.setAttribute('style',hs);
  6192. me._info_text_body.ggUpdateText=function() {
  6193. var hs=player.hotspot.description;
  6194. if (hs!=this.ggText) {
  6195. this.ggText=hs;
  6196. this.ggTextDiv.innerHTML=hs;
  6197. if (this.ggUpdatePosition) this.ggUpdatePosition();
  6198. }
  6199. }
  6200. me._info_text_body.ggUpdateText();
  6201. el.appendChild(els);
  6202. me._info_text_body.ggIsActive=function() {
  6203. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  6204. return this.parentNode.ggIsActive();
  6205. }
  6206. return false;
  6207. }
  6208. el.ggElementNodeId=function() {
  6209. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  6210. return this.parentNode.ggElementNodeId();
  6211. }
  6212. return player.getCurrentNode();
  6213. }
  6214. me._info_text_body.ggUpdatePosition=function (useTransition) {
  6215. }
  6216. me._information.appendChild(me._info_text_body);
  6217. el=me._info_title=document.createElement('div');
  6218. els=me._info_title__text=document.createElement('div');
  6219. el.className='ggskin ggskin_textdiv';
  6220. el.ggTextDiv=els;
  6221. el.ggId="info_title";
  6222. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6223. el.ggVisible=true;
  6224. el.className="ggskin ggskin_text ";
  6225. el.ggType='text';
  6226. hs ='';
  6227. hs+='height : 20px;';
  6228. hs+='left : 12px;';
  6229. hs+='position : absolute;';
  6230. hs+='top : 15px;';
  6231. hs+='visibility : inherit;';
  6232. hs+='width : 245px;';
  6233. hs+='pointer-events:auto;';
  6234. hs+='font-weight: bold;';
  6235. el.setAttribute('style',hs);
  6236. el.style[domTransform + 'Origin']='50% 50%';
  6237. hs ='position:absolute;';
  6238. hs += 'box-sizing: border-box;';
  6239. hs+='cursor: default;';
  6240. hs+='left: 0px;';
  6241. hs+='top: 0px;';
  6242. hs+='width: 245px;';
  6243. hs+='height: 20px;';
  6244. hs+='border: 0px solid #000000;';
  6245. hs+='color: rgba(255,255,255,1);';
  6246. hs+='text-align: left;';
  6247. hs+='white-space: nowrap;';
  6248. hs+='padding: 0px 1px 0px 1px;';
  6249. hs+='overflow: hidden;';
  6250. els.setAttribute('style',hs);
  6251. me._info_title.ggUpdateText=function() {
  6252. var hs=player.hotspot.title;
  6253. if (hs!=this.ggText) {
  6254. this.ggText=hs;
  6255. this.ggTextDiv.innerHTML=hs;
  6256. if (this.ggUpdatePosition) this.ggUpdatePosition();
  6257. }
  6258. }
  6259. me._info_title.ggUpdateText();
  6260. el.appendChild(els);
  6261. me._info_title.ggIsActive=function() {
  6262. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  6263. return this.parentNode.ggIsActive();
  6264. }
  6265. return false;
  6266. }
  6267. el.ggElementNodeId=function() {
  6268. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  6269. return this.parentNode.ggElementNodeId();
  6270. }
  6271. return player.getCurrentNode();
  6272. }
  6273. me._info_title.ggUpdatePosition=function (useTransition) {
  6274. }
  6275. me._information.appendChild(me._info_title);
  6276. el=me._ht_info_close=document.createElement('div');
  6277. els=me._ht_info_close__img=document.createElement('img');
  6278. els.className='ggskin ggskin_svg';
  6279. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNS4wLjIsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OT'+
  6280. 'kveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCj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0wLjAwMS01LjE3LTAuOTg1LTcuMTQ2LTIuOTYxUzUuODk1LDE4LjU5LDUuODk0LDE2DQoJCWMwLTIuNTkxLDAuOTg0LTUuMTcsMi45Ni03LjE0N0MxMC44Myw2Ljg3OCwxMy40MDksNS44OTQsMTYsNS44OTRjMi41OTEsMC4wMDEsNS4xNywwLjk4NCw3LjE0NywyLjk1OQ0KCQljMS45NzYsMS45NzcsMi45NTcsNC41NTYsMi45Niw3LjE0N2MtMC4wMDEsMi41OTEtMC45ODUsNS4xNjktMi45Niw3LjE0OEMyMS4xNjksMjUuMTIyLDE4LjU5MSwyNi4xMDYsMTYsMjYuMTA2eiIvPg0KPC9nPg0KPC9zdmc+DQo=';
  6286. me._ht_info_close__img.setAttribute('src',hs);
  6287. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_info_close;');
  6288. els['ondragstart']=function() { return false; };
  6289. el.appendChild(els);
  6290. el.ggSubElement = els;
  6291. elo=me._ht_info_close__imgo=document.createElement('img');
  6292. elo.className='ggskin ggskin_svg';
  6293. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNS4wLjIsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OT'+
  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LjY5MiwwLjAwMWwzLjQ0LTMuNDRsMy40NCwzLjQzOWMwLjQ2OCwwLjQ2OCwxLjIyNCwwLjQ2NywxLjY5MSwwDQoJCUMyMS41OTgsMjAuNjY0LDIxLjYsMTkuOTA3LDIxLjEzMiwxOS40Mzl6IE0yNC44MzksNy4xNjFjLTQuODgyLTQuODgyLTEyLjc5Ni00Ljg4Mi0x'+
  6299. 'Ny42NzgsMGMtNC44ODEsNC44ODEtNC44ODEsMTIuNzk2LDAsMTcuNjc4DQoJCWM0Ljg4Miw0Ljg4MSwxMi43OTYsNC44ODEsMTcuNjc4LDBDMjkuNzIsMTkuOTU3LDI5LjcyMSwxMi4wNDMsMjQuODM5LDcuMTYxeiBNMTYsMjYuMTA2Yy0yLjU5LDAtNS4xNzEtMC45ODQtNy4xNDYtMi45NTkNCgkJQzYuODc4LDIxLjE3LDUuODk1LDE4LjU5MSw1Ljg5NCwxNmMwLTIuNTkxLDAuOTgzLTUuMTcsMi45NTktNy4xNDdjMS45NzctMS45NzYsNC41NTYtMi45NTksNy4xNDgtMi45Ng0KCQljMi41OTEsMC4wMDEsNS4xNywwLjk4NCw3LjE0NywyLjk1OWMxLjk3NSwxLjk3NywyLjk1Nyw0LjU1NiwyLjk1OS'+
  6300. 'w3LjE0N2MtMC4wMDEsMi41OTItMC45ODQsNS4xNy0yLjk2LDcuMTQ4DQoJCUMyMS4xNywyNS4xMjMsMTguNTkxLDI2LjEwNywxNiwyNi4xMDZ6Ii8+DQo8L2c+DQo8L3N2Zz4NCg==';
  6301. me._ht_info_close__imgo.setAttribute('src',hs);
  6302. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_info_close;');
  6303. elo['ondragstart']=function() { return false; };
  6304. el.appendChild(elo);
  6305. el.ggId="ht_info_close";
  6306. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6307. el.ggVisible=true;
  6308. el.className="ggskin ggskin_svg ";
  6309. el.ggType='svg';
  6310. hs ='';
  6311. hs+='cursor : pointer;';
  6312. hs+='height : 32px;';
  6313. hs+='position : absolute;';
  6314. hs+='right : 1px;';
  6315. hs+='top : 4px;';
  6316. hs+='visibility : inherit;';
  6317. hs+='width : 32px;';
  6318. hs+='pointer-events:auto;';
  6319. el.setAttribute('style',hs);
  6320. el.style[domTransform + 'Origin']='50% 50%';
  6321. me._ht_info_close.ggIsActive=function() {
  6322. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  6323. return this.parentNode.ggIsActive();
  6324. }
  6325. return false;
  6326. }
  6327. el.ggElementNodeId=function() {
  6328. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  6329. return this.parentNode.ggElementNodeId();
  6330. }
  6331. return player.getCurrentNode();
  6332. }
  6333. me._ht_info_close.onclick=function (e) {
  6334. player.setVariableValue('vis_info_popup', false);
  6335. }
  6336. me._ht_info_close.onmouseover=function (e) {
  6337. me._ht_info_close__img.style.visibility='hidden';
  6338. me._ht_info_close__imgo.style.visibility='inherit';
  6339. }
  6340. me._ht_info_close.onmouseout=function (e) {
  6341. me._ht_info_close__img.style.visibility='inherit';
  6342. me._ht_info_close__imgo.style.visibility='hidden';
  6343. }
  6344. me._ht_info_close.ggUpdatePosition=function (useTransition) {
  6345. }
  6346. me._information.appendChild(me._ht_info_close);
  6347. me.divSkin.appendChild(me._information);
  6348. el=me._image_popup=document.createElement('div');
  6349. el.ggId="image_popup";
  6350. el.ggDx=0;
  6351. el.ggDy=0;
  6352. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6353. el.ggVisible=false;
  6354. el.className="ggskin ggskin_container ";
  6355. el.ggType='container';
  6356. hs ='';
  6357. hs+='height : 80%;';
  6358. hs+='left : -10000px;';
  6359. hs+='position : absolute;';
  6360. hs+='top : -10000px;';
  6361. hs+='visibility : hidden;';
  6362. hs+='width : 80%;';
  6363. hs+='pointer-events:none;';
  6364. el.setAttribute('style',hs);
  6365. el.style[domTransform + 'Origin']='50% 50%';
  6366. me._image_popup.ggIsActive=function() {
  6367. return false;
  6368. }
  6369. el.ggElementNodeId=function() {
  6370. return player.getCurrentNode();
  6371. }
  6372. me._image_popup.logicBlock_visible = function() {
  6373. var newLogicStateVisible;
  6374. if (
  6375. (player.getVariableValue('vis_image_popup') == true)
  6376. )
  6377. {
  6378. newLogicStateVisible = 0;
  6379. }
  6380. else {
  6381. newLogicStateVisible = -1;
  6382. }
  6383. if (me._image_popup.ggCurrentLogicStateVisible != newLogicStateVisible) {
  6384. me._image_popup.ggCurrentLogicStateVisible = newLogicStateVisible;
  6385. me._image_popup.style[domTransition]='';
  6386. if (me._image_popup.ggCurrentLogicStateVisible == 0) {
  6387. me._image_popup.style.visibility=(Number(me._image_popup.style.opacity)>0||!me._image_popup.style.opacity)?'inherit':'hidden';
  6388. me._image_popup.ggVisible=true;
  6389. }
  6390. else {
  6391. me._image_popup.style.visibility="hidden";
  6392. me._image_popup.ggVisible=false;
  6393. }
  6394. }
  6395. }
  6396. me._image_popup.ggUpdatePosition=function (useTransition) {
  6397. if (useTransition==='undefined') {
  6398. useTransition = false;
  6399. }
  6400. if (!useTransition) {
  6401. this.style[domTransition]='none';
  6402. }
  6403. if (this.parentNode) {
  6404. var pw=this.parentNode.clientWidth;
  6405. var w=this.offsetWidth;
  6406. this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px';
  6407. var ph=this.parentNode.clientHeight;
  6408. var h=this.offsetHeight;
  6409. this.style.top=((this.ggDy * ph)/100.0 + ph/2 - h/2) + 'px';
  6410. }
  6411. }
  6412. el=me._loading_image=document.createElement('div');
  6413. els=me._loading_image__img=document.createElement('img');
  6414. els.className='ggskin ggskin_svg';
  6415. hs='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiBmaWxsPSJ3aGl0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RlTmFtZT0iciIgdmFsdWVzPSIwOzM7MDswIiBkdX'+
  6420. 'I9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuNzVzIiBrZXlTcGxpbmVzPSIwLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40IDAuOCIgY2FsY01vZGU9InNwbGluZSIgLz4KICA8L2NpcmNsZT4KICA8Y2lyY2xlIHRyYW5zZm9ybT0icm90YXRlKDMxNSAxNiAxNikiIGN4PSIxNiIgY3k9IjMiIHI9IjAiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iciIgdmFsdWVzPSIwOzM7MDswIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuODc1cyIga2V5U3BsaW5lcz0iMC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40'+
  6421. 'IDAuODswLjIgMC4yIDAuNCAwLjgiIGNhbGNNb2RlPSJzcGxpbmUiIC8+CiAgPC9jaXJjbGU+CiAgPGNpcmNsZSB0cmFuc2Zvcm09InJvdGF0ZSgxODAgMTYgMTYpIiBjeD0iMTYiIGN5PSIzIiByPSIwIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InIiIHZhbHVlcz0iMDszOzA7MCIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjVzIiBrZXlTcGxpbmVzPSIwLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40IDAuOCIgY2FsY01vZGU9InNwbGluZSIgLz4KICA8L2NpcmNsZT4KPC9zdmc+Cg==';
  6422. me._loading_image__img.setAttribute('src',hs);
  6423. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;loading_image;');
  6424. els['ondragstart']=function() { return false; };
  6425. el.appendChild(els);
  6426. el.ggSubElement = els;
  6427. el.ggId="loading_image";
  6428. el.ggDx=0;
  6429. el.ggDy=0;
  6430. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6431. el.ggVisible=true;
  6432. el.className="ggskin ggskin_svg ";
  6433. el.ggType='svg';
  6434. hs ='';
  6435. hs+='height : 40px;';
  6436. hs+='left : -10000px;';
  6437. hs+='position : absolute;';
  6438. hs+='top : -10000px;';
  6439. hs+='visibility : inherit;';
  6440. hs+='width : 40px;';
  6441. hs+='pointer-events:auto;';
  6442. el.setAttribute('style',hs);
  6443. el.style[domTransform + 'Origin']='50% 50%';
  6444. me._loading_image.ggIsActive=function() {
  6445. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  6446. return this.parentNode.ggIsActive();
  6447. }
  6448. return false;
  6449. }
  6450. el.ggElementNodeId=function() {
  6451. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  6452. return this.parentNode.ggElementNodeId();
  6453. }
  6454. return player.getCurrentNode();
  6455. }
  6456. me._loading_image.ggUpdatePosition=function (useTransition) {
  6457. if (useTransition==='undefined') {
  6458. useTransition = false;
  6459. }
  6460. if (!useTransition) {
  6461. this.style[domTransition]='none';
  6462. }
  6463. if (this.parentNode) {
  6464. var pw=this.parentNode.clientWidth;
  6465. var w=this.offsetWidth;
  6466. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  6467. var ph=this.parentNode.clientHeight;
  6468. var h=this.offsetHeight;
  6469. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  6470. }
  6471. }
  6472. me._image_popup.appendChild(me._loading_image);
  6473. el=me._popup_image=document.createElement('div');
  6474. me._popup_image__img=document.createElement('img');
  6475. me._popup_image__img.className='ggskin ggskin_external';
  6476. me._popup_image__img.onload=function() {me._popup_image.ggUpdatePosition();}
  6477. me._popup_image.ggText=basePath + '';
  6478. me._popup_image__img.setAttribute('src', me._popup_image.ggText);
  6479. me._popup_image__img['ondragstart']=function() { return false; };
  6480. hs ='';
  6481. me._popup_image.appendChild(me._popup_image__img);
  6482. me._popup_image.ggSubElement = me._popup_image__img;
  6483. el.ggId="popup_image";
  6484. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6485. el.ggVisible=false;
  6486. el.className="ggskin ggskin_external ";
  6487. el.ggType='external';
  6488. hs ='';
  6489. hs+='border : 0px solid #000000;';
  6490. hs+='cursor : default;';
  6491. hs+='height : 100%;';
  6492. hs+='left : 0%;';
  6493. hs+='position : absolute;';
  6494. hs+='top : 0%;';
  6495. hs+='visibility : hidden;';
  6496. hs+='width : 100%;';
  6497. hs+='pointer-events:auto;';
  6498. el.setAttribute('style',hs);
  6499. el.style[domTransform + 'Origin']='50% 50%';
  6500. me._popup_image.ggIsActive=function() {
  6501. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  6502. return this.parentNode.ggIsActive();
  6503. }
  6504. return false;
  6505. }
  6506. el.ggElementNodeId=function() {
  6507. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  6508. return this.parentNode.ggElementNodeId();
  6509. }
  6510. return player.getCurrentNode();
  6511. }
  6512. me._popup_image.logicBlock_visible = function() {
  6513. var newLogicStateVisible;
  6514. if (
  6515. (player.getVariableValue('vis_image_popup') == true)
  6516. )
  6517. {
  6518. newLogicStateVisible = 0;
  6519. }
  6520. else {
  6521. newLogicStateVisible = -1;
  6522. }
  6523. if (me._popup_image.ggCurrentLogicStateVisible != newLogicStateVisible) {
  6524. me._popup_image.ggCurrentLogicStateVisible = newLogicStateVisible;
  6525. me._popup_image.style[domTransition]='';
  6526. if (me._popup_image.ggCurrentLogicStateVisible == 0) {
  6527. me._popup_image.style.visibility=(Number(me._popup_image.style.opacity)>0||!me._popup_image.style.opacity)?'inherit':'hidden';
  6528. me._popup_image.ggVisible=true;
  6529. }
  6530. else {
  6531. me._popup_image.style.visibility="hidden";
  6532. me._popup_image__img.src = '';
  6533. me._popup_image.ggVisible=false;
  6534. }
  6535. }
  6536. }
  6537. me._popup_image.ggUpdatePosition=function (useTransition) {
  6538. var parentWidth = me._popup_image.clientWidth;
  6539. var parentHeight = me._popup_image.clientHeight;
  6540. var aspectRatioDiv = me._popup_image.clientWidth / me._popup_image.clientHeight;
  6541. var aspectRatioImg = me._popup_image__img.naturalWidth / me._popup_image__img.naturalHeight;
  6542. if (me._popup_image__img.naturalWidth < parentWidth) parentWidth = me._popup_image__img.naturalWidth;
  6543. if (me._popup_image__img.naturalHeight < parentHeight) parentHeight = me._popup_image__img.naturalHeight;
  6544. var currentWidth = me._popup_image__img.naturalWidth;
  6545. var currentHeight = me._popup_image__img.naturalHeight;
  6546. if (aspectRatioDiv > aspectRatioImg) {
  6547. currentHeight = parentHeight;
  6548. currentWidth = parentHeight * aspectRatioImg;
  6549. me._popup_image__img.setAttribute('style','position: absolute; left: 50%; margin-left: -' + currentWidth/2 + 'px; top: 50%; margin-top: -' + currentHeight/2 + 'px;height:' + parentHeight + 'px;-webkit-user-drag:none;pointer-events:none;border-radius:0px;;');
  6550. } else {
  6551. currentWidth = parentWidth;
  6552. currentHeight = parentWidth / aspectRatioImg;
  6553. me._popup_image__img.setAttribute('style','position: absolute; left: 50%; margin-left: -' + currentWidth/2 + 'px; top: 50%; margin-top: -' + currentHeight/2 + 'px;width:' + parentWidth + 'px;-webkit-user-drag:none;pointer-events:none;border-radius:0px;;');
  6554. };
  6555. }
  6556. me._image_popup.appendChild(me._popup_image);
  6557. me.divSkin.appendChild(me._image_popup);
  6558. el=me._video_popup_file=document.createElement('div');
  6559. el.ggId="video_popup_file";
  6560. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6561. el.ggVisible=false;
  6562. el.className="ggskin ggskin_container ";
  6563. el.ggType='container';
  6564. hs ='';
  6565. hs+='height : 80%;';
  6566. hs+='left : 10%;';
  6567. hs+='position : absolute;';
  6568. hs+='top : 10%;';
  6569. hs+='visibility : hidden;';
  6570. hs+='width : 80%;';
  6571. hs+='pointer-events:none;';
  6572. el.setAttribute('style',hs);
  6573. el.style[domTransform + 'Origin']='50% 50%';
  6574. me._video_popup_file.ggIsActive=function() {
  6575. return false;
  6576. }
  6577. el.ggElementNodeId=function() {
  6578. return player.getCurrentNode();
  6579. }
  6580. me._video_popup_file.logicBlock_visible = function() {
  6581. var newLogicStateVisible;
  6582. if (
  6583. (player.getVariableValue('vis_video_popup_file') == true)
  6584. )
  6585. {
  6586. newLogicStateVisible = 0;
  6587. }
  6588. else {
  6589. newLogicStateVisible = -1;
  6590. }
  6591. if (me._video_popup_file.ggCurrentLogicStateVisible != newLogicStateVisible) {
  6592. me._video_popup_file.ggCurrentLogicStateVisible = newLogicStateVisible;
  6593. me._video_popup_file.style[domTransition]='';
  6594. if (me._video_popup_file.ggCurrentLogicStateVisible == 0) {
  6595. me._video_popup_file.style.visibility=(Number(me._video_popup_file.style.opacity)>0||!me._video_popup_file.style.opacity)?'inherit':'hidden';
  6596. me._video_popup_file.ggVisible=true;
  6597. }
  6598. else {
  6599. me._video_popup_file.style.visibility="hidden";
  6600. me._video_popup_file.ggVisible=false;
  6601. }
  6602. }
  6603. }
  6604. me._video_popup_file.ggUpdatePosition=function (useTransition) {
  6605. }
  6606. el=me._loading_video_file=document.createElement('div');
  6607. els=me._loading_video_file__img=document.createElement('img');
  6608. els.className='ggskin ggskin_svg';
  6609. hs='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiBmaWxsPSJ3aGl0ZSI+CiAgPGNpcmNsZSBjeD0iMTYiIGN5PSIzIiByPSIwIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InIiIHZhbHVlcz0iMDszOzA7MCIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwIiBrZXlTcGxpbmVzPSIwLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgM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T4KICA8Y2lyY2xlIHRyYW5zZm9ybT0icm90YXRlKDMxNSAxNiAxNikiIGN4PSIxNiIgY3k9IjMiIHI9IjAiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iciIgdmFsdWVzPSIwOzM7MDswIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuODc1cyIga2V5U3BsaW5lcz0iMC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40'+
  6615. 'IDAuODswLjIgMC4yIDAuNCAwLjgiIGNhbGNNb2RlPSJzcGxpbmUiIC8+CiAgPC9jaXJjbGU+CiAgPGNpcmNsZSB0cmFuc2Zvcm09InJvdGF0ZSgxODAgMTYgMTYpIiBjeD0iMTYiIGN5PSIzIiByPSIwIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InIiIHZhbHVlcz0iMDszOzA7MCIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjVzIiBrZXlTcGxpbmVzPSIwLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40IDAuOCIgY2FsY01vZGU9InNwbGluZSIgLz4KICA8L2NpcmNsZT4KPC9zdmc+Cg==';
  6616. me._loading_video_file__img.setAttribute('src',hs);
  6617. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;loading_video_file;');
  6618. els['ondragstart']=function() { return false; };
  6619. el.appendChild(els);
  6620. el.ggSubElement = els;
  6621. el.ggId="loading_video_file";
  6622. el.ggDx=0;
  6623. el.ggDy=0;
  6624. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6625. el.ggVisible=true;
  6626. el.className="ggskin ggskin_svg ";
  6627. el.ggType='svg';
  6628. hs ='';
  6629. hs+='height : 40px;';
  6630. hs+='left : -10000px;';
  6631. hs+='position : absolute;';
  6632. hs+='top : -10000px;';
  6633. hs+='visibility : inherit;';
  6634. hs+='width : 40px;';
  6635. hs+='pointer-events:auto;';
  6636. el.setAttribute('style',hs);
  6637. el.style[domTransform + 'Origin']='50% 50%';
  6638. me._loading_video_file.ggIsActive=function() {
  6639. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  6640. return this.parentNode.ggIsActive();
  6641. }
  6642. return false;
  6643. }
  6644. el.ggElementNodeId=function() {
  6645. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  6646. return this.parentNode.ggElementNodeId();
  6647. }
  6648. return player.getCurrentNode();
  6649. }
  6650. me._loading_video_file.ggUpdatePosition=function (useTransition) {
  6651. if (useTransition==='undefined') {
  6652. useTransition = false;
  6653. }
  6654. if (!useTransition) {
  6655. this.style[domTransition]='none';
  6656. }
  6657. if (this.parentNode) {
  6658. var pw=this.parentNode.clientWidth;
  6659. var w=this.offsetWidth;
  6660. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  6661. var ph=this.parentNode.clientHeight;
  6662. var h=this.offsetHeight;
  6663. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  6664. }
  6665. }
  6666. me._video_popup_file.appendChild(me._loading_video_file);
  6667. el=me._popup_video_file=document.createElement('div');
  6668. me._popup_video_file.seekbars = [];
  6669. me._popup_video_file.seekbars.push('seekbar_file');
  6670. me._popup_video_file.ggInitMedia = function(media) {
  6671. var notifySeekbars = function() {
  6672. for (var i = 0; i < me._popup_video_file.seekbars.length; i++) {
  6673. var seekbar = me.findElements(me._popup_video_file.seekbars[i]);
  6674. if (seekbar.length > 0) seekbar[0].connectToMediaEl();
  6675. }
  6676. }
  6677. while (me._popup_video_file.hasChildNodes()) {
  6678. me._popup_video_file.removeChild(me._popup_video_file.lastChild);
  6679. }
  6680. if (me._popup_video_file__vid) {
  6681. me._popup_video_file__vid.pause();
  6682. }
  6683. if(media == '') {
  6684. notifySeekbars();
  6685. me._popup_video_file.ggVideoNotLoaded = true;
  6686. return;
  6687. }
  6688. me._popup_video_file.ggVideoNotLoaded = false;
  6689. me._popup_video_file__vid=document.createElement('video');
  6690. me._popup_video_file__vid.className='ggskin ggskin_video';
  6691. me._popup_video_file__vid.setAttribute('width', '100%');
  6692. me._popup_video_file__vid.setAttribute('height', '100%');
  6693. me._popup_video_file__vid.setAttribute('autoplay', '');
  6694. me._popup_video_file__source=document.createElement('source');
  6695. me._popup_video_file__source.setAttribute('src', media);
  6696. me._popup_video_file__vid.setAttribute('playsinline', 'playsinline');
  6697. me._popup_video_file__vid.setAttribute('style', ';');
  6698. me._popup_video_file__vid.appendChild(me._popup_video_file__source);
  6699. me._popup_video_file.appendChild(me._popup_video_file__vid);
  6700. var videoEl = player.registerVideoElement('popup_video_file', me._popup_video_file__vid);
  6701. videoEl.autoplay = true;
  6702. notifySeekbars();
  6703. me._popup_video_file.ggVideoSource = media;
  6704. }
  6705. el.ggId="popup_video_file";
  6706. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6707. el.ggVisible=false;
  6708. el.className="ggskin ggskin_video ";
  6709. el.ggType='video';
  6710. hs ='';
  6711. hs+='height : 100%;';
  6712. hs+='left : 0%;';
  6713. hs+='position : absolute;';
  6714. hs+='top : 0%;';
  6715. hs+='visibility : hidden;';
  6716. hs+='width : 100%;';
  6717. hs+='pointer-events:auto;';
  6718. el.setAttribute('style',hs);
  6719. el.style[domTransform + 'Origin']='50% 50%';
  6720. me._popup_video_file.ggIsActive=function() {
  6721. if (me._popup_video_file__vid != null) {
  6722. return (me._popup_video_file__vid.paused == false && me._popup_video_file__vid.ended == false);
  6723. } else {
  6724. return false;
  6725. }
  6726. }
  6727. el.ggElementNodeId=function() {
  6728. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  6729. return this.parentNode.ggElementNodeId();
  6730. }
  6731. return player.getCurrentNode();
  6732. }
  6733. me._popup_video_file.logicBlock_visible = function() {
  6734. var newLogicStateVisible;
  6735. if (
  6736. (player.getVariableValue('vis_video_popup_file') == true)
  6737. )
  6738. {
  6739. newLogicStateVisible = 0;
  6740. }
  6741. else {
  6742. newLogicStateVisible = -1;
  6743. }
  6744. if (me._popup_video_file.ggCurrentLogicStateVisible != newLogicStateVisible) {
  6745. me._popup_video_file.ggCurrentLogicStateVisible = newLogicStateVisible;
  6746. me._popup_video_file.style[domTransition]='';
  6747. if (me._popup_video_file.ggCurrentLogicStateVisible == 0) {
  6748. me._popup_video_file.style.visibility=(Number(me._popup_video_file.style.opacity)>0||!me._popup_video_file.style.opacity)?'inherit':'hidden';
  6749. if (me._popup_video_file.ggVideoNotLoaded) {
  6750. me._popup_video_file.ggInitMedia(me._popup_video_file.ggVideoSource);
  6751. }
  6752. me._popup_video_file.ggVisible=true;
  6753. }
  6754. else {
  6755. me._popup_video_file.style.visibility="hidden";
  6756. me._popup_video_file.ggInitMedia('');
  6757. me._popup_video_file.ggVisible=false;
  6758. }
  6759. }
  6760. }
  6761. me._popup_video_file.ggUpdatePosition=function (useTransition) {
  6762. }
  6763. me._video_popup_file.appendChild(me._popup_video_file);
  6764. me.divSkin.appendChild(me._video_popup_file);
  6765. el=me._video_popup_controls_file=document.createElement('div');
  6766. el.ggId="video_popup_controls_file";
  6767. el.ggDx=0;
  6768. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6769. el.ggVisible=false;
  6770. el.className="ggskin ggskin_container ";
  6771. el.ggType='container';
  6772. hs ='';
  6773. hs+='bottom : 10px;';
  6774. hs+='height : 25px;';
  6775. hs+='left : -10000px;';
  6776. hs+='position : absolute;';
  6777. hs+='visibility : hidden;';
  6778. hs+='width : 284px;';
  6779. hs+='pointer-events:none;';
  6780. el.setAttribute('style',hs);
  6781. el.style[domTransform + 'Origin']='50% 50%';
  6782. me._video_popup_controls_file.ggIsActive=function() {
  6783. return false;
  6784. }
  6785. el.ggElementNodeId=function() {
  6786. return player.getCurrentNode();
  6787. }
  6788. me._video_popup_controls_file.logicBlock_visible = function() {
  6789. var newLogicStateVisible;
  6790. if (
  6791. (player.getVariableValue('vis_video_popup_file') == true)
  6792. )
  6793. {
  6794. newLogicStateVisible = 0;
  6795. }
  6796. else {
  6797. newLogicStateVisible = -1;
  6798. }
  6799. if (me._video_popup_controls_file.ggCurrentLogicStateVisible != newLogicStateVisible) {
  6800. me._video_popup_controls_file.ggCurrentLogicStateVisible = newLogicStateVisible;
  6801. me._video_popup_controls_file.style[domTransition]='';
  6802. if (me._video_popup_controls_file.ggCurrentLogicStateVisible == 0) {
  6803. me._video_popup_controls_file.style.visibility=(Number(me._video_popup_controls_file.style.opacity)>0||!me._video_popup_controls_file.style.opacity)?'inherit':'hidden';
  6804. me._video_popup_controls_file.ggVisible=true;
  6805. }
  6806. else {
  6807. me._video_popup_controls_file.style.visibility="hidden";
  6808. me._video_popup_controls_file.ggVisible=false;
  6809. }
  6810. }
  6811. }
  6812. me._video_popup_controls_file.ggUpdatePosition=function (useTransition) {
  6813. if (useTransition==='undefined') {
  6814. useTransition = false;
  6815. }
  6816. if (!useTransition) {
  6817. this.style[domTransition]='none';
  6818. }
  6819. if (this.parentNode) {
  6820. var pw=this.parentNode.clientWidth;
  6821. var w=this.offsetWidth;
  6822. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  6823. }
  6824. }
  6825. el=me._seekbar_file=document.createElement('div');
  6826. me._seekbar_file__playhead=document.createElement('div');
  6827. me._seekbar_file.mediaEl = null;
  6828. el.ggId="seekbar_file";
  6829. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  6830. el.ggVisible=true;
  6831. el.className="ggskin ggskin_seekbar ";
  6832. el.ggType='seekbar';
  6833. hs ='';
  6834. hs+='cursor : pointer;';
  6835. hs+='height : 14px;';
  6836. hs+='left : -2px;';
  6837. hs+='position : absolute;';
  6838. hs+='top : 4px;';
  6839. hs+='visibility : inherit;';
  6840. hs+='width : 246px;';
  6841. hs+='pointer-events:auto;';
  6842. el.setAttribute('style',hs);
  6843. el.style[domTransform + 'Origin']='50% 50%';
  6844. me._seekbar_file.connectToMediaEl = function() {
  6845. var disableSeekbar = function() {
  6846. me._seekbar_file__playhead.style.visibility = 'hidden';
  6847. me._seekbar_file.style.background = '#ffffff';
  6848. me._seekbar_file.ggConnected = false;
  6849. }
  6850. if (me._seekbar_file.mediaEl != null) {
  6851. me._seekbar_file.mediaEl.removeEventListener('progress', me._seekbar_file.updatePlayback);
  6852. me._seekbar_file.mediaEl.removeEventListener('canplay', me._seekbar_file.updatePlayback);
  6853. me._seekbar_file.mediaEl.removeEventListener('timeupdate', me._seekbar_file.updatePlayback);
  6854. if (me._seekbar_file.ggActivate) {
  6855. me._seekbar_file.mediaEl.removeEventListener('play', me._seekbar_file.ggActivate);
  6856. }
  6857. if (me._seekbar_file.ggDeactivate) {
  6858. me._seekbar_file.mediaEl.removeEventListener('ended', me._seekbar_file.ggDeactivate);
  6859. me._seekbar_file.mediaEl.removeEventListener('pause', me._seekbar_file.ggDeactivate);
  6860. }
  6861. if (me._seekbar_file.ggMediaEnded) {
  6862. me._seekbar_file.mediaEl.removeEventListener('ended', me._seekbar_file.ggMediaEnded);
  6863. }
  6864. }
  6865. me._seekbar_file.mediaEl = player.getMediaObject('popup_video_file');
  6866. if (me._seekbar_file.mediaEl != null) {
  6867. me._seekbar_file__playhead.style.visibility = 'inherit';
  6868. me._seekbar_file__playhead.style.left = '1px';
  6869. me._seekbar_file.mediaEl.addEventListener('progress', me._seekbar_file.updatePlayback);
  6870. me._seekbar_file.mediaEl.addEventListener('canplay', me._seekbar_file.updatePlayback);
  6871. me._seekbar_file.mediaEl.addEventListener('timeupdate', me._seekbar_file.updatePlayback);
  6872. if (me._seekbar_file.ggActivate) {
  6873. me._seekbar_file.mediaEl.addEventListener('play', me._seekbar_file.ggActivate);
  6874. }
  6875. if (me._seekbar_file.ggDeactivate) {
  6876. me._seekbar_file.mediaEl.addEventListener('ended', me._seekbar_file.ggDeactivate);
  6877. me._seekbar_file.mediaEl.addEventListener('pause', me._seekbar_file.ggDeactivate);
  6878. }
  6879. if (me._seekbar_file.ggMediaEnded) {
  6880. me._seekbar_file.mediaEl.addEventListener('ended', me._seekbar_file.ggMediaEnded);
  6881. }
  6882. me._seekbar_file.ggConnected = true;
  6883. } else {
  6884. disableSeekbar();
  6885. }
  6886. var videoEl = me.findElements('popup_video_file');
  6887. if (videoEl.length > 0 && !videoEl[0].hasChildNodes()) {
  6888. disableSeekbar();
  6889. }
  6890. }
  6891. me._seekbar_file.updatePlayback = function() {
  6892. if (!me._seekbar_file.ggConnected) return;
  6893. if (me._seekbar_file.mediaEl != null) {
  6894. if (me._seekbar_file.mediaEl.readyState) {
  6895. var percent = me._seekbar_file.mediaEl.currentTime / me._seekbar_file.mediaEl.duration;
  6896. var playheadpos = Math.round((me._seekbar_file.clientWidth - 2 * 8 + 1) * percent);
  6897. playheadpos += 1;
  6898. me._seekbar_file__playhead.style.left = playheadpos.toString() + 'px';
  6899. var offsetPercent = Math.round(100.0 * (8 / me._seekbar_file.clientWidth));
  6900. var currPos = offsetPercent + Math.round(percent * (100 - 2 * offsetPercent));
  6901. var gradientString ='linear-gradient(90deg, #808080 0%, #808080 ' + currPos + '%';
  6902. for (var i = 0; i < me._seekbar_file.mediaEl.buffered.length; i++) {
  6903. var rangeStart = Math.round((me._seekbar_file.mediaEl.buffered.start(i) / me._seekbar_file.mediaEl.duration) * 100.0);
  6904. var rangeEnd = Math.ceil((me._seekbar_file.mediaEl.buffered.end(i) / me._seekbar_file.mediaEl.duration) * 100.0);
  6905. if (rangeEnd > currPos) {
  6906. if (rangeStart < currPos) {
  6907. gradientString += ', #c0c0c0 ' + currPos + '%';
  6908. } else {
  6909. gradientString += ', #ffffff ' + currPos + '%, #ffffff ' + rangeStart + '%';
  6910. gradientString += ', #c0c0c0 ' + rangeStart + '%';
  6911. }
  6912. gradientString += ', #c0c0c0 ' + rangeEnd + '%';
  6913. currPos = rangeEnd;
  6914. }
  6915. }
  6916. if (currPos < 100) {
  6917. gradientString += ', #ffffff ' + currPos + '%';
  6918. }
  6919. gradientString += ')';
  6920. me._seekbar_file.style.background = gradientString;
  6921. }
  6922. }
  6923. }
  6924. me._seekbar_file.appendChild(me._seekbar_file__playhead);
  6925. hs+='background: #ffffff;';
  6926. hs+='border: 1px solid #ffffff;';
  6927. hs+='border-radius: 8px;';
  6928. hs+=cssPrefix + 'border-radius: 8px;';
  6929. var hs_playhead = 'height: 14px;';
  6930. hs_playhead += 'width: 14px;';
  6931. hs_playhead += 'border: 0px;';
  6932. hs_playhead += 'position: absolute;';
  6933. hs_playhead += 'left: 1px;';
  6934. hs_playhead += 'top: 0px;';
  6935. hs_playhead += 'border-radius: 7;';
  6936. hs_playhead += cssPrefix + 'border-radius: 7px;';
  6937. hs_playhead += 'background-color: rgba(255,255,255,1);';
  6938. hs_playhead += 'pointer-events: none;';
  6939. me._seekbar_file.setAttribute('style', hs);
  6940. me._seekbar_file__playhead.setAttribute('style', hs_playhead);
  6941. me._seekbar_file.ggIsActive=function() {
  6942. if (me._seekbar_file.mediaEl != null) {
  6943. return (me._seekbar_file.mediaEl.paused == false && me._seekbar_file.mediaEl.ended == false);
  6944. } else {
  6945. return false;
  6946. }
  6947. }
  6948. el.ggElementNodeId=function() {
  6949. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  6950. return this.parentNode.ggElementNodeId();
  6951. }
  6952. return player.getCurrentNode();
  6953. }
  6954. me._seekbar_file.onmousedown=function (e) {
  6955. if (e.buttons == 1 || (e.buttons == null && e.which == 1) || e.type == 'touchend') {
  6956. if (me._seekbar_file.mediaEl != null) {
  6957. var eventXPos;
  6958. if(e.type == 'touchend') eventXPos = e.layerX; else eventXPos = e.offsetX;
  6959. var seekpos = (eventXPos / me._seekbar_file.clientWidth) * me._seekbar_file.mediaEl.duration;
  6960. me._seekbar_file.mediaEl.currentTime = seekpos;
  6961. }
  6962. }
  6963. }
  6964. me._seekbar_file.onmousemove=function (e) {
  6965. if (e.buttons == 1 || (e.buttons == null && e.which == 1) || e.type == 'touchend') {
  6966. if (me._seekbar_file.mediaEl != null) {
  6967. var eventXPos;
  6968. if(e.type == 'touchend') eventXPos = e.layerX; else eventXPos = e.offsetX;
  6969. var seekpos = (eventXPos / me._seekbar_file.clientWidth) * me._seekbar_file.mediaEl.duration;
  6970. me._seekbar_file.mediaEl.currentTime = seekpos;
  6971. }
  6972. }
  6973. }
  6974. me._seekbar_file.ontouchend=function (e) {
  6975. if (e.buttons == 1 || (e.buttons == null && e.which == 1) || e.type == 'touchend') {
  6976. if (me._seekbar_file.mediaEl != null) {
  6977. var eventXPos;
  6978. if(e.type == 'touchend') eventXPos = e.layerX; else eventXPos = e.offsetX;
  6979. var seekpos = (eventXPos / me._seekbar_file.clientWidth) * me._seekbar_file.mediaEl.duration;
  6980. me._seekbar_file.mediaEl.currentTime = seekpos;
  6981. }
  6982. }
  6983. }
  6984. me._seekbar_file.ggActivate=function () {
  6985. me._ht_video_pause_file.style[domTransition]='none';
  6986. me._ht_video_pause_file.style.visibility=(Number(me._ht_video_pause_file.style.opacity)>0||!me._ht_video_pause_file.style.opacity)?'inherit':'hidden';
  6987. me._ht_video_pause_file.ggVisible=true;
  6988. me._ht_video_play_file.style[domTransition]='none';
  6989. me._ht_video_play_file.style.visibility='hidden';
  6990. me._ht_video_play_file.ggVisible=false;
  6991. }
  6992. me._seekbar_file.ggDeactivate=function () {
  6993. me._ht_video_play_file.style[domTransition]='none';
  6994. me._ht_video_play_file.style.visibility=(Number(me._ht_video_play_file.style.opacity)>0||!me._ht_video_play_file.style.opacity)?'inherit':'hidden';
  6995. me._ht_video_play_file.ggVisible=true;
  6996. me._ht_video_pause_file.style[domTransition]='none';
  6997. me._ht_video_pause_file.style.visibility='hidden';
  6998. me._ht_video_pause_file.ggVisible=false;
  6999. }
  7000. me._seekbar_file.ggUpdatePosition=function (useTransition) {
  7001. }
  7002. me._seekbar_file.ggNodeChange=function () {
  7003. me._seekbar_file.connectToMediaEl();
  7004. }
  7005. me._video_popup_controls_file.appendChild(me._seekbar_file);
  7006. el=me._ht_video_play_file=document.createElement('div');
  7007. els=me._ht_video_play_file__img=document.createElement('img');
  7008. els.className='ggskin ggskin_svg';
  7009. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  7010. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSI+CgkJPHBhdGggZD0iTTExLjkzMiwyMi43OTdjLTAuMzctMC4yMTMtMC41OTgtMC42MDgtMC41OTgtMS4wMzVsMCwwVjEwLjIzOWMwLTAuNDI4LDAuMjI4LTAuODIyLDAuNTk4LTEuMDM2bDAsMA0KCQkJYzAuMzctMC4yMTQsMC44MjYtMC4yMTQsMS4xOTYsMGwwLDBsOS45NzgsNS43NjFjMC4zNywwLjIxNCwwLjU5OSwwLjYwOCwwLjU5OSwxLjAzNmwwLDBjMCwwLjQy'+
  7011. 'OC0wLjIyOSwwLjgyMi0wLjU5OSwxLjAzNmwwLDANCgkJCWwtOS45NzgsNS43NjFjLTAuMTg1LDAuMTA3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sNy4wMjIsMTguNzk1LDUuODk0LDE2LDUuODkzbDAsMGMtMi43OTUsMC01LjMxNCwxLjEyOS03LjE0NywyLjk2bD'+
  7016. 'AsMA0KCQkJQzcuMDIyLDEwLjY4Nyw1Ljg5MywxMy4yMDUsNS44OTMsMTZMNS44OTMsMTZMNS44OTMsMTZ6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  7017. me._ht_video_play_file__img.setAttribute('src',hs);
  7018. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_video_play_file;');
  7019. els['ondragstart']=function() { return false; };
  7020. el.appendChild(els);
  7021. el.ggSubElement = els;
  7022. elo=me._ht_video_play_file__imgo=document.createElement('img');
  7023. elo.className='ggskin ggskin_svg';
  7024. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  7025. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9I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6Ii8+DQoJCTxwYXRo'+
  7030. 'IGQ9Ik0zLjUsMTZMMy41LDE2YzAtNi45MDQsNS41OTYtMTIuNDk5LDEyLjUtMTIuNWwwLDBjNi45MDQsMCwxMi40OTksNS41OTYsMTIuNSwxMi41bDAsMA0KCQkJYy0wLjAwMSw2LjkwMy01LjU5NiwxMi40OTgtMTIuNSwxMi41bDAsMEM5LjA5NiwyOC40OTgsMy41MDEsMjIuOTAzLDMuNSwxNkwzLjUsMTZ6IE01Ljg5MywxNmMwLDIuNzk1LDEuMTI5LDUuMzEzLDIuOTYxLDcuMTQ2DQoJCQlsMCwwYzEuODMzLDEuODMxLDQuMzUyLDIuOTYsNy4xNDcsMi45NmwwLDBjMi43OTQsMCw1LjMxNC0xLjEyOSw3LjE0Ni0yLjk2bDAsMGMxLjgzMi0xLjgzMywyLjk2LTQuMzUyLDIuOTYxLTcuMTQ2bDAsMA'+
  7031. '0KCQkJYy0wLjAwMS0yLjc5NS0xLjEyOS01LjMxMy0yLjk2MS03LjE0N2wwLDBDMjEuMzE0LDcuMDIyLDE4Ljc5NSw1Ljg5NCwxNiw1Ljg5M2wwLDBjLTIuNzk1LDAtNS4zMTQsMS4xMjktNy4xNDcsMi45NmwwLDANCgkJCUM3LjAyMiwxMC42ODcsNS44OTMsMTMuMjA1LDUuODkzLDE2TDUuODkzLDE2TDUuODkzLDE2eiIvPg0KCTwvZz4KPC9zdmc+';
  7032. me._ht_video_play_file__imgo.setAttribute('src',hs);
  7033. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_video_play_file;');
  7034. elo['ondragstart']=function() { return false; };
  7035. el.appendChild(elo);
  7036. el.ggId="ht_video_play_file";
  7037. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  7038. el.ggVisible=false;
  7039. el.className="ggskin ggskin_svg ";
  7040. el.ggType='svg';
  7041. hs ='';
  7042. hs+='cursor : pointer;';
  7043. hs+='height : 25px;';
  7044. hs+='left : 259px;';
  7045. hs+='position : absolute;';
  7046. hs+='top : 0px;';
  7047. hs+='visibility : hidden;';
  7048. hs+='width : 25px;';
  7049. hs+='pointer-events:auto;';
  7050. el.setAttribute('style',hs);
  7051. el.style[domTransform + 'Origin']='50% 50%';
  7052. me._ht_video_play_file.ggIsActive=function() {
  7053. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  7054. return this.parentNode.ggIsActive();
  7055. }
  7056. return false;
  7057. }
  7058. el.ggElementNodeId=function() {
  7059. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  7060. return this.parentNode.ggElementNodeId();
  7061. }
  7062. return player.getCurrentNode();
  7063. }
  7064. me._ht_video_play_file.onclick=function (e) {
  7065. player.playSound("popup_video_file","1");
  7066. me._ht_video_play_file.style[domTransition]='none';
  7067. me._ht_video_play_file.style.visibility='hidden';
  7068. me._ht_video_play_file.ggVisible=false;
  7069. me._ht_video_pause_file.style[domTransition]='none';
  7070. me._ht_video_pause_file.style.visibility=(Number(me._ht_video_pause_file.style.opacity)>0||!me._ht_video_pause_file.style.opacity)?'inherit':'hidden';
  7071. me._ht_video_pause_file.ggVisible=true;
  7072. }
  7073. me._ht_video_play_file.onmouseover=function (e) {
  7074. me._ht_video_play_file__img.style.visibility='hidden';
  7075. me._ht_video_play_file__imgo.style.visibility='inherit';
  7076. }
  7077. me._ht_video_play_file.onmouseout=function (e) {
  7078. me._ht_video_play_file__img.style.visibility='inherit';
  7079. me._ht_video_play_file__imgo.style.visibility='hidden';
  7080. }
  7081. me._ht_video_play_file.ggUpdatePosition=function (useTransition) {
  7082. }
  7083. me._video_popup_controls_file.appendChild(me._ht_video_play_file);
  7084. el=me._ht_video_pause_file=document.createElement('div');
  7085. els=me._ht_video_pause_file__img=document.createElement('img');
  7086. els.className='ggskin ggskin_svg';
  7087. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLS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094. 'Y2LTAuNTM2LDEuMTk1LTEuMTk2LDEuMTk1bDAsMEMxNy43MSwyMS42OTMsMTcuMTc1LDIxLjE1OCwxNy4xNzUsMjAuNDk4TDE3LjE3NSwyMC40OTh6Ii8+DQoJCTwvZz4NCgk8L2c+Cjwvc3ZnPg==';
  7095. me._ht_video_pause_file__img.setAttribute('src',hs);
  7096. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_video_pause_file;');
  7097. els['ondragstart']=function() { return false; };
  7098. el.appendChild(els);
  7099. el.ggSubElement = els;
  7100. elo=me._ht_video_pause_file__imgo=document.createElement('img');
  7101. elo.className='ggskin ggskin_svg';
  7102. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  7103. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTY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MCwwDQoJCQlDNy4wMjIsMTAuNjg2LDUuODk0LDEzLjIwNSw1Ljg5MywxNmwwLDBoMEM1Ljg5NCwxOC43OTUsNy4wMjIsMjEuMzE0LDguODUzLDIzLjE0Nkw4Ljg1MywyMy4xNDZ6Ii8+DQoJCTxnPg0KCQkJPHBhdGggZD0iTTEyLjQzMywyMC40OTh2LTguOTk1YzAtMC42NjEsMC41MzYtMS4xOTYsMS4xOTYtMS4xOTZsMCwwYzAuNjYxLDAsMS4xOTYsMC41MzUsMS4xOTYsMS4xOTZsMCwwdjguOTk1DQoJCQkJYzAsMC42Ni0wLjUzNiwxLjE5NS0xLjE5NiwxLjE5NWwwLDBDMTIuOTY5LDIxLjY5MywxMi40MzMsMjEuMTU4LDEyLjQzMywyMC40OThMMTIuNDMzLDIwLjQ5OHoiLz4NCgkJCT'+
  7109. 'xwYXRoIGQ9Ik0xNy4xNzUsMjAuNDk4di04Ljk5NWMwLTAuNjYxLDAuNTM1LTEuMTk2LDEuMTk2LTEuMTk2bDAsMGMwLjY2LDAsMS4xOTYsMC41MzUsMS4xOTYsMS4xOTZsMCwwdjguOTk1DQoJCQkJYzAsMC42Ni0wLjUzNiwxLjE5NS0xLjE5NiwxLjE5NWwwLDBDMTcuNzEsMjEuNjkzLDE3LjE3NSwyMS4xNTgsMTcuMTc1LDIwLjQ5OEwxNy4xNzUsMjAuNDk4eiIvPg0KCQk8L2c+DQoJPC9nPgo8L3N2Zz4=';
  7110. me._ht_video_pause_file__imgo.setAttribute('src',hs);
  7111. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_video_pause_file;');
  7112. elo['ondragstart']=function() { return false; };
  7113. el.appendChild(elo);
  7114. el.ggId="ht_video_pause_file";
  7115. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  7116. el.ggVisible=true;
  7117. el.className="ggskin ggskin_svg ";
  7118. el.ggType='svg';
  7119. hs ='';
  7120. hs+='cursor : pointer;';
  7121. hs+='height : 25px;';
  7122. hs+='left : 259px;';
  7123. hs+='position : absolute;';
  7124. hs+='top : 0px;';
  7125. hs+='visibility : inherit;';
  7126. hs+='width : 25px;';
  7127. hs+='pointer-events:auto;';
  7128. el.setAttribute('style',hs);
  7129. el.style[domTransform + 'Origin']='50% 50%';
  7130. me._ht_video_pause_file.ggIsActive=function() {
  7131. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  7132. return this.parentNode.ggIsActive();
  7133. }
  7134. return false;
  7135. }
  7136. el.ggElementNodeId=function() {
  7137. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  7138. return this.parentNode.ggElementNodeId();
  7139. }
  7140. return player.getCurrentNode();
  7141. }
  7142. me._ht_video_pause_file.onclick=function (e) {
  7143. player.pauseSound("popup_video_file");
  7144. me._ht_video_pause_file.style[domTransition]='none';
  7145. me._ht_video_pause_file.style.visibility='hidden';
  7146. me._ht_video_pause_file.ggVisible=false;
  7147. me._ht_video_play_file.style[domTransition]='none';
  7148. me._ht_video_play_file.style.visibility=(Number(me._ht_video_play_file.style.opacity)>0||!me._ht_video_play_file.style.opacity)?'inherit':'hidden';
  7149. me._ht_video_play_file.ggVisible=true;
  7150. }
  7151. me._ht_video_pause_file.onmouseover=function (e) {
  7152. me._ht_video_pause_file__img.style.visibility='hidden';
  7153. me._ht_video_pause_file__imgo.style.visibility='inherit';
  7154. }
  7155. me._ht_video_pause_file.onmouseout=function (e) {
  7156. me._ht_video_pause_file__img.style.visibility='inherit';
  7157. me._ht_video_pause_file__imgo.style.visibility='hidden';
  7158. }
  7159. me._ht_video_pause_file.ggUpdatePosition=function (useTransition) {
  7160. }
  7161. me._video_popup_controls_file.appendChild(me._ht_video_pause_file);
  7162. me.divSkin.appendChild(me._video_popup_controls_file);
  7163. el=me._video_popup_url=document.createElement('div');
  7164. el.ggId="video_popup_url";
  7165. el.ggDx=0;
  7166. el.ggDy=0;
  7167. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  7168. el.ggVisible=false;
  7169. el.className="ggskin ggskin_container ";
  7170. el.ggType='container';
  7171. hs ='';
  7172. hs+='height : 80%;';
  7173. hs+='left : -10000px;';
  7174. hs+='position : absolute;';
  7175. hs+='top : -10000px;';
  7176. hs+='visibility : hidden;';
  7177. hs+='width : 80%;';
  7178. hs+='pointer-events:none;';
  7179. el.setAttribute('style',hs);
  7180. el.style[domTransform + 'Origin']='50% 50%';
  7181. me._video_popup_url.ggIsActive=function() {
  7182. return false;
  7183. }
  7184. el.ggElementNodeId=function() {
  7185. return player.getCurrentNode();
  7186. }
  7187. me._video_popup_url.logicBlock_visible = function() {
  7188. var newLogicStateVisible;
  7189. if (
  7190. (player.getVariableValue('vis_video_popup_url') == true)
  7191. )
  7192. {
  7193. newLogicStateVisible = 0;
  7194. }
  7195. else {
  7196. newLogicStateVisible = -1;
  7197. }
  7198. if (me._video_popup_url.ggCurrentLogicStateVisible != newLogicStateVisible) {
  7199. me._video_popup_url.ggCurrentLogicStateVisible = newLogicStateVisible;
  7200. me._video_popup_url.style[domTransition]='';
  7201. if (me._video_popup_url.ggCurrentLogicStateVisible == 0) {
  7202. me._video_popup_url.style.visibility=(Number(me._video_popup_url.style.opacity)>0||!me._video_popup_url.style.opacity)?'inherit':'hidden';
  7203. me._video_popup_url.ggVisible=true;
  7204. }
  7205. else {
  7206. me._video_popup_url.style.visibility="hidden";
  7207. me._video_popup_url.ggVisible=false;
  7208. }
  7209. }
  7210. }
  7211. me._video_popup_url.ggUpdatePosition=function (useTransition) {
  7212. if (useTransition==='undefined') {
  7213. useTransition = false;
  7214. }
  7215. if (!useTransition) {
  7216. this.style[domTransition]='none';
  7217. }
  7218. if (this.parentNode) {
  7219. var pw=this.parentNode.clientWidth;
  7220. var w=this.offsetWidth;
  7221. this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px';
  7222. var ph=this.parentNode.clientHeight;
  7223. var h=this.offsetHeight;
  7224. this.style.top=((this.ggDy * ph)/100.0 + ph/2 - h/2) + 'px';
  7225. }
  7226. }
  7227. el=me._loading_video_url=document.createElement('div');
  7228. els=me._loading_video_url__img=document.createElement('img');
  7229. els.className='ggskin ggskin_svg';
  7230. hs='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiBmaWxsPSJ3aGl0ZSI+CiAgPGNpcmNsZSBjeD0iMTYiIGN5PSIzIiByPSIwIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InIiIHZhbHVlcz0iMDszOzA7MCIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwIiBrZXlTcGxpbmVzPSIwLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40IDAuOCIgY2FsY01vZGU9InNwbGluZSIgLz4KICA8L2NpcmNsZT4KICA8Y2lyY2xlIHRyYW5zZm9ybT0icm'+
  7231. '90YXRlKDQ1IDE2IDE2KSIgY3g9IjE2IiBjeT0iMyIgcj0iMCI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiB2YWx1ZXM9IjA7MzswOzAiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC4xMjVzIiBrZXlTcGxpbmVzPSIwLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40IDAuOCIgY2FsY01vZGU9InNwbGluZSIgLz4KICA8L2NpcmNsZT4KICA8Y2lyY2xlIHRyYW5zZm9ybT0icm90YXRlKDkwIDE2IDE2KSIgY3g9IjE2IiBjeT0iMyIgcj0iMCI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiB2YWx1ZXM9IjA7MzswOzAi'+
  7232.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SIwLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40IDAuOCIgY2FsY01vZGU9InNwbGluZSIgLz4KICA8L2NpcmNsZT4KPC9zdmc+Cg==';
  7237. me._loading_video_url__img.setAttribute('src',hs);
  7238. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;loading_video_url;');
  7239. els['ondragstart']=function() { return false; };
  7240. el.appendChild(els);
  7241. el.ggSubElement = els;
  7242. el.ggId="loading_video_url";
  7243. el.ggDx=0;
  7244. el.ggDy=0;
  7245. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  7246. el.ggVisible=true;
  7247. el.className="ggskin ggskin_svg ";
  7248. el.ggType='svg';
  7249. hs ='';
  7250. hs+='height : 40px;';
  7251. hs+='left : -10000px;';
  7252. hs+='position : absolute;';
  7253. hs+='top : -10000px;';
  7254. hs+='visibility : inherit;';
  7255. hs+='width : 40px;';
  7256. hs+='pointer-events:auto;';
  7257. el.setAttribute('style',hs);
  7258. el.style[domTransform + 'Origin']='50% 50%';
  7259. me._loading_video_url.ggIsActive=function() {
  7260. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  7261. return this.parentNode.ggIsActive();
  7262. }
  7263. return false;
  7264. }
  7265. el.ggElementNodeId=function() {
  7266. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  7267. return this.parentNode.ggElementNodeId();
  7268. }
  7269. return player.getCurrentNode();
  7270. }
  7271. me._loading_video_url.ggUpdatePosition=function (useTransition) {
  7272. if (useTransition==='undefined') {
  7273. useTransition = false;
  7274. }
  7275. if (!useTransition) {
  7276. this.style[domTransition]='none';
  7277. }
  7278. if (this.parentNode) {
  7279. var pw=this.parentNode.clientWidth;
  7280. var w=this.offsetWidth;
  7281. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  7282. var ph=this.parentNode.clientHeight;
  7283. var h=this.offsetHeight;
  7284. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  7285. }
  7286. }
  7287. me._video_popup_url.appendChild(me._loading_video_url);
  7288. el=me._popup_video_url=document.createElement('div');
  7289. me._popup_video_url.seekbars = [];
  7290. me._popup_video_url.seekbars.push('seekbar_url');
  7291. me._popup_video_url.ggInitMedia = function(media) {
  7292. var notifySeekbars = function() {
  7293. for (var i = 0; i < me._popup_video_url.seekbars.length; i++) {
  7294. var seekbar = me.findElements(me._popup_video_url.seekbars[i]);
  7295. if (seekbar.length > 0) seekbar[0].connectToMediaEl();
  7296. }
  7297. }
  7298. while (me._popup_video_url.hasChildNodes()) {
  7299. me._popup_video_url.removeChild(me._popup_video_url.lastChild);
  7300. }
  7301. if (me._popup_video_url__vid) {
  7302. me._popup_video_url__vid.pause();
  7303. }
  7304. if(media == '') {
  7305. notifySeekbars();
  7306. me._popup_video_url.ggVideoNotLoaded = true;
  7307. return;
  7308. }
  7309. me._popup_video_url.ggVideoNotLoaded = false;
  7310. me._popup_video_url__vid=document.createElement('video');
  7311. me._popup_video_url__vid.className='ggskin ggskin_video';
  7312. me._popup_video_url__vid.setAttribute('width', '100%');
  7313. me._popup_video_url__vid.setAttribute('height', '100%');
  7314. me._popup_video_url__vid.setAttribute('autoplay', '');
  7315. me._popup_video_url__source=document.createElement('source');
  7316. me._popup_video_url__source.setAttribute('src', media);
  7317. me._popup_video_url__vid.setAttribute('playsinline', 'playsinline');
  7318. me._popup_video_url__vid.setAttribute('style', ';');
  7319. me._popup_video_url__vid.appendChild(me._popup_video_url__source);
  7320. me._popup_video_url.appendChild(me._popup_video_url__vid);
  7321. var videoEl = player.registerVideoElement('popup_video_url', me._popup_video_url__vid);
  7322. videoEl.autoplay = true;
  7323. notifySeekbars();
  7324. me._popup_video_url.ggVideoSource = media;
  7325. }
  7326. el.ggId="popup_video_url";
  7327. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  7328. el.ggVisible=false;
  7329. el.className="ggskin ggskin_video ";
  7330. el.ggType='video';
  7331. hs ='';
  7332. hs+='height : 100%;';
  7333. hs+='left : 0%;';
  7334. hs+='position : absolute;';
  7335. hs+='top : 0%;';
  7336. hs+='visibility : hidden;';
  7337. hs+='width : 100%;';
  7338. hs+='pointer-events:auto;';
  7339. el.setAttribute('style',hs);
  7340. el.style[domTransform + 'Origin']='50% 50%';
  7341. me._popup_video_url.ggIsActive=function() {
  7342. if (me._popup_video_url__vid != null) {
  7343. return (me._popup_video_url__vid.paused == false && me._popup_video_url__vid.ended == false);
  7344. } else {
  7345. return false;
  7346. }
  7347. }
  7348. el.ggElementNodeId=function() {
  7349. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  7350. return this.parentNode.ggElementNodeId();
  7351. }
  7352. return player.getCurrentNode();
  7353. }
  7354. me._popup_video_url.logicBlock_visible = function() {
  7355. var newLogicStateVisible;
  7356. if (
  7357. (player.getVariableValue('vis_video_popup_url') == true)
  7358. )
  7359. {
  7360. newLogicStateVisible = 0;
  7361. }
  7362. else {
  7363. newLogicStateVisible = -1;
  7364. }
  7365. if (me._popup_video_url.ggCurrentLogicStateVisible != newLogicStateVisible) {
  7366. me._popup_video_url.ggCurrentLogicStateVisible = newLogicStateVisible;
  7367. me._popup_video_url.style[domTransition]='';
  7368. if (me._popup_video_url.ggCurrentLogicStateVisible == 0) {
  7369. me._popup_video_url.style.visibility=(Number(me._popup_video_url.style.opacity)>0||!me._popup_video_url.style.opacity)?'inherit':'hidden';
  7370. if (me._popup_video_url.ggVideoNotLoaded) {
  7371. me._popup_video_url.ggInitMedia(me._popup_video_url.ggVideoSource);
  7372. }
  7373. me._popup_video_url.ggVisible=true;
  7374. }
  7375. else {
  7376. me._popup_video_url.style.visibility="hidden";
  7377. me._popup_video_url.ggInitMedia('');
  7378. me._popup_video_url.ggVisible=false;
  7379. }
  7380. }
  7381. }
  7382. me._popup_video_url.ggUpdatePosition=function (useTransition) {
  7383. }
  7384. me._video_popup_url.appendChild(me._popup_video_url);
  7385. me.divSkin.appendChild(me._video_popup_url);
  7386. el=me._video_popup_controls_url=document.createElement('div');
  7387. el.ggId="video_popup_controls_url";
  7388. el.ggDx=0;
  7389. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  7390. el.ggVisible=false;
  7391. el.className="ggskin ggskin_container ";
  7392. el.ggType='container';
  7393. hs ='';
  7394. hs+='bottom : 10px;';
  7395. hs+='height : 25px;';
  7396. hs+='left : -10000px;';
  7397. hs+='position : absolute;';
  7398. hs+='visibility : hidden;';
  7399. hs+='width : 284px;';
  7400. hs+='pointer-events:none;';
  7401. el.setAttribute('style',hs);
  7402. el.style[domTransform + 'Origin']='50% 50%';
  7403. me._video_popup_controls_url.ggIsActive=function() {
  7404. return false;
  7405. }
  7406. el.ggElementNodeId=function() {
  7407. return player.getCurrentNode();
  7408. }
  7409. me._video_popup_controls_url.logicBlock_visible = function() {
  7410. var newLogicStateVisible;
  7411. if (
  7412. (player.getVariableValue('vis_video_popup_url') == true)
  7413. )
  7414. {
  7415. newLogicStateVisible = 0;
  7416. }
  7417. else {
  7418. newLogicStateVisible = -1;
  7419. }
  7420. if (me._video_popup_controls_url.ggCurrentLogicStateVisible != newLogicStateVisible) {
  7421. me._video_popup_controls_url.ggCurrentLogicStateVisible = newLogicStateVisible;
  7422. me._video_popup_controls_url.style[domTransition]='';
  7423. if (me._video_popup_controls_url.ggCurrentLogicStateVisible == 0) {
  7424. me._video_popup_controls_url.style.visibility=(Number(me._video_popup_controls_url.style.opacity)>0||!me._video_popup_controls_url.style.opacity)?'inherit':'hidden';
  7425. me._video_popup_controls_url.ggVisible=true;
  7426. }
  7427. else {
  7428. me._video_popup_controls_url.style.visibility="hidden";
  7429. me._video_popup_controls_url.ggVisible=false;
  7430. }
  7431. }
  7432. }
  7433. me._video_popup_controls_url.ggUpdatePosition=function (useTransition) {
  7434. if (useTransition==='undefined') {
  7435. useTransition = false;
  7436. }
  7437. if (!useTransition) {
  7438. this.style[domTransition]='none';
  7439. }
  7440. if (this.parentNode) {
  7441. var pw=this.parentNode.clientWidth;
  7442. var w=this.offsetWidth;
  7443. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  7444. }
  7445. }
  7446. el=me._seekbar_url=document.createElement('div');
  7447. me._seekbar_url__playhead=document.createElement('div');
  7448. me._seekbar_url.mediaEl = null;
  7449. el.ggId="seekbar_url";
  7450. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  7451. el.ggVisible=true;
  7452. el.className="ggskin ggskin_seekbar ";
  7453. el.ggType='seekbar';
  7454. hs ='';
  7455. hs+='cursor : pointer;';
  7456. hs+='height : 14px;';
  7457. hs+='left : -2px;';
  7458. hs+='position : absolute;';
  7459. hs+='top : 4px;';
  7460. hs+='visibility : inherit;';
  7461. hs+='width : 246px;';
  7462. hs+='pointer-events:auto;';
  7463. el.setAttribute('style',hs);
  7464. el.style[domTransform + 'Origin']='50% 50%';
  7465. me._seekbar_url.connectToMediaEl = function() {
  7466. var disableSeekbar = function() {
  7467. me._seekbar_url__playhead.style.visibility = 'hidden';
  7468. me._seekbar_url.style.background = '#ffffff';
  7469. me._seekbar_url.ggConnected = false;
  7470. }
  7471. if (me._seekbar_url.mediaEl != null) {
  7472. me._seekbar_url.mediaEl.removeEventListener('progress', me._seekbar_url.updatePlayback);
  7473. me._seekbar_url.mediaEl.removeEventListener('canplay', me._seekbar_url.updatePlayback);
  7474. me._seekbar_url.mediaEl.removeEventListener('timeupdate', me._seekbar_url.updatePlayback);
  7475. if (me._seekbar_url.ggActivate) {
  7476. me._seekbar_url.mediaEl.removeEventListener('play', me._seekbar_url.ggActivate);
  7477. }
  7478. if (me._seekbar_url.ggDeactivate) {
  7479. me._seekbar_url.mediaEl.removeEventListener('ended', me._seekbar_url.ggDeactivate);
  7480. me._seekbar_url.mediaEl.removeEventListener('pause', me._seekbar_url.ggDeactivate);
  7481. }
  7482. if (me._seekbar_url.ggMediaEnded) {
  7483. me._seekbar_url.mediaEl.removeEventListener('ended', me._seekbar_url.ggMediaEnded);
  7484. }
  7485. }
  7486. me._seekbar_url.mediaEl = player.getMediaObject('popup_video_url');
  7487. if (me._seekbar_url.mediaEl != null) {
  7488. me._seekbar_url__playhead.style.visibility = 'inherit';
  7489. me._seekbar_url__playhead.style.left = '1px';
  7490. me._seekbar_url.mediaEl.addEventListener('progress', me._seekbar_url.updatePlayback);
  7491. me._seekbar_url.mediaEl.addEventListener('canplay', me._seekbar_url.updatePlayback);
  7492. me._seekbar_url.mediaEl.addEventListener('timeupdate', me._seekbar_url.updatePlayback);
  7493. if (me._seekbar_url.ggActivate) {
  7494. me._seekbar_url.mediaEl.addEventListener('play', me._seekbar_url.ggActivate);
  7495. }
  7496. if (me._seekbar_url.ggDeactivate) {
  7497. me._seekbar_url.mediaEl.addEventListener('ended', me._seekbar_url.ggDeactivate);
  7498. me._seekbar_url.mediaEl.addEventListener('pause', me._seekbar_url.ggDeactivate);
  7499. }
  7500. if (me._seekbar_url.ggMediaEnded) {
  7501. me._seekbar_url.mediaEl.addEventListener('ended', me._seekbar_url.ggMediaEnded);
  7502. }
  7503. me._seekbar_url.ggConnected = true;
  7504. } else {
  7505. disableSeekbar();
  7506. }
  7507. var videoEl = me.findElements('popup_video_url');
  7508. if (videoEl.length > 0 && !videoEl[0].hasChildNodes()) {
  7509. disableSeekbar();
  7510. }
  7511. }
  7512. me._seekbar_url.updatePlayback = function() {
  7513. if (!me._seekbar_url.ggConnected) return;
  7514. if (me._seekbar_url.mediaEl != null) {
  7515. if (me._seekbar_url.mediaEl.readyState) {
  7516. var percent = me._seekbar_url.mediaEl.currentTime / me._seekbar_url.mediaEl.duration;
  7517. var playheadpos = Math.round((me._seekbar_url.clientWidth - 2 * 8 + 1) * percent);
  7518. playheadpos += 1;
  7519. me._seekbar_url__playhead.style.left = playheadpos.toString() + 'px';
  7520. var offsetPercent = Math.round(100.0 * (8 / me._seekbar_url.clientWidth));
  7521. var currPos = offsetPercent + Math.round(percent * (100 - 2 * offsetPercent));
  7522. var gradientString ='linear-gradient(90deg, #808080 0%, #808080 ' + currPos + '%';
  7523. for (var i = 0; i < me._seekbar_url.mediaEl.buffered.length; i++) {
  7524. var rangeStart = Math.round((me._seekbar_url.mediaEl.buffered.start(i) / me._seekbar_url.mediaEl.duration) * 100.0);
  7525. var rangeEnd = Math.ceil((me._seekbar_url.mediaEl.buffered.end(i) / me._seekbar_url.mediaEl.duration) * 100.0);
  7526. if (rangeEnd > currPos) {
  7527. if (rangeStart < currPos) {
  7528. gradientString += ', #c0c0c0 ' + currPos + '%';
  7529. } else {
  7530. gradientString += ', #ffffff ' + currPos + '%, #ffffff ' + rangeStart + '%';
  7531. gradientString += ', #c0c0c0 ' + rangeStart + '%';
  7532. }
  7533. gradientString += ', #c0c0c0 ' + rangeEnd + '%';
  7534. currPos = rangeEnd;
  7535. }
  7536. }
  7537. if (currPos < 100) {
  7538. gradientString += ', #ffffff ' + currPos + '%';
  7539. }
  7540. gradientString += ')';
  7541. me._seekbar_url.style.background = gradientString;
  7542. }
  7543. }
  7544. }
  7545. me._seekbar_url.appendChild(me._seekbar_url__playhead);
  7546. hs+='background: #ffffff;';
  7547. hs+='border: 1px solid #ffffff;';
  7548. hs+='border-radius: 8px;';
  7549. hs+=cssPrefix + 'border-radius: 8px;';
  7550. var hs_playhead = 'height: 14px;';
  7551. hs_playhead += 'width: 14px;';
  7552. hs_playhead += 'border: 0px;';
  7553. hs_playhead += 'position: absolute;';
  7554. hs_playhead += 'left: 1px;';
  7555. hs_playhead += 'top: 0px;';
  7556. hs_playhead += 'border-radius: 7;';
  7557. hs_playhead += cssPrefix + 'border-radius: 7px;';
  7558. hs_playhead += 'background-color: rgba(255,255,255,1);';
  7559. hs_playhead += 'pointer-events: none;';
  7560. me._seekbar_url.setAttribute('style', hs);
  7561. me._seekbar_url__playhead.setAttribute('style', hs_playhead);
  7562. me._seekbar_url.ggIsActive=function() {
  7563. if (me._seekbar_url.mediaEl != null) {
  7564. return (me._seekbar_url.mediaEl.paused == false && me._seekbar_url.mediaEl.ended == false);
  7565. } else {
  7566. return false;
  7567. }
  7568. }
  7569. el.ggElementNodeId=function() {
  7570. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  7571. return this.parentNode.ggElementNodeId();
  7572. }
  7573. return player.getCurrentNode();
  7574. }
  7575. me._seekbar_url.onmousedown=function (e) {
  7576. if (e.buttons == 1 || (e.buttons == null && e.which == 1) || e.type == 'touchend') {
  7577. if (me._seekbar_url.mediaEl != null) {
  7578. var eventXPos;
  7579. if(e.type == 'touchend') eventXPos = e.layerX; else eventXPos = e.offsetX;
  7580. var seekpos = (eventXPos / me._seekbar_url.clientWidth) * me._seekbar_url.mediaEl.duration;
  7581. me._seekbar_url.mediaEl.currentTime = seekpos;
  7582. }
  7583. }
  7584. }
  7585. me._seekbar_url.onmousemove=function (e) {
  7586. if (e.buttons == 1 || (e.buttons == null && e.which == 1) || e.type == 'touchend') {
  7587. if (me._seekbar_url.mediaEl != null) {
  7588. var eventXPos;
  7589. if(e.type == 'touchend') eventXPos = e.layerX; else eventXPos = e.offsetX;
  7590. var seekpos = (eventXPos / me._seekbar_url.clientWidth) * me._seekbar_url.mediaEl.duration;
  7591. me._seekbar_url.mediaEl.currentTime = seekpos;
  7592. }
  7593. }
  7594. }
  7595. me._seekbar_url.ontouchend=function (e) {
  7596. if (e.buttons == 1 || (e.buttons == null && e.which == 1) || e.type == 'touchend') {
  7597. if (me._seekbar_url.mediaEl != null) {
  7598. var eventXPos;
  7599. if(e.type == 'touchend') eventXPos = e.layerX; else eventXPos = e.offsetX;
  7600. var seekpos = (eventXPos / me._seekbar_url.clientWidth) * me._seekbar_url.mediaEl.duration;
  7601. me._seekbar_url.mediaEl.currentTime = seekpos;
  7602. }
  7603. }
  7604. }
  7605. me._seekbar_url.ggActivate=function () {
  7606. me._ht_video_pause_url.style[domTransition]='none';
  7607. me._ht_video_pause_url.style.visibility=(Number(me._ht_video_pause_url.style.opacity)>0||!me._ht_video_pause_url.style.opacity)?'inherit':'hidden';
  7608. me._ht_video_pause_url.ggVisible=true;
  7609. me._ht_video_play_url.style[domTransition]='none';
  7610. me._ht_video_play_url.style.visibility='hidden';
  7611. me._ht_video_play_url.ggVisible=false;
  7612. }
  7613. me._seekbar_url.ggDeactivate=function () {
  7614. me._ht_video_play_url.style[domTransition]='none';
  7615. me._ht_video_play_url.style.visibility=(Number(me._ht_video_play_url.style.opacity)>0||!me._ht_video_play_url.style.opacity)?'inherit':'hidden';
  7616. me._ht_video_play_url.ggVisible=true;
  7617. me._ht_video_pause_url.style[domTransition]='none';
  7618. me._ht_video_pause_url.style.visibility='hidden';
  7619. me._ht_video_pause_url.ggVisible=false;
  7620. }
  7621. me._seekbar_url.ggUpdatePosition=function (useTransition) {
  7622. }
  7623. me._seekbar_url.ggNodeChange=function () {
  7624. me._seekbar_url.connectToMediaEl();
  7625. }
  7626. me._video_popup_controls_url.appendChild(me._seekbar_url);
  7627. el=me._ht_video_play_url=document.createElement('div');
  7628. els=me._ht_video_play_url__img=document.createElement('img');
  7629. els.className='ggskin ggskin_svg';
  7630. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  7631. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCI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5Ni0xMi40OTksMTIuNS0xMi41bDAsMGM2LjkwNCwwLDEyLjQ5OSw1LjU5NiwxMi41LDEyLjVsMCwwDQoJCQljLTAuMDAxLDYuOTAzLTUuNTk2LDEyLjQ5'+
  7636. 'OC0xMi41LDEyLjVsMCwwQzkuMDk2LDI4LjQ5OCwzLjUwMSwyMi45MDMsMy41LDE2TDMuNSwxNnogTTUuODkzLDE2YzAsMi43OTUsMS4xMjksNS4zMTMsMi45NjEsNy4xNDYNCgkJCWwwLDBjMS44MzMsMS44MzEsNC4zNTIsMi45Niw3LjE0NywyLjk2bDAsMGMyLjc5NCwwLDUuMzE0LTEuMTI5LDcuMTQ2LTIuOTZsMCwwYzEuODMyLTEuODMzLDIuOTYtNC4zNTIsMi45NjEtNy4xNDZsMCwwDQoJCQljLTAuMDAxLTIuNzk1LTEuMTI5LTUuMzEzLTIuOTYxLTcuMTQ3bDAsMEMyMS4zMTQsNy4wMjIsMTguNzk1LDUuODk0LDE2LDUuODkzbDAsMGMtMi43OTUsMC01LjMxNCwxLjEyOS03LjE0NywyLjk2bD'+
  7637. 'AsMA0KCQkJQzcuMDIyLDEwLjY4Nyw1Ljg5MywxMy4yMDUsNS44OTMsMTZMNS44OTMsMTZMNS44OTMsMTZ6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  7638. me._ht_video_play_url__img.setAttribute('src',hs);
  7639. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_video_play_url;');
  7640. els['ondragstart']=function() { return false; };
  7641. el.appendChild(els);
  7642. el.ggSubElement = els;
  7643. elo=me._ht_video_play_url__imgo=document.createElement('img');
  7644. elo.className='ggskin ggskin_svg';
  7645. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzd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E4Ljc5NSw1Ljg5NCwxNiw1Ljg5M2wwLDBjLTIuNzk1LDAtNS4zMTQsMS4xMjktNy4xNDcsMi45NmwwLDANCgkJCUM3LjAyMiwxMC42ODcsNS44OTMsMTMuMjA1LDUuODkzLDE2TDUuODkzLDE2TDUuODkzLDE2eiIvPg0KCTwvZz4KPC9zdmc+';
  7653. me._ht_video_play_url__imgo.setAttribute('src',hs);
  7654. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_video_play_url;');
  7655. elo['ondragstart']=function() { return false; };
  7656. el.appendChild(elo);
  7657. el.ggId="ht_video_play_url";
  7658. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  7659. el.ggVisible=false;
  7660. el.className="ggskin ggskin_svg ";
  7661. el.ggType='svg';
  7662. hs ='';
  7663. hs+='cursor : pointer;';
  7664. hs+='height : 25px;';
  7665. hs+='left : 259px;';
  7666. hs+='position : absolute;';
  7667. hs+='top : 0px;';
  7668. hs+='visibility : hidden;';
  7669. hs+='width : 25px;';
  7670. hs+='pointer-events:auto;';
  7671. el.setAttribute('style',hs);
  7672. el.style[domTransform + 'Origin']='50% 50%';
  7673. me._ht_video_play_url.ggIsActive=function() {
  7674. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  7675. return this.parentNode.ggIsActive();
  7676. }
  7677. return false;
  7678. }
  7679. el.ggElementNodeId=function() {
  7680. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  7681. return this.parentNode.ggElementNodeId();
  7682. }
  7683. return player.getCurrentNode();
  7684. }
  7685. me._ht_video_play_url.onclick=function (e) {
  7686. player.playSound("popup_video_url","1");
  7687. me._ht_video_play_url.style[domTransition]='none';
  7688. me._ht_video_play_url.style.visibility='hidden';
  7689. me._ht_video_play_url.ggVisible=false;
  7690. me._ht_video_pause_url.style[domTransition]='none';
  7691. me._ht_video_pause_url.style.visibility=(Number(me._ht_video_pause_url.style.opacity)>0||!me._ht_video_pause_url.style.opacity)?'inherit':'hidden';
  7692. me._ht_video_pause_url.ggVisible=true;
  7693. }
  7694. me._ht_video_play_url.onmouseover=function (e) {
  7695. me._ht_video_play_url__img.style.visibility='hidden';
  7696. me._ht_video_play_url__imgo.style.visibility='inherit';
  7697. }
  7698. me._ht_video_play_url.onmouseout=function (e) {
  7699. me._ht_video_play_url__img.style.visibility='inherit';
  7700. me._ht_video_play_url__imgo.style.visibility='hidden';
  7701. }
  7702. me._ht_video_play_url.ggUpdatePosition=function (useTransition) {
  7703. }
  7704. me._video_popup_controls_url.appendChild(me._ht_video_play_url);
  7705. el=me._ht_video_pause_url=document.createElement('div');
  7706. els=me._ht_video_pause_url__img=document.createElement('img');
  7707. els.className='ggskin ggskin_svg';
  7708. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  7709. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSI+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IzLjE0NnoiLz4NCgkJPGc+'+
  7714. 'DQoJCQk8cGF0aCBkPSJNMTIuNDMzLDIwLjQ5OHYtOC45OTVjMC0wLjY2MSwwLjUzNi0xLjE5NiwxLjE5Ni0xLjE5NmwwLDBjMC42NjEsMCwxLjE5NiwwLjUzNSwxLjE5NiwxLjE5NmwwLDB2OC45OTUNCgkJCQljMCwwLjY2LTAuNTM2LDEuMTk1LTEuMTk2LDEuMTk1bDAsMEMxMi45NjksMjEuNjkzLDEyLjQzMywyMS4xNTgsMTIuNDMzLDIwLjQ5OEwxMi40MzMsMjAuNDk4eiIvPg0KCQkJPHBhdGggZD0iTTE3LjE3NSwyMC40OTh2LTguOTk1YzAtMC42NjEsMC41MzUtMS4xOTYsMS4xOTYtMS4xOTZsMCwwYzAuNjYsMCwxLjE5NiwwLjUzNSwxLjE5NiwxLjE5NmwwLDB2OC45OTUNCgkJCQljMCwwLj'+
  7715. 'Y2LTAuNTM2LDEuMTk1LTEuMTk2LDEuMTk1bDAsMEMxNy43MSwyMS42OTMsMTcuMTc1LDIxLjE1OCwxNy4xNzUsMjAuNDk4TDE3LjE3NSwyMC40OTh6Ii8+DQoJCTwvZz4NCgk8L2c+Cjwvc3ZnPg==';
  7716. me._ht_video_pause_url__img.setAttribute('src',hs);
  7717. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_video_pause_url;');
  7718. els['ondragstart']=function() { return false; };
  7719. el.appendChild(els);
  7720. el.ggSubElement = els;
  7721. elo=me._ht_video_pause_url__imgo=document.createElement('img');
  7722. elo.className='ggskin ggskin_svg';
  7723. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJh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zUsMS4xOTYsMS4xOTZsMCwwdjguOTk1DQoJCQkJYzAsMC42Ni0wLjUzNiwxLjE5NS0xLjE5NiwxLjE5NWwwLDBDMTcuNzEsMjEuNjkzLDE3LjE3NSwyMS4xNTgsMTcuMTc1LDIwLjQ5OEwxNy4xNzUsMjAuNDk4eiIvPg0KCQk8L2c+DQoJPC9nPgo8L3N2Zz4=';
  7731. me._ht_video_pause_url__imgo.setAttribute('src',hs);
  7732. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_video_pause_url;');
  7733. elo['ondragstart']=function() { return false; };
  7734. el.appendChild(elo);
  7735. el.ggId="ht_video_pause_url";
  7736. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  7737. el.ggVisible=true;
  7738. el.className="ggskin ggskin_svg ";
  7739. el.ggType='svg';
  7740. hs ='';
  7741. hs+='cursor : pointer;';
  7742. hs+='height : 25px;';
  7743. hs+='left : 259px;';
  7744. hs+='position : absolute;';
  7745. hs+='top : 0px;';
  7746. hs+='visibility : inherit;';
  7747. hs+='width : 25px;';
  7748. hs+='pointer-events:auto;';
  7749. el.setAttribute('style',hs);
  7750. el.style[domTransform + 'Origin']='50% 50%';
  7751. me._ht_video_pause_url.ggIsActive=function() {
  7752. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  7753. return this.parentNode.ggIsActive();
  7754. }
  7755. return false;
  7756. }
  7757. el.ggElementNodeId=function() {
  7758. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  7759. return this.parentNode.ggElementNodeId();
  7760. }
  7761. return player.getCurrentNode();
  7762. }
  7763. me._ht_video_pause_url.onclick=function (e) {
  7764. player.pauseSound("popup_video_url");
  7765. me._ht_video_pause_url.style[domTransition]='none';
  7766. me._ht_video_pause_url.style.visibility='hidden';
  7767. me._ht_video_pause_url.ggVisible=false;
  7768. me._ht_video_play_url.style[domTransition]='none';
  7769. me._ht_video_play_url.style.visibility=(Number(me._ht_video_play_url.style.opacity)>0||!me._ht_video_play_url.style.opacity)?'inherit':'hidden';
  7770. me._ht_video_play_url.ggVisible=true;
  7771. }
  7772. me._ht_video_pause_url.onmouseover=function (e) {
  7773. me._ht_video_pause_url__img.style.visibility='hidden';
  7774. me._ht_video_pause_url__imgo.style.visibility='inherit';
  7775. }
  7776. me._ht_video_pause_url.onmouseout=function (e) {
  7777. me._ht_video_pause_url__img.style.visibility='inherit';
  7778. me._ht_video_pause_url__imgo.style.visibility='hidden';
  7779. }
  7780. me._ht_video_pause_url.ggUpdatePosition=function (useTransition) {
  7781. }
  7782. me._video_popup_controls_url.appendChild(me._ht_video_pause_url);
  7783. me.divSkin.appendChild(me._video_popup_controls_url);
  7784. el=me._video_popup_vimeo=document.createElement('div');
  7785. el.ggId="video_popup_vimeo";
  7786. el.ggDx=0;
  7787. el.ggDy=0;
  7788. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  7789. el.ggVisible=false;
  7790. el.className="ggskin ggskin_container ";
  7791. el.ggType='container';
  7792. hs ='';
  7793. hs+='height : 80%;';
  7794. hs+='left : -10000px;';
  7795. hs+='position : absolute;';
  7796. hs+='top : -10000px;';
  7797. hs+='visibility : hidden;';
  7798. hs+='width : 80%;';
  7799. hs+='pointer-events:none;';
  7800. el.setAttribute('style',hs);
  7801. el.style[domTransform + 'Origin']='50% 50%';
  7802. me._video_popup_vimeo.ggIsActive=function() {
  7803. return false;
  7804. }
  7805. el.ggElementNodeId=function() {
  7806. return player.getCurrentNode();
  7807. }
  7808. me._video_popup_vimeo.logicBlock_visible = function() {
  7809. var newLogicStateVisible;
  7810. if (
  7811. (player.getVariableValue('vis_video_popup_vimeo') == true)
  7812. )
  7813. {
  7814. newLogicStateVisible = 0;
  7815. }
  7816. else {
  7817. newLogicStateVisible = -1;
  7818. }
  7819. if (me._video_popup_vimeo.ggCurrentLogicStateVisible != newLogicStateVisible) {
  7820. me._video_popup_vimeo.ggCurrentLogicStateVisible = newLogicStateVisible;
  7821. me._video_popup_vimeo.style[domTransition]='';
  7822. if (me._video_popup_vimeo.ggCurrentLogicStateVisible == 0) {
  7823. me._video_popup_vimeo.style.visibility=(Number(me._video_popup_vimeo.style.opacity)>0||!me._video_popup_vimeo.style.opacity)?'inherit':'hidden';
  7824. me._video_popup_vimeo.ggVisible=true;
  7825. }
  7826. else {
  7827. me._video_popup_vimeo.style.visibility="hidden";
  7828. me._video_popup_vimeo.ggVisible=false;
  7829. }
  7830. }
  7831. }
  7832. me._video_popup_vimeo.ggUpdatePosition=function (useTransition) {
  7833. if (useTransition==='undefined') {
  7834. useTransition = false;
  7835. }
  7836. if (!useTransition) {
  7837. this.style[domTransition]='none';
  7838. }
  7839. if (this.parentNode) {
  7840. var pw=this.parentNode.clientWidth;
  7841. var w=this.offsetWidth;
  7842. this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px';
  7843. var ph=this.parentNode.clientHeight;
  7844. var h=this.offsetHeight;
  7845. this.style.top=((this.ggDy * ph)/100.0 + ph/2 - h/2) + 'px';
  7846. }
  7847. }
  7848. el=me._loading_video_vimeo=document.createElement('div');
  7849. els=me._loading_video_vimeo__img=document.createElement('img');
  7850. els.className='ggskin ggskin_svg';
  7851. hs='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiBmaWxsPSJ3aGl0ZSI+CiAgPGNpcmNsZSBjeD0iMTYiIGN5PSIzIiByPSIwIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InIiIHZhbHVlcz0iMDszOzA7MCIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwIiBrZXlTcGxpbmVzPSIwLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40IDAuO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zZm9ybT0icm90YXRlKDMxNSAxNiAxNikiIGN4PSIxNiIgY3k9IjMiIHI9IjAiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iciIgdmFsdWVzPSIwOzM7MDswIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuODc1cyIga2V5U3BsaW5lcz0iMC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40'+
  7857. 'IDAuODswLjIgMC4yIDAuNCAwLjgiIGNhbGNNb2RlPSJzcGxpbmUiIC8+CiAgPC9jaXJjbGU+CiAgPGNpcmNsZSB0cmFuc2Zvcm09InJvdGF0ZSgxODAgMTYgMTYpIiBjeD0iMTYiIGN5PSIzIiByPSIwIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InIiIHZhbHVlcz0iMDszOzA7MCIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjVzIiBrZXlTcGxpbmVzPSIwLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40IDAuOCIgY2FsY01vZGU9InNwbGluZSIgLz4KICA8L2NpcmNsZT4KPC9zdmc+Cg==';
  7858. me._loading_video_vimeo__img.setAttribute('src',hs);
  7859. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;loading_video_vimeo;');
  7860. els['ondragstart']=function() { return false; };
  7861. el.appendChild(els);
  7862. el.ggSubElement = els;
  7863. el.ggId="loading_video_vimeo";
  7864. el.ggDx=0;
  7865. el.ggDy=0;
  7866. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  7867. el.ggVisible=true;
  7868. el.className="ggskin ggskin_svg ";
  7869. el.ggType='svg';
  7870. hs ='';
  7871. hs+='height : 40px;';
  7872. hs+='left : -10000px;';
  7873. hs+='position : absolute;';
  7874. hs+='top : -10000px;';
  7875. hs+='visibility : inherit;';
  7876. hs+='width : 40px;';
  7877. hs+='pointer-events:auto;';
  7878. el.setAttribute('style',hs);
  7879. el.style[domTransform + 'Origin']='50% 50%';
  7880. me._loading_video_vimeo.ggIsActive=function() {
  7881. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  7882. return this.parentNode.ggIsActive();
  7883. }
  7884. return false;
  7885. }
  7886. el.ggElementNodeId=function() {
  7887. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  7888. return this.parentNode.ggElementNodeId();
  7889. }
  7890. return player.getCurrentNode();
  7891. }
  7892. me._loading_video_vimeo.ggUpdatePosition=function (useTransition) {
  7893. if (useTransition==='undefined') {
  7894. useTransition = false;
  7895. }
  7896. if (!useTransition) {
  7897. this.style[domTransition]='none';
  7898. }
  7899. if (this.parentNode) {
  7900. var pw=this.parentNode.clientWidth;
  7901. var w=this.offsetWidth;
  7902. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  7903. var ph=this.parentNode.clientHeight;
  7904. var h=this.offsetHeight;
  7905. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  7906. }
  7907. }
  7908. me._video_popup_vimeo.appendChild(me._loading_video_vimeo);
  7909. el=me._popup_video_vimeo=document.createElement('div');
  7910. me._popup_video_vimeo.seekbars = [];
  7911. me._popup_video_vimeo.ggInitMedia = function(media) {
  7912. var notifySeekbars = function() {
  7913. for (var i = 0; i < me._popup_video_vimeo.seekbars.length; i++) {
  7914. var seekbar = me.findElements(me._popup_video_vimeo.seekbars[i]);
  7915. if (seekbar.length > 0) seekbar[0].connectToMediaEl();
  7916. }
  7917. }
  7918. while (me._popup_video_vimeo.hasChildNodes()) {
  7919. me._popup_video_vimeo.removeChild(me._popup_video_vimeo.lastChild);
  7920. }
  7921. if(media == '') {
  7922. notifySeekbars();
  7923. me._popup_video_vimeo.ggVideoNotLoaded = true;
  7924. return;
  7925. }
  7926. me._popup_video_vimeo.ggVideoNotLoaded = false;
  7927. me._popup_video_vimeo__vid=document.createElement('iframe');
  7928. me._popup_video_vimeo__vid.className='ggskin ggskin_video';
  7929. var ggVideoParams = '?autoplay=1&amp;loop=0&amp;rel=0';
  7930. var ggVideoUrl = 'https://player.vimeo.com/video/' + media + ggVideoParams;
  7931. me._popup_video_vimeo__vid.setAttribute('src', ggVideoUrl);
  7932. me._popup_video_vimeo__vid.setAttribute('width', '100%');
  7933. me._popup_video_vimeo__vid.setAttribute('height', '100%');
  7934. me._popup_video_vimeo__vid.setAttribute('style', 'border:none; ; ;');
  7935. me._popup_video_vimeo.appendChild(me._popup_video_vimeo__vid);
  7936. me._popup_video_vimeo.ggVideoSource = media;
  7937. }
  7938. el.ggId="popup_video_vimeo";
  7939. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  7940. el.ggVisible=false;
  7941. el.className="ggskin ggskin_video ";
  7942. el.ggType='video';
  7943. hs ='';
  7944. hs+='height : 100%;';
  7945. hs+='left : 0%;';
  7946. hs+='position : absolute;';
  7947. hs+='top : 0%;';
  7948. hs+='visibility : hidden;';
  7949. hs+='width : 100%;';
  7950. hs+='pointer-events:auto;';
  7951. el.setAttribute('style',hs);
  7952. el.style[domTransform + 'Origin']='50% 50%';
  7953. me._popup_video_vimeo.ggIsActive=function() {
  7954. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  7955. return this.parentNode.ggIsActive();
  7956. }
  7957. return false;
  7958. }
  7959. el.ggElementNodeId=function() {
  7960. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  7961. return this.parentNode.ggElementNodeId();
  7962. }
  7963. return player.getCurrentNode();
  7964. }
  7965. me._popup_video_vimeo.logicBlock_visible = function() {
  7966. var newLogicStateVisible;
  7967. if (
  7968. (player.getVariableValue('vis_video_popup_vimeo') == true)
  7969. )
  7970. {
  7971. newLogicStateVisible = 0;
  7972. }
  7973. else {
  7974. newLogicStateVisible = -1;
  7975. }
  7976. if (me._popup_video_vimeo.ggCurrentLogicStateVisible != newLogicStateVisible) {
  7977. me._popup_video_vimeo.ggCurrentLogicStateVisible = newLogicStateVisible;
  7978. me._popup_video_vimeo.style[domTransition]='';
  7979. if (me._popup_video_vimeo.ggCurrentLogicStateVisible == 0) {
  7980. me._popup_video_vimeo.style.visibility=(Number(me._popup_video_vimeo.style.opacity)>0||!me._popup_video_vimeo.style.opacity)?'inherit':'hidden';
  7981. if (me._popup_video_vimeo.ggVideoNotLoaded) {
  7982. me._popup_video_vimeo.ggInitMedia(me._popup_video_vimeo.ggVideoSource);
  7983. }
  7984. me._popup_video_vimeo.ggVisible=true;
  7985. }
  7986. else {
  7987. me._popup_video_vimeo.style.visibility="hidden";
  7988. me._popup_video_vimeo.ggInitMedia('');
  7989. me._popup_video_vimeo.ggVisible=false;
  7990. }
  7991. }
  7992. }
  7993. me._popup_video_vimeo.ggUpdatePosition=function (useTransition) {
  7994. }
  7995. me._video_popup_vimeo.appendChild(me._popup_video_vimeo);
  7996. me.divSkin.appendChild(me._video_popup_vimeo);
  7997. el=me._video_popup_youtube=document.createElement('div');
  7998. el.ggId="video_popup_youtube";
  7999. el.ggDx=0;
  8000. el.ggDy=0;
  8001. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8002. el.ggVisible=false;
  8003. el.className="ggskin ggskin_container ";
  8004. el.ggType='container';
  8005. hs ='';
  8006. hs+='height : 80%;';
  8007. hs+='left : -10000px;';
  8008. hs+='position : absolute;';
  8009. hs+='top : -10000px;';
  8010. hs+='visibility : hidden;';
  8011. hs+='width : 80%;';
  8012. hs+='pointer-events:none;';
  8013. el.setAttribute('style',hs);
  8014. el.style[domTransform + 'Origin']='50% 50%';
  8015. me._video_popup_youtube.ggIsActive=function() {
  8016. return false;
  8017. }
  8018. el.ggElementNodeId=function() {
  8019. return player.getCurrentNode();
  8020. }
  8021. me._video_popup_youtube.logicBlock_visible = function() {
  8022. var newLogicStateVisible;
  8023. if (
  8024. (player.getVariableValue('vis_video_popup_youtube') == true)
  8025. )
  8026. {
  8027. newLogicStateVisible = 0;
  8028. }
  8029. else {
  8030. newLogicStateVisible = -1;
  8031. }
  8032. if (me._video_popup_youtube.ggCurrentLogicStateVisible != newLogicStateVisible) {
  8033. me._video_popup_youtube.ggCurrentLogicStateVisible = newLogicStateVisible;
  8034. me._video_popup_youtube.style[domTransition]='';
  8035. if (me._video_popup_youtube.ggCurrentLogicStateVisible == 0) {
  8036. me._video_popup_youtube.style.visibility=(Number(me._video_popup_youtube.style.opacity)>0||!me._video_popup_youtube.style.opacity)?'inherit':'hidden';
  8037. me._video_popup_youtube.ggVisible=true;
  8038. }
  8039. else {
  8040. me._video_popup_youtube.style.visibility="hidden";
  8041. me._video_popup_youtube.ggVisible=false;
  8042. }
  8043. }
  8044. }
  8045. me._video_popup_youtube.ggUpdatePosition=function (useTransition) {
  8046. if (useTransition==='undefined') {
  8047. useTransition = false;
  8048. }
  8049. if (!useTransition) {
  8050. this.style[domTransition]='none';
  8051. }
  8052. if (this.parentNode) {
  8053. var pw=this.parentNode.clientWidth;
  8054. var w=this.offsetWidth;
  8055. this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px';
  8056. var ph=this.parentNode.clientHeight;
  8057. var h=this.offsetHeight;
  8058. this.style.top=((this.ggDy * ph)/100.0 + ph/2 - h/2) + 'px';
  8059. }
  8060. }
  8061. el=me._loading_video_youtube=document.createElement('div');
  8062. els=me._loading_video_youtube__img=document.createElement('img');
  8063. els.className='ggskin ggskin_svg';
  8064. hs='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiBmaWxsPSJ3aGl0ZSI+CiAgPGNpcmNsZSBjeD0iMTYiIGN5PSIzIiByPSIwIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InIiIHZhbHVlcz0iMDszOzA7MCIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5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DAuMiAwLjQgMC44OzAuMiAwLjIgMC40IDAuOCIgY2FsY01vZGU9InNwbGluZSIgLz4KICA8L2NpcmNsZT4KICA8Y2lyY2xlIHRyYW5zZm9ybT0icm90YXRlKDMxNSAxNiAxNikiIGN4PSIxNiIgY3k9IjMiIHI9IjAiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iciIgdmFsdWVzPSIwOzM7MDswIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuODc1cyIga2V5U3BsaW5lcz0iMC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40'+
  8070. 'IDAuODswLjIgMC4yIDAuNCAwLjgiIGNhbGNNb2RlPSJzcGxpbmUiIC8+CiAgPC9jaXJjbGU+CiAgPGNpcmNsZSB0cmFuc2Zvcm09InJvdGF0ZSgxODAgMTYgMTYpIiBjeD0iMTYiIGN5PSIzIiByPSIwIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InIiIHZhbHVlcz0iMDszOzA7MCIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjVzIiBrZXlTcGxpbmVzPSIwLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40IDAuOCIgY2FsY01vZGU9InNwbGluZSIgLz4KICA8L2NpcmNsZT4KPC9zdmc+Cg==';
  8071. me._loading_video_youtube__img.setAttribute('src',hs);
  8072. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;loading_video_youtube;');
  8073. els['ondragstart']=function() { return false; };
  8074. el.appendChild(els);
  8075. el.ggSubElement = els;
  8076. el.ggId="loading_video_youtube";
  8077. el.ggDx=0;
  8078. el.ggDy=0;
  8079. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8080. el.ggVisible=true;
  8081. el.className="ggskin ggskin_svg ";
  8082. el.ggType='svg';
  8083. hs ='';
  8084. hs+='height : 40px;';
  8085. hs+='left : -10000px;';
  8086. hs+='position : absolute;';
  8087. hs+='top : -10000px;';
  8088. hs+='visibility : inherit;';
  8089. hs+='width : 40px;';
  8090. hs+='pointer-events:auto;';
  8091. el.setAttribute('style',hs);
  8092. el.style[domTransform + 'Origin']='50% 50%';
  8093. me._loading_video_youtube.ggIsActive=function() {
  8094. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  8095. return this.parentNode.ggIsActive();
  8096. }
  8097. return false;
  8098. }
  8099. el.ggElementNodeId=function() {
  8100. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  8101. return this.parentNode.ggElementNodeId();
  8102. }
  8103. return player.getCurrentNode();
  8104. }
  8105. me._loading_video_youtube.ggUpdatePosition=function (useTransition) {
  8106. if (useTransition==='undefined') {
  8107. useTransition = false;
  8108. }
  8109. if (!useTransition) {
  8110. this.style[domTransition]='none';
  8111. }
  8112. if (this.parentNode) {
  8113. var pw=this.parentNode.clientWidth;
  8114. var w=this.offsetWidth;
  8115. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  8116. var ph=this.parentNode.clientHeight;
  8117. var h=this.offsetHeight;
  8118. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  8119. }
  8120. }
  8121. me._video_popup_youtube.appendChild(me._loading_video_youtube);
  8122. el=me._popup_video_youtube=document.createElement('div');
  8123. me._popup_video_youtube.seekbars = [];
  8124. me._popup_video_youtube.ggInitMedia = function(media) {
  8125. var notifySeekbars = function() {
  8126. for (var i = 0; i < me._popup_video_youtube.seekbars.length; i++) {
  8127. var seekbar = me.findElements(me._popup_video_youtube.seekbars[i]);
  8128. if (seekbar.length > 0) seekbar[0].connectToMediaEl();
  8129. }
  8130. }
  8131. while (me._popup_video_youtube.hasChildNodes()) {
  8132. me._popup_video_youtube.removeChild(me._popup_video_youtube.lastChild);
  8133. }
  8134. if(media == '') {
  8135. notifySeekbars();
  8136. me._popup_video_youtube.ggVideoNotLoaded = true;
  8137. return;
  8138. }
  8139. me._popup_video_youtube.ggVideoNotLoaded = false;
  8140. me._popup_video_youtube__vid=document.createElement('iframe');
  8141. me._popup_video_youtube__vid.className='ggskin ggskin_video';
  8142. var ggVideoParams = '?autoplay=1&amp;controls=1&amp;loop=0&amp;rel=0';
  8143. var ggVideoUrl = 'https://www.youtube.com/embed/' + media + ggVideoParams;
  8144. me._popup_video_youtube__vid.setAttribute('src', ggVideoUrl);
  8145. me._popup_video_youtube__vid.setAttribute('width', '100%');
  8146. me._popup_video_youtube__vid.setAttribute('height', '100%');
  8147. me._popup_video_youtube__vid.setAttribute('style', 'border:none; ; ;');
  8148. me._popup_video_youtube.appendChild(me._popup_video_youtube__vid);
  8149. me._popup_video_youtube.ggVideoSource = media;
  8150. }
  8151. el.ggId="popup_video_youtube";
  8152. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8153. el.ggVisible=false;
  8154. el.className="ggskin ggskin_video ";
  8155. el.ggType='video';
  8156. hs ='';
  8157. hs+='height : 100%;';
  8158. hs+='left : 0%;';
  8159. hs+='position : absolute;';
  8160. hs+='top : 0%;';
  8161. hs+='visibility : hidden;';
  8162. hs+='width : 100%;';
  8163. hs+='pointer-events:auto;';
  8164. el.setAttribute('style',hs);
  8165. el.style[domTransform + 'Origin']='50% 50%';
  8166. me._popup_video_youtube.ggIsActive=function() {
  8167. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  8168. return this.parentNode.ggIsActive();
  8169. }
  8170. return false;
  8171. }
  8172. el.ggElementNodeId=function() {
  8173. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  8174. return this.parentNode.ggElementNodeId();
  8175. }
  8176. return player.getCurrentNode();
  8177. }
  8178. me._popup_video_youtube.logicBlock_visible = function() {
  8179. var newLogicStateVisible;
  8180. if (
  8181. (player.getVariableValue('vis_video_popup_youtube') == true)
  8182. )
  8183. {
  8184. newLogicStateVisible = 0;
  8185. }
  8186. else {
  8187. newLogicStateVisible = -1;
  8188. }
  8189. if (me._popup_video_youtube.ggCurrentLogicStateVisible != newLogicStateVisible) {
  8190. me._popup_video_youtube.ggCurrentLogicStateVisible = newLogicStateVisible;
  8191. me._popup_video_youtube.style[domTransition]='';
  8192. if (me._popup_video_youtube.ggCurrentLogicStateVisible == 0) {
  8193. me._popup_video_youtube.style.visibility=(Number(me._popup_video_youtube.style.opacity)>0||!me._popup_video_youtube.style.opacity)?'inherit':'hidden';
  8194. if (me._popup_video_youtube.ggVideoNotLoaded) {
  8195. me._popup_video_youtube.ggInitMedia(me._popup_video_youtube.ggVideoSource);
  8196. }
  8197. me._popup_video_youtube.ggVisible=true;
  8198. }
  8199. else {
  8200. me._popup_video_youtube.style.visibility="hidden";
  8201. me._popup_video_youtube.ggInitMedia('');
  8202. me._popup_video_youtube.ggVisible=false;
  8203. }
  8204. }
  8205. }
  8206. me._popup_video_youtube.ggUpdatePosition=function (useTransition) {
  8207. }
  8208. me._video_popup_youtube.appendChild(me._popup_video_youtube);
  8209. me.divSkin.appendChild(me._video_popup_youtube);
  8210. el=me.__360image_gyro=document.createElement('div');
  8211. el.ggTimestamp=0;
  8212. el.ggLastIsActive=false;
  8213. el.ggTimeout=4000;
  8214. el.ggId="360image_gyro";
  8215. el.ggDx=0;
  8216. el.ggDy=0;
  8217. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8218. el.ggVisible=false;
  8219. el.className="ggskin ggskin_timer ";
  8220. el.ggType='timer';
  8221. hs ='';
  8222. hs+='cursor : pointer;';
  8223. hs+='height : 86px;';
  8224. hs+='left : -10000px;';
  8225. hs+='position : absolute;';
  8226. hs+='top : -10000px;';
  8227. hs+='visibility : hidden;';
  8228. hs+='width : 116px;';
  8229. hs+='pointer-events:none;';
  8230. el.setAttribute('style',hs);
  8231. el.style[domTransform + 'Origin']='50% 50%';
  8232. me.__360image_gyro.ggIsActive=function() {
  8233. return (me.__360image_gyro.ggTimestamp + me.__360image_gyro.ggTimeout) >= me.ggCurrentTime;
  8234. }
  8235. el.ggElementNodeId=function() {
  8236. return player.getCurrentNode();
  8237. }
  8238. me.__360image_gyro.logicBlock_visible = function() {
  8239. var newLogicStateVisible;
  8240. if (
  8241. (player.getIsMobile() == true) &&
  8242. (player.getVariableValue('opt_gyro') == true) &&
  8243. (player.getVariableValue('vis_360image_once') == true)
  8244. )
  8245. {
  8246. newLogicStateVisible = 0;
  8247. }
  8248. else {
  8249. newLogicStateVisible = -1;
  8250. }
  8251. if (me.__360image_gyro.ggCurrentLogicStateVisible != newLogicStateVisible) {
  8252. me.__360image_gyro.ggCurrentLogicStateVisible = newLogicStateVisible;
  8253. me.__360image_gyro.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  8254. if (me.__360image_gyro.ggCurrentLogicStateVisible == 0) {
  8255. me.__360image_gyro.style.visibility=(Number(me.__360image_gyro.style.opacity)>0||!me.__360image_gyro.style.opacity)?'inherit':'hidden';
  8256. me.__360image_gyro.ggVisible=true;
  8257. }
  8258. else {
  8259. me.__360image_gyro.style.visibility="hidden";
  8260. me.__360image_gyro.ggVisible=false;
  8261. }
  8262. }
  8263. }
  8264. me.__360image_gyro.logicBlock_alpha = function() {
  8265. var newLogicStateAlpha;
  8266. if (
  8267. (me.__360image_gyro.ggIsActive() == false)
  8268. )
  8269. {
  8270. newLogicStateAlpha = 0;
  8271. }
  8272. else {
  8273. newLogicStateAlpha = -1;
  8274. }
  8275. if (me.__360image_gyro.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  8276. me.__360image_gyro.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  8277. me.__360image_gyro.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  8278. if (me.__360image_gyro.ggCurrentLogicStateAlpha == 0) {
  8279. me.__360image_gyro.style.visibility="hidden";
  8280. me.__360image_gyro.style.opacity=0;
  8281. }
  8282. else {
  8283. me.__360image_gyro.style.visibility=me.__360image_gyro.ggVisible?'inherit':'hidden';
  8284. me.__360image_gyro.style.opacity=1;
  8285. }
  8286. }
  8287. }
  8288. me.__360image_gyro.ggDeactivate=function () {
  8289. player.setVariableValue('vis_360image_once', false);
  8290. }
  8291. me.__360image_gyro.ggCurrentLogicStateVisible = -1;
  8292. me.__360image_gyro.ggCurrentLogicStateAlpha = -1;
  8293. me.__360image_gyro.ggUpdateConditionTimer=function () {
  8294. me.__360image_gyro.logicBlock_alpha();
  8295. }
  8296. me.__360image_gyro.ggUpdatePosition=function (useTransition) {
  8297. if (useTransition==='undefined') {
  8298. useTransition = false;
  8299. }
  8300. if (!useTransition) {
  8301. this.style[domTransition]='none';
  8302. }
  8303. if (this.parentNode) {
  8304. var pw=this.parentNode.clientWidth;
  8305. var w=this.offsetWidth;
  8306. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  8307. var ph=this.parentNode.clientHeight;
  8308. var h=this.offsetHeight;
  8309. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  8310. }
  8311. }
  8312. el=me.__360image_timer=document.createElement('div');
  8313. el.ggTimestamp=0;
  8314. el.ggLastIsActive=false;
  8315. el.ggTimeout=400;
  8316. el.ggId="360image_timer";
  8317. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8318. el.ggVisible=true;
  8319. el.className="ggskin ggskin_timer ";
  8320. el.ggType='timer';
  8321. hs ='';
  8322. hs+='height : 38px;';
  8323. hs+='left : 32px;';
  8324. hs+='position : absolute;';
  8325. hs+='top : 25px;';
  8326. hs+='visibility : inherit;';
  8327. hs+='width : 52px;';
  8328. hs+='pointer-events:none;';
  8329. el.setAttribute('style',hs);
  8330. el.style[domTransform + 'Origin']='50% 50%';
  8331. me.__360image_timer.ggIsActive=function() {
  8332. return (me.__360image_timer.ggTimestamp==0 ? false : (Math.floor((me.ggCurrentTime - me.__360image_timer.ggTimestamp) / me.__360image_timer.ggTimeout) % 2 == 0));
  8333. }
  8334. el.ggElementNodeId=function() {
  8335. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  8336. return this.parentNode.ggElementNodeId();
  8337. }
  8338. return player.getCurrentNode();
  8339. }
  8340. me.__360image_timer.ggActivate=function () {
  8341. player.setVariableValue('pos_360image', player.getVariableValue('pos_360image') + Number("1"));
  8342. player.setVariableValue('pos_360image', player.getVariableValue('pos_360image') % Number("5"));
  8343. }
  8344. me.__360image_timer.ggUpdatePosition=function (useTransition) {
  8345. }
  8346. me.__360image_gyro.appendChild(me.__360image_timer);
  8347. el=me.__360image_background=document.createElement('div');
  8348. el.ggId="360image_background";
  8349. el.ggDx=0;
  8350. el.ggDy=0;
  8351. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8352. el.ggVisible=true;
  8353. el.className="ggskin ggskin_rectangle ";
  8354. el.ggType='rectangle';
  8355. hs ='';
  8356. hs+=cssPrefix + 'border-radius : 10px;';
  8357. hs+='border-radius : 10px;';
  8358. hs+='background : rgba(0,0,0,0.509804);';
  8359. hs+='border : 2px solid #ffffff;';
  8360. hs+='cursor : default;';
  8361. hs+='height : 86px;';
  8362. hs+='left : -10000px;';
  8363. hs+='position : absolute;';
  8364. hs+='top : -10000px;';
  8365. hs+='visibility : inherit;';
  8366. hs+='width : 116px;';
  8367. hs+='pointer-events:auto;';
  8368. el.setAttribute('style',hs);
  8369. el.style[domTransform + 'Origin']='50% 50%';
  8370. me.__360image_background.ggIsActive=function() {
  8371. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  8372. return this.parentNode.ggIsActive();
  8373. }
  8374. return false;
  8375. }
  8376. el.ggElementNodeId=function() {
  8377. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  8378. return this.parentNode.ggElementNodeId();
  8379. }
  8380. return player.getCurrentNode();
  8381. }
  8382. me.__360image_background.ggUpdatePosition=function (useTransition) {
  8383. if (useTransition==='undefined') {
  8384. useTransition = false;
  8385. }
  8386. if (!useTransition) {
  8387. this.style[domTransition]='none';
  8388. }
  8389. if (this.parentNode) {
  8390. var pw=this.parentNode.clientWidth;
  8391. var w=this.offsetWidth;
  8392. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  8393. var ph=this.parentNode.clientHeight;
  8394. var h=this.offsetHeight;
  8395. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  8396. }
  8397. }
  8398. me.__360image_gyro.appendChild(me.__360image_background);
  8399. el=me.__360image_text=document.createElement('div');
  8400. els=me.__360image_text__text=document.createElement('div');
  8401. el.className='ggskin ggskin_textdiv';
  8402. el.ggTextDiv=els;
  8403. el.ggId="360image_text";
  8404. el.ggDx=0;
  8405. el.ggDy=32;
  8406. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8407. el.ggVisible=true;
  8408. el.className="ggskin ggskin_text ";
  8409. el.ggType='text';
  8410. hs ='';
  8411. hs+='height : 19px;';
  8412. hs+='left : -10000px;';
  8413. hs+='position : absolute;';
  8414. hs+='top : -10000px;';
  8415. hs+='visibility : inherit;';
  8416. hs+='width : 89px;';
  8417. hs+='pointer-events:auto;';
  8418. hs+='font-weight: bold;';
  8419. el.setAttribute('style',hs);
  8420. el.style[domTransform + 'Origin']='50% 50%';
  8421. hs ='position:absolute;';
  8422. hs += 'box-sizing: border-box;';
  8423. hs+='cursor: default;';
  8424. hs+='left: 0px;';
  8425. hs+='top: 0px;';
  8426. hs+='width: 89px;';
  8427. hs+='height: 19px;';
  8428. hs+='border: 0px solid #000000;';
  8429. hs+='color: rgba(255,255,255,1);';
  8430. hs+='text-align: center;';
  8431. hs+='white-space: nowrap;';
  8432. hs+='padding: 0px 1px 0px 1px;';
  8433. hs+='overflow: hidden;';
  8434. els.setAttribute('style',hs);
  8435. els.innerHTML="Gyroscope";
  8436. el.appendChild(els);
  8437. me.__360image_text.ggIsActive=function() {
  8438. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  8439. return this.parentNode.ggIsActive();
  8440. }
  8441. return false;
  8442. }
  8443. el.ggElementNodeId=function() {
  8444. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  8445. return this.parentNode.ggElementNodeId();
  8446. }
  8447. return player.getCurrentNode();
  8448. }
  8449. me.__360image_text.ggUpdatePosition=function (useTransition) {
  8450. if (useTransition==='undefined') {
  8451. useTransition = false;
  8452. }
  8453. if (!useTransition) {
  8454. this.style[domTransition]='none';
  8455. }
  8456. if (this.parentNode) {
  8457. var pw=this.parentNode.clientWidth;
  8458. var w=this.offsetWidth + 0;
  8459. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  8460. var ph=this.parentNode.clientHeight;
  8461. var h=this.offsetHeight;
  8462. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  8463. }
  8464. }
  8465. me.__360image_gyro.appendChild(me.__360image_text);
  8466. el=me.__360image=document.createElement('div');
  8467. el.ggId="360image";
  8468. el.ggDx=0;
  8469. el.ggDy=-8;
  8470. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8471. el.ggVisible=true;
  8472. el.className="ggskin ggskin_rectangle ";
  8473. el.ggType='rectangle';
  8474. hs ='';
  8475. hs+=cssPrefix + 'border-radius : 9px;';
  8476. hs+='border-radius : 9px;';
  8477. hs+='background : rgba(255,255,255,0.00392157);';
  8478. hs+='border : 2px solid #ffffff;';
  8479. hs+='cursor : default;';
  8480. hs+='height : 58px;';
  8481. hs+='left : -10000px;';
  8482. hs+='position : absolute;';
  8483. hs+='top : -10000px;';
  8484. hs+='visibility : inherit;';
  8485. hs+='width : 33px;';
  8486. hs+='pointer-events:auto;';
  8487. el.setAttribute('style',hs);
  8488. el.style[domTransform + 'Origin']='50% 50%';
  8489. me.__360image.ggIsActive=function() {
  8490. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  8491. return this.parentNode.ggIsActive();
  8492. }
  8493. return false;
  8494. }
  8495. el.ggElementNodeId=function() {
  8496. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  8497. return this.parentNode.ggElementNodeId();
  8498. }
  8499. return player.getCurrentNode();
  8500. }
  8501. me.__360image.logicBlock_position = function() {
  8502. var newLogicStatePosition;
  8503. if (
  8504. (player.getVariableValue('pos_360image') == 0)
  8505. )
  8506. {
  8507. newLogicStatePosition = 0;
  8508. }
  8509. else if (
  8510. (player.getVariableValue('pos_360image') == 1)
  8511. )
  8512. {
  8513. newLogicStatePosition = 1;
  8514. }
  8515. else if (
  8516. (player.getVariableValue('pos_360image') == 2)
  8517. )
  8518. {
  8519. newLogicStatePosition = 2;
  8520. }
  8521. else if (
  8522. (player.getVariableValue('pos_360image') == 3)
  8523. )
  8524. {
  8525. newLogicStatePosition = 3;
  8526. }
  8527. else if (
  8528. (player.getVariableValue('pos_360image') == 4)
  8529. )
  8530. {
  8531. newLogicStatePosition = 4;
  8532. }
  8533. else {
  8534. newLogicStatePosition = -1;
  8535. }
  8536. if (me.__360image.ggCurrentLogicStatePosition != newLogicStatePosition) {
  8537. me.__360image.ggCurrentLogicStatePosition = newLogicStatePosition;
  8538. me.__360image.style[domTransition]='left 1000ms ease 0ms, top 1000ms ease 0ms, ' + cssPrefix + 'transform 1000ms ease 0ms';
  8539. if (me.__360image.ggCurrentLogicStatePosition == 0) {
  8540. this.ggDx = 0;
  8541. this.ggDy = -8;
  8542. me.__360image.ggUpdatePosition(true);
  8543. }
  8544. else if (me.__360image.ggCurrentLogicStatePosition == 1) {
  8545. this.ggDx = 0;
  8546. this.ggDy = -8;
  8547. me.__360image.ggUpdatePosition(true);
  8548. }
  8549. else if (me.__360image.ggCurrentLogicStatePosition == 2) {
  8550. this.ggDx = -32;
  8551. this.ggDy = -8;
  8552. me.__360image.ggUpdatePosition(true);
  8553. }
  8554. else if (me.__360image.ggCurrentLogicStatePosition == 3) {
  8555. this.ggDx = 0;
  8556. this.ggDy = -8;
  8557. me.__360image.ggUpdatePosition(true);
  8558. }
  8559. else if (me.__360image.ggCurrentLogicStatePosition == 4) {
  8560. this.ggDx = 32;
  8561. this.ggDy = -8;
  8562. me.__360image.ggUpdatePosition(true);
  8563. }
  8564. else {
  8565. me.__360image.ggDx=0;
  8566. me.__360image.ggDy=-8;
  8567. me.__360image.ggUpdatePosition(true);
  8568. }
  8569. }
  8570. }
  8571. me.__360image.logicBlock_scaling = function() {
  8572. var newLogicStateScaling;
  8573. if (
  8574. (player.getVariableValue('pos_360image') == 2)
  8575. )
  8576. {
  8577. newLogicStateScaling = 0;
  8578. }
  8579. else if (
  8580. (player.getVariableValue('pos_360image') == 3)
  8581. )
  8582. {
  8583. newLogicStateScaling = 1;
  8584. }
  8585. else if (
  8586. (player.getVariableValue('pos_360image') == 4)
  8587. )
  8588. {
  8589. newLogicStateScaling = 2;
  8590. }
  8591. else if (
  8592. (player.getVariableValue('pos_360image') == 5)
  8593. )
  8594. {
  8595. newLogicStateScaling = 3;
  8596. }
  8597. else {
  8598. newLogicStateScaling = -1;
  8599. }
  8600. if (me.__360image.ggCurrentLogicStateScaling != newLogicStateScaling) {
  8601. me.__360image.ggCurrentLogicStateScaling = newLogicStateScaling;
  8602. me.__360image.style[domTransition]='left 1000ms ease 0ms, top 1000ms ease 0ms, ' + cssPrefix + 'transform 1000ms ease 0ms';
  8603. if (me.__360image.ggCurrentLogicStateScaling == 0) {
  8604. me.__360image.ggParameter.sx = 0.7;
  8605. me.__360image.ggParameter.sy = 1;
  8606. me.__360image.style[domTransform]=parameterToTransform(me.__360image.ggParameter);
  8607. }
  8608. else if (me.__360image.ggCurrentLogicStateScaling == 1) {
  8609. me.__360image.ggParameter.sx = 1;
  8610. me.__360image.ggParameter.sy = 1;
  8611. me.__360image.style[domTransform]=parameterToTransform(me.__360image.ggParameter);
  8612. }
  8613. else if (me.__360image.ggCurrentLogicStateScaling == 2) {
  8614. me.__360image.ggParameter.sx = 0.7;
  8615. me.__360image.ggParameter.sy = 1;
  8616. me.__360image.style[domTransform]=parameterToTransform(me.__360image.ggParameter);
  8617. }
  8618. else if (me.__360image.ggCurrentLogicStateScaling == 3) {
  8619. me.__360image.ggParameter.sx = 1;
  8620. me.__360image.ggParameter.sy = 1;
  8621. me.__360image.style[domTransform]=parameterToTransform(me.__360image.ggParameter);
  8622. }
  8623. else {
  8624. me.__360image.ggParameter.sx = 1;
  8625. me.__360image.ggParameter.sy = 1;
  8626. me.__360image.style[domTransform]=parameterToTransform(me.__360image.ggParameter);
  8627. }
  8628. }
  8629. }
  8630. me.__360image.ggUpdatePosition=function (useTransition) {
  8631. if (useTransition==='undefined') {
  8632. useTransition = false;
  8633. }
  8634. if (!useTransition) {
  8635. this.style[domTransition]='none';
  8636. }
  8637. if (this.parentNode) {
  8638. var pw=this.parentNode.clientWidth;
  8639. var w=this.offsetWidth;
  8640. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  8641. var ph=this.parentNode.clientHeight;
  8642. var h=this.offsetHeight;
  8643. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  8644. }
  8645. }
  8646. el=me._phone1=document.createElement('div');
  8647. el.ggId="phone1";
  8648. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8649. el.ggVisible=true;
  8650. el.className="ggskin ggskin_rectangle ";
  8651. el.ggType='rectangle';
  8652. hs ='';
  8653. hs+='border : 1px solid #ffffff;';
  8654. hs+='cursor : default;';
  8655. hs+='height : 37px;';
  8656. hs+='left : 3px;';
  8657. hs+='position : absolute;';
  8658. hs+='top : 9px;';
  8659. hs+='visibility : inherit;';
  8660. hs+='width : 26px;';
  8661. hs+='pointer-events:auto;';
  8662. el.setAttribute('style',hs);
  8663. el.style[domTransform + 'Origin']='50% 50%';
  8664. me._phone1.ggIsActive=function() {
  8665. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  8666. return this.parentNode.ggIsActive();
  8667. }
  8668. return false;
  8669. }
  8670. el.ggElementNodeId=function() {
  8671. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  8672. return this.parentNode.ggElementNodeId();
  8673. }
  8674. return player.getCurrentNode();
  8675. }
  8676. me._phone1.ggUpdatePosition=function (useTransition) {
  8677. }
  8678. me.__360image.appendChild(me._phone1);
  8679. el=me._phone2=document.createElement('div');
  8680. el.ggId="phone2";
  8681. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8682. el.ggVisible=true;
  8683. el.className="ggskin ggskin_rectangle ";
  8684. el.ggType='rectangle';
  8685. hs ='';
  8686. hs+=cssPrefix + 'border-radius : 999px;';
  8687. hs+='border-radius : 999px;';
  8688. hs+='border : 1px solid #ffffff;';
  8689. hs+='cursor : default;';
  8690. hs+='height : 6px;';
  8691. hs+='left : 14px;';
  8692. hs+='position : absolute;';
  8693. hs+='top : 49px;';
  8694. hs+='visibility : inherit;';
  8695. hs+='width : 6px;';
  8696. hs+='pointer-events:auto;';
  8697. el.setAttribute('style',hs);
  8698. el.style[domTransform + 'Origin']='50% 50%';
  8699. me._phone2.ggIsActive=function() {
  8700. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  8701. return this.parentNode.ggIsActive();
  8702. }
  8703. return false;
  8704. }
  8705. el.ggElementNodeId=function() {
  8706. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  8707. return this.parentNode.ggElementNodeId();
  8708. }
  8709. return player.getCurrentNode();
  8710. }
  8711. me._phone2.logicBlock_scaling = function() {
  8712. var newLogicStateScaling;
  8713. if (
  8714. (player.getVariableValue('pos_360image') == 1)
  8715. )
  8716. {
  8717. newLogicStateScaling = 0;
  8718. }
  8719. else if (
  8720. (player.getVariableValue('pos_360image') == 2)
  8721. )
  8722. {
  8723. newLogicStateScaling = 1;
  8724. }
  8725. else if (
  8726. (player.getVariableValue('pos_360image') == 3)
  8727. )
  8728. {
  8729. newLogicStateScaling = 2;
  8730. }
  8731. else {
  8732. newLogicStateScaling = -1;
  8733. }
  8734. if (me._phone2.ggCurrentLogicStateScaling != newLogicStateScaling) {
  8735. me._phone2.ggCurrentLogicStateScaling = newLogicStateScaling;
  8736. me._phone2.style[domTransition]='' + cssPrefix + 'transform 1000ms ease 0ms';
  8737. if (me._phone2.ggCurrentLogicStateScaling == 0) {
  8738. me._phone2.ggParameter.sx = 0.8;
  8739. me._phone2.ggParameter.sy = 1;
  8740. me._phone2.style[domTransform]=parameterToTransform(me._phone2.ggParameter);
  8741. }
  8742. else if (me._phone2.ggCurrentLogicStateScaling == 1) {
  8743. me._phone2.ggParameter.sx = 1;
  8744. me._phone2.ggParameter.sy = 1;
  8745. me._phone2.style[domTransform]=parameterToTransform(me._phone2.ggParameter);
  8746. }
  8747. else if (me._phone2.ggCurrentLogicStateScaling == 2) {
  8748. me._phone2.ggParameter.sx = 0.8;
  8749. me._phone2.ggParameter.sy = 1;
  8750. me._phone2.style[domTransform]=parameterToTransform(me._phone2.ggParameter);
  8751. }
  8752. else {
  8753. me._phone2.ggParameter.sx = 1;
  8754. me._phone2.ggParameter.sy = 1;
  8755. me._phone2.style[domTransform]=parameterToTransform(me._phone2.ggParameter);
  8756. }
  8757. }
  8758. }
  8759. me._phone2.ggUpdatePosition=function (useTransition) {
  8760. }
  8761. me.__360image.appendChild(me._phone2);
  8762. el=me._phone3=document.createElement('div');
  8763. el.ggId="phone3";
  8764. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8765. el.ggVisible=true;
  8766. el.className="ggskin ggskin_rectangle ";
  8767. el.ggType='rectangle';
  8768. hs ='';
  8769. hs+='background : #ffffff;';
  8770. hs+='border : 1px solid #ffffff;';
  8771. hs+='cursor : default;';
  8772. hs+='height : 1px;';
  8773. hs+='left : 12px;';
  8774. hs+='position : absolute;';
  8775. hs+='top : 4px;';
  8776. hs+='visibility : inherit;';
  8777. hs+='width : 8px;';
  8778. hs+='pointer-events:auto;';
  8779. el.setAttribute('style',hs);
  8780. el.style[domTransform + 'Origin']='50% 50%';
  8781. me._phone3.ggIsActive=function() {
  8782. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  8783. return this.parentNode.ggIsActive();
  8784. }
  8785. return false;
  8786. }
  8787. el.ggElementNodeId=function() {
  8788. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  8789. return this.parentNode.ggElementNodeId();
  8790. }
  8791. return player.getCurrentNode();
  8792. }
  8793. me._phone3.logicBlock_scaling = function() {
  8794. var newLogicStateScaling;
  8795. if (
  8796. (player.getVariableValue('pos_360image') == 1)
  8797. )
  8798. {
  8799. newLogicStateScaling = 0;
  8800. }
  8801. else if (
  8802. (player.getVariableValue('pos_360image') == 0)
  8803. )
  8804. {
  8805. newLogicStateScaling = 1;
  8806. }
  8807. else if (
  8808. (player.getVariableValue('pos_360image') == 0)
  8809. )
  8810. {
  8811. newLogicStateScaling = 2;
  8812. }
  8813. else {
  8814. newLogicStateScaling = -1;
  8815. }
  8816. if (me._phone3.ggCurrentLogicStateScaling != newLogicStateScaling) {
  8817. me._phone3.ggCurrentLogicStateScaling = newLogicStateScaling;
  8818. me._phone3.style[domTransition]='' + cssPrefix + 'transform 1000ms ease 0ms';
  8819. if (me._phone3.ggCurrentLogicStateScaling == 0) {
  8820. me._phone3.ggParameter.sx = 0.8;
  8821. me._phone3.ggParameter.sy = 1;
  8822. me._phone3.style[domTransform]=parameterToTransform(me._phone3.ggParameter);
  8823. }
  8824. else if (me._phone3.ggCurrentLogicStateScaling == 1) {
  8825. me._phone3.ggParameter.sx = 1;
  8826. me._phone3.ggParameter.sy = 1;
  8827. me._phone3.style[domTransform]=parameterToTransform(me._phone3.ggParameter);
  8828. }
  8829. else if (me._phone3.ggCurrentLogicStateScaling == 2) {
  8830. me._phone3.ggParameter.sx = 0.8;
  8831. me._phone3.ggParameter.sy = 1;
  8832. me._phone3.style[domTransform]=parameterToTransform(me._phone3.ggParameter);
  8833. }
  8834. else {
  8835. me._phone3.ggParameter.sx = 1;
  8836. me._phone3.ggParameter.sy = 1;
  8837. me._phone3.style[domTransform]=parameterToTransform(me._phone3.ggParameter);
  8838. }
  8839. }
  8840. }
  8841. me._phone3.ggUpdatePosition=function (useTransition) {
  8842. }
  8843. me.__360image.appendChild(me._phone3);
  8844. me.__360image_gyro.appendChild(me.__360image);
  8845. me.divSkin.appendChild(me.__360image_gyro);
  8846. el=me._close=document.createElement('div');
  8847. els=me._close__img=document.createElement('img');
  8848. els.className='ggskin ggskin_svg';
  8849. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNS4wLjIsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OT'+
  8850. 'kveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnIG9wYWNpdHk9IjAuNCI+DQoJPHBhdGggc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSIgZD0iTTIxLjEzMiwxOS40MzlMMTcuNjkyLDE2bDMuNDQtMy40NGMwLjQ2OC0wLjQ2NywwLjQ2OC0xLjIyNSwwLTEuNjkzDQoJCWMtMC40NjctMC40NjctMS4yMjUtMC40NjctMS42OTEsMC4wMDFMMTYsMTQuMzA4bC0zLjQ0MS0zLjQ0MWMtMC40NjctMC40'+
  8851. 'NjctMS4yMjQtMC40NjctMS42OTEsMC4wMDENCgkJYy0wLjQ2NywwLjQ2Ny0wLjQ2NywxLjIyNCwwLD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KPC9zdmc+DQo=';
  8856. me._close__img.setAttribute('src',hs);
  8857. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;close;');
  8858. els['ondragstart']=function() { return false; };
  8859. el.appendChild(els);
  8860. el.ggSubElement = els;
  8861. elo=me._close__imgo=document.createElement('img');
  8862. elo.className='ggskin ggskin_svg';
  8863. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNS4wLjIsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OT'+
  8864. 'kveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2LDE2KSBzY2FsZSgxLjEpIHRyYW5zbGF0ZSgtMTYsLTE2KSIgb3BhY2l0eT0iMC40Ij4NCgk8cGF0aCBzdHJva2U9IiMzQzNDM0MiIHN0cm9rZS13aWR0aD0iMS41IiBkPSJNMjEuMTMyLDE5LjQzOUwxNy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eiBNMTYsMjYuMTA2Yy0yLjU5LDAtNS4xNzEtMC45ODQtNy4xNDYtMi45NTkNCgkJQzYuODc4LDIxLjE3LDUuODk1LDE4LjU5MSw1Ljg5NCwxNmMwLTIuNTkxLDAuOTgzLTUuMTcsMi45NTktNy4xNDdjMS45NzctMS45NzYsNC41NTYtMi45NTksNy4xNDgtMi45Ng0KCQljMi41OTEsMC4wMDEsNS4xNywwLjk4NCw3LjE0NywyLjk1OWMxLjk3NSwxLjk3NywyLjk1Nyw0LjU1NiwyLjk1OS'+
  8870. 'w3LjE0N2MtMC4wMDEsMi41OTItMC45ODQsNS4xNy0yLjk2LDcuMTQ4DQoJCUMyMS4xNywyNS4xMjMsMTguNTkxLDI2LjEwNywxNiwyNi4xMDZ6Ii8+DQo8L2c+DQo8L3N2Zz4NCg==';
  8871. me._close__imgo.setAttribute('src',hs);
  8872. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;close;');
  8873. elo['ondragstart']=function() { return false; };
  8874. el.appendChild(elo);
  8875. el.ggId="close";
  8876. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8877. el.ggVisible=false;
  8878. el.className="ggskin ggskin_svg ";
  8879. el.ggType='svg';
  8880. hs ='';
  8881. hs+='cursor : pointer;';
  8882. hs+='height : 32px;';
  8883. hs+='position : absolute;';
  8884. hs+='right : 5px;';
  8885. hs+='top : 5px;';
  8886. hs+='visibility : hidden;';
  8887. hs+='width : 32px;';
  8888. hs+='pointer-events:auto;';
  8889. el.setAttribute('style',hs);
  8890. el.style[domTransform + 'Origin']='50% 50%';
  8891. me._close.ggIsActive=function() {
  8892. return false;
  8893. }
  8894. el.ggElementNodeId=function() {
  8895. return player.getCurrentNode();
  8896. }
  8897. me._close.logicBlock_visible = function() {
  8898. var newLogicStateVisible;
  8899. if (
  8900. (player.getVariableValue('vis_image_popup') == true) ||
  8901. (player.getVariableValue('vis_video_popup_file') == true) ||
  8902. (player.getVariableValue('vis_video_popup_url') == true) ||
  8903. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  8904. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  8905. (player.getVariableValue('vis_website') == true)
  8906. )
  8907. {
  8908. newLogicStateVisible = 0;
  8909. }
  8910. else {
  8911. newLogicStateVisible = -1;
  8912. }
  8913. if (me._close.ggCurrentLogicStateVisible != newLogicStateVisible) {
  8914. me._close.ggCurrentLogicStateVisible = newLogicStateVisible;
  8915. me._close.style[domTransition]='';
  8916. if (me._close.ggCurrentLogicStateVisible == 0) {
  8917. me._close.style.visibility=(Number(me._close.style.opacity)>0||!me._close.style.opacity)?'inherit':'hidden';
  8918. me._close.ggVisible=true;
  8919. }
  8920. else {
  8921. me._close.style.visibility="hidden";
  8922. me._close.ggVisible=false;
  8923. }
  8924. }
  8925. }
  8926. me._close.onclick=function (e) {
  8927. player.setVariableValue('vis_image_popup', false);
  8928. player.setVariableValue('vis_info_popup', false);
  8929. player.setVariableValue('vis_video_popup_file', false);
  8930. player.setVariableValue('vis_video_popup_url', false);
  8931. player.setVariableValue('vis_video_popup_vimeo', false);
  8932. player.setVariableValue('vis_video_popup_youtube', false);
  8933. player.setVariableValue('vis_website', false);
  8934. }
  8935. me._close.onmouseover=function (e) {
  8936. me._close__img.style.visibility='hidden';
  8937. me._close__imgo.style.visibility='inherit';
  8938. }
  8939. me._close.onmouseout=function (e) {
  8940. me._close__img.style.visibility='inherit';
  8941. me._close__imgo.style.visibility='hidden';
  8942. }
  8943. me._close.ggUpdatePosition=function (useTransition) {
  8944. }
  8945. me.divSkin.appendChild(me._close);
  8946. el=me._loading=document.createElement('div');
  8947. el.ggId="loading";
  8948. el.ggDx=0;
  8949. el.ggDy=0;
  8950. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  8951. el.ggVisible=false;
  8952. el.className="ggskin ggskin_container ";
  8953. el.ggType='container';
  8954. hs ='';
  8955. hs+='height : 60px;';
  8956. hs+='left : -10000px;';
  8957. hs+='position : absolute;';
  8958. hs+='top : -10000px;';
  8959. hs+='visibility : hidden;';
  8960. hs+='width : 210px;';
  8961. hs+='pointer-events:none;';
  8962. el.setAttribute('style',hs);
  8963. el.style[domTransform + 'Origin']='50% 50%';
  8964. me._loading.ggIsActive=function() {
  8965. return false;
  8966. }
  8967. el.ggElementNodeId=function() {
  8968. return player.getCurrentNode();
  8969. }
  8970. me._loading.logicBlock_visible = function() {
  8971. var newLogicStateVisible;
  8972. if (
  8973. (player.getVariableValue('opt_loader') == true)
  8974. )
  8975. {
  8976. newLogicStateVisible = 0;
  8977. }
  8978. else {
  8979. newLogicStateVisible = -1;
  8980. }
  8981. if (me._loading.ggCurrentLogicStateVisible != newLogicStateVisible) {
  8982. me._loading.ggCurrentLogicStateVisible = newLogicStateVisible;
  8983. me._loading.style[domTransition]='';
  8984. if (me._loading.ggCurrentLogicStateVisible == 0) {
  8985. me._loading.style.visibility=(Number(me._loading.style.opacity)>0||!me._loading.style.opacity)?'inherit':'hidden';
  8986. me._loading.ggVisible=true;
  8987. }
  8988. else {
  8989. me._loading.style.visibility="hidden";
  8990. me._loading.ggVisible=false;
  8991. }
  8992. }
  8993. }
  8994. me._loading.onclick=function (e) {
  8995. me._loading.style[domTransition]='none';
  8996. me._loading.style.visibility='hidden';
  8997. me._loading.ggVisible=false;
  8998. }
  8999. me._loading.ggUpdatePosition=function (useTransition) {
  9000. if (useTransition==='undefined') {
  9001. useTransition = false;
  9002. }
  9003. if (!useTransition) {
  9004. this.style[domTransition]='none';
  9005. }
  9006. if (this.parentNode) {
  9007. var pw=this.parentNode.clientWidth;
  9008. var w=this.offsetWidth;
  9009. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  9010. var ph=this.parentNode.clientHeight;
  9011. var h=this.offsetHeight;
  9012. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  9013. }
  9014. }
  9015. el=me._loadingbg=document.createElement('div');
  9016. el.ggId="loadingbg";
  9017. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  9018. el.ggVisible=true;
  9019. el.className="ggskin ggskin_rectangle ";
  9020. el.ggType='rectangle';
  9021. hs ='';
  9022. hs+=cssPrefix + 'border-radius : 10px;';
  9023. hs+='border-radius : 10px;';
  9024. hs+='background : rgba(0,0,0,0.509804);';
  9025. hs+='border : 2px solid #ffffff;';
  9026. hs+='cursor : default;';
  9027. hs+='height : 60px;';
  9028. hs+='left : 0px;';
  9029. hs+='opacity : 0.5;';
  9030. hs+='position : absolute;';
  9031. hs+='top : 0px;';
  9032. hs+='visibility : inherit;';
  9033. hs+='width : 210px;';
  9034. hs+='pointer-events:auto;';
  9035. el.setAttribute('style',hs);
  9036. el.style[domTransform + 'Origin']='50% 50%';
  9037. me._loadingbg.ggIsActive=function() {
  9038. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  9039. return this.parentNode.ggIsActive();
  9040. }
  9041. return false;
  9042. }
  9043. el.ggElementNodeId=function() {
  9044. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  9045. return this.parentNode.ggElementNodeId();
  9046. }
  9047. return player.getCurrentNode();
  9048. }
  9049. me._loadingbg.ggUpdatePosition=function (useTransition) {
  9050. }
  9051. me._loading.appendChild(me._loadingbg);
  9052. el=me._loadingtext=document.createElement('div');
  9053. els=me._loadingtext__text=document.createElement('div');
  9054. el.className='ggskin ggskin_textdiv';
  9055. el.ggTextDiv=els;
  9056. el.ggId="loadingtext";
  9057. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  9058. el.ggVisible=true;
  9059. el.className="ggskin ggskin_text ";
  9060. el.ggType='text';
  9061. hs ='';
  9062. hs+='height : 23px;';
  9063. hs+='left : 16px;';
  9064. hs+='position : absolute;';
  9065. hs+='top : 13px;';
  9066. hs+='visibility : inherit;';
  9067. hs+='width : 178px;';
  9068. hs+='pointer-events:auto;';
  9069. el.setAttribute('style',hs);
  9070. el.style[domTransform + 'Origin']='0% 50%';
  9071. hs ='position:absolute;';
  9072. hs += 'box-sizing: border-box;';
  9073. hs+='cursor: default;';
  9074. hs+='left: 0px;';
  9075. hs+='top: 0px;';
  9076. hs+='width: auto;';
  9077. hs+='height: auto;';
  9078. hs+='border: 0px solid #000000;';
  9079. hs+='color: rgba(255,255,255,1);';
  9080. hs+='text-align: left;';
  9081. hs+='white-space: nowrap;';
  9082. hs+='padding: 0px 1px 0px 1px;';
  9083. hs+='overflow: hidden;';
  9084. els.setAttribute('style',hs);
  9085. me._loadingtext.ggUpdateText=function() {
  9086. var hs="Loading... "+(player.getPercentLoaded()*100.0).toFixed(0)+"%";
  9087. if (hs!=this.ggText) {
  9088. this.ggText=hs;
  9089. this.ggTextDiv.innerHTML=hs;
  9090. if (this.ggUpdatePosition) this.ggUpdatePosition();
  9091. }
  9092. }
  9093. me._loadingtext.ggUpdateText();
  9094. el.appendChild(els);
  9095. me._loadingtext.ggIsActive=function() {
  9096. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  9097. return this.parentNode.ggIsActive();
  9098. }
  9099. return false;
  9100. }
  9101. el.ggElementNodeId=function() {
  9102. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  9103. return this.parentNode.ggElementNodeId();
  9104. }
  9105. return player.getCurrentNode();
  9106. }
  9107. me._loadingtext.ggUpdatePosition=function (useTransition) {
  9108. }
  9109. me._loading.appendChild(me._loadingtext);
  9110. el=me._loadingbar=document.createElement('div');
  9111. el.ggId="loadingbar";
  9112. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  9113. el.ggVisible=true;
  9114. el.className="ggskin ggskin_rectangle ";
  9115. el.ggType='rectangle';
  9116. hs ='';
  9117. hs+=cssPrefix + 'border-radius : 5px;';
  9118. hs+='border-radius : 5px;';
  9119. hs+='background : #ffffff;';
  9120. hs+='border : 0px solid #808080;';
  9121. hs+='cursor : default;';
  9122. hs+='height : 13px;';
  9123. hs+='left : 14px;';
  9124. hs+='position : absolute;';
  9125. hs+='top : 36px;';
  9126. hs+='visibility : inherit;';
  9127. hs+='width : 182px;';
  9128. hs+='pointer-events:auto;';
  9129. el.setAttribute('style',hs);
  9130. el.style[domTransform + 'Origin']='0% 50%';
  9131. me._loadingbar.ggIsActive=function() {
  9132. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  9133. return this.parentNode.ggIsActive();
  9134. }
  9135. return false;
  9136. }
  9137. el.ggElementNodeId=function() {
  9138. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  9139. return this.parentNode.ggElementNodeId();
  9140. }
  9141. return player.getCurrentNode();
  9142. }
  9143. me._loadingbar.ggUpdatePosition=function (useTransition) {
  9144. }
  9145. me._loading.appendChild(me._loadingbar);
  9146. me.divSkin.appendChild(me._loading);
  9147. me._popup_video_file.ggVideoSource = 'media/';
  9148. me._popup_video_file.ggVideoNotLoaded = true;
  9149. me._popup_video_url.ggVideoSource = '';
  9150. me._popup_video_url.ggVideoNotLoaded = true;
  9151. me._popup_video_vimeo.ggVideoSource = '';
  9152. me._popup_video_vimeo.ggVideoNotLoaded = true;
  9153. me._popup_video_youtube.ggVideoSource = '';
  9154. me._popup_video_youtube.ggVideoNotLoaded = true;
  9155. player.addListener('sizechanged', function() {
  9156. me.updateSize(me.divSkin);
  9157. });
  9158. player.addListener('configloaded', function() {
  9159. if (
  9160. (
  9161. (player.getVariableValue('opt_autohide') == true)
  9162. )
  9163. ) {
  9164. me._hide_timer.ggTimeout=Number("5") * 1000.0;
  9165. me._hide_timer.ggTimestamp=skin.ggCurrentTime;
  9166. }
  9167. if (
  9168. (
  9169. (player.getVariableValue('opt_zoom') == true)
  9170. )
  9171. ) {
  9172. player.setVariableValue('pos_controller', player.getVariableValue('pos_controller') + Number("2"));
  9173. }
  9174. if (
  9175. (
  9176. (player.getVariableValue('opt_autorotate') == true)
  9177. )
  9178. ) {
  9179. player.setVariableValue('pos_controller', player.getVariableValue('pos_controller') + Number("1"));
  9180. }
  9181. if (
  9182. (
  9183. (player.getVariableValue('opt_info') == true)
  9184. )
  9185. ) {
  9186. player.setVariableValue('pos_controller', player.getVariableValue('pos_controller') + Number("1"));
  9187. }
  9188. if (
  9189. (
  9190. (player.getVariableValue('opt_thumbnail') == true) &&
  9191. (player.getIsTour() == true)
  9192. )
  9193. ) {
  9194. player.setVariableValue('pos_controller', player.getVariableValue('pos_controller') + Number("1"));
  9195. }
  9196. if (
  9197. (
  9198. (player.getVariableValue('opt_projection') == true)
  9199. )
  9200. ) {
  9201. player.setVariableValue('pos_controller', player.getVariableValue('pos_controller') + Number("1"));
  9202. }
  9203. if (
  9204. (
  9205. (player.getVariableValue('opt_gyro') == true) &&
  9206. (player.getIsMobile() == true)
  9207. )
  9208. ) {
  9209. player.setVariableValue('pos_controller', player.getVariableValue('pos_controller') + Number("1"));
  9210. }
  9211. if (
  9212. (
  9213. (player.getVariableValue('opt_fullscreen') == true) &&
  9214. (player.getOS() != 4)
  9215. )
  9216. ) {
  9217. player.setVariableValue('pos_controller', player.getVariableValue('pos_controller') + Number("1"));
  9218. }
  9219. if (
  9220. (
  9221. (player.getVariableValue('opt_zoom') == true) &&
  9222. (player.getOS() != 4)
  9223. )
  9224. ) {
  9225. player.setVariableValue('pos_fullscreen', player.getVariableValue('pos_fullscreen') + Number("2"));
  9226. }
  9227. if (
  9228. (
  9229. (player.getVariableValue('opt_autorotate') == true) &&
  9230. (player.getOS() != 4)
  9231. )
  9232. ) {
  9233. player.setVariableValue('pos_fullscreen', player.getVariableValue('pos_fullscreen') + Number("1"));
  9234. }
  9235. if (
  9236. (
  9237. (player.getVariableValue('opt_info') == true) &&
  9238. (player.getOS() != 4)
  9239. )
  9240. ) {
  9241. player.setVariableValue('pos_fullscreen', player.getVariableValue('pos_fullscreen') + Number("1"));
  9242. }
  9243. if (
  9244. (
  9245. (player.getVariableValue('opt_thumbnail') == true) &&
  9246. (player.getIsTour() == true) &&
  9247. (player.getOS() != 4)
  9248. )
  9249. ) {
  9250. player.setVariableValue('pos_fullscreen', player.getVariableValue('pos_fullscreen') + Number("1"));
  9251. }
  9252. if (
  9253. (
  9254. (player.getVariableValue('opt_projection') == true) &&
  9255. (player.getOS() != 4)
  9256. )
  9257. ) {
  9258. player.setVariableValue('pos_fullscreen', player.getVariableValue('pos_fullscreen') + Number("1"));
  9259. }
  9260. if (
  9261. (
  9262. (player.getVariableValue('opt_gyro') == true) &&
  9263. (player.getIsMobile() == true) &&
  9264. (player.getOS() != 4)
  9265. )
  9266. ) {
  9267. player.setVariableValue('pos_fullscreen', player.getVariableValue('pos_fullscreen') + Number("1"));
  9268. }
  9269. if (
  9270. (
  9271. (player.getVariableValue('opt_zoom') == true) &&
  9272. (player.getIsMobile() == true)
  9273. )
  9274. ) {
  9275. player.setVariableValue('pos_gyro', player.getVariableValue('pos_gyro') + Number("2"));
  9276. }
  9277. if (
  9278. (
  9279. (player.getVariableValue('opt_autorotate') == true) &&
  9280. (player.getIsMobile() == true)
  9281. )
  9282. ) {
  9283. player.setVariableValue('pos_gyro', player.getVariableValue('pos_gyro') + Number("1"));
  9284. }
  9285. if (
  9286. (
  9287. (player.getVariableValue('opt_info') == true) &&
  9288. (player.getIsMobile() == true)
  9289. )
  9290. ) {
  9291. player.setVariableValue('pos_gyro', player.getVariableValue('pos_gyro') + Number("1"));
  9292. }
  9293. if (
  9294. (
  9295. (player.getVariableValue('opt_thumbnail') == true) &&
  9296. (player.getIsTour() == true) &&
  9297. (player.getIsMobile() == true)
  9298. )
  9299. ) {
  9300. player.setVariableValue('pos_gyro', player.getVariableValue('pos_gyro') + Number("1"));
  9301. }
  9302. if (
  9303. (
  9304. (player.getVariableValue('opt_projection') == true) &&
  9305. (player.getIsMobile() == true)
  9306. )
  9307. ) {
  9308. player.setVariableValue('pos_gyro', player.getVariableValue('pos_gyro') + Number("1"));
  9309. }
  9310. if (
  9311. (
  9312. (player.getVariableValue('opt_zoom') == true)
  9313. )
  9314. ) {
  9315. player.setVariableValue('pos_projection', player.getVariableValue('pos_projection') + Number("2"));
  9316. }
  9317. if (
  9318. (
  9319. (player.getVariableValue('opt_autorotate') == true)
  9320. )
  9321. ) {
  9322. player.setVariableValue('pos_projection', player.getVariableValue('pos_projection') + Number("1"));
  9323. }
  9324. if (
  9325. (
  9326. (player.getVariableValue('opt_info') == true)
  9327. )
  9328. ) {
  9329. player.setVariableValue('pos_projection', player.getVariableValue('pos_projection') + Number("1"));
  9330. }
  9331. if (
  9332. (
  9333. (player.getVariableValue('opt_thumbnail') == true) &&
  9334. (player.getIsTour() == true)
  9335. )
  9336. ) {
  9337. player.setVariableValue('pos_projection', player.getVariableValue('pos_projection') + Number("1"));
  9338. }
  9339. if (
  9340. (
  9341. (player.getVariableValue('opt_zoom') == true)
  9342. )
  9343. ) {
  9344. player.setVariableValue('pos_thumbnail', player.getVariableValue('pos_thumbnail') + Number("2"));
  9345. }
  9346. if (
  9347. (
  9348. (player.getVariableValue('opt_autorotate') == true)
  9349. )
  9350. ) {
  9351. player.setVariableValue('pos_thumbnail', player.getVariableValue('pos_thumbnail') + Number("1"));
  9352. }
  9353. if (
  9354. (
  9355. (player.getVariableValue('opt_info') == true)
  9356. )
  9357. ) {
  9358. player.setVariableValue('pos_thumbnail', player.getVariableValue('pos_thumbnail') + Number("1"));
  9359. }
  9360. if (
  9361. (
  9362. (player.getVariableValue('opt_zoom') == true)
  9363. )
  9364. ) {
  9365. player.setVariableValue('pos_information', player.getVariableValue('pos_information') + Number("2"));
  9366. }
  9367. if (
  9368. (
  9369. (player.getVariableValue('opt_autorotate') == true)
  9370. )
  9371. ) {
  9372. player.setVariableValue('pos_information', player.getVariableValue('pos_information') + Number("1"));
  9373. }
  9374. if (
  9375. (
  9376. (player.getVariableValue('opt_zoom') == true)
  9377. )
  9378. ) {
  9379. player.setVariableValue('pos_autorotate', player.getVariableValue('pos_autorotate') + Number("2"));
  9380. }
  9381. me._thumbnail_cloner.ggUpdate();
  9382. me._thumbnail_cloner_mobile.ggUpdate();
  9383. });
  9384. player.addListener('imagesready', function() {
  9385. me._thumbnail_menu.ggUpdatePosition();
  9386. me._thumbnail_menu_mobile.ggUpdatePosition();
  9387. me._loading.style[domTransition]='none';
  9388. me._loading.style.visibility='hidden';
  9389. me._loading.ggVisible=false;
  9390. });
  9391. player.addListener('beforechangenode', function() {
  9392. if (
  9393. (
  9394. (player.getVariableValue('vis_loader') == true)
  9395. )
  9396. ) {
  9397. me._loading.style[domTransition]='none';
  9398. me._loading.style.visibility=(Number(me._loading.style.opacity)>0||!me._loading.style.opacity)?'inherit':'hidden';
  9399. me._loading.ggVisible=true;
  9400. }
  9401. });
  9402. player.addListener('tilesrequested', function() {
  9403. player.setVariableValue('vis_loader', false);
  9404. });
  9405. };
  9406. this.hotspotProxyClick=function(id, url) {
  9407. }
  9408. this.hotspotProxyDoubleClick=function(id, url) {
  9409. }
  9410. me.hotspotProxyOver=function(id, url) {
  9411. }
  9412. me.hotspotProxyOut=function(id, url) {
  9413. }
  9414. me.callChildLogicBlocksHotspot_ht_node_changenodeid = function(){
  9415. if(hotspotTemplates['ht_node']) {
  9416. var i;
  9417. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9418. if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_alpha) {
  9419. hotspotTemplates['ht_node'][i]._ht_node.logicBlock_alpha();
  9420. }
  9421. if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible) {
  9422. hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible();
  9423. }
  9424. if (hotspotTemplates['ht_node'][i]._hotspot_preview && hotspotTemplates['ht_node'][i]._hotspot_preview.logicBlock_visible) {
  9425. hotspotTemplates['ht_node'][i]._hotspot_preview.logicBlock_visible();
  9426. }
  9427. if (hotspotTemplates['ht_node'][i]._tt_ht_node && hotspotTemplates['ht_node'][i]._tt_ht_node.logicBlock_visible) {
  9428. hotspotTemplates['ht_node'][i]._tt_ht_node.logicBlock_visible();
  9429. }
  9430. if (hotspotTemplates['ht_node'][i]._ht_tooltip && hotspotTemplates['ht_node'][i]._ht_tooltip.logicBlock_visible) {
  9431. hotspotTemplates['ht_node'][i]._ht_tooltip.logicBlock_visible();
  9432. }
  9433. if (hotspotTemplates['ht_node'][i]._ht_checkmark_tick && hotspotTemplates['ht_node'][i]._ht_checkmark_tick.logicBlock_visible) {
  9434. hotspotTemplates['ht_node'][i]._ht_checkmark_tick.logicBlock_visible();
  9435. }
  9436. }
  9437. }
  9438. }
  9439. me.callChildLogicBlocksHotspot_ht_node_configloaded = function(){
  9440. if(hotspotTemplates['ht_node']) {
  9441. var i;
  9442. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9443. if (hotspotTemplates['ht_node'][i]._hotspot_preview && hotspotTemplates['ht_node'][i]._hotspot_preview.logicBlock_visible) {
  9444. hotspotTemplates['ht_node'][i]._hotspot_preview.logicBlock_visible();
  9445. }
  9446. if (hotspotTemplates['ht_node'][i]._tt_ht_node && hotspotTemplates['ht_node'][i]._tt_ht_node.logicBlock_position) {
  9447. hotspotTemplates['ht_node'][i]._tt_ht_node.logicBlock_position();
  9448. }
  9449. if (hotspotTemplates['ht_node'][i]._tt_ht_node && hotspotTemplates['ht_node'][i]._tt_ht_node.logicBlock_visible) {
  9450. hotspotTemplates['ht_node'][i]._tt_ht_node.logicBlock_visible();
  9451. }
  9452. }
  9453. }
  9454. }
  9455. me.callChildLogicBlocksHotspot_ht_node_mouseover = function(){
  9456. if(hotspotTemplates['ht_node']) {
  9457. var i;
  9458. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9459. if (hotspotTemplates['ht_node'][i]._hotspot_preview && hotspotTemplates['ht_node'][i]._hotspot_preview.logicBlock_visible) {
  9460. hotspotTemplates['ht_node'][i]._hotspot_preview.logicBlock_visible();
  9461. }
  9462. if (hotspotTemplates['ht_node'][i]._tt_ht_node && hotspotTemplates['ht_node'][i]._tt_ht_node.logicBlock_visible) {
  9463. hotspotTemplates['ht_node'][i]._tt_ht_node.logicBlock_visible();
  9464. }
  9465. }
  9466. }
  9467. }
  9468. me.callChildLogicBlocksHotspot_ht_node_active = function(){
  9469. if(hotspotTemplates['ht_node']) {
  9470. var i;
  9471. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9472. if (hotspotTemplates['ht_node'][i]._ht_checkmark_tick && hotspotTemplates['ht_node'][i]._ht_checkmark_tick.logicBlock_visible) {
  9473. hotspotTemplates['ht_node'][i]._ht_checkmark_tick.logicBlock_visible();
  9474. }
  9475. }
  9476. }
  9477. }
  9478. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_timer = function(){
  9479. if(hotspotTemplates['ht_node']) {
  9480. var i;
  9481. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9482. if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_alpha) {
  9483. hotspotTemplates['ht_node'][i]._ht_node.logicBlock_alpha();
  9484. }
  9485. }
  9486. }
  9487. }
  9488. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_userdata = function(){
  9489. if(hotspotTemplates['ht_node']) {
  9490. var i;
  9491. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9492. if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible) {
  9493. hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible();
  9494. }
  9495. }
  9496. }
  9497. }
  9498. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_image_popup = function(){
  9499. if(hotspotTemplates['ht_node']) {
  9500. var i;
  9501. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9502. if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible) {
  9503. hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible();
  9504. }
  9505. }
  9506. }
  9507. }
  9508. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_info_popup = function(){
  9509. if(hotspotTemplates['ht_node']) {
  9510. var i;
  9511. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9512. if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible) {
  9513. hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible();
  9514. }
  9515. }
  9516. }
  9517. }
  9518. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_video_popup_file = function(){
  9519. if(hotspotTemplates['ht_node']) {
  9520. var i;
  9521. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9522. if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible) {
  9523. hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible();
  9524. }
  9525. }
  9526. }
  9527. }
  9528. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_video_popup_url = function(){
  9529. if(hotspotTemplates['ht_node']) {
  9530. var i;
  9531. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9532. if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible) {
  9533. hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible();
  9534. }
  9535. }
  9536. }
  9537. }
  9538. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_video_popup_vimeo = function(){
  9539. if(hotspotTemplates['ht_node']) {
  9540. var i;
  9541. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9542. if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible) {
  9543. hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible();
  9544. }
  9545. }
  9546. }
  9547. }
  9548. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_video_popup_youtube = function(){
  9549. if(hotspotTemplates['ht_node']) {
  9550. var i;
  9551. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9552. if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible) {
  9553. hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible();
  9554. }
  9555. }
  9556. }
  9557. }
  9558. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_website = function(){
  9559. if(hotspotTemplates['ht_node']) {
  9560. var i;
  9561. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9562. if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible) {
  9563. hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible();
  9564. }
  9565. }
  9566. }
  9567. }
  9568. me.callChildLogicBlocksHotspot_ht_node_varchanged_opt_hotspot_preview = function(){
  9569. if(hotspotTemplates['ht_node']) {
  9570. var i;
  9571. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  9572. if (hotspotTemplates['ht_node'][i]._hotspot_preview && hotspotTemplates['ht_node'][i]._hotspot_preview.logicBlock_visible) {
  9573. hotspotTemplates['ht_node'][i]._hotspot_preview.logicBlock_visible();
  9574. }
  9575. if (hotspotTemplates['ht_node'][i]._tt_ht_node && hotspotTemplates['ht_node'][i]._tt_ht_node.logicBlock_visible) {
  9576. hotspotTemplates['ht_node'][i]._tt_ht_node.logicBlock_visible();
  9577. }
  9578. }
  9579. }
  9580. }
  9581. me.callChildLogicBlocksHotspot_ht_url_changenodeid = function(){
  9582. if(hotspotTemplates['ht_url']) {
  9583. var i;
  9584. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9585. if (hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible) {
  9586. hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible();
  9587. }
  9588. if (hotspotTemplates['ht_url'][i]._ht_url.logicBlock_alpha) {
  9589. hotspotTemplates['ht_url'][i]._ht_url.logicBlock_alpha();
  9590. }
  9591. if (hotspotTemplates['ht_url'][i]._ht_url_image && hotspotTemplates['ht_url'][i]._ht_url_image.logicBlock_visible) {
  9592. hotspotTemplates['ht_url'][i]._ht_url_image.logicBlock_visible();
  9593. }
  9594. if (hotspotTemplates['ht_url'][i]._ht_url_image_newpage && hotspotTemplates['ht_url'][i]._ht_url_image_newpage.logicBlock_visible) {
  9595. hotspotTemplates['ht_url'][i]._ht_url_image_newpage.logicBlock_visible();
  9596. }
  9597. if (hotspotTemplates['ht_url'][i]._tt_ht_url && hotspotTemplates['ht_url'][i]._tt_ht_url.logicBlock_visible) {
  9598. hotspotTemplates['ht_url'][i]._tt_ht_url.logicBlock_visible();
  9599. }
  9600. }
  9601. }
  9602. }
  9603. me.callChildLogicBlocksHotspot_ht_url_configloaded = function(){
  9604. if(hotspotTemplates['ht_url']) {
  9605. var i;
  9606. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9607. if (hotspotTemplates['ht_url'][i]._ht_url_image && hotspotTemplates['ht_url'][i]._ht_url_image.logicBlock_visible) {
  9608. hotspotTemplates['ht_url'][i]._ht_url_image.logicBlock_visible();
  9609. }
  9610. if (hotspotTemplates['ht_url'][i]._ht_url_image_newpage && hotspotTemplates['ht_url'][i]._ht_url_image_newpage.logicBlock_visible) {
  9611. hotspotTemplates['ht_url'][i]._ht_url_image_newpage.logicBlock_visible();
  9612. }
  9613. if (hotspotTemplates['ht_url'][i]._tt_ht_url && hotspotTemplates['ht_url'][i]._tt_ht_url.logicBlock_position) {
  9614. hotspotTemplates['ht_url'][i]._tt_ht_url.logicBlock_position();
  9615. }
  9616. }
  9617. }
  9618. }
  9619. me.callChildLogicBlocksHotspot_ht_url_mouseover = function(){
  9620. if(hotspotTemplates['ht_url']) {
  9621. var i;
  9622. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9623. if (hotspotTemplates['ht_url'][i]._tt_ht_url && hotspotTemplates['ht_url'][i]._tt_ht_url.logicBlock_visible) {
  9624. hotspotTemplates['ht_url'][i]._tt_ht_url.logicBlock_visible();
  9625. }
  9626. }
  9627. }
  9628. }
  9629. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_timer = function(){
  9630. if(hotspotTemplates['ht_url']) {
  9631. var i;
  9632. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9633. if (hotspotTemplates['ht_url'][i]._ht_url.logicBlock_alpha) {
  9634. hotspotTemplates['ht_url'][i]._ht_url.logicBlock_alpha();
  9635. }
  9636. }
  9637. }
  9638. }
  9639. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_userdata = function(){
  9640. if(hotspotTemplates['ht_url']) {
  9641. var i;
  9642. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9643. if (hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible) {
  9644. hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible();
  9645. }
  9646. }
  9647. }
  9648. }
  9649. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_image_popup = function(){
  9650. if(hotspotTemplates['ht_url']) {
  9651. var i;
  9652. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9653. if (hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible) {
  9654. hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible();
  9655. }
  9656. }
  9657. }
  9658. }
  9659. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_info_popup = function(){
  9660. if(hotspotTemplates['ht_url']) {
  9661. var i;
  9662. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9663. if (hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible) {
  9664. hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible();
  9665. }
  9666. }
  9667. }
  9668. }
  9669. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_video_popup_file = function(){
  9670. if(hotspotTemplates['ht_url']) {
  9671. var i;
  9672. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9673. if (hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible) {
  9674. hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible();
  9675. }
  9676. }
  9677. }
  9678. }
  9679. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_video_popup_url = function(){
  9680. if(hotspotTemplates['ht_url']) {
  9681. var i;
  9682. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9683. if (hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible) {
  9684. hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible();
  9685. }
  9686. }
  9687. }
  9688. }
  9689. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_video_popup_vimeo = function(){
  9690. if(hotspotTemplates['ht_url']) {
  9691. var i;
  9692. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9693. if (hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible) {
  9694. hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible();
  9695. }
  9696. }
  9697. }
  9698. }
  9699. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_video_popup_youtube = function(){
  9700. if(hotspotTemplates['ht_url']) {
  9701. var i;
  9702. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9703. if (hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible) {
  9704. hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible();
  9705. }
  9706. }
  9707. }
  9708. }
  9709. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_website = function(){
  9710. if(hotspotTemplates['ht_url']) {
  9711. var i;
  9712. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9713. if (hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible) {
  9714. hotspotTemplates['ht_url'][i]._ht_url.logicBlock_visible();
  9715. }
  9716. }
  9717. }
  9718. }
  9719. me.callChildLogicBlocksHotspot_ht_url_varchanged_opt_url = function(){
  9720. if(hotspotTemplates['ht_url']) {
  9721. var i;
  9722. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  9723. if (hotspotTemplates['ht_url'][i]._ht_url_image && hotspotTemplates['ht_url'][i]._ht_url_image.logicBlock_visible) {
  9724. hotspotTemplates['ht_url'][i]._ht_url_image.logicBlock_visible();
  9725. }
  9726. if (hotspotTemplates['ht_url'][i]._ht_url_image_newpage && hotspotTemplates['ht_url'][i]._ht_url_image_newpage.logicBlock_visible) {
  9727. hotspotTemplates['ht_url'][i]._ht_url_image_newpage.logicBlock_visible();
  9728. }
  9729. }
  9730. }
  9731. }
  9732. me.callChildLogicBlocksHotspot_ht_info_changenodeid = function(){
  9733. if(hotspotTemplates['ht_info']) {
  9734. var i;
  9735. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  9736. if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible) {
  9737. hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible();
  9738. }
  9739. if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_alpha) {
  9740. hotspotTemplates['ht_info'][i]._ht_info.logicBlock_alpha();
  9741. }
  9742. if (hotspotTemplates['ht_info'][i]._tt_information && hotspotTemplates['ht_info'][i]._tt_information.logicBlock_visible) {
  9743. hotspotTemplates['ht_info'][i]._tt_information.logicBlock_visible();
  9744. }
  9745. }
  9746. }
  9747. }
  9748. me.callChildLogicBlocksHotspot_ht_info_configloaded = function(){
  9749. if(hotspotTemplates['ht_info']) {
  9750. var i;
  9751. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  9752. if (hotspotTemplates['ht_info'][i]._tt_information && hotspotTemplates['ht_info'][i]._tt_information.logicBlock_position) {
  9753. hotspotTemplates['ht_info'][i]._tt_information.logicBlock_position();
  9754. }
  9755. }
  9756. }
  9757. }
  9758. me.callChildLogicBlocksHotspot_ht_info_mouseover = function(){
  9759. if(hotspotTemplates['ht_info']) {
  9760. var i;
  9761. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  9762. if (hotspotTemplates['ht_info'][i]._tt_information && hotspotTemplates['ht_info'][i]._tt_information.logicBlock_visible) {
  9763. hotspotTemplates['ht_info'][i]._tt_information.logicBlock_visible();
  9764. }
  9765. }
  9766. }
  9767. }
  9768. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_timer = function(){
  9769. if(hotspotTemplates['ht_info']) {
  9770. var i;
  9771. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  9772. if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_alpha) {
  9773. hotspotTemplates['ht_info'][i]._ht_info.logicBlock_alpha();
  9774. }
  9775. }
  9776. }
  9777. }
  9778. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_userdata = function(){
  9779. if(hotspotTemplates['ht_info']) {
  9780. var i;
  9781. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  9782. if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible) {
  9783. hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible();
  9784. }
  9785. }
  9786. }
  9787. }
  9788. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_image_popup = function(){
  9789. if(hotspotTemplates['ht_info']) {
  9790. var i;
  9791. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  9792. if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible) {
  9793. hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible();
  9794. }
  9795. }
  9796. }
  9797. }
  9798. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_info_popup = function(){
  9799. if(hotspotTemplates['ht_info']) {
  9800. var i;
  9801. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  9802. if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible) {
  9803. hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible();
  9804. }
  9805. }
  9806. }
  9807. }
  9808. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_video_popup_file = function(){
  9809. if(hotspotTemplates['ht_info']) {
  9810. var i;
  9811. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  9812. if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible) {
  9813. hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible();
  9814. }
  9815. }
  9816. }
  9817. }
  9818. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_video_popup_url = function(){
  9819. if(hotspotTemplates['ht_info']) {
  9820. var i;
  9821. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  9822. if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible) {
  9823. hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible();
  9824. }
  9825. }
  9826. }
  9827. }
  9828. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_video_popup_vimeo = function(){
  9829. if(hotspotTemplates['ht_info']) {
  9830. var i;
  9831. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  9832. if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible) {
  9833. hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible();
  9834. }
  9835. }
  9836. }
  9837. }
  9838. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_video_popup_youtube = function(){
  9839. if(hotspotTemplates['ht_info']) {
  9840. var i;
  9841. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  9842. if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible) {
  9843. hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible();
  9844. }
  9845. }
  9846. }
  9847. }
  9848. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_website = function(){
  9849. if(hotspotTemplates['ht_info']) {
  9850. var i;
  9851. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  9852. if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible) {
  9853. hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible();
  9854. }
  9855. }
  9856. }
  9857. }
  9858. me.callChildLogicBlocksHotspot_ht_image_changenodeid = function(){
  9859. if(hotspotTemplates['ht_image']) {
  9860. var i;
  9861. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  9862. if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible) {
  9863. hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible();
  9864. }
  9865. if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_alpha) {
  9866. hotspotTemplates['ht_image'][i]._ht_image.logicBlock_alpha();
  9867. }
  9868. if (hotspotTemplates['ht_image'][i]._tt_ht_image && hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_visible) {
  9869. hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_visible();
  9870. }
  9871. }
  9872. }
  9873. }
  9874. me.callChildLogicBlocksHotspot_ht_image_configloaded = function(){
  9875. if(hotspotTemplates['ht_image']) {
  9876. var i;
  9877. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  9878. if (hotspotTemplates['ht_image'][i]._tt_ht_image && hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_position) {
  9879. hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_position();
  9880. }
  9881. }
  9882. }
  9883. }
  9884. me.callChildLogicBlocksHotspot_ht_image_mouseover = function(){
  9885. if(hotspotTemplates['ht_image']) {
  9886. var i;
  9887. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  9888. if (hotspotTemplates['ht_image'][i]._tt_ht_image && hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_visible) {
  9889. hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_visible();
  9890. }
  9891. }
  9892. }
  9893. }
  9894. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_timer = function(){
  9895. if(hotspotTemplates['ht_image']) {
  9896. var i;
  9897. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  9898. if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_alpha) {
  9899. hotspotTemplates['ht_image'][i]._ht_image.logicBlock_alpha();
  9900. }
  9901. }
  9902. }
  9903. }
  9904. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_userdata = function(){
  9905. if(hotspotTemplates['ht_image']) {
  9906. var i;
  9907. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  9908. if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible) {
  9909. hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible();
  9910. }
  9911. }
  9912. }
  9913. }
  9914. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_image_popup = function(){
  9915. if(hotspotTemplates['ht_image']) {
  9916. var i;
  9917. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  9918. if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible) {
  9919. hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible();
  9920. }
  9921. }
  9922. }
  9923. }
  9924. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_info_popup = function(){
  9925. if(hotspotTemplates['ht_image']) {
  9926. var i;
  9927. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  9928. if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible) {
  9929. hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible();
  9930. }
  9931. }
  9932. }
  9933. }
  9934. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_video_popup_file = function(){
  9935. if(hotspotTemplates['ht_image']) {
  9936. var i;
  9937. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  9938. if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible) {
  9939. hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible();
  9940. }
  9941. }
  9942. }
  9943. }
  9944. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_video_popup_url = function(){
  9945. if(hotspotTemplates['ht_image']) {
  9946. var i;
  9947. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  9948. if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible) {
  9949. hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible();
  9950. }
  9951. }
  9952. }
  9953. }
  9954. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_video_popup_vimeo = function(){
  9955. if(hotspotTemplates['ht_image']) {
  9956. var i;
  9957. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  9958. if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible) {
  9959. hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible();
  9960. }
  9961. }
  9962. }
  9963. }
  9964. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_video_popup_youtube = function(){
  9965. if(hotspotTemplates['ht_image']) {
  9966. var i;
  9967. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  9968. if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible) {
  9969. hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible();
  9970. }
  9971. }
  9972. }
  9973. }
  9974. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_website = function(){
  9975. if(hotspotTemplates['ht_image']) {
  9976. var i;
  9977. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  9978. if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible) {
  9979. hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible();
  9980. }
  9981. }
  9982. }
  9983. }
  9984. me.callChildLogicBlocksHotspot_ht_video_file_changenodeid = function(){
  9985. if(hotspotTemplates['ht_video_file']) {
  9986. var i;
  9987. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  9988. if (hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible) {
  9989. hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible();
  9990. }
  9991. if (hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_alpha) {
  9992. hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_alpha();
  9993. }
  9994. if (hotspotTemplates['ht_video_file'][i]._tt_ht_video_file && hotspotTemplates['ht_video_file'][i]._tt_ht_video_file.logicBlock_visible) {
  9995. hotspotTemplates['ht_video_file'][i]._tt_ht_video_file.logicBlock_visible();
  9996. }
  9997. }
  9998. }
  9999. }
  10000. me.callChildLogicBlocksHotspot_ht_video_file_configloaded = function(){
  10001. if(hotspotTemplates['ht_video_file']) {
  10002. var i;
  10003. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  10004. if (hotspotTemplates['ht_video_file'][i]._tt_ht_video_file && hotspotTemplates['ht_video_file'][i]._tt_ht_video_file.logicBlock_position) {
  10005. hotspotTemplates['ht_video_file'][i]._tt_ht_video_file.logicBlock_position();
  10006. }
  10007. }
  10008. }
  10009. }
  10010. me.callChildLogicBlocksHotspot_ht_video_file_mouseover = function(){
  10011. if(hotspotTemplates['ht_video_file']) {
  10012. var i;
  10013. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  10014. if (hotspotTemplates['ht_video_file'][i]._tt_ht_video_file && hotspotTemplates['ht_video_file'][i]._tt_ht_video_file.logicBlock_visible) {
  10015. hotspotTemplates['ht_video_file'][i]._tt_ht_video_file.logicBlock_visible();
  10016. }
  10017. }
  10018. }
  10019. }
  10020. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_timer = function(){
  10021. if(hotspotTemplates['ht_video_file']) {
  10022. var i;
  10023. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  10024. if (hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_alpha) {
  10025. hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_alpha();
  10026. }
  10027. }
  10028. }
  10029. }
  10030. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_userdata = function(){
  10031. if(hotspotTemplates['ht_video_file']) {
  10032. var i;
  10033. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  10034. if (hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible) {
  10035. hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible();
  10036. }
  10037. }
  10038. }
  10039. }
  10040. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_image_popup = function(){
  10041. if(hotspotTemplates['ht_video_file']) {
  10042. var i;
  10043. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  10044. if (hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible) {
  10045. hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible();
  10046. }
  10047. }
  10048. }
  10049. }
  10050. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_info_popup = function(){
  10051. if(hotspotTemplates['ht_video_file']) {
  10052. var i;
  10053. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  10054. if (hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible) {
  10055. hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible();
  10056. }
  10057. }
  10058. }
  10059. }
  10060. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_video_popup_file = function(){
  10061. if(hotspotTemplates['ht_video_file']) {
  10062. var i;
  10063. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  10064. if (hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible) {
  10065. hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible();
  10066. }
  10067. }
  10068. }
  10069. }
  10070. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_video_popup_url = function(){
  10071. if(hotspotTemplates['ht_video_file']) {
  10072. var i;
  10073. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  10074. if (hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible) {
  10075. hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible();
  10076. }
  10077. }
  10078. }
  10079. }
  10080. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_video_popup_vimeo = function(){
  10081. if(hotspotTemplates['ht_video_file']) {
  10082. var i;
  10083. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  10084. if (hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible) {
  10085. hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible();
  10086. }
  10087. }
  10088. }
  10089. }
  10090. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_video_popup_youtube = function(){
  10091. if(hotspotTemplates['ht_video_file']) {
  10092. var i;
  10093. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  10094. if (hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible) {
  10095. hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible();
  10096. }
  10097. }
  10098. }
  10099. }
  10100. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_website = function(){
  10101. if(hotspotTemplates['ht_video_file']) {
  10102. var i;
  10103. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  10104. if (hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible) {
  10105. hotspotTemplates['ht_video_file'][i]._ht_video_file.logicBlock_visible();
  10106. }
  10107. }
  10108. }
  10109. }
  10110. me.callChildLogicBlocksHotspot_ht_video_url_changenodeid = function(){
  10111. if(hotspotTemplates['ht_video_url']) {
  10112. var i;
  10113. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  10114. if (hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible) {
  10115. hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible();
  10116. }
  10117. if (hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_alpha) {
  10118. hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_alpha();
  10119. }
  10120. if (hotspotTemplates['ht_video_url'][i]._tt_ht_video_url && hotspotTemplates['ht_video_url'][i]._tt_ht_video_url.logicBlock_visible) {
  10121. hotspotTemplates['ht_video_url'][i]._tt_ht_video_url.logicBlock_visible();
  10122. }
  10123. }
  10124. }
  10125. }
  10126. me.callChildLogicBlocksHotspot_ht_video_url_configloaded = function(){
  10127. if(hotspotTemplates['ht_video_url']) {
  10128. var i;
  10129. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  10130. if (hotspotTemplates['ht_video_url'][i]._tt_ht_video_url && hotspotTemplates['ht_video_url'][i]._tt_ht_video_url.logicBlock_position) {
  10131. hotspotTemplates['ht_video_url'][i]._tt_ht_video_url.logicBlock_position();
  10132. }
  10133. }
  10134. }
  10135. }
  10136. me.callChildLogicBlocksHotspot_ht_video_url_mouseover = function(){
  10137. if(hotspotTemplates['ht_video_url']) {
  10138. var i;
  10139. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  10140. if (hotspotTemplates['ht_video_url'][i]._tt_ht_video_url && hotspotTemplates['ht_video_url'][i]._tt_ht_video_url.logicBlock_visible) {
  10141. hotspotTemplates['ht_video_url'][i]._tt_ht_video_url.logicBlock_visible();
  10142. }
  10143. }
  10144. }
  10145. }
  10146. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_timer = function(){
  10147. if(hotspotTemplates['ht_video_url']) {
  10148. var i;
  10149. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  10150. if (hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_alpha) {
  10151. hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_alpha();
  10152. }
  10153. }
  10154. }
  10155. }
  10156. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_userdata = function(){
  10157. if(hotspotTemplates['ht_video_url']) {
  10158. var i;
  10159. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  10160. if (hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible) {
  10161. hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible();
  10162. }
  10163. }
  10164. }
  10165. }
  10166. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_image_popup = function(){
  10167. if(hotspotTemplates['ht_video_url']) {
  10168. var i;
  10169. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  10170. if (hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible) {
  10171. hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible();
  10172. }
  10173. }
  10174. }
  10175. }
  10176. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_info_popup = function(){
  10177. if(hotspotTemplates['ht_video_url']) {
  10178. var i;
  10179. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  10180. if (hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible) {
  10181. hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible();
  10182. }
  10183. }
  10184. }
  10185. }
  10186. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_video_popup_file = function(){
  10187. if(hotspotTemplates['ht_video_url']) {
  10188. var i;
  10189. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  10190. if (hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible) {
  10191. hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible();
  10192. }
  10193. }
  10194. }
  10195. }
  10196. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_video_popup_url = function(){
  10197. if(hotspotTemplates['ht_video_url']) {
  10198. var i;
  10199. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  10200. if (hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible) {
  10201. hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible();
  10202. }
  10203. }
  10204. }
  10205. }
  10206. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_video_popup_vimeo = function(){
  10207. if(hotspotTemplates['ht_video_url']) {
  10208. var i;
  10209. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  10210. if (hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible) {
  10211. hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible();
  10212. }
  10213. }
  10214. }
  10215. }
  10216. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_video_popup_youtube = function(){
  10217. if(hotspotTemplates['ht_video_url']) {
  10218. var i;
  10219. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  10220. if (hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible) {
  10221. hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible();
  10222. }
  10223. }
  10224. }
  10225. }
  10226. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_website = function(){
  10227. if(hotspotTemplates['ht_video_url']) {
  10228. var i;
  10229. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  10230. if (hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible) {
  10231. hotspotTemplates['ht_video_url'][i]._ht_video_url.logicBlock_visible();
  10232. }
  10233. }
  10234. }
  10235. }
  10236. me.callChildLogicBlocksHotspot_ht_video_vimeo_changenodeid = function(){
  10237. if(hotspotTemplates['ht_video_vimeo']) {
  10238. var i;
  10239. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  10240. if (hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible) {
  10241. hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible();
  10242. }
  10243. if (hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_alpha) {
  10244. hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_alpha();
  10245. }
  10246. if (hotspotTemplates['ht_video_vimeo'][i]._tt_ht_video_vimeo && hotspotTemplates['ht_video_vimeo'][i]._tt_ht_video_vimeo.logicBlock_visible) {
  10247. hotspotTemplates['ht_video_vimeo'][i]._tt_ht_video_vimeo.logicBlock_visible();
  10248. }
  10249. }
  10250. }
  10251. }
  10252. me.callChildLogicBlocksHotspot_ht_video_vimeo_configloaded = function(){
  10253. if(hotspotTemplates['ht_video_vimeo']) {
  10254. var i;
  10255. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  10256. if (hotspotTemplates['ht_video_vimeo'][i]._tt_ht_video_vimeo && hotspotTemplates['ht_video_vimeo'][i]._tt_ht_video_vimeo.logicBlock_position) {
  10257. hotspotTemplates['ht_video_vimeo'][i]._tt_ht_video_vimeo.logicBlock_position();
  10258. }
  10259. }
  10260. }
  10261. }
  10262. me.callChildLogicBlocksHotspot_ht_video_vimeo_mouseover = function(){
  10263. if(hotspotTemplates['ht_video_vimeo']) {
  10264. var i;
  10265. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  10266. if (hotspotTemplates['ht_video_vimeo'][i]._tt_ht_video_vimeo && hotspotTemplates['ht_video_vimeo'][i]._tt_ht_video_vimeo.logicBlock_visible) {
  10267. hotspotTemplates['ht_video_vimeo'][i]._tt_ht_video_vimeo.logicBlock_visible();
  10268. }
  10269. }
  10270. }
  10271. }
  10272. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_timer = function(){
  10273. if(hotspotTemplates['ht_video_vimeo']) {
  10274. var i;
  10275. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  10276. if (hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_alpha) {
  10277. hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_alpha();
  10278. }
  10279. }
  10280. }
  10281. }
  10282. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_userdata = function(){
  10283. if(hotspotTemplates['ht_video_vimeo']) {
  10284. var i;
  10285. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  10286. if (hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible) {
  10287. hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible();
  10288. }
  10289. }
  10290. }
  10291. }
  10292. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_image_popup = function(){
  10293. if(hotspotTemplates['ht_video_vimeo']) {
  10294. var i;
  10295. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  10296. if (hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible) {
  10297. hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible();
  10298. }
  10299. }
  10300. }
  10301. }
  10302. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_info_popup = function(){
  10303. if(hotspotTemplates['ht_video_vimeo']) {
  10304. var i;
  10305. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  10306. if (hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible) {
  10307. hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible();
  10308. }
  10309. }
  10310. }
  10311. }
  10312. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_video_popup_file = function(){
  10313. if(hotspotTemplates['ht_video_vimeo']) {
  10314. var i;
  10315. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  10316. if (hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible) {
  10317. hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible();
  10318. }
  10319. }
  10320. }
  10321. }
  10322. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_video_popup_url = function(){
  10323. if(hotspotTemplates['ht_video_vimeo']) {
  10324. var i;
  10325. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  10326. if (hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible) {
  10327. hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible();
  10328. }
  10329. }
  10330. }
  10331. }
  10332. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_video_popup_vimeo = function(){
  10333. if(hotspotTemplates['ht_video_vimeo']) {
  10334. var i;
  10335. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  10336. if (hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible) {
  10337. hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible();
  10338. }
  10339. }
  10340. }
  10341. }
  10342. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_video_popup_youtube = function(){
  10343. if(hotspotTemplates['ht_video_vimeo']) {
  10344. var i;
  10345. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  10346. if (hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible) {
  10347. hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible();
  10348. }
  10349. }
  10350. }
  10351. }
  10352. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_website = function(){
  10353. if(hotspotTemplates['ht_video_vimeo']) {
  10354. var i;
  10355. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  10356. if (hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible) {
  10357. hotspotTemplates['ht_video_vimeo'][i]._ht_video_vimeo.logicBlock_visible();
  10358. }
  10359. }
  10360. }
  10361. }
  10362. me.callChildLogicBlocksHotspot_ht_video_youtube_changenodeid = function(){
  10363. if(hotspotTemplates['ht_video_youtube']) {
  10364. var i;
  10365. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  10366. if (hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible) {
  10367. hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible();
  10368. }
  10369. if (hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_alpha) {
  10370. hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_alpha();
  10371. }
  10372. if (hotspotTemplates['ht_video_youtube'][i]._tt_ht_video_youtube && hotspotTemplates['ht_video_youtube'][i]._tt_ht_video_youtube.logicBlock_visible) {
  10373. hotspotTemplates['ht_video_youtube'][i]._tt_ht_video_youtube.logicBlock_visible();
  10374. }
  10375. }
  10376. }
  10377. }
  10378. me.callChildLogicBlocksHotspot_ht_video_youtube_configloaded = function(){
  10379. if(hotspotTemplates['ht_video_youtube']) {
  10380. var i;
  10381. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  10382. if (hotspotTemplates['ht_video_youtube'][i]._tt_ht_video_youtube && hotspotTemplates['ht_video_youtube'][i]._tt_ht_video_youtube.logicBlock_position) {
  10383. hotspotTemplates['ht_video_youtube'][i]._tt_ht_video_youtube.logicBlock_position();
  10384. }
  10385. }
  10386. }
  10387. }
  10388. me.callChildLogicBlocksHotspot_ht_video_youtube_mouseover = function(){
  10389. if(hotspotTemplates['ht_video_youtube']) {
  10390. var i;
  10391. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  10392. if (hotspotTemplates['ht_video_youtube'][i]._tt_ht_video_youtube && hotspotTemplates['ht_video_youtube'][i]._tt_ht_video_youtube.logicBlock_visible) {
  10393. hotspotTemplates['ht_video_youtube'][i]._tt_ht_video_youtube.logicBlock_visible();
  10394. }
  10395. }
  10396. }
  10397. }
  10398. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_timer = function(){
  10399. if(hotspotTemplates['ht_video_youtube']) {
  10400. var i;
  10401. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  10402. if (hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_alpha) {
  10403. hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_alpha();
  10404. }
  10405. }
  10406. }
  10407. }
  10408. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_userdata = function(){
  10409. if(hotspotTemplates['ht_video_youtube']) {
  10410. var i;
  10411. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  10412. if (hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible) {
  10413. hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible();
  10414. }
  10415. }
  10416. }
  10417. }
  10418. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_image_popup = function(){
  10419. if(hotspotTemplates['ht_video_youtube']) {
  10420. var i;
  10421. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  10422. if (hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible) {
  10423. hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible();
  10424. }
  10425. }
  10426. }
  10427. }
  10428. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_info_popup = function(){
  10429. if(hotspotTemplates['ht_video_youtube']) {
  10430. var i;
  10431. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  10432. if (hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible) {
  10433. hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible();
  10434. }
  10435. }
  10436. }
  10437. }
  10438. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_video_popup_file = function(){
  10439. if(hotspotTemplates['ht_video_youtube']) {
  10440. var i;
  10441. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  10442. if (hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible) {
  10443. hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible();
  10444. }
  10445. }
  10446. }
  10447. }
  10448. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_video_popup_url = function(){
  10449. if(hotspotTemplates['ht_video_youtube']) {
  10450. var i;
  10451. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  10452. if (hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible) {
  10453. hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible();
  10454. }
  10455. }
  10456. }
  10457. }
  10458. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_video_popup_vimeo = function(){
  10459. if(hotspotTemplates['ht_video_youtube']) {
  10460. var i;
  10461. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  10462. if (hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible) {
  10463. hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible();
  10464. }
  10465. }
  10466. }
  10467. }
  10468. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_video_popup_youtube = function(){
  10469. if(hotspotTemplates['ht_video_youtube']) {
  10470. var i;
  10471. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  10472. if (hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible) {
  10473. hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible();
  10474. }
  10475. }
  10476. }
  10477. }
  10478. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_website = function(){
  10479. if(hotspotTemplates['ht_video_youtube']) {
  10480. var i;
  10481. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  10482. if (hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible) {
  10483. hotspotTemplates['ht_video_youtube'][i]._ht_video_youtube.logicBlock_visible();
  10484. }
  10485. }
  10486. }
  10487. }
  10488. player.addListener('changenodeid', function() {
  10489. me.ggUserdata=player.userdata;
  10490. });
  10491. me.skinTimerEvent=function() {
  10492. me.ggCurrentTime=new Date().getTime();
  10493. if (me._hide_timer.ggLastIsActive!=me._hide_timer.ggIsActive()) {
  10494. me._hide_timer.ggLastIsActive=me._hide_timer.ggIsActive();
  10495. if (me._hide_timer.ggLastIsActive) {
  10496. if (player.transitionsDisabled) {
  10497. me._controller.style[domTransition]='none';
  10498. } else {
  10499. me._controller.style[domTransition]='all 500ms ease-out 0ms';
  10500. }
  10501. me._controller.style.opacity='1';
  10502. me._controller.style.visibility=me._controller.ggVisible?'inherit':'hidden';
  10503. if (player.transitionsDisabled) {
  10504. me._show_controller_button.style[domTransition]='none';
  10505. } else {
  10506. me._show_controller_button.style[domTransition]='all 500ms ease-out 0ms';
  10507. }
  10508. me._show_controller_button.style.opacity='0';
  10509. me._show_controller_button.style.visibility='hidden';
  10510. player.setVariableValue('vis_thumbnail_menu_auto_hide', true);
  10511. } else {
  10512. if (player.transitionsDisabled) {
  10513. me._show_controller_button.style[domTransition]='none';
  10514. } else {
  10515. me._show_controller_button.style[domTransition]='all 500ms ease-out 0ms';
  10516. }
  10517. me._show_controller_button.style.opacity='1';
  10518. me._show_controller_button.style.visibility=me._show_controller_button.ggVisible?'inherit':'hidden';
  10519. if (player.transitionsDisabled) {
  10520. me._controller.style[domTransition]='none';
  10521. } else {
  10522. me._controller.style[domTransition]='all 500ms ease-out 0ms';
  10523. }
  10524. me._controller.style.opacity='0';
  10525. me._controller.style.visibility='hidden';
  10526. player.setVariableValue('vis_thumbnail_menu_auto_hide', false);
  10527. }
  10528. }
  10529. if (me.elementMouseOver['controller']) {
  10530. if (
  10531. (
  10532. (player.getVariableValue('opt_autohide') == true)
  10533. )
  10534. ) {
  10535. me._hide_timer.ggTimeout=Number("5") * 1000.0;
  10536. me._hide_timer.ggTimestamp=skin.ggCurrentTime;
  10537. }
  10538. }
  10539. if (me.elementMouseDown['zoomout']) {
  10540. player.changeFovLog(0.5,true);
  10541. }
  10542. if (me.elementMouseDown['zoomin']) {
  10543. player.changeFovLog(-0.5,true);
  10544. }
  10545. if (me.elementMouseDown['key_up']) {
  10546. player.changeTiltLog(0.5,true);
  10547. }
  10548. if (me.elementMouseDown['key_down']) {
  10549. player.changeTiltLog(-0.5,true);
  10550. }
  10551. if (me.elementMouseDown['key_left']) {
  10552. player.changePanLog(0.5,true);
  10553. }
  10554. if (me.elementMouseDown['key_right']) {
  10555. player.changePanLog(-0.5,true);
  10556. }
  10557. if (me._element_alpha_timer.ggLastIsActive!=me._element_alpha_timer.ggIsActive()) {
  10558. me._element_alpha_timer.ggLastIsActive=me._element_alpha_timer.ggIsActive();
  10559. if (me._element_alpha_timer.ggLastIsActive) {
  10560. } else {
  10561. player.setVariableValue('vis_timer', true);
  10562. }
  10563. }
  10564. if (me.elementMouseOver['thumbnail_cloner']) {
  10565. if (
  10566. (
  10567. (player.getVariableValue('opt_autohide') == true)
  10568. )
  10569. ) {
  10570. me._hide_timer.ggTimeout=Number("5") * 1000.0;
  10571. me._hide_timer.ggTimestamp=skin.ggCurrentTime;
  10572. }
  10573. }
  10574. if (me.elementMouseOver['thumbnail_cloner_mobile']) {
  10575. if (
  10576. (
  10577. (player.getVariableValue('opt_autohide') == true)
  10578. )
  10579. ) {
  10580. me._hide_timer.ggTimeout=Number("5") * 1000.0;
  10581. me._hide_timer.ggTimestamp=skin.ggCurrentTime;
  10582. }
  10583. }
  10584. me._userdata_title.ggUpdateText();
  10585. me._userdata_description.ggUpdateText();
  10586. me._userdata_author.ggUpdateText();
  10587. me._userdata_datetime.ggUpdateText();
  10588. me._userdata_copyright.ggUpdateText();
  10589. me._info_text_body.ggUpdateText();
  10590. me._info_title.ggUpdateText();
  10591. if (me.__360image_gyro.ggLastIsActive!=me.__360image_gyro.ggIsActive()) {
  10592. me.__360image_gyro.ggLastIsActive=me.__360image_gyro.ggIsActive();
  10593. if (me.__360image_gyro.ggLastIsActive) {
  10594. } else {
  10595. player.setVariableValue('vis_360image_once', false);
  10596. }
  10597. }
  10598. me.__360image_gyro.ggUpdateConditionTimer();
  10599. if (me.__360image_timer.ggLastIsActive!=me.__360image_timer.ggIsActive()) {
  10600. me.__360image_timer.ggLastIsActive=me.__360image_timer.ggIsActive();
  10601. if (me.__360image_timer.ggLastIsActive) {
  10602. player.setVariableValue('pos_360image', player.getVariableValue('pos_360image') + Number("1"));
  10603. player.setVariableValue('pos_360image', player.getVariableValue('pos_360image') % Number("5"));
  10604. } else {
  10605. }
  10606. }
  10607. me._loadingtext.ggUpdateText();
  10608. var hs='';
  10609. if (me._loadingbar.ggParameter) {
  10610. hs+=parameterToTransform(me._loadingbar.ggParameter) + ' ';
  10611. }
  10612. hs+='scale(' + (1 * player.getPercentLoaded() + 0) + ',1.0) ';
  10613. me._loadingbar.style[domTransform]=hs;
  10614. if (!player.getLockedKeyboard()) {
  10615. switch(me.skinKeyPressed) {
  10616. case 37:
  10617. player.changePanLog(0.5,true);
  10618. break;
  10619. case 38:
  10620. player.changeTiltLog(0.5,true);
  10621. break;
  10622. case 39:
  10623. player.changePanLog(-0.5,true);
  10624. break;
  10625. case 40:
  10626. player.changeTiltLog(-0.5,true);
  10627. break;
  10628. }
  10629. }
  10630. };
  10631. player.addListener('timer', me.skinTimerEvent);
  10632. function SkinHotspotClass_ht_node(parentScope,hotspot) {
  10633. var me=this;
  10634. var flag=false;
  10635. var hs='';
  10636. me.parentScope=parentScope;
  10637. me.hotspot=hotspot;
  10638. var nodeId=String(hotspot.url);
  10639. nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):'';
  10640. me.ggUserdata=skin.player.getNodeUserdata(nodeId);
  10641. me.elementMouseDown=[];
  10642. me.elementMouseOver=[];
  10643. me.findElements=function(id,regex) {
  10644. return skin.findElements(id,regex);
  10645. }
  10646. el=me._ht_node=document.createElement('div');
  10647. el.ggId="ht_node";
  10648. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  10649. el.ggVisible=true;
  10650. el.className="ggskin ggskin_hotspot ";
  10651. el.ggType='hotspot';
  10652. hs ='';
  10653. hs+='height : 0px;';
  10654. hs+='left : 100px;';
  10655. hs+='opacity : 0;';
  10656. hs+='position : absolute;';
  10657. hs+='top : 140px;';
  10658. hs+='visibility : hidden;';
  10659. hs+='width : 0px;';
  10660. hs+='pointer-events:auto;';
  10661. el.setAttribute('style',hs);
  10662. el.style[domTransform + 'Origin']='50% 50%';
  10663. me._ht_node.ggIsActive=function() {
  10664. return player.getCurrentNode()==this.ggElementNodeId();
  10665. }
  10666. el.ggElementNodeId=function() {
  10667. return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
  10668. }
  10669. me._ht_node.logicBlock_visible = function() {
  10670. var newLogicStateVisible;
  10671. if (
  10672. (player.getVariableValue('vis_userdata') == true) ||
  10673. (player.getVariableValue('vis_image_popup') == true) ||
  10674. (player.getVariableValue('vis_info_popup') == true) ||
  10675. (player.getVariableValue('vis_video_popup_file') == true) ||
  10676. (player.getVariableValue('vis_video_popup_url') == true) ||
  10677. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  10678. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  10679. (player.getVariableValue('vis_website') == true)
  10680. )
  10681. {
  10682. newLogicStateVisible = 0;
  10683. }
  10684. else {
  10685. newLogicStateVisible = -1;
  10686. }
  10687. if (me._ht_node.ggCurrentLogicStateVisible != newLogicStateVisible) {
  10688. me._ht_node.ggCurrentLogicStateVisible = newLogicStateVisible;
  10689. me._ht_node.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  10690. if (me._ht_node.ggCurrentLogicStateVisible == 0) {
  10691. me._ht_node.style.visibility="hidden";
  10692. me._ht_node.ggVisible=false;
  10693. }
  10694. else {
  10695. me._ht_node.style.visibility=(Number(me._ht_node.style.opacity)>0||!me._ht_node.style.opacity)?'inherit':'hidden';
  10696. me._ht_node.ggVisible=true;
  10697. }
  10698. }
  10699. }
  10700. me._ht_node.logicBlock_alpha = function() {
  10701. var newLogicStateAlpha;
  10702. if (
  10703. (player.getVariableValue('vis_timer') == true)
  10704. )
  10705. {
  10706. newLogicStateAlpha = 0;
  10707. }
  10708. else {
  10709. newLogicStateAlpha = -1;
  10710. }
  10711. if (me._ht_node.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  10712. me._ht_node.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  10713. me._ht_node.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  10714. if (me._ht_node.ggCurrentLogicStateAlpha == 0) {
  10715. me._ht_node.style.visibility=me._ht_node.ggVisible?'inherit':'hidden';
  10716. me._ht_node.style.opacity=1;
  10717. }
  10718. else {
  10719. me._ht_node.style.visibility="hidden";
  10720. me._ht_node.style.opacity=0;
  10721. }
  10722. }
  10723. }
  10724. me._ht_node.onclick=function (e) {
  10725. player.openUrl(me.hotspot.url,me.hotspot.target);
  10726. skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
  10727. }
  10728. me._ht_node.ondblclick=function (e) {
  10729. skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
  10730. }
  10731. me._ht_node.onmouseover=function (e) {
  10732. player.setActiveHotspot(me.hotspot);
  10733. me.elementMouseOver['ht_node']=true;
  10734. me._hotspot_preview.logicBlock_visible();
  10735. me._tt_ht_node.logicBlock_visible();
  10736. skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
  10737. }
  10738. me._ht_node.onmouseout=function (e) {
  10739. player.setActiveHotspot(null);
  10740. me.elementMouseOver['ht_node']=false;
  10741. me._hotspot_preview.logicBlock_visible();
  10742. me._tt_ht_node.logicBlock_visible();
  10743. skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
  10744. }
  10745. me._ht_node.ontouchend=function (e) {
  10746. me.elementMouseOver['ht_node']=false;
  10747. me._hotspot_preview.logicBlock_visible();
  10748. me._tt_ht_node.logicBlock_visible();
  10749. }
  10750. me._ht_node.ggUpdatePosition=function (useTransition) {
  10751. }
  10752. el=me._hsimage=document.createElement('div');
  10753. els=me._hsimage__img=document.createElement('img');
  10754. els.className='ggskin ggskin_svg';
  10755. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNC4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDQzMzYzKSAgLS0+DQo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMSBCYXNpYy8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS1iYXNpYy5kdGQiPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIGJhc2VQcm9maWxlPSJiYXNpYyIgaWQ9IkxheWVyXzEiDQoJIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3'+
  10756. 'N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMzJweC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0wLjAwM2MwLjAwNi0yLjc3NywyLjI1My01LjAyMiw1LjAzLTUuMDI1YzIuNzc3LDAuMDA1LDUuMDI1LDIuMjUxLDUuMDI2LDUuMDI4aDAu'+
  10761. 'MDAyDQoJCQlDMjEuMDI1LDE4Ljc3OCwxOC43NzcsMjEuMDI0LDE2LDIxLjAyOXoiLz4NCgk8L2c+DQoJPGNpcmNsZSBmaWxsPSIjRkZGRkZGIiBjeD0iMTYuMDAyIiBjeT0iMTYiIHI9IjIuMTA5Ii8+DQo8L2c+DQo8L3N2Zz4NCg==';
  10762. me._hsimage__img.setAttribute('src',hs);
  10763. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;hsimage;');
  10764. els['ondragstart']=function() { return false; };
  10765. el.appendChild(els);
  10766. el.ggSubElement = els;
  10767. el.ggId="hsimage";
  10768. el.ggDx=0;
  10769. el.ggDy=0;
  10770. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  10771. el.ggVisible=true;
  10772. el.className="ggskin ggskin_svg ";
  10773. el.ggType='svg';
  10774. hs ='';
  10775. hs+='cursor : pointer;';
  10776. hs+='height : 32px;';
  10777. hs+='left : -10000px;';
  10778. hs+='position : absolute;';
  10779. hs+='top : -10000px;';
  10780. hs+='visibility : inherit;';
  10781. hs+='width : 32px;';
  10782. hs+='pointer-events:auto;';
  10783. el.setAttribute('style',hs);
  10784. el.style[domTransform + 'Origin']='50% 50%';
  10785. me._hsimage.ggIsActive=function() {
  10786. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  10787. return this.parentNode.ggIsActive();
  10788. }
  10789. return false;
  10790. }
  10791. el.ggElementNodeId=function() {
  10792. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  10793. return this.parentNode.ggElementNodeId();
  10794. }
  10795. return me.ggNodeId;
  10796. }
  10797. me._hsimage.ggUpdatePosition=function (useTransition) {
  10798. if (useTransition==='undefined') {
  10799. useTransition = false;
  10800. }
  10801. if (!useTransition) {
  10802. this.style[domTransition]='none';
  10803. }
  10804. if (this.parentNode) {
  10805. var pw=this.parentNode.clientWidth;
  10806. var w=this.offsetWidth;
  10807. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  10808. var ph=this.parentNode.clientHeight;
  10809. var h=this.offsetHeight;
  10810. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  10811. }
  10812. }
  10813. me._ht_node.appendChild(me._hsimage);
  10814. el=me._hotspot_preview=document.createElement('div');
  10815. el.ggPermeable=false;
  10816. el.ggId="hotspot_preview";
  10817. el.ggDx=0;
  10818. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  10819. el.ggVisible=false;
  10820. el.className="ggskin ggskin_container ";
  10821. el.ggType='container';
  10822. hs ='';
  10823. hs+='z-index: 100;';
  10824. hs+='height : 103px;';
  10825. hs+='left : -10000px;';
  10826. hs+='position : absolute;';
  10827. hs+='top : -130px;';
  10828. hs+='visibility : hidden;';
  10829. hs+='width : 153px;';
  10830. hs+='pointer-events:auto;';
  10831. el.setAttribute('style',hs);
  10832. el.style[domTransform + 'Origin']='50% 50%';
  10833. me._hotspot_preview.ggIsActive=function() {
  10834. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  10835. return this.parentNode.ggIsActive();
  10836. }
  10837. return false;
  10838. }
  10839. el.ggElementNodeId=function() {
  10840. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  10841. return this.parentNode.ggElementNodeId();
  10842. }
  10843. return me.ggNodeId;
  10844. }
  10845. me._hotspot_preview.logicBlock_visible = function() {
  10846. var newLogicStateVisible;
  10847. if (
  10848. (me.elementMouseOver['ht_node'] == true) &&
  10849. (player.getVariableValue('opt_hotspot_preview') == true) &&
  10850. (player.getIsTour() == true)
  10851. )
  10852. {
  10853. newLogicStateVisible = 0;
  10854. }
  10855. else {
  10856. newLogicStateVisible = -1;
  10857. }
  10858. if (me._hotspot_preview.ggCurrentLogicStateVisible != newLogicStateVisible) {
  10859. me._hotspot_preview.ggCurrentLogicStateVisible = newLogicStateVisible;
  10860. me._hotspot_preview.style[domTransition]='';
  10861. if (me._hotspot_preview.ggCurrentLogicStateVisible == 0) {
  10862. me._hotspot_preview.style.visibility=(Number(me._hotspot_preview.style.opacity)>0||!me._hotspot_preview.style.opacity)?'inherit':'hidden';
  10863. me._hotspot_preview.ggVisible=true;
  10864. }
  10865. else {
  10866. me._hotspot_preview.style.visibility="hidden";
  10867. me._hotspot_preview.ggVisible=false;
  10868. }
  10869. }
  10870. }
  10871. me._hotspot_preview.ggUpdatePosition=function (useTransition) {
  10872. if (useTransition==='undefined') {
  10873. useTransition = false;
  10874. }
  10875. if (!useTransition) {
  10876. this.style[domTransition]='none';
  10877. }
  10878. if (this.parentNode) {
  10879. var pw=this.parentNode.clientWidth;
  10880. var w=this.offsetWidth;
  10881. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  10882. }
  10883. }
  10884. el=me._preview_picture_frame_=document.createElement('div');
  10885. el.ggId="preview_picture_frame ";
  10886. el.ggDx=0;
  10887. el.ggDy=-1;
  10888. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  10889. el.ggVisible=true;
  10890. el.className="ggskin ggskin_rectangle ";
  10891. el.ggType='rectangle';
  10892. hs ='';
  10893. hs+=cssPrefix + 'border-radius : 5px;';
  10894. hs+='border-radius : 5px;';
  10895. hs+='background : rgba(255,255,255,0.784314);';
  10896. hs+='border : 1px solid #000000;';
  10897. hs+='cursor : default;';
  10898. hs+='height : 99px;';
  10899. hs+='left : -10000px;';
  10900. hs+='position : absolute;';
  10901. hs+='top : -10000px;';
  10902. hs+='visibility : inherit;';
  10903. hs+='width : 149px;';
  10904. hs+='pointer-events:auto;';
  10905. el.setAttribute('style',hs);
  10906. el.style[domTransform + 'Origin']='50% 50%';
  10907. me._preview_picture_frame_.ggIsActive=function() {
  10908. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  10909. return this.parentNode.ggIsActive();
  10910. }
  10911. return false;
  10912. }
  10913. el.ggElementNodeId=function() {
  10914. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  10915. return this.parentNode.ggElementNodeId();
  10916. }
  10917. return me.ggNodeId;
  10918. }
  10919. me._preview_picture_frame_.ggUpdatePosition=function (useTransition) {
  10920. if (useTransition==='undefined') {
  10921. useTransition = false;
  10922. }
  10923. if (!useTransition) {
  10924. this.style[domTransition]='none';
  10925. }
  10926. if (this.parentNode) {
  10927. var pw=this.parentNode.clientWidth;
  10928. var w=this.offsetWidth;
  10929. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  10930. var ph=this.parentNode.clientHeight;
  10931. var h=this.offsetHeight;
  10932. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  10933. }
  10934. }
  10935. me._hotspot_preview.appendChild(me._preview_picture_frame_);
  10936. el=me._preview_nodeimage=document.createElement('div');
  10937. els=me._preview_nodeimage__img=document.createElement('img');
  10938. els.className='ggskin ggskin_nodeimage';
  10939. els.setAttribute('src',basePath + "images/preview_nodeimage_" + nodeId + ".jpg");
  10940. el.ggNodeId=nodeId;
  10941. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;preview_nodeimage;');
  10942. els.className='ggskin ggskin_nodeimage';
  10943. els['ondragstart']=function() { return false; };
  10944. el.appendChild(els);
  10945. el.ggSubElement = els;
  10946. el.ggId="Preview NodeImage";
  10947. el.ggDx=0;
  10948. el.ggDy=0;
  10949. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  10950. el.ggVisible=true;
  10951. el.className="ggskin ggskin_nodeimage ";
  10952. el.ggType='nodeimage';
  10953. hs ='';
  10954. hs+='height : 90px;';
  10955. hs+='left : -10000px;';
  10956. hs+='position : absolute;';
  10957. hs+='top : -10000px;';
  10958. hs+='visibility : inherit;';
  10959. hs+='width : 140px;';
  10960. hs+='pointer-events:auto;';
  10961. el.setAttribute('style',hs);
  10962. el.style[domTransform + 'Origin']='50% 50%';
  10963. me._preview_nodeimage.ggIsActive=function() {
  10964. return player.getCurrentNode()==this.ggElementNodeId();
  10965. }
  10966. el.ggElementNodeId=function() {
  10967. return this.ggNodeId;
  10968. }
  10969. me._preview_nodeimage.ggUpdatePosition=function (useTransition) {
  10970. if (useTransition==='undefined') {
  10971. useTransition = false;
  10972. }
  10973. if (!useTransition) {
  10974. this.style[domTransition]='none';
  10975. }
  10976. if (this.parentNode) {
  10977. var pw=this.parentNode.clientWidth;
  10978. var w=this.offsetWidth;
  10979. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  10980. var ph=this.parentNode.clientHeight;
  10981. var h=this.offsetHeight;
  10982. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  10983. }
  10984. }
  10985. me._hotspot_preview.appendChild(me._preview_nodeimage);
  10986. el=me._ht_tooltip=document.createElement('div');
  10987. els=me._ht_tooltip__text=document.createElement('div');
  10988. el.className='ggskin ggskin_textdiv';
  10989. el.ggTextDiv=els;
  10990. el.ggId="ht_tooltip";
  10991. el.ggDx=0;
  10992. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  10993. el.ggVisible=true;
  10994. el.className="ggskin ggskin_text ";
  10995. el.ggType='text';
  10996. hs ='';
  10997. hs+='bottom : 8px;';
  10998. hs+='height : 20px;';
  10999. hs+='left : -10000px;';
  11000. hs+='position : absolute;';
  11001. hs+='visibility : inherit;';
  11002. hs+='width : 140px;';
  11003. hs+='pointer-events:auto;';
  11004. hs+='text-shadow: 1px 1px 2px #000000;';
  11005. el.setAttribute('style',hs);
  11006. el.style[domTransform + 'Origin']='50% 100%';
  11007. hs ='position:absolute;';
  11008. hs += 'box-sizing: border-box;';
  11009. hs+='cursor: default;';
  11010. hs+='left: 0px;';
  11011. hs+='bottom: 0px;';
  11012. hs+='width: 140px;';
  11013. hs+='height: auto;';
  11014. hs+='background: #000000;';
  11015. hs+='background: rgba(0,0,0,0.196078);';
  11016. hs+='border: 0px solid #000000;';
  11017. hs+='color: rgba(255,255,255,1);';
  11018. hs+='text-align: center;';
  11019. hs+='white-space: pre-wrap;';
  11020. hs+='padding: 2px 3px 2px 3px;';
  11021. hs+='overflow: hidden;';
  11022. els.setAttribute('style',hs);
  11023. els.innerHTML=me.hotspot.title;
  11024. el.appendChild(els);
  11025. me._ht_tooltip.ggIsActive=function() {
  11026. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  11027. return this.parentNode.ggIsActive();
  11028. }
  11029. return false;
  11030. }
  11031. el.ggElementNodeId=function() {
  11032. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  11033. return this.parentNode.ggElementNodeId();
  11034. }
  11035. return me.ggNodeId;
  11036. }
  11037. me._ht_tooltip.logicBlock_visible = function() {
  11038. var newLogicStateVisible;
  11039. if (
  11040. (me.hotspot.title == "")
  11041. )
  11042. {
  11043. newLogicStateVisible = 0;
  11044. }
  11045. else {
  11046. newLogicStateVisible = -1;
  11047. }
  11048. if (me._ht_tooltip.ggCurrentLogicStateVisible != newLogicStateVisible) {
  11049. me._ht_tooltip.ggCurrentLogicStateVisible = newLogicStateVisible;
  11050. me._ht_tooltip.style[domTransition]='';
  11051. if (me._ht_tooltip.ggCurrentLogicStateVisible == 0) {
  11052. me._ht_tooltip.style.visibility="hidden";
  11053. me._ht_tooltip.ggVisible=false;
  11054. }
  11055. else {
  11056. me._ht_tooltip.style.visibility=(Number(me._ht_tooltip.style.opacity)>0||!me._ht_tooltip.style.opacity)?'inherit':'hidden';
  11057. me._ht_tooltip.ggVisible=true;
  11058. }
  11059. }
  11060. }
  11061. me._ht_tooltip.ggUpdatePosition=function (useTransition) {
  11062. if (useTransition==='undefined') {
  11063. useTransition = false;
  11064. }
  11065. if (!useTransition) {
  11066. this.style[domTransition]='none';
  11067. }
  11068. if (this.parentNode) {
  11069. var pw=this.parentNode.clientWidth;
  11070. var w=this.offsetWidth + 0;
  11071. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  11072. }
  11073. }
  11074. me._hotspot_preview.appendChild(me._ht_tooltip);
  11075. el=me._ht_checkmark_tick=document.createElement('div');
  11076. els=me._ht_checkmark_tick__img=document.createElement('img');
  11077. els.className='ggskin ggskin_svg';
  11078. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCIgWw0KCTwhRU5USVRZIG5zX2Zsb3dzICJodHRwOi8vbnMuYWRvYmUuY29tL0Zsb3dzLzEuMC8iPg0KCTwhRU5USVRZIG5zX2V4dGVuZCAiaHR0cDovL25zLmFkb2JlLmNvbS9FeHRlbn'+
  11079. 'NpYmlsaXR5LzEuMC8iPg0KCTwhRU5USVRZIG5zX2FpICJodHRwOi8vbnMuYWRvYmUuY29tL0Fkb2JlSWxsdXN0cmF0b3IvMTAuMC8iPg0KCTwhRU5USVRZIG5zX2dyYXBocyAiaHR0cDovL25zLmFkb2JlLmNvbS9HcmFwaHMvMS4wLyI+DQpdPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zOng9IiZuc19leHRlbmQ7IiB4bWxuczppPSImbnNfYWk7IiB4bWxuczpncmFwaD0iJm5zX2dyYXBoczsiDQoJIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOmE9Imh0dHA6Ly9ucy5hZG9iZS5jb20vQWRv'+
  11080. 'YmVTVkdWaWV3Z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uMTk2djE0LjcxOQ0KCQkJCWMwLDAuNjYsMC41MzUsMS4xOTYsMS4xOTYsMS4xOTZoMTQuNzE4YzAuNjYxLDAsMS4xOTctMC41MzYsMS4xOTctMS4xOTZ2LTEwLjQwM2wtMi4zOTMsMi4zOTNWLTI1ODMuODM3eiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPC9zdmc+DQo=';
  11090. me._ht_checkmark_tick__img.setAttribute('src',hs);
  11091. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_checkmark_tick;');
  11092. els['ondragstart']=function() { return false; };
  11093. el.appendChild(els);
  11094. el.ggSubElement = els;
  11095. el.ggId="ht_checkmark_tick";
  11096. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  11097. el.ggVisible=false;
  11098. el.className="ggskin ggskin_svg ";
  11099. el.ggType='svg';
  11100. hs ='';
  11101. hs+='height : 30px;';
  11102. hs+='position : absolute;';
  11103. hs+='right : 6px;';
  11104. hs+='top : 3px;';
  11105. hs+='visibility : hidden;';
  11106. hs+='width : 30px;';
  11107. hs+='pointer-events:auto;';
  11108. el.setAttribute('style',hs);
  11109. el.style[domTransform + 'Origin']='50% 50%';
  11110. me._ht_checkmark_tick.ggIsActive=function() {
  11111. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  11112. return this.parentNode.ggIsActive();
  11113. }
  11114. return false;
  11115. }
  11116. el.ggElementNodeId=function() {
  11117. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  11118. return this.parentNode.ggElementNodeId();
  11119. }
  11120. return me.ggNodeId;
  11121. }
  11122. me._ht_checkmark_tick.logicBlock_visible = function() {
  11123. var newLogicStateVisible;
  11124. if (
  11125. (player.nodeVisited(me._ht_checkmark_tick.ggElementNodeId()) == true) ||
  11126. (me._ht_checkmark_tick.ggIsActive() == true)
  11127. )
  11128. {
  11129. newLogicStateVisible = 0;
  11130. }
  11131. else {
  11132. newLogicStateVisible = -1;
  11133. }
  11134. if (me._ht_checkmark_tick.ggCurrentLogicStateVisible != newLogicStateVisible) {
  11135. me._ht_checkmark_tick.ggCurrentLogicStateVisible = newLogicStateVisible;
  11136. me._ht_checkmark_tick.style[domTransition]='';
  11137. if (me._ht_checkmark_tick.ggCurrentLogicStateVisible == 0) {
  11138. me._ht_checkmark_tick.style.visibility=(Number(me._ht_checkmark_tick.style.opacity)>0||!me._ht_checkmark_tick.style.opacity)?'inherit':'hidden';
  11139. me._ht_checkmark_tick.ggVisible=true;
  11140. }
  11141. else {
  11142. me._ht_checkmark_tick.style.visibility="hidden";
  11143. me._ht_checkmark_tick.ggVisible=false;
  11144. }
  11145. }
  11146. }
  11147. me._ht_checkmark_tick.ggUpdatePosition=function (useTransition) {
  11148. }
  11149. me._hotspot_preview.appendChild(me._ht_checkmark_tick);
  11150. me._ht_node.appendChild(me._hotspot_preview);
  11151. el=me._tt_ht_node=document.createElement('div');
  11152. els=me._tt_ht_node__text=document.createElement('div');
  11153. el.className='ggskin ggskin_textdiv';
  11154. el.ggTextDiv=els;
  11155. el.ggId="tt_ht_node";
  11156. el.ggDx=0;
  11157. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  11158. el.ggVisible=false;
  11159. el.className="ggskin ggskin_text ";
  11160. el.ggType='text';
  11161. hs ='';
  11162. hs+='height : 20px;';
  11163. hs+='left : -10000px;';
  11164. hs+='position : absolute;';
  11165. hs+='top : 22px;';
  11166. hs+='visibility : hidden;';
  11167. hs+='width : 100px;';
  11168. hs+='pointer-events:auto;';
  11169. hs+='text-shadow: 1px 1px 4px #000000;';
  11170. el.setAttribute('style',hs);
  11171. el.style[domTransform + 'Origin']='50% 50%';
  11172. hs ='position:absolute;';
  11173. hs += 'box-sizing: border-box;';
  11174. hs+='cursor: default;';
  11175. hs+='left: 0px;';
  11176. hs+='top: 0px;';
  11177. hs+='width: auto;';
  11178. hs+='height: auto;';
  11179. hs+='border: 0px solid #000000;';
  11180. hs+='color: rgba(255,255,255,1);';
  11181. hs+='text-align: center;';
  11182. hs+='white-space: nowrap;';
  11183. hs+='padding: 0px 1px 0px 1px;';
  11184. hs+='overflow: hidden;';
  11185. els.setAttribute('style',hs);
  11186. els.innerHTML=me.hotspot.title;
  11187. el.appendChild(els);
  11188. me._tt_ht_node.ggIsActive=function() {
  11189. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  11190. return this.parentNode.ggIsActive();
  11191. }
  11192. return false;
  11193. }
  11194. el.ggElementNodeId=function() {
  11195. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  11196. return this.parentNode.ggElementNodeId();
  11197. }
  11198. return me.ggNodeId;
  11199. }
  11200. me._tt_ht_node.logicBlock_position = function() {
  11201. var newLogicStatePosition;
  11202. if (
  11203. (player.getIsMobile() == true)
  11204. )
  11205. {
  11206. newLogicStatePosition = 0;
  11207. }
  11208. else {
  11209. newLogicStatePosition = -1;
  11210. }
  11211. if (me._tt_ht_node.ggCurrentLogicStatePosition != newLogicStatePosition) {
  11212. me._tt_ht_node.ggCurrentLogicStatePosition = newLogicStatePosition;
  11213. me._tt_ht_node.style[domTransition]='left 0s, top 0s';
  11214. if (me._tt_ht_node.ggCurrentLogicStatePosition == 0) {
  11215. this.ggDx = 0;
  11216. me._tt_ht_node.style.top='-50px';
  11217. me._tt_ht_node.ggUpdatePosition(true);
  11218. }
  11219. else {
  11220. me._tt_ht_node.ggDx=0;
  11221. me._tt_ht_node.style.top='22px';
  11222. me._tt_ht_node.ggUpdatePosition(true);
  11223. }
  11224. }
  11225. }
  11226. me._tt_ht_node.logicBlock_visible = function() {
  11227. var newLogicStateVisible;
  11228. if (
  11229. (me.elementMouseOver['ht_node'] == true) &&
  11230. (me.hotspot.title != "") &&
  11231. (player.getIsTour() == false) &&
  11232. (player.getVariableValue('opt_hotspot_preview') == false)
  11233. )
  11234. {
  11235. newLogicStateVisible = 0;
  11236. }
  11237. else if (
  11238. (me.elementMouseOver['ht_node'] == true) &&
  11239. (me.hotspot.title != "") &&
  11240. (player.getIsTour() == true) &&
  11241. (player.getVariableValue('opt_hotspot_preview') == false)
  11242. )
  11243. {
  11244. newLogicStateVisible = 1;
  11245. }
  11246. else if (
  11247. (me.elementMouseOver['ht_node'] == true) &&
  11248. (me.hotspot.title != "") &&
  11249. (player.getIsTour() == false) &&
  11250. (player.getVariableValue('opt_hotspot_preview') == true)
  11251. )
  11252. {
  11253. newLogicStateVisible = 2;
  11254. }
  11255. else {
  11256. newLogicStateVisible = -1;
  11257. }
  11258. if (me._tt_ht_node.ggCurrentLogicStateVisible != newLogicStateVisible) {
  11259. me._tt_ht_node.ggCurrentLogicStateVisible = newLogicStateVisible;
  11260. me._tt_ht_node.style[domTransition]='left 0s, top 0s';
  11261. if (me._tt_ht_node.ggCurrentLogicStateVisible == 0) {
  11262. me._tt_ht_node.style.visibility=(Number(me._tt_ht_node.style.opacity)>0||!me._tt_ht_node.style.opacity)?'inherit':'hidden';
  11263. me._tt_ht_node.ggVisible=true;
  11264. }
  11265. else if (me._tt_ht_node.ggCurrentLogicStateVisible == 1) {
  11266. me._tt_ht_node.style.visibility=(Number(me._tt_ht_node.style.opacity)>0||!me._tt_ht_node.style.opacity)?'inherit':'hidden';
  11267. me._tt_ht_node.ggVisible=true;
  11268. }
  11269. else if (me._tt_ht_node.ggCurrentLogicStateVisible == 2) {
  11270. me._tt_ht_node.style.visibility=(Number(me._tt_ht_node.style.opacity)>0||!me._tt_ht_node.style.opacity)?'inherit':'hidden';
  11271. me._tt_ht_node.ggVisible=true;
  11272. }
  11273. else {
  11274. me._tt_ht_node.style.visibility="hidden";
  11275. me._tt_ht_node.ggVisible=false;
  11276. }
  11277. }
  11278. }
  11279. me._tt_ht_node.ggUpdatePosition=function (useTransition) {
  11280. if (useTransition==='undefined') {
  11281. useTransition = false;
  11282. }
  11283. if (!useTransition) {
  11284. this.style[domTransition]='none';
  11285. }
  11286. if (this.parentNode) {
  11287. var pw=this.parentNode.clientWidth;
  11288. var w=this.offsetWidth + 0;
  11289. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  11290. }
  11291. this.style[domTransition]='left 0';
  11292. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  11293. }
  11294. me._ht_node.appendChild(me._tt_ht_node);
  11295. me.__div = me._ht_node;
  11296. };
  11297. function SkinHotspotClass_ht_url(parentScope,hotspot) {
  11298. var me=this;
  11299. var flag=false;
  11300. var hs='';
  11301. me.parentScope=parentScope;
  11302. me.hotspot=hotspot;
  11303. var nodeId=String(hotspot.url);
  11304. nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):'';
  11305. me.ggUserdata=skin.player.getNodeUserdata(nodeId);
  11306. me.elementMouseDown=[];
  11307. me.elementMouseOver=[];
  11308. me.findElements=function(id,regex) {
  11309. return skin.findElements(id,regex);
  11310. }
  11311. el=me._ht_url=document.createElement('div');
  11312. el.ggId="ht_url";
  11313. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  11314. el.ggVisible=true;
  11315. el.className="ggskin ggskin_hotspot ";
  11316. el.ggType='hotspot';
  11317. hs ='';
  11318. hs+='height : 0px;';
  11319. hs+='left : 250px;';
  11320. hs+='opacity : 0;';
  11321. hs+='position : absolute;';
  11322. hs+='top : 50px;';
  11323. hs+='visibility : hidden;';
  11324. hs+='width : 0px;';
  11325. hs+='pointer-events:auto;';
  11326. el.setAttribute('style',hs);
  11327. el.style[domTransform + 'Origin']='50% 50%';
  11328. me._ht_url.ggIsActive=function() {
  11329. return player.getCurrentNode()==this.ggElementNodeId();
  11330. }
  11331. el.ggElementNodeId=function() {
  11332. return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
  11333. }
  11334. me._ht_url.logicBlock_visible = function() {
  11335. var newLogicStateVisible;
  11336. if (
  11337. (player.getVariableValue('vis_userdata') == true) ||
  11338. (player.getVariableValue('vis_image_popup') == true) ||
  11339. (player.getVariableValue('vis_info_popup') == true) ||
  11340. (player.getVariableValue('vis_video_popup_file') == true) ||
  11341. (player.getVariableValue('vis_video_popup_url') == true) ||
  11342. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  11343. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  11344. (player.getVariableValue('vis_website') == true)
  11345. )
  11346. {
  11347. newLogicStateVisible = 0;
  11348. }
  11349. else {
  11350. newLogicStateVisible = -1;
  11351. }
  11352. if (me._ht_url.ggCurrentLogicStateVisible != newLogicStateVisible) {
  11353. me._ht_url.ggCurrentLogicStateVisible = newLogicStateVisible;
  11354. me._ht_url.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  11355. if (me._ht_url.ggCurrentLogicStateVisible == 0) {
  11356. me._ht_url.style.visibility="hidden";
  11357. me._ht_url.ggVisible=false;
  11358. }
  11359. else {
  11360. me._ht_url.style.visibility=(Number(me._ht_url.style.opacity)>0||!me._ht_url.style.opacity)?'inherit':'hidden';
  11361. me._ht_url.ggVisible=true;
  11362. }
  11363. }
  11364. }
  11365. me._ht_url.logicBlock_alpha = function() {
  11366. var newLogicStateAlpha;
  11367. if (
  11368. (player.getVariableValue('vis_timer') == true)
  11369. )
  11370. {
  11371. newLogicStateAlpha = 0;
  11372. }
  11373. else {
  11374. newLogicStateAlpha = -1;
  11375. }
  11376. if (me._ht_url.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  11377. me._ht_url.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  11378. me._ht_url.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  11379. if (me._ht_url.ggCurrentLogicStateAlpha == 0) {
  11380. me._ht_url.style.visibility=me._ht_url.ggVisible?'inherit':'hidden';
  11381. me._ht_url.style.opacity=1;
  11382. }
  11383. else {
  11384. me._ht_url.style.visibility="hidden";
  11385. me._ht_url.style.opacity=0;
  11386. }
  11387. }
  11388. }
  11389. me._ht_url.onclick=function (e) {
  11390. skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
  11391. }
  11392. me._ht_url.ondblclick=function (e) {
  11393. skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
  11394. }
  11395. me._ht_url.onmouseover=function (e) {
  11396. player.setActiveHotspot(me.hotspot);
  11397. me.elementMouseOver['ht_url']=true;
  11398. me._tt_ht_url.logicBlock_visible();
  11399. skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
  11400. }
  11401. me._ht_url.onmouseout=function (e) {
  11402. player.setActiveHotspot(null);
  11403. me.elementMouseOver['ht_url']=false;
  11404. me._tt_ht_url.logicBlock_visible();
  11405. skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
  11406. }
  11407. me._ht_url.ontouchend=function (e) {
  11408. me.elementMouseOver['ht_url']=false;
  11409. me._tt_ht_url.logicBlock_visible();
  11410. }
  11411. me._ht_url.ggUpdatePosition=function (useTransition) {
  11412. }
  11413. el=me._ht_url_image=document.createElement('div');
  11414. els=me._ht_url_image__img=document.createElement('img');
  11415. els.className='ggskin ggskin_svg';
  11416. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCIgWw0KCTwhRU5USVRZIG5zX2Zsb3dzICJodHRwOi8vbnMuYWRvYmUuY29tL0Zsb3dzLzEuMC8iPg0KCTwhRU5USVRZIG5zX2V4dGVuZCAiaHR0cDovL25zLmFkb2JlLmNvbS9FeHRlbn'+
  11417. 'NpYmlsaXR5LzEuMC8iPg0KCTwhRU5USVRZIG5zX2FpICJodHRwO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gTTIyLjI3MywyMi44'+
  11438. 'NmgxLjU2NGMtMC43NzEsMC44NDEtMS42ODQsMS41NTItMi42ODMsMi4wOTJDMjEuNTc2LDI0LjMzMywyMS45NTEsMjMuNjMzLDIyLjI3MywyMi44NkwyMi4yNzMsMjIuODZ6DQoJCQkgTTE3LjIyNiwyMi44NmgzLjA2NGMtMC44MjksMS42NjQtMS45MDMsMi43NzEtMy4wNjQsMy4xNTVWMjIuODZMMTcuMjI2LDIyLjg2eiBNMTIuMzM5LDIyLjg2aDMuMTEydjMuMTcyDQoJCQlDMTQuMjcxLDI1LjY2LDEzLjE4MSwyNC41NDksMTIuMzM5LDIyLjg2TDEyLjMzOSwyMi44NnogTTguODM4LDIyLjg2aDEuNTE4YzAuMzE0LDAuNzU1LDAuNjc5LDEuNDQsMS4wODgsMi4wNQ0KCQkJQzEwLjQ3MywyNC4zNz'+
  11439. 'QsOS41ODcsMjMuNjc4LDguODM4LDIyLjg2TDguODM4LDIyLjg2eiIvPg0KCTwvZz4NCjwvZz4NCjwvc3ZnPg0K';
  11440. me._ht_url_image__img.setAttribute('src',hs);
  11441. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_url_image;');
  11442. els['ondragstart']=function() { return false; };
  11443. el.appendChild(els);
  11444. el.ggSubElement = els;
  11445. elo=me._ht_url_image__imgo=document.createElement('img');
  11446. elo.className='ggskin ggskin_svg';
  11447. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0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C42NTloLTQuMTkzDQoJCQlWMTYuOTU0TDE3LjI5NSwxNi45NTR6IE0xMC4zMTYsMTYuOTU0aDUuMDY2djQuNjU5aC00LjI0N0MxMC42NzcsMjAuMTg1LDEwLjM5NiwxOC41ODEsMTAuMzE2LDE2Ljk1NEwxMC4zMTYsMTYuOTU0eg0KCQkJIE01LjE3NSwxNi45NTRIOC40YzAuMDY5LDEuNjM5LDAuMzA5LDMuMjA0LDAuNzE1LDQuNjU5SDYuNjQzQzUuODA4LDIwLjE3Niw1LjMxNCwxOC42MSw1LjE3NSwx'+
  11469. 'Ni45NTRMNS4xNzUsMTYuOTU0eg0KCQkJIE0yMi44NTQsMjMuNTI2aDEuNzc5Yy0wLjg3NiwwLjk2Mi0xLjkxNywxLjc3MS0zLjA1OSwyLjM3N0MyMi4wNTksMjUuMjA0LDIyLjQ4NywyNC40MDgsMjIuODU0LDIzLjUyNkwyMi44NTQsMjMuNTI2eg0KCQkJIE0xNy4yOTUsMjMuNTI2aDMuNDI0Yy0wLjkyMywxLjg2NS0yLjEyNSwzLjA5OS0zLjQyNCwzLjUyVjIzLjUyNkwxNy4yOTUsMjMuNTI2eiBNMTEuOTA3LDIzLjUyNmgzLjQ3NnYzLjUzNg0KCQkJQzE0LjA2MywyNi42NTgsMTIuODQzLDI1LjQxOCwxMS45MDcsMjMuNTI2TDExLjkwNywyMy41MjZ6IE04LjA0MywyMy41MjZoMS43MjljMC4zNT'+
  11470. 'csMC44NiwwLjc3NCwxLjY0MiwxLjI0NywyLjMzMg0KCQkJQzkuOTA1LDI1LjI1NCw4Ljg5MywyNC40NjEsOC4wNDMsMjMuNTI2TDguMDQzLDIzLjUyNnoiLz4NCgk8L2c+DQo8L2c+DQo8L3N2Zz4NCg==';
  11471. me._ht_url_image__imgo.setAttribute('src',hs);
  11472. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_url_image;');
  11473. elo['ondragstart']=function() { return false; };
  11474. el.appendChild(elo);
  11475. el.ggId="ht_url_image";
  11476. el.ggDx=0;
  11477. el.ggDy=0;
  11478. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  11479. el.ggVisible=false;
  11480. el.className="ggskin ggskin_svg ";
  11481. el.ggType='svg';
  11482. hs ='';
  11483. hs+='cursor : pointer;';
  11484. hs+='height : 32px;';
  11485. hs+='left : -10000px;';
  11486. hs+='position : absolute;';
  11487. hs+='top : -10000px;';
  11488. hs+='visibility : hidden;';
  11489. hs+='width : 32px;';
  11490. hs+='pointer-events:auto;';
  11491. el.setAttribute('style',hs);
  11492. el.style[domTransform + 'Origin']='50% 50%';
  11493. me._ht_url_image.ggIsActive=function() {
  11494. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  11495. return this.parentNode.ggIsActive();
  11496. }
  11497. return false;
  11498. }
  11499. el.ggElementNodeId=function() {
  11500. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  11501. return this.parentNode.ggElementNodeId();
  11502. }
  11503. return me.ggNodeId;
  11504. }
  11505. me._ht_url_image.logicBlock_visible = function() {
  11506. var newLogicStateVisible;
  11507. if (
  11508. (player.getIsMobile() == false) &&
  11509. (player.getVariableValue('opt_url') == true)
  11510. )
  11511. {
  11512. newLogicStateVisible = 0;
  11513. }
  11514. else {
  11515. newLogicStateVisible = -1;
  11516. }
  11517. if (me._ht_url_image.ggCurrentLogicStateVisible != newLogicStateVisible) {
  11518. me._ht_url_image.ggCurrentLogicStateVisible = newLogicStateVisible;
  11519. me._ht_url_image.style[domTransition]='';
  11520. if (me._ht_url_image.ggCurrentLogicStateVisible == 0) {
  11521. me._ht_url_image.style.visibility=(Number(me._ht_url_image.style.opacity)>0||!me._ht_url_image.style.opacity)?'inherit':'hidden';
  11522. me._ht_url_image.ggVisible=true;
  11523. }
  11524. else {
  11525. me._ht_url_image.style.visibility="hidden";
  11526. me._ht_url_image.ggVisible=false;
  11527. }
  11528. }
  11529. }
  11530. me._ht_url_image.onclick=function (e) {
  11531. skin._web_page.ggText="<iframe src=\""+me.hotspot.url+"\" width=\"100%\" height=\"100%\" allowfullscreen=\"true\" mozallowfullscreen=\"true\" webkitallowfullscreen=\"true\" frameborder= \"0\" ><\/iframe>";
  11532. skin._web_page.ggTextDiv.innerHTML=skin._web_page.ggText;
  11533. if (skin._web_page.ggUpdateText) {
  11534. skin._web_page.ggUpdateText=function() {
  11535. var hs="<iframe src=\""+me.hotspot.url+"\" width=\"100%\" height=\"100%\" allowfullscreen=\"true\" mozallowfullscreen=\"true\" webkitallowfullscreen=\"true\" frameborder= \"0\" ><\/iframe>";
  11536. if (hs!=this.ggText) {
  11537. this.ggText=hs;
  11538. this.ggTextDiv.innerHTML=hs;
  11539. if (this.ggUpdatePosition) this.ggUpdatePosition();
  11540. }
  11541. }
  11542. }
  11543. if (skin._web_page.ggUpdatePosition) {
  11544. skin._web_page.ggUpdatePosition();
  11545. }
  11546. skin._web_page.ggTextDiv.scrollTop = 0;
  11547. player.setVariableValue('vis_website', true);
  11548. }
  11549. me._ht_url_image.onmouseover=function (e) {
  11550. me._ht_url_image__img.style.visibility='hidden';
  11551. me._ht_url_image__imgo.style.visibility='inherit';
  11552. }
  11553. me._ht_url_image.onmouseout=function (e) {
  11554. me._ht_url_image__img.style.visibility='inherit';
  11555. me._ht_url_image__imgo.style.visibility='hidden';
  11556. }
  11557. me._ht_url_image.ggUpdatePosition=function (useTransition) {
  11558. if (useTransition==='undefined') {
  11559. useTransition = false;
  11560. }
  11561. if (!useTransition) {
  11562. this.style[domTransition]='none';
  11563. }
  11564. if (this.parentNode) {
  11565. var pw=this.parentNode.clientWidth;
  11566. var w=this.offsetWidth;
  11567. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  11568. var ph=this.parentNode.clientHeight;
  11569. var h=this.offsetHeight;
  11570. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  11571. }
  11572. }
  11573. me._ht_url.appendChild(me._ht_url_image);
  11574. el=me._ht_url_image_newpage=document.createElement('div');
  11575. els=me._ht_url_image_newpage__img=document.createElement('img');
  11576. els.className='ggskin ggskin_svg';
  11577. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCIgWw0KCTwhRU5USVRZIG5zX2Zsb3dzICJodHRwOi8vbnMuYWRvYmUuY29tL0Zsb3dzLzEuMC8iPg0KCTwhRU5USVRZIG5zX2V4dGVuZCAiaHR0cDovL25zLmFkb2JlLmNvbS9FeHRlbn'+
  11578. 'NpYmlsaXR5LzEuMC8iPg0KCTwhRU5USVRZIG5zX2FpICJodHRwOi8vbnMuYWRvYmUuY29tL0Fkb2JlSWxsdXN0cmF0b3IvMTAuMC8iPg0KCTwhRU5USVRZIG5zX2dyYXBocyAiaHR0cDovL25zLmFkb2JlLmNvbS9HcmFwaHMvMS4wLyI+DQpdPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zOng9IiZuc19leHRlbmQ7IiB4bWxuczppPSImbnNfYWk7IiB4bWxuczpncmFwaD0iJm5zX2dyYXBoczsiDQoJIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOmE9Imh0dHA6Ly9ucy5hZG9iZS5jb20vQWRv'+
  11579. 'YmVTVkdWaWV3ZXJFeHRlbnNpb25zLzMuMC8iDQoJIHg9IjBweCIgeT0i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Nz'+
  11600. 'QsOS41ODcsMjMuNjc4LDguODM4LDIyLjg2TDguODM4LDIyLjg2eiIvPg0KCTwvZz4NCjwvZz4NCjwvc3ZnPg0K';
  11601. me._ht_url_image_newpage__img.setAttribute('src',hs);
  11602. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_url_image_newpage;');
  11603. els['ondragstart']=function() { return false; };
  11604. el.appendChild(els);
  11605. el.ggSubElement = els;
  11606. elo=me._ht_url_image_newpage__imgo=document.createElement('img');
  11607. elo.className='ggskin ggskin_svg';
  11608. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCIgWw0KCTwhRU5USVRZIG5zX2Zsb3dzICJodHRwOi8vbnMuYWRvYmUuY29tL0Zsb3dzLzEuMC8iPg0KCTwhRU5USVRZIG5zX2V4dGVuZCAiaHR0cDovL25zLmFkb2JlLmNvbS9FeHRlbn'+
  11609. 'NpYmlsaXR5LzEuMC8iPg0KCTwhRU5USVRZIG5zX2FpICJodHRwOi8vbnMuYWRvYmUuY29tL0Fkb2JlSWxsdXN0cmF0b3IvMTAuMC8iPg0KCTwhRU5USVRZIG5zX2dyYXBocyAiaHR0cDovL25zLmFkb2JlLmNvbS9HcmFwaHMvMS4wLyI+DQpdPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zOng9IiZuc19leHRlbmQ7IiB4bWxuczppPSImbnNfYWk7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4NywyNC40MDgsMjIuODU0LDIzLjUyNkwyMi44NTQsMjMuNTI2eg0KCQkJIE0xNy4yOTUsMjMuNTI2aDMuNDI0Yy0wLjkyMywxLjg2NS0yLjEyNSwzLjA5OS0zLjQyNCwzLjUyVjIzLjUyNkwxNy4yOTUsMjMuNTI2eiBNMTEuOTA3LDIzLjUyNmgzLjQ3NnYzLjUzNg0KCQkJQzE0LjA2MywyNi42NTgsMTIuODQzLDI1LjQxOCwxMS45MDcsMjMuNTI2TDExLjkwNywyMy41MjZ6IE04LjA0MywyMy41MjZoMS43MjljMC4zNT'+
  11631. 'csMC44NiwwLjc3NCwxLjY0MiwxLjI0NywyLjMzMg0KCQkJQzkuOTA1LDI1LjI1NCw4Ljg5MywyNC40NjEsOC4wNDMsMjMuNTI2TDguMDQzLDIzLjUyNnoiLz4NCgk8L2c+DQo8L2c+DQo8L3N2Zz4NCg==';
  11632. me._ht_url_image_newpage__imgo.setAttribute('src',hs);
  11633. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_url_image_newpage;');
  11634. elo['ondragstart']=function() { return false; };
  11635. el.appendChild(elo);
  11636. el.ggId="ht_url_image_newpage";
  11637. el.ggDx=0;
  11638. el.ggDy=0;
  11639. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  11640. el.ggVisible=false;
  11641. el.className="ggskin ggskin_svg ";
  11642. el.ggType='svg';
  11643. hs ='';
  11644. hs+='cursor : pointer;';
  11645. hs+='height : 32px;';
  11646. hs+='left : -10000px;';
  11647. hs+='position : absolute;';
  11648. hs+='top : -10000px;';
  11649. hs+='visibility : hidden;';
  11650. hs+='width : 32px;';
  11651. hs+='pointer-events:auto;';
  11652. el.setAttribute('style',hs);
  11653. el.style[domTransform + 'Origin']='50% 50%';
  11654. me._ht_url_image_newpage.ggIsActive=function() {
  11655. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  11656. return this.parentNode.ggIsActive();
  11657. }
  11658. return false;
  11659. }
  11660. el.ggElementNodeId=function() {
  11661. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  11662. return this.parentNode.ggElementNodeId();
  11663. }
  11664. return me.ggNodeId;
  11665. }
  11666. me._ht_url_image_newpage.logicBlock_visible = function() {
  11667. var newLogicStateVisible;
  11668. if (
  11669. (player.getIsMobile() == true) ||
  11670. (player.getVariableValue('opt_url') == false)
  11671. )
  11672. {
  11673. newLogicStateVisible = 0;
  11674. }
  11675. else {
  11676. newLogicStateVisible = -1;
  11677. }
  11678. if (me._ht_url_image_newpage.ggCurrentLogicStateVisible != newLogicStateVisible) {
  11679. me._ht_url_image_newpage.ggCurrentLogicStateVisible = newLogicStateVisible;
  11680. me._ht_url_image_newpage.style[domTransition]='';
  11681. if (me._ht_url_image_newpage.ggCurrentLogicStateVisible == 0) {
  11682. me._ht_url_image_newpage.style.visibility=(Number(me._ht_url_image_newpage.style.opacity)>0||!me._ht_url_image_newpage.style.opacity)?'inherit':'hidden';
  11683. me._ht_url_image_newpage.ggVisible=true;
  11684. }
  11685. else {
  11686. me._ht_url_image_newpage.style.visibility="hidden";
  11687. me._ht_url_image_newpage.ggVisible=false;
  11688. }
  11689. }
  11690. }
  11691. me._ht_url_image_newpage.onclick=function (e) {
  11692. player.openUrl(me.hotspot.url,me.hotspot.target);
  11693. }
  11694. me._ht_url_image_newpage.onmouseover=function (e) {
  11695. me._ht_url_image_newpage__img.style.visibility='hidden';
  11696. me._ht_url_image_newpage__imgo.style.visibility='inherit';
  11697. }
  11698. me._ht_url_image_newpage.onmouseout=function (e) {
  11699. me._ht_url_image_newpage__img.style.visibility='inherit';
  11700. me._ht_url_image_newpage__imgo.style.visibility='hidden';
  11701. }
  11702. me._ht_url_image_newpage.ggUpdatePosition=function (useTransition) {
  11703. if (useTransition==='undefined') {
  11704. useTransition = false;
  11705. }
  11706. if (!useTransition) {
  11707. this.style[domTransition]='none';
  11708. }
  11709. if (this.parentNode) {
  11710. var pw=this.parentNode.clientWidth;
  11711. var w=this.offsetWidth;
  11712. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  11713. var ph=this.parentNode.clientHeight;
  11714. var h=this.offsetHeight;
  11715. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  11716. }
  11717. }
  11718. me._ht_url.appendChild(me._ht_url_image_newpage);
  11719. el=me._tt_ht_url=document.createElement('div');
  11720. els=me._tt_ht_url__text=document.createElement('div');
  11721. el.className='ggskin ggskin_textdiv';
  11722. el.ggTextDiv=els;
  11723. el.ggId="tt_ht_url";
  11724. el.ggDx=0;
  11725. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  11726. el.ggVisible=false;
  11727. el.className="ggskin ggskin_text ";
  11728. el.ggType='text';
  11729. hs ='';
  11730. hs+='z-index: 100;';
  11731. hs+='height : 20px;';
  11732. hs+='left : -10000px;';
  11733. hs+='position : absolute;';
  11734. hs+='top : 22px;';
  11735. hs+='visibility : hidden;';
  11736. hs+='width : 100px;';
  11737. hs+='pointer-events:none;';
  11738. hs+='text-shadow: 1px 1px 4px #000000;';
  11739. el.setAttribute('style',hs);
  11740. el.style[domTransform + 'Origin']='50% 50%';
  11741. hs ='position:absolute;';
  11742. hs += 'box-sizing: border-box;';
  11743. hs+='cursor: default;';
  11744. hs+='left: 0px;';
  11745. hs+='top: 0px;';
  11746. hs+='width: auto;';
  11747. hs+='height: auto;';
  11748. hs+='pointer-events: none;';
  11749. hs+='border: 0px solid #000000;';
  11750. hs+='color: rgba(255,255,255,1);';
  11751. hs+='text-align: center;';
  11752. hs+='white-space: nowrap;';
  11753. hs+='padding: 2px 5px 2px 5px;';
  11754. hs+='overflow: hidden;';
  11755. els.setAttribute('style',hs);
  11756. els.innerHTML=me.hotspot.title;
  11757. el.appendChild(els);
  11758. me._tt_ht_url.ggIsActive=function() {
  11759. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  11760. return this.parentNode.ggIsActive();
  11761. }
  11762. return false;
  11763. }
  11764. el.ggElementNodeId=function() {
  11765. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  11766. return this.parentNode.ggElementNodeId();
  11767. }
  11768. return me.ggNodeId;
  11769. }
  11770. me._tt_ht_url.logicBlock_position = function() {
  11771. var newLogicStatePosition;
  11772. if (
  11773. (player.getIsMobile() == true)
  11774. )
  11775. {
  11776. newLogicStatePosition = 0;
  11777. }
  11778. else {
  11779. newLogicStatePosition = -1;
  11780. }
  11781. if (me._tt_ht_url.ggCurrentLogicStatePosition != newLogicStatePosition) {
  11782. me._tt_ht_url.ggCurrentLogicStatePosition = newLogicStatePosition;
  11783. me._tt_ht_url.style[domTransition]='left 0s, top 0s';
  11784. if (me._tt_ht_url.ggCurrentLogicStatePosition == 0) {
  11785. this.ggDx = 0;
  11786. me._tt_ht_url.style.top='-50px';
  11787. me._tt_ht_url.ggUpdatePosition(true);
  11788. }
  11789. else {
  11790. me._tt_ht_url.ggDx=0;
  11791. me._tt_ht_url.style.top='22px';
  11792. me._tt_ht_url.ggUpdatePosition(true);
  11793. }
  11794. }
  11795. }
  11796. me._tt_ht_url.logicBlock_visible = function() {
  11797. var newLogicStateVisible;
  11798. if (
  11799. (me.elementMouseOver['ht_url'] == true) &&
  11800. (me.hotspot.title != "")
  11801. )
  11802. {
  11803. newLogicStateVisible = 0;
  11804. }
  11805. else {
  11806. newLogicStateVisible = -1;
  11807. }
  11808. if (me._tt_ht_url.ggCurrentLogicStateVisible != newLogicStateVisible) {
  11809. me._tt_ht_url.ggCurrentLogicStateVisible = newLogicStateVisible;
  11810. me._tt_ht_url.style[domTransition]='left 0s, top 0s';
  11811. if (me._tt_ht_url.ggCurrentLogicStateVisible == 0) {
  11812. me._tt_ht_url.style.visibility=(Number(me._tt_ht_url.style.opacity)>0||!me._tt_ht_url.style.opacity)?'inherit':'hidden';
  11813. me._tt_ht_url.ggVisible=true;
  11814. }
  11815. else {
  11816. me._tt_ht_url.style.visibility="hidden";
  11817. me._tt_ht_url.ggVisible=false;
  11818. }
  11819. }
  11820. }
  11821. me._tt_ht_url.ggUpdatePosition=function (useTransition) {
  11822. if (useTransition==='undefined') {
  11823. useTransition = false;
  11824. }
  11825. if (!useTransition) {
  11826. this.style[domTransition]='none';
  11827. }
  11828. if (this.parentNode) {
  11829. var pw=this.parentNode.clientWidth;
  11830. var w=this.offsetWidth + 0;
  11831. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  11832. }
  11833. this.style[domTransition]='left 0';
  11834. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  11835. }
  11836. me._ht_url.appendChild(me._tt_ht_url);
  11837. me.__div = me._ht_url;
  11838. };
  11839. function SkinHotspotClass_ht_info(parentScope,hotspot) {
  11840. var me=this;
  11841. var flag=false;
  11842. var hs='';
  11843. me.parentScope=parentScope;
  11844. me.hotspot=hotspot;
  11845. var nodeId=String(hotspot.url);
  11846. nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):'';
  11847. me.ggUserdata=skin.player.getNodeUserdata(nodeId);
  11848. me.elementMouseDown=[];
  11849. me.elementMouseOver=[];
  11850. me.findElements=function(id,regex) {
  11851. return skin.findElements(id,regex);
  11852. }
  11853. el=me._ht_info=document.createElement('div');
  11854. el.ggId="ht_info";
  11855. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  11856. el.ggVisible=true;
  11857. el.className="ggskin ggskin_hotspot ";
  11858. el.ggType='hotspot';
  11859. hs ='';
  11860. hs+='cursor : pointer;';
  11861. hs+='height : 0px;';
  11862. hs+='left : 250px;';
  11863. hs+='opacity : 0;';
  11864. hs+='position : absolute;';
  11865. hs+='top : 50px;';
  11866. hs+='visibility : hidden;';
  11867. hs+='width : 0px;';
  11868. hs+='pointer-events:auto;';
  11869. el.setAttribute('style',hs);
  11870. el.style[domTransform + 'Origin']='50% 50%';
  11871. me._ht_info.ggIsActive=function() {
  11872. return player.getCurrentNode()==this.ggElementNodeId();
  11873. }
  11874. el.ggElementNodeId=function() {
  11875. return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
  11876. }
  11877. me._ht_info.logicBlock_visible = function() {
  11878. var newLogicStateVisible;
  11879. if (
  11880. (player.getVariableValue('vis_userdata') == true) ||
  11881. (player.getVariableValue('vis_image_popup') == true) ||
  11882. (player.getVariableValue('vis_info_popup') == true) ||
  11883. (player.getVariableValue('vis_video_popup_file') == true) ||
  11884. (player.getVariableValue('vis_video_popup_url') == true) ||
  11885. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  11886. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  11887. (player.getVariableValue('vis_website') == true)
  11888. )
  11889. {
  11890. newLogicStateVisible = 0;
  11891. }
  11892. else {
  11893. newLogicStateVisible = -1;
  11894. }
  11895. if (me._ht_info.ggCurrentLogicStateVisible != newLogicStateVisible) {
  11896. me._ht_info.ggCurrentLogicStateVisible = newLogicStateVisible;
  11897. me._ht_info.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  11898. if (me._ht_info.ggCurrentLogicStateVisible == 0) {
  11899. me._ht_info.style.visibility="hidden";
  11900. me._ht_info.ggVisible=false;
  11901. }
  11902. else {
  11903. me._ht_info.style.visibility=(Number(me._ht_info.style.opacity)>0||!me._ht_info.style.opacity)?'inherit':'hidden';
  11904. me._ht_info.ggVisible=true;
  11905. }
  11906. }
  11907. }
  11908. me._ht_info.logicBlock_alpha = function() {
  11909. var newLogicStateAlpha;
  11910. if (
  11911. (player.getVariableValue('vis_timer') == true)
  11912. )
  11913. {
  11914. newLogicStateAlpha = 0;
  11915. }
  11916. else {
  11917. newLogicStateAlpha = -1;
  11918. }
  11919. if (me._ht_info.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  11920. me._ht_info.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  11921. me._ht_info.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  11922. if (me._ht_info.ggCurrentLogicStateAlpha == 0) {
  11923. me._ht_info.style.visibility=me._ht_info.ggVisible?'inherit':'hidden';
  11924. me._ht_info.style.opacity=1;
  11925. }
  11926. else {
  11927. me._ht_info.style.visibility="hidden";
  11928. me._ht_info.style.opacity=0;
  11929. }
  11930. }
  11931. }
  11932. me._ht_info.onclick=function (e) {
  11933. skin._info_title.ggText=me.hotspot.title;
  11934. skin._info_title.ggTextDiv.innerHTML=skin._info_title.ggText;
  11935. if (skin._info_title.ggUpdateText) {
  11936. skin._info_title.ggUpdateText=function() {
  11937. var hs=me.hotspot.title;
  11938. if (hs!=this.ggText) {
  11939. this.ggText=hs;
  11940. this.ggTextDiv.innerHTML=hs;
  11941. if (this.ggUpdatePosition) this.ggUpdatePosition();
  11942. }
  11943. }
  11944. }
  11945. if (skin._info_title.ggUpdatePosition) {
  11946. skin._info_title.ggUpdatePosition();
  11947. }
  11948. skin._info_title.ggTextDiv.scrollTop = 0;
  11949. skin._info_text_body.ggText=me.hotspot.description;
  11950. skin._info_text_body.ggTextDiv.innerHTML=skin._info_text_body.ggText;
  11951. if (skin._info_text_body.ggUpdateText) {
  11952. skin._info_text_body.ggUpdateText=function() {
  11953. var hs=me.hotspot.description;
  11954. if (hs!=this.ggText) {
  11955. this.ggText=hs;
  11956. this.ggTextDiv.innerHTML=hs;
  11957. if (this.ggUpdatePosition) this.ggUpdatePosition();
  11958. }
  11959. }
  11960. }
  11961. if (skin._info_text_body.ggUpdatePosition) {
  11962. skin._info_text_body.ggUpdatePosition();
  11963. }
  11964. skin._info_text_body.ggTextDiv.scrollTop = 0;
  11965. player.setVariableValue('vis_info_popup', true);
  11966. skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
  11967. }
  11968. me._ht_info.ondblclick=function (e) {
  11969. skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
  11970. }
  11971. me._ht_info.onmouseover=function (e) {
  11972. player.setActiveHotspot(me.hotspot);
  11973. me.elementMouseOver['ht_info']=true;
  11974. me._tt_information.logicBlock_visible();
  11975. skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
  11976. }
  11977. me._ht_info.onmouseout=function (e) {
  11978. player.setActiveHotspot(null);
  11979. me.elementMouseOver['ht_info']=false;
  11980. me._tt_information.logicBlock_visible();
  11981. skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
  11982. }
  11983. me._ht_info.ontouchend=function (e) {
  11984. me.elementMouseOver['ht_info']=false;
  11985. me._tt_information.logicBlock_visible();
  11986. }
  11987. me._ht_info.ggUpdatePosition=function (useTransition) {
  11988. }
  11989. el=me._ht_info_image=document.createElement('div');
  11990. els=me._ht_info_image__img=document.createElement('img');
  11991. els.className='ggskin ggskin_svg';
  11992. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  11993. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSI+CgkJPGc+DQoJCQk8cGF0aCBkPSJNMy41LDE2QzMuNSw5LjA5Niw5LjA5NiwzLjU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I5LDIwLjkyNiwxOS4xOTIsMjAuMzkxLDE4LjUzMiwyMC4zOTF6Ii8+DQoJCQk8L2c+DQoJCTwvZz4NCgk8L2c+Cjwvc3ZnPg==';
  12001. me._ht_info_image__img.setAttribute('src',hs);
  12002. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_info_image;');
  12003. els['ondragstart']=function() { return false; };
  12004. el.appendChild(els);
  12005. el.ggSubElement = els;
  12006. elo=me._ht_info_image__imgo=document.createElement('img');
  12007. elo.className='ggskin ggskin_svg';
  12008. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  12009. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTYsMTYpIHNjYWxlKDEuMSkgdHJhbnNsYXRlKC0xNiwtMTYpIj4KCQk8Zz4NCgkJC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QkJYy0wLjY2MSwwLTEuMTk3LDAuNTM1LTEuMTk3LDEuMTk2YzAsMC42NiwwLjUzNiwxLjE5NiwxLjE5NywxLjE5Nmg0Ljc3NWMwLjY2LDAsMS4xOTctMC41MzYsMS4xOTctMS4xOTYNCgkJCQkJQzE5LjcyOSwyMC45MjYsMTkuMTkyLDIwLjM5MSwxOC41MzIsMjAuMzkxeiIvPg0KCQkJPC9nPg0KCQk8L2c+DQoJPC9nPgo8L3N2Zz4=';
  12017. me._ht_info_image__imgo.setAttribute('src',hs);
  12018. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_info_image;');
  12019. elo['ondragstart']=function() { return false; };
  12020. el.appendChild(elo);
  12021. el.ggId="ht_info_image";
  12022. el.ggDx=0;
  12023. el.ggDy=0;
  12024. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  12025. el.ggVisible=true;
  12026. el.className="ggskin ggskin_svg ";
  12027. el.ggType='svg';
  12028. hs ='';
  12029. hs+='height : 32px;';
  12030. hs+='left : -10000px;';
  12031. hs+='position : absolute;';
  12032. hs+='top : -10000px;';
  12033. hs+='visibility : inherit;';
  12034. hs+='width : 32px;';
  12035. hs+='pointer-events:auto;';
  12036. el.setAttribute('style',hs);
  12037. el.style[domTransform + 'Origin']='50% 50%';
  12038. me._ht_info_image.ggIsActive=function() {
  12039. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  12040. return this.parentNode.ggIsActive();
  12041. }
  12042. return false;
  12043. }
  12044. el.ggElementNodeId=function() {
  12045. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  12046. return this.parentNode.ggElementNodeId();
  12047. }
  12048. return me.ggNodeId;
  12049. }
  12050. me._ht_info_image.onmouseover=function (e) {
  12051. me._ht_info_image__img.style.visibility='hidden';
  12052. me._ht_info_image__imgo.style.visibility='inherit';
  12053. }
  12054. me._ht_info_image.onmouseout=function (e) {
  12055. me._ht_info_image__img.style.visibility='inherit';
  12056. me._ht_info_image__imgo.style.visibility='hidden';
  12057. }
  12058. me._ht_info_image.ggUpdatePosition=function (useTransition) {
  12059. if (useTransition==='undefined') {
  12060. useTransition = false;
  12061. }
  12062. if (!useTransition) {
  12063. this.style[domTransition]='none';
  12064. }
  12065. if (this.parentNode) {
  12066. var pw=this.parentNode.clientWidth;
  12067. var w=this.offsetWidth;
  12068. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  12069. var ph=this.parentNode.clientHeight;
  12070. var h=this.offsetHeight;
  12071. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  12072. }
  12073. }
  12074. me._ht_info.appendChild(me._ht_info_image);
  12075. el=me._tt_information=document.createElement('div');
  12076. els=me._tt_information__text=document.createElement('div');
  12077. el.className='ggskin ggskin_textdiv';
  12078. el.ggTextDiv=els;
  12079. el.ggId="tt_information";
  12080. el.ggDx=0;
  12081. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  12082. el.ggVisible=false;
  12083. el.className="ggskin ggskin_text ";
  12084. el.ggType='text';
  12085. hs ='';
  12086. hs+='z-index: 100;';
  12087. hs+='height : 20px;';
  12088. hs+='left : -10000px;';
  12089. hs+='position : absolute;';
  12090. hs+='top : 22px;';
  12091. hs+='visibility : hidden;';
  12092. hs+='width : 100px;';
  12093. hs+='pointer-events:none;';
  12094. hs+='text-shadow: 1px 1px 4px #000000;';
  12095. el.setAttribute('style',hs);
  12096. el.style[domTransform + 'Origin']='50% 50%';
  12097. hs ='position:absolute;';
  12098. hs += 'box-sizing: border-box;';
  12099. hs+='cursor: default;';
  12100. hs+='left: 0px;';
  12101. hs+='top: 0px;';
  12102. hs+='width: auto;';
  12103. hs+='height: auto;';
  12104. hs+='pointer-events: none;';
  12105. hs+='border: 0px solid #000000;';
  12106. hs+='color: rgba(255,255,255,1);';
  12107. hs+='text-align: center;';
  12108. hs+='white-space: nowrap;';
  12109. hs+='padding: 2px 5px 2px 5px;';
  12110. hs+='overflow: hidden;';
  12111. els.setAttribute('style',hs);
  12112. els.innerHTML=me.hotspot.title;
  12113. el.appendChild(els);
  12114. me._tt_information.ggIsActive=function() {
  12115. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  12116. return this.parentNode.ggIsActive();
  12117. }
  12118. return false;
  12119. }
  12120. el.ggElementNodeId=function() {
  12121. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  12122. return this.parentNode.ggElementNodeId();
  12123. }
  12124. return me.ggNodeId;
  12125. }
  12126. me._tt_information.logicBlock_position = function() {
  12127. var newLogicStatePosition;
  12128. if (
  12129. (player.getIsMobile() == true)
  12130. )
  12131. {
  12132. newLogicStatePosition = 0;
  12133. }
  12134. else {
  12135. newLogicStatePosition = -1;
  12136. }
  12137. if (me._tt_information.ggCurrentLogicStatePosition != newLogicStatePosition) {
  12138. me._tt_information.ggCurrentLogicStatePosition = newLogicStatePosition;
  12139. me._tt_information.style[domTransition]='left 0s, top 0s';
  12140. if (me._tt_information.ggCurrentLogicStatePosition == 0) {
  12141. this.ggDx = 0;
  12142. me._tt_information.style.top='-50px';
  12143. me._tt_information.ggUpdatePosition(true);
  12144. }
  12145. else {
  12146. me._tt_information.ggDx=0;
  12147. me._tt_information.style.top='22px';
  12148. me._tt_information.ggUpdatePosition(true);
  12149. }
  12150. }
  12151. }
  12152. me._tt_information.logicBlock_visible = function() {
  12153. var newLogicStateVisible;
  12154. if (
  12155. (me.elementMouseOver['ht_info'] == true) &&
  12156. (me.hotspot.title != "")
  12157. )
  12158. {
  12159. newLogicStateVisible = 0;
  12160. }
  12161. else {
  12162. newLogicStateVisible = -1;
  12163. }
  12164. if (me._tt_information.ggCurrentLogicStateVisible != newLogicStateVisible) {
  12165. me._tt_information.ggCurrentLogicStateVisible = newLogicStateVisible;
  12166. me._tt_information.style[domTransition]='left 0s, top 0s';
  12167. if (me._tt_information.ggCurrentLogicStateVisible == 0) {
  12168. me._tt_information.style.visibility=(Number(me._tt_information.style.opacity)>0||!me._tt_information.style.opacity)?'inherit':'hidden';
  12169. me._tt_information.ggVisible=true;
  12170. }
  12171. else {
  12172. me._tt_information.style.visibility="hidden";
  12173. me._tt_information.ggVisible=false;
  12174. }
  12175. }
  12176. }
  12177. me._tt_information.ggUpdatePosition=function (useTransition) {
  12178. if (useTransition==='undefined') {
  12179. useTransition = false;
  12180. }
  12181. if (!useTransition) {
  12182. this.style[domTransition]='none';
  12183. }
  12184. if (this.parentNode) {
  12185. var pw=this.parentNode.clientWidth;
  12186. var w=this.offsetWidth + 0;
  12187. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  12188. }
  12189. this.style[domTransition]='left 0';
  12190. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  12191. }
  12192. me._ht_info.appendChild(me._tt_information);
  12193. me.__div = me._ht_info;
  12194. };
  12195. function SkinHotspotClass_ht_image(parentScope,hotspot) {
  12196. var me=this;
  12197. var flag=false;
  12198. var hs='';
  12199. me.parentScope=parentScope;
  12200. me.hotspot=hotspot;
  12201. var nodeId=String(hotspot.url);
  12202. nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):'';
  12203. me.ggUserdata=skin.player.getNodeUserdata(nodeId);
  12204. me.elementMouseDown=[];
  12205. me.elementMouseOver=[];
  12206. me.findElements=function(id,regex) {
  12207. return skin.findElements(id,regex);
  12208. }
  12209. el=me._ht_image=document.createElement('div');
  12210. el.ggId="ht_image";
  12211. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  12212. el.ggVisible=true;
  12213. el.className="ggskin ggskin_hotspot ";
  12214. el.ggType='hotspot';
  12215. hs ='';
  12216. hs+='height : 0px;';
  12217. hs+='left : 250px;';
  12218. hs+='opacity : 0;';
  12219. hs+='position : absolute;';
  12220. hs+='top : 50px;';
  12221. hs+='visibility : hidden;';
  12222. hs+='width : 0px;';
  12223. hs+='pointer-events:auto;';
  12224. el.setAttribute('style',hs);
  12225. el.style[domTransform + 'Origin']='50% 50%';
  12226. me._ht_image.ggIsActive=function() {
  12227. return player.getCurrentNode()==this.ggElementNodeId();
  12228. }
  12229. el.ggElementNodeId=function() {
  12230. return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
  12231. }
  12232. me._ht_image.logicBlock_visible = function() {
  12233. var newLogicStateVisible;
  12234. if (
  12235. (player.getVariableValue('vis_userdata') == true) ||
  12236. (player.getVariableValue('vis_image_popup') == true) ||
  12237. (player.getVariableValue('vis_info_popup') == true) ||
  12238. (player.getVariableValue('vis_video_popup_file') == true) ||
  12239. (player.getVariableValue('vis_video_popup_url') == true) ||
  12240. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  12241. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  12242. (player.getVariableValue('vis_website') == true)
  12243. )
  12244. {
  12245. newLogicStateVisible = 0;
  12246. }
  12247. else {
  12248. newLogicStateVisible = -1;
  12249. }
  12250. if (me._ht_image.ggCurrentLogicStateVisible != newLogicStateVisible) {
  12251. me._ht_image.ggCurrentLogicStateVisible = newLogicStateVisible;
  12252. me._ht_image.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  12253. if (me._ht_image.ggCurrentLogicStateVisible == 0) {
  12254. me._ht_image.style.visibility="hidden";
  12255. me._ht_image.ggVisible=false;
  12256. }
  12257. else {
  12258. me._ht_image.style.visibility=(Number(me._ht_image.style.opacity)>0||!me._ht_image.style.opacity)?'inherit':'hidden';
  12259. me._ht_image.ggVisible=true;
  12260. }
  12261. }
  12262. }
  12263. me._ht_image.logicBlock_alpha = function() {
  12264. var newLogicStateAlpha;
  12265. if (
  12266. (player.getVariableValue('vis_timer') == true)
  12267. )
  12268. {
  12269. newLogicStateAlpha = 0;
  12270. }
  12271. else {
  12272. newLogicStateAlpha = -1;
  12273. }
  12274. if (me._ht_image.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  12275. me._ht_image.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  12276. me._ht_image.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  12277. if (me._ht_image.ggCurrentLogicStateAlpha == 0) {
  12278. me._ht_image.style.visibility=me._ht_image.ggVisible?'inherit':'hidden';
  12279. me._ht_image.style.opacity=1;
  12280. }
  12281. else {
  12282. me._ht_image.style.visibility="hidden";
  12283. me._ht_image.style.opacity=0;
  12284. }
  12285. }
  12286. }
  12287. me._ht_image.onclick=function (e) {
  12288. skin._popup_image.ggText=player.getBasePath()+""+me.hotspot.url;
  12289. skin._popup_image.ggSubElement.style.width = '0px';
  12290. skin._popup_image.ggSubElement.style.height = '0px';
  12291. skin._popup_image.ggSubElement.src='';
  12292. skin._popup_image.ggSubElement.src=skin._popup_image.ggText;
  12293. player.setVariableValue('vis_image_popup', true);
  12294. skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
  12295. }
  12296. me._ht_image.ondblclick=function (e) {
  12297. skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
  12298. }
  12299. me._ht_image.onmouseover=function (e) {
  12300. player.setActiveHotspot(me.hotspot);
  12301. me.elementMouseOver['ht_image']=true;
  12302. me._tt_ht_image.logicBlock_visible();
  12303. skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
  12304. }
  12305. me._ht_image.onmouseout=function (e) {
  12306. player.setActiveHotspot(null);
  12307. me.elementMouseOver['ht_image']=false;
  12308. me._tt_ht_image.logicBlock_visible();
  12309. skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
  12310. }
  12311. me._ht_image.ontouchend=function (e) {
  12312. me.elementMouseOver['ht_image']=false;
  12313. me._tt_ht_image.logicBlock_visible();
  12314. }
  12315. me._ht_image.ggUpdatePosition=function (useTransition) {
  12316. }
  12317. el=me._ht_image_image=document.createElement('div');
  12318. els=me._ht_image_image__img=document.createElement('img');
  12319. els.className='ggskin ggskin_svg';
  12320. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCE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TE0LTAuMzQ0LTEuMTI5LTAuNDY2LTEuNzc0LTAuNDY5Yy0xLjE1NiwwLjAwNC0yLjQ1NCwwLjQwNy0zLjU1OCwxLjE1bC0yLjkwNSwxLjk3MQ0KCQlWOC40NjJ6IE00LjgzOSwyMy41Mzd2LTMuNTEybDMuNjU4LTIuNDgyYzAuODY3LTAuNTk0LDEuOTcyLTAuOTIzLDIuODA1LTAuOTE5YzAuNDY2LTAuMDAyLDAuODMxLDAuMTAzLDEuMDIyLDAuMjM4DQoJCWMwLjMzMywwLjIyNiwwLjY0NSwwLjQzNywwLjkxMywwLjYxOWwtMy44NjksMi42MjdjLTAuMzA2LDAuMjA3LTAuMzg2LDAuNjIzLTAuMTc5LDAuOTNjMC4xMywwLjE4OSwwLjM0LDAuMjkz'+
  12328. 'LDAuNTU1LDAuMjkzDQoJCWMwLjEyOSwwLDAuMjYtMC4wMzcsMC4zNzUtMC4xMTVsOC42MzgtNS44NjFjMC43MzQtMC41MDIsMS43Ny0wLjc4LDIuODA3LTAuNzc4YzEuMDIzLTAuMDAyLDIuMDM2LDAuMjY5LDIuNzUxLDAuNzU3DQoJCWMxLjI1OCwwLjg1MywyLjM0NiwxLjU5MSwyLjg0NywxLjkzMXY2LjI3M0g0LjgzOXoiLz4NCgk8L2c+Cjwvc3ZnPg==';
  12329. me._ht_image_image__img.setAttribute('src',hs);
  12330. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_image_image;');
  12331. els['ondragstart']=function() { return false; };
  12332. el.appendChild(els);
  12333. el.ggSubElement = els;
  12334. elo=me._ht_image_image__imgo=document.createElement('img');
  12335. elo.className='ggskin ggskin_svg';
  12336. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmc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4OWMtMS4yNjYsMC4wMDItMi41NCwwLjMyMS0zLjU2LDEuMDA5bC0zLjU3NSwyLjQyNg0KCQljLTAuMzI5LTAuMjIzLTAuODEzLTAuNTUyLTEuMzUzLTAuOTE4Yy0wLjUxNC0wLjM0NC0xLjEyOS0wLjQ2Ni0xLjc3NC0wLjQ2OWMtMS4xNTYsMC4wMDQtMi40NTQsMC40MDctMy41NTgsMS4xNWwtMi45MDUsMS45NzENCgkJVjguNDYyeiBNNC44MzksMjMuNTM3di0zLjUxMmwzLjY1OC0yLjQ4MmMwLjg2Ny0wLjU5NCwxLjk3Mi0wLjkyMywyLjgwNS0wLjkxOWMwLjQ2Ni0wLjAwMiwwLjgzMSwwLjEwMywxLjAy'+
  12344. 'MiwwLjIzOA0KCQljMC4zMzMsMC4yMjYsMC42NDUsMC40MzcsMC45MTMsMC42MTlsLTMuODY5LDIuNjI3Yy0wLjMwNiwwLjIwNy0wLjM4NiwwLjYyMy0wLjE3OSwwLjkzYzAuMTMsMC4xODksMC4zNCwwLjI5MywwLjU1NSwwLjI5Mw0KCQljMC4xMjksMCwwLjI2LTAuMDM3LDAuMzc1LTAuMTE1bDguNjM4LTUuODYxYzAuNzM0LTAuNTAyLDEuNzctMC43OCwyLjgwNy0wLjc3OGMxLjAyMy0wLjAwMiwyLjAzNiwwLjI2OSwyLjc1MSwwLjc1Nw0KCQljMS4yNTgsMC44NTMsMi4zNDYsMS41OTEsMi44NDcsMS45MzF2Ni4yNzNINC44Mzl6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  12345. me._ht_image_image__imgo.setAttribute('src',hs);
  12346. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_image_image;');
  12347. elo['ondragstart']=function() { return false; };
  12348. el.appendChild(elo);
  12349. el.ggId="ht_image_image";
  12350. el.ggDx=0;
  12351. el.ggDy=0;
  12352. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  12353. el.ggVisible=true;
  12354. el.className="ggskin ggskin_svg ";
  12355. el.ggType='svg';
  12356. hs ='';
  12357. hs+='cursor : pointer;';
  12358. hs+='height : 32px;';
  12359. hs+='left : -10000px;';
  12360. hs+='position : absolute;';
  12361. hs+='top : -10000px;';
  12362. hs+='visibility : inherit;';
  12363. hs+='width : 32px;';
  12364. hs+='pointer-events:auto;';
  12365. el.setAttribute('style',hs);
  12366. el.style[domTransform + 'Origin']='50% 50%';
  12367. me._ht_image_image.ggIsActive=function() {
  12368. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  12369. return this.parentNode.ggIsActive();
  12370. }
  12371. return false;
  12372. }
  12373. el.ggElementNodeId=function() {
  12374. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  12375. return this.parentNode.ggElementNodeId();
  12376. }
  12377. return me.ggNodeId;
  12378. }
  12379. me._ht_image_image.onmouseover=function (e) {
  12380. me._ht_image_image__img.style.visibility='hidden';
  12381. me._ht_image_image__imgo.style.visibility='inherit';
  12382. }
  12383. me._ht_image_image.onmouseout=function (e) {
  12384. me._ht_image_image__img.style.visibility='inherit';
  12385. me._ht_image_image__imgo.style.visibility='hidden';
  12386. }
  12387. me._ht_image_image.ggUpdatePosition=function (useTransition) {
  12388. if (useTransition==='undefined') {
  12389. useTransition = false;
  12390. }
  12391. if (!useTransition) {
  12392. this.style[domTransition]='none';
  12393. }
  12394. if (this.parentNode) {
  12395. var pw=this.parentNode.clientWidth;
  12396. var w=this.offsetWidth;
  12397. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  12398. var ph=this.parentNode.clientHeight;
  12399. var h=this.offsetHeight;
  12400. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  12401. }
  12402. }
  12403. me._ht_image.appendChild(me._ht_image_image);
  12404. el=me._tt_ht_image=document.createElement('div');
  12405. els=me._tt_ht_image__text=document.createElement('div');
  12406. el.className='ggskin ggskin_textdiv';
  12407. el.ggTextDiv=els;
  12408. el.ggId="tt_ht_image";
  12409. el.ggDx=0;
  12410. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  12411. el.ggVisible=false;
  12412. el.className="ggskin ggskin_text ";
  12413. el.ggType='text';
  12414. hs ='';
  12415. hs+='z-index: 100;';
  12416. hs+='height : 20px;';
  12417. hs+='left : -10000px;';
  12418. hs+='position : absolute;';
  12419. hs+='top : 22px;';
  12420. hs+='visibility : hidden;';
  12421. hs+='width : 100px;';
  12422. hs+='pointer-events:none;';
  12423. hs+='text-shadow: 1px 1px 4px #000000;';
  12424. el.setAttribute('style',hs);
  12425. el.style[domTransform + 'Origin']='50% 50%';
  12426. hs ='position:absolute;';
  12427. hs += 'box-sizing: border-box;';
  12428. hs+='cursor: default;';
  12429. hs+='left: 0px;';
  12430. hs+='top: 0px;';
  12431. hs+='width: auto;';
  12432. hs+='height: auto;';
  12433. hs+='pointer-events: none;';
  12434. hs+='border: 0px solid #000000;';
  12435. hs+='color: rgba(255,255,255,1);';
  12436. hs+='text-align: center;';
  12437. hs+='white-space: nowrap;';
  12438. hs+='padding: 2px 5px 2px 5px;';
  12439. hs+='overflow: hidden;';
  12440. els.setAttribute('style',hs);
  12441. els.innerHTML=me.hotspot.title;
  12442. el.appendChild(els);
  12443. me._tt_ht_image.ggIsActive=function() {
  12444. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  12445. return this.parentNode.ggIsActive();
  12446. }
  12447. return false;
  12448. }
  12449. el.ggElementNodeId=function() {
  12450. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  12451. return this.parentNode.ggElementNodeId();
  12452. }
  12453. return me.ggNodeId;
  12454. }
  12455. me._tt_ht_image.logicBlock_position = function() {
  12456. var newLogicStatePosition;
  12457. if (
  12458. (player.getIsMobile() == true)
  12459. )
  12460. {
  12461. newLogicStatePosition = 0;
  12462. }
  12463. else {
  12464. newLogicStatePosition = -1;
  12465. }
  12466. if (me._tt_ht_image.ggCurrentLogicStatePosition != newLogicStatePosition) {
  12467. me._tt_ht_image.ggCurrentLogicStatePosition = newLogicStatePosition;
  12468. me._tt_ht_image.style[domTransition]='left 0s, top 0s';
  12469. if (me._tt_ht_image.ggCurrentLogicStatePosition == 0) {
  12470. this.ggDx = 0;
  12471. me._tt_ht_image.style.top='-50px';
  12472. me._tt_ht_image.ggUpdatePosition(true);
  12473. }
  12474. else {
  12475. me._tt_ht_image.ggDx=0;
  12476. me._tt_ht_image.style.top='22px';
  12477. me._tt_ht_image.ggUpdatePosition(true);
  12478. }
  12479. }
  12480. }
  12481. me._tt_ht_image.logicBlock_visible = function() {
  12482. var newLogicStateVisible;
  12483. if (
  12484. (me.elementMouseOver['ht_image'] == true) &&
  12485. (me.hotspot.title != "")
  12486. )
  12487. {
  12488. newLogicStateVisible = 0;
  12489. }
  12490. else {
  12491. newLogicStateVisible = -1;
  12492. }
  12493. if (me._tt_ht_image.ggCurrentLogicStateVisible != newLogicStateVisible) {
  12494. me._tt_ht_image.ggCurrentLogicStateVisible = newLogicStateVisible;
  12495. me._tt_ht_image.style[domTransition]='left 0s, top 0s';
  12496. if (me._tt_ht_image.ggCurrentLogicStateVisible == 0) {
  12497. me._tt_ht_image.style.visibility=(Number(me._tt_ht_image.style.opacity)>0||!me._tt_ht_image.style.opacity)?'inherit':'hidden';
  12498. me._tt_ht_image.ggVisible=true;
  12499. }
  12500. else {
  12501. me._tt_ht_image.style.visibility="hidden";
  12502. me._tt_ht_image.ggVisible=false;
  12503. }
  12504. }
  12505. }
  12506. me._tt_ht_image.ggUpdatePosition=function (useTransition) {
  12507. if (useTransition==='undefined') {
  12508. useTransition = false;
  12509. }
  12510. if (!useTransition) {
  12511. this.style[domTransition]='none';
  12512. }
  12513. if (this.parentNode) {
  12514. var pw=this.parentNode.clientWidth;
  12515. var w=this.offsetWidth + 0;
  12516. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  12517. }
  12518. this.style[domTransition]='left 0';
  12519. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  12520. }
  12521. me._ht_image.appendChild(me._tt_ht_image);
  12522. me.__div = me._ht_image;
  12523. };
  12524. function SkinHotspotClass_ht_video_file(parentScope,hotspot) {
  12525. var me=this;
  12526. var flag=false;
  12527. var hs='';
  12528. me.parentScope=parentScope;
  12529. me.hotspot=hotspot;
  12530. var nodeId=String(hotspot.url);
  12531. nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):'';
  12532. me.ggUserdata=skin.player.getNodeUserdata(nodeId);
  12533. me.elementMouseDown=[];
  12534. me.elementMouseOver=[];
  12535. me.findElements=function(id,regex) {
  12536. return skin.findElements(id,regex);
  12537. }
  12538. el=me._ht_video_file=document.createElement('div');
  12539. el.ggId="ht_video_file";
  12540. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  12541. el.ggVisible=true;
  12542. el.className="ggskin ggskin_hotspot ";
  12543. el.ggType='hotspot';
  12544. hs ='';
  12545. hs+='height : 0px;';
  12546. hs+='left : 250px;';
  12547. hs+='opacity : 0;';
  12548. hs+='position : absolute;';
  12549. hs+='top : 50px;';
  12550. hs+='visibility : hidden;';
  12551. hs+='width : 0px;';
  12552. hs+='pointer-events:auto;';
  12553. el.setAttribute('style',hs);
  12554. el.style[domTransform + 'Origin']='50% 50%';
  12555. me._ht_video_file.ggIsActive=function() {
  12556. return player.getCurrentNode()==this.ggElementNodeId();
  12557. }
  12558. el.ggElementNodeId=function() {
  12559. return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
  12560. }
  12561. me._ht_video_file.logicBlock_visible = function() {
  12562. var newLogicStateVisible;
  12563. if (
  12564. (player.getVariableValue('vis_userdata') == true) ||
  12565. (player.getVariableValue('vis_image_popup') == true) ||
  12566. (player.getVariableValue('vis_info_popup') == true) ||
  12567. (player.getVariableValue('vis_video_popup_file') == true) ||
  12568. (player.getVariableValue('vis_video_popup_url') == true) ||
  12569. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  12570. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  12571. (player.getVariableValue('vis_website') == true)
  12572. )
  12573. {
  12574. newLogicStateVisible = 0;
  12575. }
  12576. else {
  12577. newLogicStateVisible = -1;
  12578. }
  12579. if (me._ht_video_file.ggCurrentLogicStateVisible != newLogicStateVisible) {
  12580. me._ht_video_file.ggCurrentLogicStateVisible = newLogicStateVisible;
  12581. me._ht_video_file.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  12582. if (me._ht_video_file.ggCurrentLogicStateVisible == 0) {
  12583. me._ht_video_file.style.visibility="hidden";
  12584. me._ht_video_file.ggVisible=false;
  12585. }
  12586. else {
  12587. me._ht_video_file.style.visibility=(Number(me._ht_video_file.style.opacity)>0||!me._ht_video_file.style.opacity)?'inherit':'hidden';
  12588. me._ht_video_file.ggVisible=true;
  12589. }
  12590. }
  12591. }
  12592. me._ht_video_file.logicBlock_alpha = function() {
  12593. var newLogicStateAlpha;
  12594. if (
  12595. (player.getVariableValue('vis_timer') == true)
  12596. )
  12597. {
  12598. newLogicStateAlpha = 0;
  12599. }
  12600. else {
  12601. newLogicStateAlpha = -1;
  12602. }
  12603. if (me._ht_video_file.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  12604. me._ht_video_file.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  12605. me._ht_video_file.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  12606. if (me._ht_video_file.ggCurrentLogicStateAlpha == 0) {
  12607. me._ht_video_file.style.visibility=me._ht_video_file.ggVisible?'inherit':'hidden';
  12608. me._ht_video_file.style.opacity=1;
  12609. }
  12610. else {
  12611. me._ht_video_file.style.visibility="hidden";
  12612. me._ht_video_file.style.opacity=0;
  12613. }
  12614. }
  12615. }
  12616. me._ht_video_file.onclick=function (e) {
  12617. skin._popup_video_file.ggInitMedia(player.getBasePath()+""+me.hotspot.url);
  12618. player.setVariableValue('vis_video_popup_file', true);
  12619. skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
  12620. }
  12621. me._ht_video_file.ondblclick=function (e) {
  12622. skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
  12623. }
  12624. me._ht_video_file.onmouseover=function (e) {
  12625. player.setActiveHotspot(me.hotspot);
  12626. me.elementMouseOver['ht_video_file']=true;
  12627. me._tt_ht_video_file.logicBlock_visible();
  12628. skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
  12629. }
  12630. me._ht_video_file.onmouseout=function (e) {
  12631. player.setActiveHotspot(null);
  12632. me.elementMouseOver['ht_video_file']=false;
  12633. me._tt_ht_video_file.logicBlock_visible();
  12634. skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
  12635. }
  12636. me._ht_video_file.ontouchend=function (e) {
  12637. me.elementMouseOver['ht_video_file']=false;
  12638. me._tt_ht_video_file.logicBlock_visible();
  12639. }
  12640. me._ht_video_file.ggUpdatePosition=function (useTransition) {
  12641. }
  12642. el=me._ht_video_file_image=document.createElement('div');
  12643. els=me._ht_video_file_image__img=document.createElement('img');
  12644. els.className='ggskin ggskin_svg';
  12645. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  12646. 'k9IjBweCIgd2lkdGg9IjMyc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'+
  12653. 'di04LjMxMUMyOC41LDE2LjA4NiwyOC4zNzcsMTUuODczLDI4LjE3OCwxNS43NTh6DQoJCSBNMTQuNzg4LDEwLjI2MmMwLjAwNC0yLjExMSwxLjcxMi0zLjgxOCwzLjgyMy0zLjgyMmMyLjExMSwwLjAwNCwzLjgxOSwxLjcxMSwzLjgyMywzLjgyMmMtMC4wMDQsMi4xMTEtMS43MTIsMy44MTktMy44MjMsMy44MjMNCgkJQzE2LjUsMTQuMDgxLDE0Ljc5MiwxMi4zNzMsMTQuNzg4LDEwLjI2MnogTTguODUxLDguNzY5YzEuNDY4LDAuMDAzLDIuNjU1LDEuMTksMi42NTgsMi42NThjLTAuMDAyLDEuNDY4LTEuMTksMi42NTUtMi42NTgsMi42NTcNCgkJYy0xLjQ2Ny0wLjAwMi0yLjY1NS0xLjE4OS0yLj'+
  12654. 'Y1Ny0yLjY1N0M2LjE5Niw5Ljk1OSw3LjM4Myw4Ljc3Miw4Ljg1MSw4Ljc2OXogTTI3LjIxMSwyMy41MWwtMi44NC0xLjYzOQ0KCQljLTAuMTk5LTAuMTE1LTAuNDQ1LTAuMTE1LTAuNjQ1LDBzLTAuMzIyLDAuMzI4LTAuMzIyLDAuNTU5djMuMTMxSDQuNzg5VjE1LjM4MmgxOC42MTV2Mi40OTlIMTAuMTIyDQoJCWMtMC4zNTUsMC0wLjY0NSwwLjI4OS0wLjY0NSwwLjY0NWMwLDAuMzU3LDAuMjg5LDAuNjQ1LDAuNjQ1LDAuNjQ1SDIzLjk5YzAuMDU0LDAsMC4xMDQtMC4wMDgsMC4xNTMtMC4wMg0KCQljMC4wNzktMC4wMTIsMC4xNTYtMC4wMzcsMC4yMjgtMC4wNzhsMi44NC0xLjY0MVYyMy41MXoi'+
  12655. 'Lz4NCgk8L2c+Cjwvc3ZnPg==';
  12656. me._ht_video_file_image__img.setAttribute('src',hs);
  12657. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_video_file_image;');
  12658. els['ondragstart']=function() { return false; };
  12659. el.appendChild(els);
  12660. el.ggSubElement = els;
  12661. elo=me._ht_video_file_image__imgo=document.createElement('img');
  12662. elo.className='ggskin ggskin_svg';
  12663. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  12664. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTYsMTYpIHNjYWxlKDEuMSkgdHJhbnNsYXRlKC0xNiwtMTYpIj4KCTxwYXRoIGQ9Ik0yOC4xNzgsMTUuNzU4Yy0wLjItMC4xMTUtMC40NDUtMC4xMTUtMC42NDYsMGwtMi44MzksMS42Mzl2LTIuNjU5YzAtMC4xNjktMC4wNjgtMC4zMzUtMC4xODgtMC40NTYNCgkJcy0wLjI4Ni0wLjE4OS0wLjQ1Ni0wLjE4OWgtMi4wNTZjMS4w'+
  12665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MzczLDE0Ljc4OCwxMC4yNj'+
  12672. 'J6IE04Ljg1MSw4Ljc2OWMxLjQ2OCwwLjAwMywyLjY1NSwxLjE5LDIuNjU4LDIuNjU4Yy0wLjAwMiwxLjQ2OC0xLjE5LDIuNjU1LTIuNjU4LDIuNjU3DQoJCWMtMS40NjctMC4wMDItMi42NTUtMS4xODktMi42NTctMi42NTdDNi4xOTYsOS45NTksNy4zODMsOC43NzIsOC44NTEsOC43Njl6IE0yNy4yMTEsMjMuNTFsLTIuODQtMS42MzkNCgkJYy0wLjE5OS0wLjExNS0wLjQ0NS0wLjExNS0wLjY0NSwwcy0wLjMyMiwwLjMyOC0wLjMyMiwwLjU1OXYzLjEzMUg0Ljc4OVYxNS4zODJoMTguNjE1djIuNDk5SDEwLjEyMg0KCQljLTAuMzU1LDAtMC42NDUsMC4yODktMC42NDUsMC42NDVjMCwwLjM1Nyww'+
  12673. 'LjI4OSwwLjY0NSwwLjY0NSwwLjY0NUgyMy45OWMwLjA1NCwwLDAuMTA0LTAuMDA4LDAuMTUzLTAuMDINCgkJYzAuMDc5LTAuMDEyLDAuMTU2LTAuMDM3LDAuMjI4LTAuMDc4bDIuODQtMS42NDFWMjMuNTF6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  12674. me._ht_video_file_image__imgo.setAttribute('src',hs);
  12675. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_video_file_image;');
  12676. elo['ondragstart']=function() { return false; };
  12677. el.appendChild(elo);
  12678. el.ggId="ht_video_file_image";
  12679. el.ggDx=0;
  12680. el.ggDy=0;
  12681. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  12682. el.ggVisible=true;
  12683. el.className="ggskin ggskin_svg ";
  12684. el.ggType='svg';
  12685. hs ='';
  12686. hs+='cursor : pointer;';
  12687. hs+='height : 32px;';
  12688. hs+='left : -10000px;';
  12689. hs+='position : absolute;';
  12690. hs+='top : -10000px;';
  12691. hs+='visibility : inherit;';
  12692. hs+='width : 32px;';
  12693. hs+='pointer-events:auto;';
  12694. el.setAttribute('style',hs);
  12695. el.style[domTransform + 'Origin']='50% 50%';
  12696. me._ht_video_file_image.ggIsActive=function() {
  12697. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  12698. return this.parentNode.ggIsActive();
  12699. }
  12700. return false;
  12701. }
  12702. el.ggElementNodeId=function() {
  12703. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  12704. return this.parentNode.ggElementNodeId();
  12705. }
  12706. return me.ggNodeId;
  12707. }
  12708. me._ht_video_file_image.onmouseover=function (e) {
  12709. me._ht_video_file_image__img.style.visibility='hidden';
  12710. me._ht_video_file_image__imgo.style.visibility='inherit';
  12711. }
  12712. me._ht_video_file_image.onmouseout=function (e) {
  12713. me._ht_video_file_image__img.style.visibility='inherit';
  12714. me._ht_video_file_image__imgo.style.visibility='hidden';
  12715. }
  12716. me._ht_video_file_image.ggUpdatePosition=function (useTransition) {
  12717. if (useTransition==='undefined') {
  12718. useTransition = false;
  12719. }
  12720. if (!useTransition) {
  12721. this.style[domTransition]='none';
  12722. }
  12723. if (this.parentNode) {
  12724. var pw=this.parentNode.clientWidth;
  12725. var w=this.offsetWidth;
  12726. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  12727. var ph=this.parentNode.clientHeight;
  12728. var h=this.offsetHeight;
  12729. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  12730. }
  12731. }
  12732. me._ht_video_file.appendChild(me._ht_video_file_image);
  12733. el=me._tt_ht_video_file=document.createElement('div');
  12734. els=me._tt_ht_video_file__text=document.createElement('div');
  12735. el.className='ggskin ggskin_textdiv';
  12736. el.ggTextDiv=els;
  12737. el.ggId="tt_ht_video_file";
  12738. el.ggDx=0;
  12739. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  12740. el.ggVisible=false;
  12741. el.className="ggskin ggskin_text ";
  12742. el.ggType='text';
  12743. hs ='';
  12744. hs+='z-index: 100;';
  12745. hs+='height : 20px;';
  12746. hs+='left : -10000px;';
  12747. hs+='position : absolute;';
  12748. hs+='top : 22px;';
  12749. hs+='visibility : hidden;';
  12750. hs+='width : 100px;';
  12751. hs+='pointer-events:none;';
  12752. hs+='text-shadow: 1px 1px 4px #000000;';
  12753. el.setAttribute('style',hs);
  12754. el.style[domTransform + 'Origin']='50% 50%';
  12755. hs ='position:absolute;';
  12756. hs += 'box-sizing: border-box;';
  12757. hs+='cursor: default;';
  12758. hs+='left: 0px;';
  12759. hs+='top: 0px;';
  12760. hs+='width: auto;';
  12761. hs+='height: auto;';
  12762. hs+='pointer-events: none;';
  12763. hs+='border: 0px solid #000000;';
  12764. hs+='color: rgba(255,255,255,1);';
  12765. hs+='text-align: center;';
  12766. hs+='white-space: nowrap;';
  12767. hs+='padding: 2px 5px 2px 5px;';
  12768. hs+='overflow: hidden;';
  12769. els.setAttribute('style',hs);
  12770. els.innerHTML=me.hotspot.title;
  12771. el.appendChild(els);
  12772. me._tt_ht_video_file.ggIsActive=function() {
  12773. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  12774. return this.parentNode.ggIsActive();
  12775. }
  12776. return false;
  12777. }
  12778. el.ggElementNodeId=function() {
  12779. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  12780. return this.parentNode.ggElementNodeId();
  12781. }
  12782. return me.ggNodeId;
  12783. }
  12784. me._tt_ht_video_file.logicBlock_position = function() {
  12785. var newLogicStatePosition;
  12786. if (
  12787. (player.getIsMobile() == true)
  12788. )
  12789. {
  12790. newLogicStatePosition = 0;
  12791. }
  12792. else {
  12793. newLogicStatePosition = -1;
  12794. }
  12795. if (me._tt_ht_video_file.ggCurrentLogicStatePosition != newLogicStatePosition) {
  12796. me._tt_ht_video_file.ggCurrentLogicStatePosition = newLogicStatePosition;
  12797. me._tt_ht_video_file.style[domTransition]='left 0s, top 0s';
  12798. if (me._tt_ht_video_file.ggCurrentLogicStatePosition == 0) {
  12799. this.ggDx = 0;
  12800. me._tt_ht_video_file.style.top='-50px';
  12801. me._tt_ht_video_file.ggUpdatePosition(true);
  12802. }
  12803. else {
  12804. me._tt_ht_video_file.ggDx=0;
  12805. me._tt_ht_video_file.style.top='22px';
  12806. me._tt_ht_video_file.ggUpdatePosition(true);
  12807. }
  12808. }
  12809. }
  12810. me._tt_ht_video_file.logicBlock_visible = function() {
  12811. var newLogicStateVisible;
  12812. if (
  12813. (me.elementMouseOver['ht_video_file'] == true) &&
  12814. (me.hotspot.title != "")
  12815. )
  12816. {
  12817. newLogicStateVisible = 0;
  12818. }
  12819. else {
  12820. newLogicStateVisible = -1;
  12821. }
  12822. if (me._tt_ht_video_file.ggCurrentLogicStateVisible != newLogicStateVisible) {
  12823. me._tt_ht_video_file.ggCurrentLogicStateVisible = newLogicStateVisible;
  12824. me._tt_ht_video_file.style[domTransition]='left 0s, top 0s';
  12825. if (me._tt_ht_video_file.ggCurrentLogicStateVisible == 0) {
  12826. me._tt_ht_video_file.style.visibility=(Number(me._tt_ht_video_file.style.opacity)>0||!me._tt_ht_video_file.style.opacity)?'inherit':'hidden';
  12827. me._tt_ht_video_file.ggVisible=true;
  12828. }
  12829. else {
  12830. me._tt_ht_video_file.style.visibility="hidden";
  12831. me._tt_ht_video_file.ggVisible=false;
  12832. }
  12833. }
  12834. }
  12835. me._tt_ht_video_file.ggUpdatePosition=function (useTransition) {
  12836. if (useTransition==='undefined') {
  12837. useTransition = false;
  12838. }
  12839. if (!useTransition) {
  12840. this.style[domTransition]='none';
  12841. }
  12842. if (this.parentNode) {
  12843. var pw=this.parentNode.clientWidth;
  12844. var w=this.offsetWidth + 0;
  12845. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  12846. }
  12847. this.style[domTransition]='left 0';
  12848. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  12849. }
  12850. me._ht_video_file.appendChild(me._tt_ht_video_file);
  12851. me.__div = me._ht_video_file;
  12852. };
  12853. function SkinHotspotClass_ht_video_url(parentScope,hotspot) {
  12854. var me=this;
  12855. var flag=false;
  12856. var hs='';
  12857. me.parentScope=parentScope;
  12858. me.hotspot=hotspot;
  12859. var nodeId=String(hotspot.url);
  12860. nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):'';
  12861. me.ggUserdata=skin.player.getNodeUserdata(nodeId);
  12862. me.elementMouseDown=[];
  12863. me.elementMouseOver=[];
  12864. me.findElements=function(id,regex) {
  12865. return skin.findElements(id,regex);
  12866. }
  12867. el=me._ht_video_url=document.createElement('div');
  12868. el.ggId="ht_video_url";
  12869. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  12870. el.ggVisible=true;
  12871. el.className="ggskin ggskin_hotspot ";
  12872. el.ggType='hotspot';
  12873. hs ='';
  12874. hs+='height : 0px;';
  12875. hs+='left : 250px;';
  12876. hs+='opacity : 0;';
  12877. hs+='position : absolute;';
  12878. hs+='top : 50px;';
  12879. hs+='visibility : hidden;';
  12880. hs+='width : 0px;';
  12881. hs+='pointer-events:auto;';
  12882. el.setAttribute('style',hs);
  12883. el.style[domTransform + 'Origin']='50% 50%';
  12884. me._ht_video_url.ggIsActive=function() {
  12885. return player.getCurrentNode()==this.ggElementNodeId();
  12886. }
  12887. el.ggElementNodeId=function() {
  12888. return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
  12889. }
  12890. me._ht_video_url.logicBlock_visible = function() {
  12891. var newLogicStateVisible;
  12892. if (
  12893. (player.getVariableValue('vis_userdata') == true) ||
  12894. (player.getVariableValue('vis_image_popup') == true) ||
  12895. (player.getVariableValue('vis_info_popup') == true) ||
  12896. (player.getVariableValue('vis_video_popup_file') == true) ||
  12897. (player.getVariableValue('vis_video_popup_url') == true) ||
  12898. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  12899. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  12900. (player.getVariableValue('vis_website') == true)
  12901. )
  12902. {
  12903. newLogicStateVisible = 0;
  12904. }
  12905. else {
  12906. newLogicStateVisible = -1;
  12907. }
  12908. if (me._ht_video_url.ggCurrentLogicStateVisible != newLogicStateVisible) {
  12909. me._ht_video_url.ggCurrentLogicStateVisible = newLogicStateVisible;
  12910. me._ht_video_url.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  12911. if (me._ht_video_url.ggCurrentLogicStateVisible == 0) {
  12912. me._ht_video_url.style.visibility="hidden";
  12913. me._ht_video_url.ggVisible=false;
  12914. }
  12915. else {
  12916. me._ht_video_url.style.visibility=(Number(me._ht_video_url.style.opacity)>0||!me._ht_video_url.style.opacity)?'inherit':'hidden';
  12917. me._ht_video_url.ggVisible=true;
  12918. }
  12919. }
  12920. }
  12921. me._ht_video_url.logicBlock_alpha = function() {
  12922. var newLogicStateAlpha;
  12923. if (
  12924. (player.getVariableValue('vis_timer') == true)
  12925. )
  12926. {
  12927. newLogicStateAlpha = 0;
  12928. }
  12929. else {
  12930. newLogicStateAlpha = -1;
  12931. }
  12932. if (me._ht_video_url.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  12933. me._ht_video_url.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  12934. me._ht_video_url.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  12935. if (me._ht_video_url.ggCurrentLogicStateAlpha == 0) {
  12936. me._ht_video_url.style.visibility=me._ht_video_url.ggVisible?'inherit':'hidden';
  12937. me._ht_video_url.style.opacity=1;
  12938. }
  12939. else {
  12940. me._ht_video_url.style.visibility="hidden";
  12941. me._ht_video_url.style.opacity=0;
  12942. }
  12943. }
  12944. }
  12945. me._ht_video_url.onclick=function (e) {
  12946. skin._popup_video_url.ggInitMedia(me.hotspot.url);
  12947. player.setVariableValue('vis_video_popup_url', true);
  12948. skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
  12949. }
  12950. me._ht_video_url.ondblclick=function (e) {
  12951. skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
  12952. }
  12953. me._ht_video_url.onmouseover=function (e) {
  12954. player.setActiveHotspot(me.hotspot);
  12955. me.elementMouseOver['ht_video_url']=true;
  12956. me._tt_ht_video_url.logicBlock_visible();
  12957. skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
  12958. }
  12959. me._ht_video_url.onmouseout=function (e) {
  12960. player.setActiveHotspot(null);
  12961. me.elementMouseOver['ht_video_url']=false;
  12962. me._tt_ht_video_url.logicBlock_visible();
  12963. skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
  12964. }
  12965. me._ht_video_url.ontouchend=function (e) {
  12966. me.elementMouseOver['ht_video_url']=false;
  12967. me._tt_ht_video_url.logicBlock_visible();
  12968. }
  12969. me._ht_video_url.ggUpdatePosition=function (useTransition) {
  12970. }
  12971. el=me._ht_video_url_image=document.createElement('div');
  12972. els=me._ht_video_url_image__img=document.createElement('img');
  12973. els.className='ggskin ggskin_svg';
  12974. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  12975. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj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CSBNMTQuNzg4LDEwLjI2MmMwLjAwNC0yLjExMSwxLjcxMi0zLjgxOCwzLjgyMy0zLjgyMmMyLjExMSwwLjAwNCwzLjgxOSwxLjcxMSwzLjgyMywzLjgyMmMtMC4wMDQsMi4xMTEtMS43MTIsMy44MTktMy44MjMsMy44MjMNCgkJQzE2LjUsMTQuMDgxLDE0Ljc5MiwxMi4zNzMsMTQuNzg4LDEwLjI2MnogTTguODUxLDguNzY5YzEuNDY4LDAuMDAzLDIuNjU1LDEuMTksMi42NTgsMi42NThjLTAuMDAyLDEuNDY4LTEuMTksMi42NTUtMi42NTgsMi42NTcNCgkJYy0xLjQ2Ny0wLjAwMi0yLjY1NS0xLjE4OS0yLj'+
  12983. 'Y1Ny0yLjY1N0M2LjE5Niw5Ljk1OSw3LjM4Myw4Ljc3Miw4Ljg1MSw4Ljc2OXogTTI3LjIxMSwyMy41MWwtMi44NC0xLjYzOQ0KCQljLTAuMTk5LTAuMTE1LTAuNDQ1LTAuMTE1LTAuNjQ1LDBzLTAuMzIyLDAuMzI4LTAuMzIyLDAuNTU5djMuMTMxSDQuNzg5VjE1LjM4MmgxOC42MTV2Mi40OTlIMTAuMTIyDQoJCWMtMC4zNTUsMC0wLjY0NSwwLjI4OS0wLjY0NSwwLjY0NWMwLDAuMzU3LDAuMjg5LDAuNjQ1LDAuNjQ1LDAuNjQ1SDIzLjk5YzAuMDU0LDAsMC4xMDQtMC4wMDgsMC4xNTMtMC4wMg0KCQljMC4wNzktMC4wMTIsMC4xNTYtMC4wMzcsMC4yMjgtMC4wNzhsMi44NC0xLjY0MVYyMy41MXoi'+
  12984. 'Lz4NCgk8L2c+Cjwvc3ZnPg==';
  12985. me._ht_video_url_image__img.setAttribute('src',hs);
  12986. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_video_url_image;');
  12987. els['ondragstart']=function() { return false; };
  12988. el.appendChild(els);
  12989. el.ggSubElement = els;
  12990. elo=me._ht_video_url_image__imgo=document.createElement('img');
  12991. elo.className='ggskin ggskin_svg';
  12992. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  12993. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTYsMTYpIHNjYWxlKDEuMSkgdHJhbnNsYXRlKC0xNiwtMTYpIj4KCTxwYXRoIGQ9Ik0yOC4xNzgsMTUuNzU4Yy0wLjItMC4xMTUtMC40NDUtMC4xMTUtMC42NDYsMGwtMi44MzksMS42Mzl2LTIuNjU5YzAtMC4xNjktMC4wNjgtMC4zMzUtMC4xODgtMC40NTYNCgkJcy0wLjI4Ni0wLjE4OS0wLjQ1Ni0wLjE4OWgtMi4wNTZjMS4w'+
  12994. 'Ni0wLjkzNywxLjcyOS0yLjMwNSwxLjcyOS0zLjgzMUMyMy43MjIsNy40MzgsMjEuNDM0LD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jY1NSwxLjE5LDIuNjU4LDIuNjU4Yy0wLjAwMiwxLjQ2OC0xLjE5LDIuNjU1LTIuNjU4LDIuNjU3DQoJCWMtMS40NjctMC4wMDItMi42NTUtMS4xODktMi42NTctMi42NTdDNi4xOTYsOS45NTksNy4zODMsOC43NzIsOC44NTEsOC43Njl6IE0yNy4yMTEsMjMuNTFsLTIuODQtMS42MzkNCgkJYy0wLjE5OS0wLjExNS0wLjQ0NS0wLjExNS0wLjY0NSwwcy0wLjMyMiwwLjMyOC0wLjMyMiwwLjU1OXYzLjEzMUg0Ljc4OVYxNS4zODJoMTguNjE1djIuNDk5SDEwLjEyMg0KCQljLTAuMzU1LDAtMC42NDUsMC4yODktMC42NDUsMC42NDVjMCwwLjM1Nyww'+
  13002. 'LjI4OSwwLjY0NSwwLjY0NSwwLjY0NUgyMy45OWMwLjA1NCwwLDAuMTA0LTAuMDA4LDAuMTUzLTAuMDINCgkJYzAuMDc5LTAuMDEyLDAuMTU2LTAuMDM3LDAuMjI4LTAuMDc4bDIuODQtMS42NDFWMjMuNTF6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  13003. me._ht_video_url_image__imgo.setAttribute('src',hs);
  13004. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_video_url_image;');
  13005. elo['ondragstart']=function() { return false; };
  13006. el.appendChild(elo);
  13007. el.ggId="ht_video_url_image";
  13008. el.ggDx=0;
  13009. el.ggDy=0;
  13010. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  13011. el.ggVisible=true;
  13012. el.className="ggskin ggskin_svg ";
  13013. el.ggType='svg';
  13014. hs ='';
  13015. hs+='cursor : pointer;';
  13016. hs+='height : 32px;';
  13017. hs+='left : -10000px;';
  13018. hs+='position : absolute;';
  13019. hs+='top : -10000px;';
  13020. hs+='visibility : inherit;';
  13021. hs+='width : 32px;';
  13022. hs+='pointer-events:auto;';
  13023. el.setAttribute('style',hs);
  13024. el.style[domTransform + 'Origin']='50% 50%';
  13025. me._ht_video_url_image.ggIsActive=function() {
  13026. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  13027. return this.parentNode.ggIsActive();
  13028. }
  13029. return false;
  13030. }
  13031. el.ggElementNodeId=function() {
  13032. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  13033. return this.parentNode.ggElementNodeId();
  13034. }
  13035. return me.ggNodeId;
  13036. }
  13037. me._ht_video_url_image.onmouseover=function (e) {
  13038. me._ht_video_url_image__img.style.visibility='hidden';
  13039. me._ht_video_url_image__imgo.style.visibility='inherit';
  13040. }
  13041. me._ht_video_url_image.onmouseout=function (e) {
  13042. me._ht_video_url_image__img.style.visibility='inherit';
  13043. me._ht_video_url_image__imgo.style.visibility='hidden';
  13044. }
  13045. me._ht_video_url_image.ggUpdatePosition=function (useTransition) {
  13046. if (useTransition==='undefined') {
  13047. useTransition = false;
  13048. }
  13049. if (!useTransition) {
  13050. this.style[domTransition]='none';
  13051. }
  13052. if (this.parentNode) {
  13053. var pw=this.parentNode.clientWidth;
  13054. var w=this.offsetWidth;
  13055. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  13056. var ph=this.parentNode.clientHeight;
  13057. var h=this.offsetHeight;
  13058. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  13059. }
  13060. }
  13061. me._ht_video_url.appendChild(me._ht_video_url_image);
  13062. el=me._tt_ht_video_url=document.createElement('div');
  13063. els=me._tt_ht_video_url__text=document.createElement('div');
  13064. el.className='ggskin ggskin_textdiv';
  13065. el.ggTextDiv=els;
  13066. el.ggId="tt_ht_video_url";
  13067. el.ggDx=0;
  13068. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  13069. el.ggVisible=false;
  13070. el.className="ggskin ggskin_text ";
  13071. el.ggType='text';
  13072. hs ='';
  13073. hs+='z-index: 100;';
  13074. hs+='height : 20px;';
  13075. hs+='left : -10000px;';
  13076. hs+='position : absolute;';
  13077. hs+='top : 22px;';
  13078. hs+='visibility : hidden;';
  13079. hs+='width : 100px;';
  13080. hs+='pointer-events:none;';
  13081. hs+='text-shadow: 1px 1px 4px #000000;';
  13082. el.setAttribute('style',hs);
  13083. el.style[domTransform + 'Origin']='50% 50%';
  13084. hs ='position:absolute;';
  13085. hs += 'box-sizing: border-box;';
  13086. hs+='cursor: default;';
  13087. hs+='left: 0px;';
  13088. hs+='top: 0px;';
  13089. hs+='width: auto;';
  13090. hs+='height: auto;';
  13091. hs+='pointer-events: none;';
  13092. hs+='border: 0px solid #000000;';
  13093. hs+='color: rgba(255,255,255,1);';
  13094. hs+='text-align: center;';
  13095. hs+='white-space: nowrap;';
  13096. hs+='padding: 2px 5px 2px 5px;';
  13097. hs+='overflow: hidden;';
  13098. els.setAttribute('style',hs);
  13099. els.innerHTML=me.hotspot.title;
  13100. el.appendChild(els);
  13101. me._tt_ht_video_url.ggIsActive=function() {
  13102. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  13103. return this.parentNode.ggIsActive();
  13104. }
  13105. return false;
  13106. }
  13107. el.ggElementNodeId=function() {
  13108. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  13109. return this.parentNode.ggElementNodeId();
  13110. }
  13111. return me.ggNodeId;
  13112. }
  13113. me._tt_ht_video_url.logicBlock_position = function() {
  13114. var newLogicStatePosition;
  13115. if (
  13116. (player.getIsMobile() == true)
  13117. )
  13118. {
  13119. newLogicStatePosition = 0;
  13120. }
  13121. else {
  13122. newLogicStatePosition = -1;
  13123. }
  13124. if (me._tt_ht_video_url.ggCurrentLogicStatePosition != newLogicStatePosition) {
  13125. me._tt_ht_video_url.ggCurrentLogicStatePosition = newLogicStatePosition;
  13126. me._tt_ht_video_url.style[domTransition]='left 0s, top 0s';
  13127. if (me._tt_ht_video_url.ggCurrentLogicStatePosition == 0) {
  13128. this.ggDx = 0;
  13129. me._tt_ht_video_url.style.top='-50px';
  13130. me._tt_ht_video_url.ggUpdatePosition(true);
  13131. }
  13132. else {
  13133. me._tt_ht_video_url.ggDx=0;
  13134. me._tt_ht_video_url.style.top='22px';
  13135. me._tt_ht_video_url.ggUpdatePosition(true);
  13136. }
  13137. }
  13138. }
  13139. me._tt_ht_video_url.logicBlock_visible = function() {
  13140. var newLogicStateVisible;
  13141. if (
  13142. (me.elementMouseOver['ht_video_url'] == true) &&
  13143. (me.hotspot.title != "")
  13144. )
  13145. {
  13146. newLogicStateVisible = 0;
  13147. }
  13148. else {
  13149. newLogicStateVisible = -1;
  13150. }
  13151. if (me._tt_ht_video_url.ggCurrentLogicStateVisible != newLogicStateVisible) {
  13152. me._tt_ht_video_url.ggCurrentLogicStateVisible = newLogicStateVisible;
  13153. me._tt_ht_video_url.style[domTransition]='left 0s, top 0s';
  13154. if (me._tt_ht_video_url.ggCurrentLogicStateVisible == 0) {
  13155. me._tt_ht_video_url.style.visibility=(Number(me._tt_ht_video_url.style.opacity)>0||!me._tt_ht_video_url.style.opacity)?'inherit':'hidden';
  13156. me._tt_ht_video_url.ggVisible=true;
  13157. }
  13158. else {
  13159. me._tt_ht_video_url.style.visibility="hidden";
  13160. me._tt_ht_video_url.ggVisible=false;
  13161. }
  13162. }
  13163. }
  13164. me._tt_ht_video_url.ggUpdatePosition=function (useTransition) {
  13165. if (useTransition==='undefined') {
  13166. useTransition = false;
  13167. }
  13168. if (!useTransition) {
  13169. this.style[domTransition]='none';
  13170. }
  13171. if (this.parentNode) {
  13172. var pw=this.parentNode.clientWidth;
  13173. var w=this.offsetWidth + 0;
  13174. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  13175. }
  13176. this.style[domTransition]='left 0';
  13177. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  13178. }
  13179. me._ht_video_url.appendChild(me._tt_ht_video_url);
  13180. me.__div = me._ht_video_url;
  13181. };
  13182. function SkinHotspotClass_ht_video_vimeo(parentScope,hotspot) {
  13183. var me=this;
  13184. var flag=false;
  13185. var hs='';
  13186. me.parentScope=parentScope;
  13187. me.hotspot=hotspot;
  13188. var nodeId=String(hotspot.url);
  13189. nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):'';
  13190. me.ggUserdata=skin.player.getNodeUserdata(nodeId);
  13191. me.elementMouseDown=[];
  13192. me.elementMouseOver=[];
  13193. me.findElements=function(id,regex) {
  13194. return skin.findElements(id,regex);
  13195. }
  13196. el=me._ht_video_vimeo=document.createElement('div');
  13197. el.ggId="ht_video_vimeo";
  13198. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  13199. el.ggVisible=true;
  13200. el.className="ggskin ggskin_hotspot ";
  13201. el.ggType='hotspot';
  13202. hs ='';
  13203. hs+='height : 0px;';
  13204. hs+='left : 250px;';
  13205. hs+='opacity : 0;';
  13206. hs+='position : absolute;';
  13207. hs+='top : 50px;';
  13208. hs+='visibility : hidden;';
  13209. hs+='width : 0px;';
  13210. hs+='pointer-events:auto;';
  13211. el.setAttribute('style',hs);
  13212. el.style[domTransform + 'Origin']='50% 50%';
  13213. me._ht_video_vimeo.ggIsActive=function() {
  13214. return player.getCurrentNode()==this.ggElementNodeId();
  13215. }
  13216. el.ggElementNodeId=function() {
  13217. return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
  13218. }
  13219. me._ht_video_vimeo.logicBlock_visible = function() {
  13220. var newLogicStateVisible;
  13221. if (
  13222. (player.getVariableValue('vis_userdata') == true) ||
  13223. (player.getVariableValue('vis_image_popup') == true) ||
  13224. (player.getVariableValue('vis_info_popup') == true) ||
  13225. (player.getVariableValue('vis_video_popup_file') == true) ||
  13226. (player.getVariableValue('vis_video_popup_url') == true) ||
  13227. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  13228. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  13229. (player.getVariableValue('vis_website') == true)
  13230. )
  13231. {
  13232. newLogicStateVisible = 0;
  13233. }
  13234. else {
  13235. newLogicStateVisible = -1;
  13236. }
  13237. if (me._ht_video_vimeo.ggCurrentLogicStateVisible != newLogicStateVisible) {
  13238. me._ht_video_vimeo.ggCurrentLogicStateVisible = newLogicStateVisible;
  13239. me._ht_video_vimeo.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  13240. if (me._ht_video_vimeo.ggCurrentLogicStateVisible == 0) {
  13241. me._ht_video_vimeo.style.visibility="hidden";
  13242. me._ht_video_vimeo.ggVisible=false;
  13243. }
  13244. else {
  13245. me._ht_video_vimeo.style.visibility=(Number(me._ht_video_vimeo.style.opacity)>0||!me._ht_video_vimeo.style.opacity)?'inherit':'hidden';
  13246. me._ht_video_vimeo.ggVisible=true;
  13247. }
  13248. }
  13249. }
  13250. me._ht_video_vimeo.logicBlock_alpha = function() {
  13251. var newLogicStateAlpha;
  13252. if (
  13253. (player.getVariableValue('vis_timer') == true)
  13254. )
  13255. {
  13256. newLogicStateAlpha = 0;
  13257. }
  13258. else {
  13259. newLogicStateAlpha = -1;
  13260. }
  13261. if (me._ht_video_vimeo.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  13262. me._ht_video_vimeo.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  13263. me._ht_video_vimeo.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  13264. if (me._ht_video_vimeo.ggCurrentLogicStateAlpha == 0) {
  13265. me._ht_video_vimeo.style.visibility=me._ht_video_vimeo.ggVisible?'inherit':'hidden';
  13266. me._ht_video_vimeo.style.opacity=1;
  13267. }
  13268. else {
  13269. me._ht_video_vimeo.style.visibility="hidden";
  13270. me._ht_video_vimeo.style.opacity=0;
  13271. }
  13272. }
  13273. }
  13274. me._ht_video_vimeo.onclick=function (e) {
  13275. skin._popup_video_vimeo.ggInitMedia(me.hotspot.url);
  13276. player.setVariableValue('vis_video_popup_vimeo', true);
  13277. skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
  13278. }
  13279. me._ht_video_vimeo.ondblclick=function (e) {
  13280. skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
  13281. }
  13282. me._ht_video_vimeo.onmouseover=function (e) {
  13283. player.setActiveHotspot(me.hotspot);
  13284. me.elementMouseOver['ht_video_vimeo']=true;
  13285. me._tt_ht_video_vimeo.logicBlock_visible();
  13286. skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
  13287. }
  13288. me._ht_video_vimeo.onmouseout=function (e) {
  13289. player.setActiveHotspot(null);
  13290. me.elementMouseOver['ht_video_vimeo']=false;
  13291. me._tt_ht_video_vimeo.logicBlock_visible();
  13292. skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
  13293. }
  13294. me._ht_video_vimeo.ontouchend=function (e) {
  13295. me.elementMouseOver['ht_video_vimeo']=false;
  13296. me._tt_ht_video_vimeo.logicBlock_visible();
  13297. }
  13298. me._ht_video_vimeo.ggUpdatePosition=function (useTransition) {
  13299. }
  13300. el=me._ht_video_vimeo_image=document.createElement('div');
  13301. els=me._ht_video_vimeo_image__img=document.createElement('img');
  13302. els.className='ggskin ggskin_svg';
  13303. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  13304. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweC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OC41LDE2LjA4NiwyOC4zNzcsMTUuODczLDI4LjE3OCwxNS43NTh6DQoJCSBNMTQuNzg4LDEwLjI2MmMwLjAwNC0yLjExMSwxLjcxMi0zLjgxOCwzLjgyMy0zLjgyMmMyLjExMSwwLjAwNCwzLjgxOSwxLjcxMSwzLjgyMywzLjgyMmMtMC4wMDQsMi4xMTEtMS43MTIsMy44MTktMy44MjMsMy44MjMNCgkJQzE2LjUsMTQuMDgxLDE0Ljc5MiwxMi4zNzMsMTQuNzg4LDEwLjI2MnogTTguODUxLDguNzY5YzEuNDY4LDAuMDAzLDIuNjU1LDEuMTksMi42NTgsMi42NThjLTAuMDAyLDEuNDY4LTEuMTksMi42NTUtMi42NTgsMi42NTcNCgkJYy0xLjQ2Ny0wLjAwMi0yLjY1NS0xLjE4OS0yLj'+
  13312. 'Y1Ny0yLjY1N0M2LjE5Niw5Ljk1OSw3LjM4Myw4Ljc3Miw4Ljg1MSw4Ljc2OXogTTI3LjIxMSwyMy41MWwtMi44NC0xLjYzOQ0KCQljLTAuMTk5LTAuMTE1LTAuNDQ1LTAuMTE1LTAuNjQ1LDBzLTAuMzIyLDAuMzI4LTAuMzIyLDAuNTU5djMuMTMxSDQuNzg5VjE1LjM4MmgxOC42MTV2Mi40OTlIMTAuMTIyDQoJCWMtMC4zNTUsMC0wLjY0NSwwLjI4OS0wLjY0NSwwLjY0NWMwLDAuMzU3LDAuMjg5LDAuNjQ1LDAuNjQ1LDAuNjQ1SDIzLjk5YzAuMDU0LDAsMC4xMDQtMC4wMDgsMC4xNTMtMC4wMg0KCQljMC4wNzktMC4wMTIsMC4xNTYtMC4wMzcsMC4yMjgtMC4wNzhsMi44NC0xLjY0MVYyMy41MXoi'+
  13313. 'Lz4NCgk8L2c+Cjwvc3ZnPg==';
  13314. me._ht_video_vimeo_image__img.setAttribute('src',hs);
  13315. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_video_vimeo_image;');
  13316. els['ondragstart']=function() { return false; };
  13317. el.appendChild(els);
  13318. el.ggSubElement = els;
  13319. elo=me._ht_video_vimeo_image__imgo=document.createElement('img');
  13320. elo.className='ggskin ggskin_svg';
  13321. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  13322. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTYsMTYpIHNjYWxlKDEuMSkgdHJhbnNsYXRlKC0xNiwtMTYpIj4KCTxwYXRoIGQ9Ik0yOC4xNzgsMTUuNzU4Yy0wLjItMC4xMTUtMC40NDUtMC4xMTUtMC42NDYsMGwtMi44MzksMS42Mzl2LTIuNjU5YzAtMC4xNjktMC4wNjgtMC4zMzUtMC4xODgtMC40NTYNCgkJcy0wLjI4Ni0wLjE4OS0wLjQ1Ni0wLjE4OWgtMi4wNTZjMS4w'+
  13323. 'Ni0wLj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c4OCwxMC4yNj'+
  13330. 'J6IE04Ljg1MSw4Ljc2OWMxLjQ2OCwwLjAwMywyLjY1NSwxLjE5LDIuNjU4LDIuNjU4Yy0wLjAwMiwxLjQ2OC0xLjE5LDIuNjU1LTIuNjU4LDIuNjU3DQoJCWMtMS40NjctMC4wMDItMi42NTUtMS4xODktMi42NTctMi42NTdDNi4xOTYsOS45NTksNy4zODMsOC43NzIsOC44NTEsOC43Njl6IE0yNy4yMTEsMjMuNTFsLTIuODQtMS42MzkNCgkJYy0wLjE5OS0wLjExNS0wLjQ0NS0wLjExNS0wLjY0NSwwcy0wLjMyMiwwLjMyOC0wLjMyMiwwLjU1OXYzLjEzMUg0Ljc4OVYxNS4zODJoMTguNjE1djIuNDk5SDEwLjEyMg0KCQljLTAuMzU1LDAtMC42NDUsMC4yODktMC42NDUsMC42NDVjMCwwLjM1Nyww'+
  13331. 'LjI4OSwwLjY0NSwwLjY0NSwwLjY0NUgyMy45OWMwLjA1NCwwLDAuMTA0LTAuMDA4LDAuMTUzLTAuMDINCgkJYzAuMDc5LTAuMDEyLDAuMTU2LTAuMDM3LDAuMjI4LTAuMDc4bDIuODQtMS42NDFWMjMuNTF6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  13332. me._ht_video_vimeo_image__imgo.setAttribute('src',hs);
  13333. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_video_vimeo_image;');
  13334. elo['ondragstart']=function() { return false; };
  13335. el.appendChild(elo);
  13336. el.ggId="ht_video_vimeo_image";
  13337. el.ggDx=0;
  13338. el.ggDy=0;
  13339. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  13340. el.ggVisible=true;
  13341. el.className="ggskin ggskin_svg ";
  13342. el.ggType='svg';
  13343. hs ='';
  13344. hs+='cursor : pointer;';
  13345. hs+='height : 32px;';
  13346. hs+='left : -10000px;';
  13347. hs+='position : absolute;';
  13348. hs+='top : -10000px;';
  13349. hs+='visibility : inherit;';
  13350. hs+='width : 32px;';
  13351. hs+='pointer-events:auto;';
  13352. el.setAttribute('style',hs);
  13353. el.style[domTransform + 'Origin']='50% 50%';
  13354. me._ht_video_vimeo_image.ggIsActive=function() {
  13355. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  13356. return this.parentNode.ggIsActive();
  13357. }
  13358. return false;
  13359. }
  13360. el.ggElementNodeId=function() {
  13361. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  13362. return this.parentNode.ggElementNodeId();
  13363. }
  13364. return me.ggNodeId;
  13365. }
  13366. me._ht_video_vimeo_image.onmouseover=function (e) {
  13367. me._ht_video_vimeo_image__img.style.visibility='hidden';
  13368. me._ht_video_vimeo_image__imgo.style.visibility='inherit';
  13369. }
  13370. me._ht_video_vimeo_image.onmouseout=function (e) {
  13371. me._ht_video_vimeo_image__img.style.visibility='inherit';
  13372. me._ht_video_vimeo_image__imgo.style.visibility='hidden';
  13373. }
  13374. me._ht_video_vimeo_image.ggUpdatePosition=function (useTransition) {
  13375. if (useTransition==='undefined') {
  13376. useTransition = false;
  13377. }
  13378. if (!useTransition) {
  13379. this.style[domTransition]='none';
  13380. }
  13381. if (this.parentNode) {
  13382. var pw=this.parentNode.clientWidth;
  13383. var w=this.offsetWidth;
  13384. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  13385. var ph=this.parentNode.clientHeight;
  13386. var h=this.offsetHeight;
  13387. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  13388. }
  13389. }
  13390. me._ht_video_vimeo.appendChild(me._ht_video_vimeo_image);
  13391. el=me._tt_ht_video_vimeo=document.createElement('div');
  13392. els=me._tt_ht_video_vimeo__text=document.createElement('div');
  13393. el.className='ggskin ggskin_textdiv';
  13394. el.ggTextDiv=els;
  13395. el.ggId="tt_ht_video_vimeo";
  13396. el.ggDx=0;
  13397. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  13398. el.ggVisible=false;
  13399. el.className="ggskin ggskin_text ";
  13400. el.ggType='text';
  13401. hs ='';
  13402. hs+='z-index: 100;';
  13403. hs+='height : 20px;';
  13404. hs+='left : -10000px;';
  13405. hs+='position : absolute;';
  13406. hs+='top : 22px;';
  13407. hs+='visibility : hidden;';
  13408. hs+='width : 100px;';
  13409. hs+='pointer-events:none;';
  13410. hs+='text-shadow: 1px 1px 4px #000000;';
  13411. el.setAttribute('style',hs);
  13412. el.style[domTransform + 'Origin']='50% 50%';
  13413. hs ='position:absolute;';
  13414. hs += 'box-sizing: border-box;';
  13415. hs+='cursor: default;';
  13416. hs+='left: 0px;';
  13417. hs+='top: 0px;';
  13418. hs+='width: auto;';
  13419. hs+='height: auto;';
  13420. hs+='pointer-events: none;';
  13421. hs+='border: 0px solid #000000;';
  13422. hs+='color: rgba(255,255,255,1);';
  13423. hs+='text-align: center;';
  13424. hs+='white-space: nowrap;';
  13425. hs+='padding: 2px 5px 2px 5px;';
  13426. hs+='overflow: hidden;';
  13427. els.setAttribute('style',hs);
  13428. els.innerHTML=me.hotspot.title;
  13429. el.appendChild(els);
  13430. me._tt_ht_video_vimeo.ggIsActive=function() {
  13431. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  13432. return this.parentNode.ggIsActive();
  13433. }
  13434. return false;
  13435. }
  13436. el.ggElementNodeId=function() {
  13437. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  13438. return this.parentNode.ggElementNodeId();
  13439. }
  13440. return me.ggNodeId;
  13441. }
  13442. me._tt_ht_video_vimeo.logicBlock_position = function() {
  13443. var newLogicStatePosition;
  13444. if (
  13445. (player.getIsMobile() == true)
  13446. )
  13447. {
  13448. newLogicStatePosition = 0;
  13449. }
  13450. else {
  13451. newLogicStatePosition = -1;
  13452. }
  13453. if (me._tt_ht_video_vimeo.ggCurrentLogicStatePosition != newLogicStatePosition) {
  13454. me._tt_ht_video_vimeo.ggCurrentLogicStatePosition = newLogicStatePosition;
  13455. me._tt_ht_video_vimeo.style[domTransition]='left 0s, top 0s';
  13456. if (me._tt_ht_video_vimeo.ggCurrentLogicStatePosition == 0) {
  13457. this.ggDx = 0;
  13458. me._tt_ht_video_vimeo.style.top='-50px';
  13459. me._tt_ht_video_vimeo.ggUpdatePosition(true);
  13460. }
  13461. else {
  13462. me._tt_ht_video_vimeo.ggDx=0;
  13463. me._tt_ht_video_vimeo.style.top='22px';
  13464. me._tt_ht_video_vimeo.ggUpdatePosition(true);
  13465. }
  13466. }
  13467. }
  13468. me._tt_ht_video_vimeo.logicBlock_visible = function() {
  13469. var newLogicStateVisible;
  13470. if (
  13471. (me.elementMouseOver['ht_video_vimeo'] == true) &&
  13472. (me.hotspot.title != "")
  13473. )
  13474. {
  13475. newLogicStateVisible = 0;
  13476. }
  13477. else {
  13478. newLogicStateVisible = -1;
  13479. }
  13480. if (me._tt_ht_video_vimeo.ggCurrentLogicStateVisible != newLogicStateVisible) {
  13481. me._tt_ht_video_vimeo.ggCurrentLogicStateVisible = newLogicStateVisible;
  13482. me._tt_ht_video_vimeo.style[domTransition]='left 0s, top 0s';
  13483. if (me._tt_ht_video_vimeo.ggCurrentLogicStateVisible == 0) {
  13484. me._tt_ht_video_vimeo.style.visibility=(Number(me._tt_ht_video_vimeo.style.opacity)>0||!me._tt_ht_video_vimeo.style.opacity)?'inherit':'hidden';
  13485. me._tt_ht_video_vimeo.ggVisible=true;
  13486. }
  13487. else {
  13488. me._tt_ht_video_vimeo.style.visibility="hidden";
  13489. me._tt_ht_video_vimeo.ggVisible=false;
  13490. }
  13491. }
  13492. }
  13493. me._tt_ht_video_vimeo.ggUpdatePosition=function (useTransition) {
  13494. if (useTransition==='undefined') {
  13495. useTransition = false;
  13496. }
  13497. if (!useTransition) {
  13498. this.style[domTransition]='none';
  13499. }
  13500. if (this.parentNode) {
  13501. var pw=this.parentNode.clientWidth;
  13502. var w=this.offsetWidth + 0;
  13503. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  13504. }
  13505. this.style[domTransition]='left 0';
  13506. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  13507. }
  13508. me._ht_video_vimeo.appendChild(me._tt_ht_video_vimeo);
  13509. me.__div = me._ht_video_vimeo;
  13510. };
  13511. function SkinHotspotClass_ht_video_youtube(parentScope,hotspot) {
  13512. var me=this;
  13513. var flag=false;
  13514. var hs='';
  13515. me.parentScope=parentScope;
  13516. me.hotspot=hotspot;
  13517. var nodeId=String(hotspot.url);
  13518. nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):'';
  13519. me.ggUserdata=skin.player.getNodeUserdata(nodeId);
  13520. me.elementMouseDown=[];
  13521. me.elementMouseOver=[];
  13522. me.findElements=function(id,regex) {
  13523. return skin.findElements(id,regex);
  13524. }
  13525. el=me._ht_video_youtube=document.createElement('div');
  13526. el.ggId="ht_video_youtube";
  13527. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  13528. el.ggVisible=true;
  13529. el.className="ggskin ggskin_hotspot ";
  13530. el.ggType='hotspot';
  13531. hs ='';
  13532. hs+='height : 0px;';
  13533. hs+='left : 250px;';
  13534. hs+='opacity : 0;';
  13535. hs+='position : absolute;';
  13536. hs+='top : 50px;';
  13537. hs+='visibility : hidden;';
  13538. hs+='width : 0px;';
  13539. hs+='pointer-events:auto;';
  13540. el.setAttribute('style',hs);
  13541. el.style[domTransform + 'Origin']='50% 50%';
  13542. me._ht_video_youtube.ggIsActive=function() {
  13543. return player.getCurrentNode()==this.ggElementNodeId();
  13544. }
  13545. el.ggElementNodeId=function() {
  13546. return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
  13547. }
  13548. me._ht_video_youtube.logicBlock_visible = function() {
  13549. var newLogicStateVisible;
  13550. if (
  13551. (player.getVariableValue('vis_userdata') == true) ||
  13552. (player.getVariableValue('vis_image_popup') == true) ||
  13553. (player.getVariableValue('vis_info_popup') == true) ||
  13554. (player.getVariableValue('vis_video_popup_file') == true) ||
  13555. (player.getVariableValue('vis_video_popup_url') == true) ||
  13556. (player.getVariableValue('vis_video_popup_vimeo') == true) ||
  13557. (player.getVariableValue('vis_video_popup_youtube') == true) ||
  13558. (player.getVariableValue('vis_website') == true)
  13559. )
  13560. {
  13561. newLogicStateVisible = 0;
  13562. }
  13563. else {
  13564. newLogicStateVisible = -1;
  13565. }
  13566. if (me._ht_video_youtube.ggCurrentLogicStateVisible != newLogicStateVisible) {
  13567. me._ht_video_youtube.ggCurrentLogicStateVisible = newLogicStateVisible;
  13568. me._ht_video_youtube.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  13569. if (me._ht_video_youtube.ggCurrentLogicStateVisible == 0) {
  13570. me._ht_video_youtube.style.visibility="hidden";
  13571. me._ht_video_youtube.ggVisible=false;
  13572. }
  13573. else {
  13574. me._ht_video_youtube.style.visibility=(Number(me._ht_video_youtube.style.opacity)>0||!me._ht_video_youtube.style.opacity)?'inherit':'hidden';
  13575. me._ht_video_youtube.ggVisible=true;
  13576. }
  13577. }
  13578. }
  13579. me._ht_video_youtube.logicBlock_alpha = function() {
  13580. var newLogicStateAlpha;
  13581. if (
  13582. (player.getVariableValue('vis_timer') == true)
  13583. )
  13584. {
  13585. newLogicStateAlpha = 0;
  13586. }
  13587. else {
  13588. newLogicStateAlpha = -1;
  13589. }
  13590. if (me._ht_video_youtube.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  13591. me._ht_video_youtube.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  13592. me._ht_video_youtube.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  13593. if (me._ht_video_youtube.ggCurrentLogicStateAlpha == 0) {
  13594. me._ht_video_youtube.style.visibility=me._ht_video_youtube.ggVisible?'inherit':'hidden';
  13595. me._ht_video_youtube.style.opacity=1;
  13596. }
  13597. else {
  13598. me._ht_video_youtube.style.visibility="hidden";
  13599. me._ht_video_youtube.style.opacity=0;
  13600. }
  13601. }
  13602. }
  13603. me._ht_video_youtube.onclick=function (e) {
  13604. skin._popup_video_youtube.ggInitMedia(me.hotspot.url);
  13605. player.setVariableValue('vis_video_popup_youtube', true);
  13606. skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
  13607. }
  13608. me._ht_video_youtube.ondblclick=function (e) {
  13609. skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
  13610. }
  13611. me._ht_video_youtube.onmouseover=function (e) {
  13612. player.setActiveHotspot(me.hotspot);
  13613. me.elementMouseOver['ht_video_youtube']=true;
  13614. me._tt_ht_video_youtube.logicBlock_visible();
  13615. skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
  13616. }
  13617. me._ht_video_youtube.onmouseout=function (e) {
  13618. player.setActiveHotspot(null);
  13619. me.elementMouseOver['ht_video_youtube']=false;
  13620. me._tt_ht_video_youtube.logicBlock_visible();
  13621. skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
  13622. }
  13623. me._ht_video_youtube.ontouchend=function (e) {
  13624. me.elementMouseOver['ht_video_youtube']=false;
  13625. me._tt_ht_video_youtube.logicBlock_visible();
  13626. }
  13627. me._ht_video_youtube.ggUpdatePosition=function (useTransition) {
  13628. }
  13629. el=me._ht_video_youtube_image=document.createElement('div');
  13630. els=me._ht_video_youtube_image__img=document.createElement('img');
  13631. els.className='ggskin ggskin_svg';
  13632. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0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Xoi'+
  13642. 'Lz4NCgk8L2c+Cjwvc3ZnPg==';
  13643. me._ht_video_youtube_image__img.setAttribute('src',hs);
  13644. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;ht_video_youtube_image;');
  13645. els['ondragstart']=function() { return false; };
  13646. el.appendChild(els);
  13647. el.ggSubElement = els;
  13648. elo=me._ht_video_youtube_image__imgo=document.createElement('img');
  13649. elo.className='ggskin ggskin_svg';
  13650. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xIEJhc2ljLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLWJhc2ljLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBiYXNlUHJvZmlsZT0iYmFzaWMiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJCQl4PSIwcHgiIH'+
  13651. 'k9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjM0MzQzNDIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTYsMTYpIHNjYWxlKDEuMSkgdHJhbnNsYXRlKC0xNiwtMTYpIj4KCTxwYXRoIGQ9Ik0yOC4xNzgsMTUuNzU4Yy0wLjItMC4xMTUtMC40NDUtMC4xMTU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sMy44MjMtMy44MjJjMi4xMTEsMC4wMDQsMy44MTksMS43MTEsMy44MjMsMy44MjJjLTAuMDA0LDIuMTExLTEuNzEyLDMuODE5LTMuODIzLDMuODIzDQoJCUMxNi41LDE0LjA4MSwxNC43OTIsMTIuMzczLDE0Ljc4OCwxMC4yNj'+
  13659. 'J6IE04Ljg1MSw4Ljc2OWMxLjQ2OCwwLjAwMywyLjY1NSwxLjE5LDIuNjU4LDIuNjU4Yy0wLjAwMiwxLjQ2OC0xLjE5LDIuNjU1LTIuNjU4LDIuNjU3DQoJCWMtMS40NjctMC4wMDItMi42NTUtMS4xODktMi42NTctMi42NTdDNi4xOTYsOS45NTksNy4zODMsOC43NzIsOC44NTEsOC43Njl6IE0yNy4yMTEsMjMuNTFsLTIuODQtMS42MzkNCgkJYy0wLjE5OS0wLjExNS0wLjQ0NS0wLjExNS0wLjY0NSwwcy0wLjMyMiwwLjMyOC0wLjMyMiwwLjU1OXYzLjEzMUg0Ljc4OVYxNS4zODJoMTguNjE1djIuNDk5SDEwLjEyMg0KCQljLTAuMzU1LDAtMC42NDUsMC4yODktMC42NDUsMC42NDVjMCwwLjM1Nyww'+
  13660. 'LjI4OSwwLjY0NSwwLjY0NSwwLjY0NUgyMy45OWMwLjA1NCwwLDAuMTA0LTAuMDA4LDAuMTUzLTAuMDINCgkJYzAuMDc5LTAuMDEyLDAuMTU2LTAuMDM3LDAuMjI4LTAuMDc4bDIuODQtMS42NDFWMjMuNTF6Ii8+DQoJPC9nPgo8L3N2Zz4=';
  13661. me._ht_video_youtube_image__imgo.setAttribute('src',hs);
  13662. elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;ht_video_youtube_image;');
  13663. elo['ondragstart']=function() { return false; };
  13664. el.appendChild(elo);
  13665. el.ggId="ht_video_youtube_image";
  13666. el.ggDx=0;
  13667. el.ggDy=0;
  13668. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  13669. el.ggVisible=true;
  13670. el.className="ggskin ggskin_svg ";
  13671. el.ggType='svg';
  13672. hs ='';
  13673. hs+='cursor : pointer;';
  13674. hs+='height : 32px;';
  13675. hs+='left : -10000px;';
  13676. hs+='position : absolute;';
  13677. hs+='top : -10000px;';
  13678. hs+='visibility : inherit;';
  13679. hs+='width : 32px;';
  13680. hs+='pointer-events:auto;';
  13681. el.setAttribute('style',hs);
  13682. el.style[domTransform + 'Origin']='50% 50%';
  13683. me._ht_video_youtube_image.ggIsActive=function() {
  13684. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  13685. return this.parentNode.ggIsActive();
  13686. }
  13687. return false;
  13688. }
  13689. el.ggElementNodeId=function() {
  13690. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  13691. return this.parentNode.ggElementNodeId();
  13692. }
  13693. return me.ggNodeId;
  13694. }
  13695. me._ht_video_youtube_image.onmouseover=function (e) {
  13696. me._ht_video_youtube_image__img.style.visibility='hidden';
  13697. me._ht_video_youtube_image__imgo.style.visibility='inherit';
  13698. }
  13699. me._ht_video_youtube_image.onmouseout=function (e) {
  13700. me._ht_video_youtube_image__img.style.visibility='inherit';
  13701. me._ht_video_youtube_image__imgo.style.visibility='hidden';
  13702. }
  13703. me._ht_video_youtube_image.ggUpdatePosition=function (useTransition) {
  13704. if (useTransition==='undefined') {
  13705. useTransition = false;
  13706. }
  13707. if (!useTransition) {
  13708. this.style[domTransition]='none';
  13709. }
  13710. if (this.parentNode) {
  13711. var pw=this.parentNode.clientWidth;
  13712. var w=this.offsetWidth;
  13713. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  13714. var ph=this.parentNode.clientHeight;
  13715. var h=this.offsetHeight;
  13716. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  13717. }
  13718. }
  13719. me._ht_video_youtube.appendChild(me._ht_video_youtube_image);
  13720. el=me._tt_ht_video_youtube=document.createElement('div');
  13721. els=me._tt_ht_video_youtube__text=document.createElement('div');
  13722. el.className='ggskin ggskin_textdiv';
  13723. el.ggTextDiv=els;
  13724. el.ggId="tt_ht_video_youtube";
  13725. el.ggDx=0;
  13726. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  13727. el.ggVisible=false;
  13728. el.className="ggskin ggskin_text ";
  13729. el.ggType='text';
  13730. hs ='';
  13731. hs+='z-index: 100;';
  13732. hs+='height : 20px;';
  13733. hs+='left : -10000px;';
  13734. hs+='position : absolute;';
  13735. hs+='top : 22px;';
  13736. hs+='visibility : hidden;';
  13737. hs+='width : 100px;';
  13738. hs+='pointer-events:none;';
  13739. hs+='text-shadow: 1px 1px 4px #000000;';
  13740. el.setAttribute('style',hs);
  13741. el.style[domTransform + 'Origin']='50% 50%';
  13742. hs ='position:absolute;';
  13743. hs += 'box-sizing: border-box;';
  13744. hs+='cursor: default;';
  13745. hs+='left: 0px;';
  13746. hs+='top: 0px;';
  13747. hs+='width: auto;';
  13748. hs+='height: auto;';
  13749. hs+='pointer-events: none;';
  13750. hs+='border: 0px solid #000000;';
  13751. hs+='color: rgba(255,255,255,1);';
  13752. hs+='text-align: center;';
  13753. hs+='white-space: nowrap;';
  13754. hs+='padding: 2px 5px 2px 5px;';
  13755. hs+='overflow: hidden;';
  13756. els.setAttribute('style',hs);
  13757. els.innerHTML=me.hotspot.title;
  13758. el.appendChild(els);
  13759. me._tt_ht_video_youtube.ggIsActive=function() {
  13760. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  13761. return this.parentNode.ggIsActive();
  13762. }
  13763. return false;
  13764. }
  13765. el.ggElementNodeId=function() {
  13766. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  13767. return this.parentNode.ggElementNodeId();
  13768. }
  13769. return me.ggNodeId;
  13770. }
  13771. me._tt_ht_video_youtube.logicBlock_position = function() {
  13772. var newLogicStatePosition;
  13773. if (
  13774. (player.getIsMobile() == true)
  13775. )
  13776. {
  13777. newLogicStatePosition = 0;
  13778. }
  13779. else {
  13780. newLogicStatePosition = -1;
  13781. }
  13782. if (me._tt_ht_video_youtube.ggCurrentLogicStatePosition != newLogicStatePosition) {
  13783. me._tt_ht_video_youtube.ggCurrentLogicStatePosition = newLogicStatePosition;
  13784. me._tt_ht_video_youtube.style[domTransition]='left 0s, top 0s';
  13785. if (me._tt_ht_video_youtube.ggCurrentLogicStatePosition == 0) {
  13786. this.ggDx = 0;
  13787. me._tt_ht_video_youtube.style.top='-50px';
  13788. me._tt_ht_video_youtube.ggUpdatePosition(true);
  13789. }
  13790. else {
  13791. me._tt_ht_video_youtube.ggDx=0;
  13792. me._tt_ht_video_youtube.style.top='22px';
  13793. me._tt_ht_video_youtube.ggUpdatePosition(true);
  13794. }
  13795. }
  13796. }
  13797. me._tt_ht_video_youtube.logicBlock_visible = function() {
  13798. var newLogicStateVisible;
  13799. if (
  13800. (me.elementMouseOver['ht_video_youtube'] == true) &&
  13801. (me.hotspot.title != "")
  13802. )
  13803. {
  13804. newLogicStateVisible = 0;
  13805. }
  13806. else {
  13807. newLogicStateVisible = -1;
  13808. }
  13809. if (me._tt_ht_video_youtube.ggCurrentLogicStateVisible != newLogicStateVisible) {
  13810. me._tt_ht_video_youtube.ggCurrentLogicStateVisible = newLogicStateVisible;
  13811. me._tt_ht_video_youtube.style[domTransition]='left 0s, top 0s';
  13812. if (me._tt_ht_video_youtube.ggCurrentLogicStateVisible == 0) {
  13813. me._tt_ht_video_youtube.style.visibility=(Number(me._tt_ht_video_youtube.style.opacity)>0||!me._tt_ht_video_youtube.style.opacity)?'inherit':'hidden';
  13814. me._tt_ht_video_youtube.ggVisible=true;
  13815. }
  13816. else {
  13817. me._tt_ht_video_youtube.style.visibility="hidden";
  13818. me._tt_ht_video_youtube.ggVisible=false;
  13819. }
  13820. }
  13821. }
  13822. me._tt_ht_video_youtube.ggUpdatePosition=function (useTransition) {
  13823. if (useTransition==='undefined') {
  13824. useTransition = false;
  13825. }
  13826. if (!useTransition) {
  13827. this.style[domTransition]='none';
  13828. }
  13829. if (this.parentNode) {
  13830. var pw=this.parentNode.clientWidth;
  13831. var w=this.offsetWidth + 0;
  13832. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  13833. }
  13834. this.style[domTransition]='left 0';
  13835. this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
  13836. }
  13837. me._ht_video_youtube.appendChild(me._tt_ht_video_youtube);
  13838. me.__div = me._ht_video_youtube;
  13839. };
  13840. me.addSkinHotspot=function(hotspot) {
  13841. var hsinst = null;
  13842. if (hotspot.skinid=='ht_node') {
  13843. hotspot.skinid = 'ht_node';
  13844. hsinst = new SkinHotspotClass_ht_node(me, hotspot);
  13845. if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
  13846. hotspotTemplates[hotspot.skinid] = [];
  13847. }
  13848. hotspotTemplates[hotspot.skinid].push(hsinst);
  13849. me.callChildLogicBlocksHotspot_ht_node_changenodeid();;
  13850. me.callChildLogicBlocksHotspot_ht_node_configloaded();;
  13851. me.callChildLogicBlocksHotspot_ht_node_mouseover();;
  13852. me.callChildLogicBlocksHotspot_ht_node_active();;
  13853. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_timer();;
  13854. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_userdata();;
  13855. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_image_popup();;
  13856. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_info_popup();;
  13857. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_video_popup_file();;
  13858. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_video_popup_url();;
  13859. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_video_popup_vimeo();;
  13860. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_video_popup_youtube();;
  13861. me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_website();;
  13862. me.callChildLogicBlocksHotspot_ht_node_varchanged_opt_hotspot_preview();;
  13863. } else
  13864. if (hotspot.skinid=='ht_url') {
  13865. hotspot.skinid = 'ht_url';
  13866. hsinst = new SkinHotspotClass_ht_url(me, hotspot);
  13867. if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
  13868. hotspotTemplates[hotspot.skinid] = [];
  13869. }
  13870. hotspotTemplates[hotspot.skinid].push(hsinst);
  13871. me.callChildLogicBlocksHotspot_ht_url_changenodeid();;
  13872. me.callChildLogicBlocksHotspot_ht_url_configloaded();;
  13873. me.callChildLogicBlocksHotspot_ht_url_mouseover();;
  13874. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_timer();;
  13875. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_userdata();;
  13876. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_image_popup();;
  13877. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_info_popup();;
  13878. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_video_popup_file();;
  13879. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_video_popup_url();;
  13880. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_video_popup_vimeo();;
  13881. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_video_popup_youtube();;
  13882. me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_website();;
  13883. me.callChildLogicBlocksHotspot_ht_url_varchanged_opt_url();;
  13884. } else
  13885. if (hotspot.skinid=='ht_info') {
  13886. hotspot.skinid = 'ht_info';
  13887. hsinst = new SkinHotspotClass_ht_info(me, hotspot);
  13888. if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
  13889. hotspotTemplates[hotspot.skinid] = [];
  13890. }
  13891. hotspotTemplates[hotspot.skinid].push(hsinst);
  13892. me.callChildLogicBlocksHotspot_ht_info_changenodeid();;
  13893. me.callChildLogicBlocksHotspot_ht_info_configloaded();;
  13894. me.callChildLogicBlocksHotspot_ht_info_mouseover();;
  13895. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_timer();;
  13896. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_userdata();;
  13897. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_image_popup();;
  13898. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_info_popup();;
  13899. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_video_popup_file();;
  13900. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_video_popup_url();;
  13901. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_video_popup_vimeo();;
  13902. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_video_popup_youtube();;
  13903. me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_website();;
  13904. } else
  13905. if (hotspot.skinid=='ht_image') {
  13906. hotspot.skinid = 'ht_image';
  13907. hsinst = new SkinHotspotClass_ht_image(me, hotspot);
  13908. if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
  13909. hotspotTemplates[hotspot.skinid] = [];
  13910. }
  13911. hotspotTemplates[hotspot.skinid].push(hsinst);
  13912. me.callChildLogicBlocksHotspot_ht_image_changenodeid();;
  13913. me.callChildLogicBlocksHotspot_ht_image_configloaded();;
  13914. me.callChildLogicBlocksHotspot_ht_image_mouseover();;
  13915. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_timer();;
  13916. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_userdata();;
  13917. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_image_popup();;
  13918. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_info_popup();;
  13919. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_video_popup_file();;
  13920. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_video_popup_url();;
  13921. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_video_popup_vimeo();;
  13922. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_video_popup_youtube();;
  13923. me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_website();;
  13924. } else
  13925. if (hotspot.skinid=='ht_video_file') {
  13926. hotspot.skinid = 'ht_video_file';
  13927. hsinst = new SkinHotspotClass_ht_video_file(me, hotspot);
  13928. if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
  13929. hotspotTemplates[hotspot.skinid] = [];
  13930. }
  13931. hotspotTemplates[hotspot.skinid].push(hsinst);
  13932. me.callChildLogicBlocksHotspot_ht_video_file_changenodeid();;
  13933. me.callChildLogicBlocksHotspot_ht_video_file_configloaded();;
  13934. me.callChildLogicBlocksHotspot_ht_video_file_mouseover();;
  13935. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_timer();;
  13936. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_userdata();;
  13937. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_image_popup();;
  13938. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_info_popup();;
  13939. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_video_popup_file();;
  13940. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_video_popup_url();;
  13941. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_video_popup_vimeo();;
  13942. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_video_popup_youtube();;
  13943. me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_website();;
  13944. } else
  13945. if (hotspot.skinid=='ht_video_url') {
  13946. hotspot.skinid = 'ht_video_url';
  13947. hsinst = new SkinHotspotClass_ht_video_url(me, hotspot);
  13948. if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
  13949. hotspotTemplates[hotspot.skinid] = [];
  13950. }
  13951. hotspotTemplates[hotspot.skinid].push(hsinst);
  13952. me.callChildLogicBlocksHotspot_ht_video_url_changenodeid();;
  13953. me.callChildLogicBlocksHotspot_ht_video_url_configloaded();;
  13954. me.callChildLogicBlocksHotspot_ht_video_url_mouseover();;
  13955. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_timer();;
  13956. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_userdata();;
  13957. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_image_popup();;
  13958. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_info_popup();;
  13959. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_video_popup_file();;
  13960. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_video_popup_url();;
  13961. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_video_popup_vimeo();;
  13962. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_video_popup_youtube();;
  13963. me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_website();;
  13964. } else
  13965. if (hotspot.skinid=='ht_video_vimeo') {
  13966. hotspot.skinid = 'ht_video_vimeo';
  13967. hsinst = new SkinHotspotClass_ht_video_vimeo(me, hotspot);
  13968. if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
  13969. hotspotTemplates[hotspot.skinid] = [];
  13970. }
  13971. hotspotTemplates[hotspot.skinid].push(hsinst);
  13972. me.callChildLogicBlocksHotspot_ht_video_vimeo_changenodeid();;
  13973. me.callChildLogicBlocksHotspot_ht_video_vimeo_configloaded();;
  13974. me.callChildLogicBlocksHotspot_ht_video_vimeo_mouseover();;
  13975. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_timer();;
  13976. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_userdata();;
  13977. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_image_popup();;
  13978. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_info_popup();;
  13979. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_video_popup_file();;
  13980. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_video_popup_url();;
  13981. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_video_popup_vimeo();;
  13982. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_video_popup_youtube();;
  13983. me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_website();;
  13984. } else
  13985. {
  13986. hotspot.skinid = 'ht_video_youtube';
  13987. hsinst = new SkinHotspotClass_ht_video_youtube(me, hotspot);
  13988. if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
  13989. hotspotTemplates[hotspot.skinid] = [];
  13990. }
  13991. hotspotTemplates[hotspot.skinid].push(hsinst);
  13992. me.callChildLogicBlocksHotspot_ht_video_youtube_changenodeid();;
  13993. me.callChildLogicBlocksHotspot_ht_video_youtube_configloaded();;
  13994. me.callChildLogicBlocksHotspot_ht_video_youtube_mouseover();;
  13995. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_timer();;
  13996. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_userdata();;
  13997. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_image_popup();;
  13998. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_info_popup();;
  13999. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_video_popup_file();;
  14000. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_video_popup_url();;
  14001. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_video_popup_vimeo();;
  14002. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_video_popup_youtube();;
  14003. me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_website();;
  14004. }
  14005. return hsinst;
  14006. }
  14007. me.removeSkinHotspots=function() {
  14008. if(hotspotTemplates['ht_node']) {
  14009. var i;
  14010. for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
  14011. hotspotTemplates['ht_node'][i] = null;
  14012. }
  14013. }
  14014. if(hotspotTemplates['ht_url']) {
  14015. var i;
  14016. for(i = 0; i < hotspotTemplates['ht_url'].length; i++) {
  14017. hotspotTemplates['ht_url'][i] = null;
  14018. }
  14019. }
  14020. if(hotspotTemplates['ht_info']) {
  14021. var i;
  14022. for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
  14023. hotspotTemplates['ht_info'][i] = null;
  14024. }
  14025. }
  14026. if(hotspotTemplates['ht_image']) {
  14027. var i;
  14028. for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
  14029. hotspotTemplates['ht_image'][i] = null;
  14030. }
  14031. }
  14032. if(hotspotTemplates['ht_video_file']) {
  14033. var i;
  14034. for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
  14035. hotspotTemplates['ht_video_file'][i] = null;
  14036. }
  14037. }
  14038. if(hotspotTemplates['ht_video_url']) {
  14039. var i;
  14040. for(i = 0; i < hotspotTemplates['ht_video_url'].length; i++) {
  14041. hotspotTemplates['ht_video_url'][i] = null;
  14042. }
  14043. }
  14044. if(hotspotTemplates['ht_video_vimeo']) {
  14045. var i;
  14046. for(i = 0; i < hotspotTemplates['ht_video_vimeo'].length; i++) {
  14047. hotspotTemplates['ht_video_vimeo'][i] = null;
  14048. }
  14049. }
  14050. if(hotspotTemplates['ht_video_youtube']) {
  14051. var i;
  14052. for(i = 0; i < hotspotTemplates['ht_video_youtube'].length; i++) {
  14053. hotspotTemplates['ht_video_youtube'][i] = null;
  14054. }
  14055. }
  14056. hotspotTemplates = [];
  14057. }
  14058. function SkinCloner_thumbnail_cloner_Class(nodeId, parentScope,ggParent,parameter) {
  14059. var me=this;
  14060. var hs='';
  14061. me.parentScope=parentScope;
  14062. me.ggParent=ggParent;
  14063. me.findElements=skin.findElements;
  14064. me.ggNodeId=nodeId;
  14065. me.ggUserdata=skin.player.getNodeUserdata(me.ggNodeId);
  14066. me.elementMouseDown={};
  14067. me.elementMouseOver={};
  14068. me.__div=document.createElement('div');
  14069. me.__div.setAttribute('style','position: absolute;width: 96px; height: 62px; visibility: inherit; overflow: visible;');
  14070. me.__div.style.left=parameter.left;
  14071. me.__div.style.top=parameter.top;
  14072. me.__div.ggIsActive = function() {
  14073. return player.getCurrentNode()==me.ggNodeId;
  14074. }
  14075. me.__div.ggElementNodeId=function() {
  14076. return me.ggNodeId;
  14077. }
  14078. el=me._thumbnail_nodeimage=document.createElement('div');
  14079. els=me._thumbnail_nodeimage__img=document.createElement('img');
  14080. els.className='ggskin ggskin_nodeimage';
  14081. els.setAttribute('src',basePath + "images/preview_nodeimage_" + nodeId + ".jpg?ts=202211062328");
  14082. el.ggNodeId=nodeId;
  14083. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;thumbnail_nodeimage;');
  14084. els.className='ggskin ggskin_nodeimage';
  14085. els['ondragstart']=function() { return false; };
  14086. el.appendChild(els);
  14087. el.ggSubElement = els;
  14088. el.ggId="thumbnail_nodeImage";
  14089. el.ggDx=0;
  14090. el.ggDy=0;
  14091. el.ggParameter={ rx:0,ry:0,a:0,sx:0.62,sy:0.58 };
  14092. el.ggVisible=true;
  14093. el.className="ggskin ggskin_nodeimage ";
  14094. el.ggType='nodeimage';
  14095. hs ='';
  14096. hs+='cursor : pointer;';
  14097. hs+='height : 90px;';
  14098. hs+='left : -10000px;';
  14099. hs+='position : absolute;';
  14100. hs+='top : -10000px;';
  14101. hs+='visibility : inherit;';
  14102. hs+='width : 140px;';
  14103. hs+='pointer-events:auto;';
  14104. el.setAttribute('style',hs);
  14105. el.style[domTransform + 'Origin']='50% 50%';
  14106. el.style[domTransform]=parameterToTransform(el.ggParameter);
  14107. me._thumbnail_nodeimage.ggIsActive=function() {
  14108. return player.getCurrentNode()==this.ggElementNodeId();
  14109. }
  14110. el.ggElementNodeId=function() {
  14111. return this.ggNodeId;
  14112. }
  14113. me._thumbnail_nodeimage.ggUpdatePosition=function (useTransition) {
  14114. if (useTransition==='undefined') {
  14115. useTransition = false;
  14116. }
  14117. if (!useTransition) {
  14118. this.style[domTransition]='none';
  14119. }
  14120. if (this.parentNode) {
  14121. var pw=this.parentNode.clientWidth;
  14122. var w=this.offsetWidth;
  14123. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  14124. var ph=this.parentNode.clientHeight;
  14125. var h=this.offsetHeight;
  14126. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  14127. }
  14128. }
  14129. me.__div.appendChild(me._thumbnail_nodeimage);
  14130. el=me._checkmark_tick=document.createElement('div');
  14131. els=me._checkmark_tick__img=document.createElement('img');
  14132. els.className='ggskin ggskin_svg';
  14133. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCIgWw0KCTwhRU5USVRZIG5zX2Zsb3dzICJodHRwOi8vbnMuYWRvYmUuY29tL0Zsb3dzLzEuMC8iPg0KCTwhRU5USVRZIG5zX2V4dGVuZCAiaHR0cDovL25zLmFkb2JlLmNvbS9FeHRlbn'+
  14134. 'NpYmlsaXR5LzEuMC8iPg0KCTwhRU5USVRZIG5zX2FpICJodHRwOi8vbnMuYWRvYmUuY29tL0Fkb2JlSWxsdXN0cmF0b3IvMTAuMC8iPg0KCTwhRU5USVRZIG5zX2dyYXBocyAiaHR0cDovL25zLmFkb2JlLmNvbS9HcmFwaHMvMS4wLyI+DQpdPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zOng9IiZuc19leHRlbmQ7IiB4bWxuczppPSImbnNfYWk7IiB4bWxuczpncmFwaD0iJm5zX2dyYXBoczsiDQoJIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOmE9Imh0dHA6Ly9ucy5hZG9iZS5jb20vQWRv'+
  14135.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uNTM2LTEuMTk2LDEuMTk2djE0LjcxOQ0KCQkJCWMwLDAuNjYsMC41MzUsMS4xOTYsMS4xOTYsMS4xOTZoMTQuNzE4YzAuNjYxLDAsMS4xOTctMC41MzYsMS4xOTctMS4xOTZ2LTEwLjQwM2wtMi4zOTMsMi4zOTNWLTI1ODMuODM3eiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPC9zdmc+DQo=';
  14145. me._checkmark_tick__img.setAttribute('src',hs);
  14146. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;checkmark_tick;');
  14147. els['ondragstart']=function() { return false; };
  14148. el.appendChild(els);
  14149. el.ggSubElement = els;
  14150. el.ggId="checkmark_tick";
  14151. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  14152. el.ggVisible=false;
  14153. el.className="ggskin ggskin_svg ";
  14154. el.ggType='svg';
  14155. hs ='';
  14156. hs+='height : 24px;';
  14157. hs+='position : absolute;';
  14158. hs+='right : 3px;';
  14159. hs+='top : 3px;';
  14160. hs+='visibility : hidden;';
  14161. hs+='width : 24px;';
  14162. hs+='pointer-events:auto;';
  14163. el.setAttribute('style',hs);
  14164. el.style[domTransform + 'Origin']='50% 50%';
  14165. me._checkmark_tick.ggIsActive=function() {
  14166. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  14167. return this.parentNode.ggIsActive();
  14168. }
  14169. return false;
  14170. }
  14171. el.ggElementNodeId=function() {
  14172. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  14173. return this.parentNode.ggElementNodeId();
  14174. }
  14175. return player.getCurrentNode();
  14176. }
  14177. me._checkmark_tick.logicBlock_visible = function() {
  14178. var newLogicStateVisible;
  14179. if (
  14180. (player.nodeVisited(me._checkmark_tick.ggElementNodeId()) == true) ||
  14181. (me._checkmark_tick.ggIsActive() == true)
  14182. )
  14183. {
  14184. newLogicStateVisible = 0;
  14185. }
  14186. else {
  14187. newLogicStateVisible = -1;
  14188. }
  14189. if (me._checkmark_tick.ggCurrentLogicStateVisible != newLogicStateVisible) {
  14190. me._checkmark_tick.ggCurrentLogicStateVisible = newLogicStateVisible;
  14191. me._checkmark_tick.style[domTransition]='';
  14192. if (me._checkmark_tick.ggCurrentLogicStateVisible == 0) {
  14193. me._checkmark_tick.style.visibility=(Number(me._checkmark_tick.style.opacity)>0||!me._checkmark_tick.style.opacity)?'inherit':'hidden';
  14194. me._checkmark_tick.ggVisible=true;
  14195. }
  14196. else {
  14197. me._checkmark_tick.style.visibility="hidden";
  14198. me._checkmark_tick.ggVisible=false;
  14199. }
  14200. }
  14201. }
  14202. me._checkmark_tick.ggUpdatePosition=function (useTransition) {
  14203. }
  14204. me.__div.appendChild(me._checkmark_tick);
  14205. el=me._thumbnail_active=document.createElement('div');
  14206. el.ggId="thumbnail_active";
  14207. el.ggDx=0;
  14208. el.ggDy=0;
  14209. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  14210. el.ggVisible=true;
  14211. el.className="ggskin ggskin_rectangle ";
  14212. el.ggType='rectangle';
  14213. hs ='';
  14214. hs+='border : 3px solid #d1d1d1;';
  14215. hs+='cursor : pointer;';
  14216. hs+='height : 51px;';
  14217. hs+='left : -10000px;';
  14218. hs+='position : absolute;';
  14219. hs+='top : -10000px;';
  14220. hs+='visibility : inherit;';
  14221. hs+='width : 85px;';
  14222. hs+='pointer-events:auto;';
  14223. el.setAttribute('style',hs);
  14224. el.style[domTransform + 'Origin']='50% 50%';
  14225. me._thumbnail_active.ggIsActive=function() {
  14226. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  14227. return this.parentNode.ggIsActive();
  14228. }
  14229. return false;
  14230. }
  14231. el.ggElementNodeId=function() {
  14232. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  14233. return this.parentNode.ggElementNodeId();
  14234. }
  14235. return player.getCurrentNode();
  14236. }
  14237. me._thumbnail_active.logicBlock_bordercolor = function() {
  14238. var newLogicStateBorderColor;
  14239. if (
  14240. (me._thumbnail_active.ggIsActive() == true)
  14241. )
  14242. {
  14243. newLogicStateBorderColor = 0;
  14244. }
  14245. else if (
  14246. (me.elementMouseOver['thumbnail_active'] == true)
  14247. )
  14248. {
  14249. newLogicStateBorderColor = 1;
  14250. }
  14251. else {
  14252. newLogicStateBorderColor = -1;
  14253. }
  14254. if (me._thumbnail_active.ggCurrentLogicStateBorderColor != newLogicStateBorderColor) {
  14255. me._thumbnail_active.ggCurrentLogicStateBorderColor = newLogicStateBorderColor;
  14256. me._thumbnail_active.style[domTransition]='border-color 0s';
  14257. if (me._thumbnail_active.ggCurrentLogicStateBorderColor == 0) {
  14258. me._thumbnail_active.style.borderColor="#ff6800";
  14259. }
  14260. else if (me._thumbnail_active.ggCurrentLogicStateBorderColor == 1) {
  14261. me._thumbnail_active.style.borderColor="#ff6800";
  14262. }
  14263. else {
  14264. me._thumbnail_active.style.borderColor="rgba(209,209,209,1)";
  14265. }
  14266. }
  14267. }
  14268. me._thumbnail_active.onclick=function (e) {
  14269. player.openNext("{"+me.ggNodeId+"}","");
  14270. }
  14271. me._thumbnail_active.onmouseover=function (e) {
  14272. me.elementMouseOver['thumbnail_active']=true;
  14273. me._thumbnail_title.logicBlock_alpha();
  14274. me._thumbnail_active.logicBlock_bordercolor();
  14275. }
  14276. me._thumbnail_active.onmouseout=function (e) {
  14277. me.elementMouseOver['thumbnail_active']=false;
  14278. me._thumbnail_title.logicBlock_alpha();
  14279. me._thumbnail_active.logicBlock_bordercolor();
  14280. }
  14281. me._thumbnail_active.ontouchend=function (e) {
  14282. me.elementMouseOver['thumbnail_active']=false;
  14283. me._thumbnail_title.logicBlock_alpha();
  14284. me._thumbnail_active.logicBlock_bordercolor();
  14285. }
  14286. me._thumbnail_active.ggUpdatePosition=function (useTransition) {
  14287. if (useTransition==='undefined') {
  14288. useTransition = false;
  14289. }
  14290. if (!useTransition) {
  14291. this.style[domTransition]='none';
  14292. }
  14293. if (this.parentNode) {
  14294. var pw=this.parentNode.clientWidth;
  14295. var w=this.offsetWidth;
  14296. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  14297. var ph=this.parentNode.clientHeight;
  14298. var h=this.offsetHeight;
  14299. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  14300. }
  14301. }
  14302. el=me._thumbnail_title=document.createElement('div');
  14303. els=me._thumbnail_title__text=document.createElement('div');
  14304. el.className='ggskin ggskin_textdiv';
  14305. el.ggTextDiv=els;
  14306. el.ggId="thumbnail_title";
  14307. el.ggDx=0;
  14308. el.ggDy=0;
  14309. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  14310. el.ggVisible=true;
  14311. el.className="ggskin ggskin_text ";
  14312. el.ggType='text';
  14313. hs ='';
  14314. hs+='cursor : pointer;';
  14315. hs+='height : 51px;';
  14316. hs+='left : -10000px;';
  14317. hs+='opacity : 0;';
  14318. hs+='position : absolute;';
  14319. hs+='top : -10000px;';
  14320. hs+='visibility : hidden;';
  14321. hs+='width : 85px;';
  14322. hs+='pointer-events:auto;';
  14323. hs+='text-shadow: 1px 1px 2px #000000;';
  14324. el.setAttribute('style',hs);
  14325. el.style[domTransform + 'Origin']='50% 50%';
  14326. hs ='position:absolute;';
  14327. hs += 'box-sizing: border-box;';
  14328. hs+='left: 0px;';
  14329. hs+='top: 0px;';
  14330. hs+='width: 85px;';
  14331. hs+='height: 51px;';
  14332. hs+='background: #000000;';
  14333. hs+='background: rgba(0,0,0,0.588235);';
  14334. hs+='border: 0px solid #000000;';
  14335. hs+='color: rgba(255,255,255,1);';
  14336. hs+='text-align: center;';
  14337. hs+='white-space: pre-wrap;';
  14338. hs+='padding: 0px 1px 0px 1px;';
  14339. hs+='overflow: hidden;';
  14340. els.setAttribute('style',hs);
  14341. els.innerHTML=me.ggUserdata.title;
  14342. el.appendChild(els);
  14343. me._thumbnail_title.ggIsActive=function() {
  14344. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  14345. return this.parentNode.ggIsActive();
  14346. }
  14347. return false;
  14348. }
  14349. el.ggElementNodeId=function() {
  14350. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  14351. return this.parentNode.ggElementNodeId();
  14352. }
  14353. return player.getCurrentNode();
  14354. }
  14355. me._thumbnail_title.logicBlock_alpha = function() {
  14356. var newLogicStateAlpha;
  14357. if (
  14358. (me.elementMouseOver['thumbnail_active'] == true) &&
  14359. (me.ggUserdata.title != "") &&
  14360. (player.getVariableValue('opt_thumbnail_tooltip') == true)
  14361. )
  14362. {
  14363. newLogicStateAlpha = 0;
  14364. }
  14365. else {
  14366. newLogicStateAlpha = -1;
  14367. }
  14368. if (me._thumbnail_title.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  14369. me._thumbnail_title.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  14370. me._thumbnail_title.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  14371. if (me._thumbnail_title.ggCurrentLogicStateAlpha == 0) {
  14372. me._thumbnail_title.style.visibility=me._thumbnail_title.ggVisible?'inherit':'hidden';
  14373. me._thumbnail_title.style.opacity=1;
  14374. }
  14375. else {
  14376. me._thumbnail_title.style.visibility="hidden";
  14377. me._thumbnail_title.style.opacity=0;
  14378. }
  14379. }
  14380. }
  14381. me._thumbnail_title.ggUpdatePosition=function (useTransition) {
  14382. if (useTransition==='undefined') {
  14383. useTransition = false;
  14384. }
  14385. if (!useTransition) {
  14386. this.style[domTransition]='none';
  14387. }
  14388. if (this.parentNode) {
  14389. var pw=this.parentNode.clientWidth;
  14390. var w=this.offsetWidth + 0;
  14391. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  14392. var ph=this.parentNode.clientHeight;
  14393. var h=this.offsetHeight;
  14394. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  14395. }
  14396. }
  14397. me._thumbnail_active.appendChild(me._thumbnail_title);
  14398. me.__div.appendChild(me._thumbnail_active);
  14399. };
  14400. function SkinCloner_thumbnail_cloner_mobile_Class(nodeId, parentScope,ggParent,parameter) {
  14401. var me=this;
  14402. var hs='';
  14403. me.parentScope=parentScope;
  14404. me.ggParent=ggParent;
  14405. me.findElements=skin.findElements;
  14406. me.ggNodeId=nodeId;
  14407. me.ggUserdata=skin.player.getNodeUserdata(me.ggNodeId);
  14408. me.elementMouseDown={};
  14409. me.elementMouseOver={};
  14410. me.__div=document.createElement('div');
  14411. me.__div.setAttribute('style','position: absolute;width: 96px; height: 62px; visibility: inherit; overflow: visible;');
  14412. me.__div.style.left=parameter.left;
  14413. me.__div.style.top=parameter.top;
  14414. me.__div.ggIsActive = function() {
  14415. return player.getCurrentNode()==me.ggNodeId;
  14416. }
  14417. me.__div.ggElementNodeId=function() {
  14418. return me.ggNodeId;
  14419. }
  14420. el=me._thumbnail_nodeimage_mobile=document.createElement('div');
  14421. els=me._thumbnail_nodeimage_mobile__img=document.createElement('img');
  14422. els.className='ggskin ggskin_nodeimage';
  14423. els.setAttribute('src',basePath + "images/preview_nodeimage_" + nodeId + ".jpg");
  14424. el.ggNodeId=nodeId;
  14425. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;thumbnail_nodeimage_mobile;');
  14426. els.className='ggskin ggskin_nodeimage';
  14427. els['ondragstart']=function() { return false; };
  14428. el.appendChild(els);
  14429. el.ggSubElement = els;
  14430. el.ggId="thumbnail_nodeImage_mobile";
  14431. el.ggDx=0;
  14432. el.ggDy=0;
  14433. el.ggParameter={ rx:0,ry:0,a:0,sx:0.62,sy:0.58 };
  14434. el.ggVisible=true;
  14435. el.className="ggskin ggskin_nodeimage ";
  14436. el.ggType='nodeimage';
  14437. hs ='';
  14438. hs+='cursor : pointer;';
  14439. hs+='height : 90px;';
  14440. hs+='left : -10000px;';
  14441. hs+='position : absolute;';
  14442. hs+='top : -10000px;';
  14443. hs+='visibility : inherit;';
  14444. hs+='width : 140px;';
  14445. hs+='pointer-events:auto;';
  14446. el.setAttribute('style',hs);
  14447. el.style[domTransform + 'Origin']='50% 50%';
  14448. el.style[domTransform]=parameterToTransform(el.ggParameter);
  14449. me._thumbnail_nodeimage_mobile.ggIsActive=function() {
  14450. return player.getCurrentNode()==this.ggElementNodeId();
  14451. }
  14452. el.ggElementNodeId=function() {
  14453. return this.ggNodeId;
  14454. }
  14455. me._thumbnail_nodeimage_mobile.ggUpdatePosition=function (useTransition) {
  14456. if (useTransition==='undefined') {
  14457. useTransition = false;
  14458. }
  14459. if (!useTransition) {
  14460. this.style[domTransition]='none';
  14461. }
  14462. if (this.parentNode) {
  14463. var pw=this.parentNode.clientWidth;
  14464. var w=this.offsetWidth;
  14465. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  14466. var ph=this.parentNode.clientHeight;
  14467. var h=this.offsetHeight;
  14468. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  14469. }
  14470. }
  14471. me.__div.appendChild(me._thumbnail_nodeimage_mobile);
  14472. el=me._checkmark_tick_mobile=document.createElement('div');
  14473. els=me._checkmark_tick_mobile__img=document.createElement('img');
  14474. els.className='ggskin ggskin_svg';
  14475. hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCIgWw0KCTwhRU5USVRZIG5zX2Zsb3dzICJodHRwOi8vbnMuYWRvYmUuY29tL0Zsb3dzLzEuMC8iPg0KCTwhRU5USVRZIG5zX2V4dGVuZCAiaHR0cDovL25zLmFkb2JlLmNvbS9FeHRlbn'+
  14476. 'NpYmls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MC42OC0wLjEzLDAuOTQtMC4zOWw5LjcxNy05LjcxNw0KCQkJCUMtMzY5NC45NTQtMjU5Ni43ODUtMzY5NC45NTQtMjU5Ny42MjYtMzY5NS40NzMtMjU5OC4xNDZ6Ii8+DQoJCQk8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxQTE3MUIiIHN0cm9rZS13aWR0aD0iMC4yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGQ9Ik0tMzY5OS45Ni0yNTgzLjgzNw0KCQkJCWgtMTIuMzI1di0xMi4zMjZoMTEuODIxbDIuMjUyLTIuMjUyYy0wLjE2Ni'+
  14486. '0wLjA4Ni0wLjM1Mi0wLjE0MS0wLjU1Mi0wLjE0MWgtMTQuNzE4Yy0wLjY2MSwwLTEuMTk2LDAuNTM2LTEuMTk2LDEuMTk2djE0LjcxOQ0KCQkJCWMwLDAuNjYsMC41MzUsMS4xOTYsMS4xOTYsMS4xOTZoMTQuNzE4YzAuNjYxLDAsMS4xOTctMC41MzYsMS4xOTctMS4xOTZ2LTEwLjQwM2wtMi4zOTMsMi4zOTNWLTI1ODMuODM3eiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPC9zdmc+DQo=';
  14487. me._checkmark_tick_mobile__img.setAttribute('src',hs);
  14488. els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;checkmark_tick_mobile;');
  14489. els['ondragstart']=function() { return false; };
  14490. el.appendChild(els);
  14491. el.ggSubElement = els;
  14492. el.ggId="checkmark_tick_mobile";
  14493. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  14494. el.ggVisible=false;
  14495. el.className="ggskin ggskin_svg ";
  14496. el.ggType='svg';
  14497. hs ='';
  14498. hs+='height : 24px;';
  14499. hs+='position : absolute;';
  14500. hs+='right : 3px;';
  14501. hs+='top : 3px;';
  14502. hs+='visibility : hidden;';
  14503. hs+='width : 24px;';
  14504. hs+='pointer-events:auto;';
  14505. el.setAttribute('style',hs);
  14506. el.style[domTransform + 'Origin']='50% 50%';
  14507. me._checkmark_tick_mobile.ggIsActive=function() {
  14508. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  14509. return this.parentNode.ggIsActive();
  14510. }
  14511. return false;
  14512. }
  14513. el.ggElementNodeId=function() {
  14514. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  14515. return this.parentNode.ggElementNodeId();
  14516. }
  14517. return player.getCurrentNode();
  14518. }
  14519. me._checkmark_tick_mobile.logicBlock_visible = function() {
  14520. var newLogicStateVisible;
  14521. if (
  14522. (player.nodeVisited(me._checkmark_tick_mobile.ggElementNodeId()) == true) ||
  14523. (me._checkmark_tick_mobile.ggIsActive() == true)
  14524. )
  14525. {
  14526. newLogicStateVisible = 0;
  14527. }
  14528. else {
  14529. newLogicStateVisible = -1;
  14530. }
  14531. if (me._checkmark_tick_mobile.ggCurrentLogicStateVisible != newLogicStateVisible) {
  14532. me._checkmark_tick_mobile.ggCurrentLogicStateVisible = newLogicStateVisible;
  14533. me._checkmark_tick_mobile.style[domTransition]='';
  14534. if (me._checkmark_tick_mobile.ggCurrentLogicStateVisible == 0) {
  14535. me._checkmark_tick_mobile.style.visibility=(Number(me._checkmark_tick_mobile.style.opacity)>0||!me._checkmark_tick_mobile.style.opacity)?'inherit':'hidden';
  14536. me._checkmark_tick_mobile.ggVisible=true;
  14537. }
  14538. else {
  14539. me._checkmark_tick_mobile.style.visibility="hidden";
  14540. me._checkmark_tick_mobile.ggVisible=false;
  14541. }
  14542. }
  14543. }
  14544. me._checkmark_tick_mobile.ggUpdatePosition=function (useTransition) {
  14545. }
  14546. me.__div.appendChild(me._checkmark_tick_mobile);
  14547. el=me._thumbnail_active_mobile=document.createElement('div');
  14548. el.ggId="thumbnail_active_mobile";
  14549. el.ggDx=0;
  14550. el.ggDy=0;
  14551. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  14552. el.ggVisible=true;
  14553. el.className="ggskin ggskin_rectangle ";
  14554. el.ggType='rectangle';
  14555. hs ='';
  14556. hs+='border : 3px solid #bebebe;';
  14557. hs+='cursor : pointer;';
  14558. hs+='height : 51px;';
  14559. hs+='left : -10000px;';
  14560. hs+='position : absolute;';
  14561. hs+='top : -10000px;';
  14562. hs+='visibility : inherit;';
  14563. hs+='width : 85px;';
  14564. hs+='pointer-events:auto;';
  14565. el.setAttribute('style',hs);
  14566. el.style[domTransform + 'Origin']='50% 50%';
  14567. me._thumbnail_active_mobile.ggIsActive=function() {
  14568. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  14569. return this.parentNode.ggIsActive();
  14570. }
  14571. return false;
  14572. }
  14573. el.ggElementNodeId=function() {
  14574. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  14575. return this.parentNode.ggElementNodeId();
  14576. }
  14577. return player.getCurrentNode();
  14578. }
  14579. me._thumbnail_active_mobile.logicBlock_bordercolor = function() {
  14580. var newLogicStateBorderColor;
  14581. if (
  14582. (me._thumbnail_active_mobile.ggIsActive() == true)
  14583. )
  14584. {
  14585. newLogicStateBorderColor = 0;
  14586. }
  14587. else if (
  14588. (me.elementMouseOver['thumbnail_active_mobile'] == true)
  14589. )
  14590. {
  14591. newLogicStateBorderColor = 1;
  14592. }
  14593. else {
  14594. newLogicStateBorderColor = -1;
  14595. }
  14596. if (me._thumbnail_active_mobile.ggCurrentLogicStateBorderColor != newLogicStateBorderColor) {
  14597. me._thumbnail_active_mobile.ggCurrentLogicStateBorderColor = newLogicStateBorderColor;
  14598. me._thumbnail_active_mobile.style[domTransition]='border-color 0s';
  14599. if (me._thumbnail_active_mobile.ggCurrentLogicStateBorderColor == 0) {
  14600. me._thumbnail_active_mobile.style.borderColor="rgba(255,255,255,1)";
  14601. }
  14602. else if (me._thumbnail_active_mobile.ggCurrentLogicStateBorderColor == 1) {
  14603. me._thumbnail_active_mobile.style.borderColor="rgba(255,255,255,1)";
  14604. }
  14605. else {
  14606. me._thumbnail_active_mobile.style.borderColor="rgba(190,190,190,1)";
  14607. }
  14608. }
  14609. }
  14610. me._thumbnail_active_mobile.onclick=function (e) {
  14611. player.openNext("{"+me.ggNodeId+"}","");
  14612. player.setVariableValue('vis_thumbnail_menu_mobile', false);
  14613. }
  14614. me._thumbnail_active_mobile.onmouseover=function (e) {
  14615. me.elementMouseOver['thumbnail_active_mobile']=true;
  14616. me._thumbnail_title_mobile.logicBlock_alpha();
  14617. me._thumbnail_active_mobile.logicBlock_bordercolor();
  14618. }
  14619. me._thumbnail_active_mobile.onmouseout=function (e) {
  14620. me.elementMouseOver['thumbnail_active_mobile']=false;
  14621. me._thumbnail_title_mobile.logicBlock_alpha();
  14622. me._thumbnail_active_mobile.logicBlock_bordercolor();
  14623. }
  14624. me._thumbnail_active_mobile.ontouchend=function (e) {
  14625. me.elementMouseOver['thumbnail_active_mobile']=false;
  14626. me._thumbnail_title_mobile.logicBlock_alpha();
  14627. me._thumbnail_active_mobile.logicBlock_bordercolor();
  14628. }
  14629. me._thumbnail_active_mobile.ggUpdatePosition=function (useTransition) {
  14630. if (useTransition==='undefined') {
  14631. useTransition = false;
  14632. }
  14633. if (!useTransition) {
  14634. this.style[domTransition]='none';
  14635. }
  14636. if (this.parentNode) {
  14637. var pw=this.parentNode.clientWidth;
  14638. var w=this.offsetWidth;
  14639. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  14640. var ph=this.parentNode.clientHeight;
  14641. var h=this.offsetHeight;
  14642. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  14643. }
  14644. }
  14645. el=me._thumbnail_title_mobile=document.createElement('div');
  14646. els=me._thumbnail_title_mobile__text=document.createElement('div');
  14647. el.className='ggskin ggskin_textdiv';
  14648. el.ggTextDiv=els;
  14649. el.ggId="thumbnail_title_mobile";
  14650. el.ggDx=0;
  14651. el.ggDy=0;
  14652. el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
  14653. el.ggVisible=true;
  14654. el.className="ggskin ggskin_text ";
  14655. el.ggType='text';
  14656. hs ='';
  14657. hs+='cursor : pointer;';
  14658. hs+='height : 51px;';
  14659. hs+='left : -10000px;';
  14660. hs+='opacity : 0;';
  14661. hs+='position : absolute;';
  14662. hs+='top : -10000px;';
  14663. hs+='visibility : hidden;';
  14664. hs+='width : 85px;';
  14665. hs+='pointer-events:auto;';
  14666. hs+='text-shadow: 1px 1px 2px #000000;';
  14667. el.setAttribute('style',hs);
  14668. el.style[domTransform + 'Origin']='50% 50%';
  14669. hs ='position:absolute;';
  14670. hs += 'box-sizing: border-box;';
  14671. hs+='left: 0px;';
  14672. hs+='top: 0px;';
  14673. hs+='width: 85px;';
  14674. hs+='height: 51px;';
  14675. hs+='background: #000000;';
  14676. hs+='background: rgba(0,0,0,0.588235);';
  14677. hs+='border: 0px solid #000000;';
  14678. hs+='color: rgba(255,255,255,1);';
  14679. hs+='text-align: center;';
  14680. hs+='white-space: pre-wrap;';
  14681. hs+='padding: 0px 1px 0px 1px;';
  14682. hs+='overflow: hidden;';
  14683. els.setAttribute('style',hs);
  14684. els.innerHTML=me.ggUserdata.title;
  14685. el.appendChild(els);
  14686. me._thumbnail_title_mobile.ggIsActive=function() {
  14687. if ((this.parentNode) && (this.parentNode.ggIsActive)) {
  14688. return this.parentNode.ggIsActive();
  14689. }
  14690. return false;
  14691. }
  14692. el.ggElementNodeId=function() {
  14693. if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
  14694. return this.parentNode.ggElementNodeId();
  14695. }
  14696. return player.getCurrentNode();
  14697. }
  14698. me._thumbnail_title_mobile.logicBlock_alpha = function() {
  14699. var newLogicStateAlpha;
  14700. if (
  14701. (me.elementMouseOver['thumbnail_active_mobile'] == true) &&
  14702. (me.ggUserdata.title != "") &&
  14703. (player.getVariableValue('opt_thumbnail_tooltip') == true)
  14704. )
  14705. {
  14706. newLogicStateAlpha = 0;
  14707. }
  14708. else {
  14709. newLogicStateAlpha = -1;
  14710. }
  14711. if (me._thumbnail_title_mobile.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
  14712. me._thumbnail_title_mobile.ggCurrentLogicStateAlpha = newLogicStateAlpha;
  14713. me._thumbnail_title_mobile.style[domTransition]='opacity 500ms ease 0ms, visibility 500ms ease 0ms';
  14714. if (me._thumbnail_title_mobile.ggCurrentLogicStateAlpha == 0) {
  14715. me._thumbnail_title_mobile.style.visibility=me._thumbnail_title_mobile.ggVisible?'inherit':'hidden';
  14716. me._thumbnail_title_mobile.style.opacity=1;
  14717. }
  14718. else {
  14719. me._thumbnail_title_mobile.style.visibility="hidden";
  14720. me._thumbnail_title_mobile.style.opacity=0;
  14721. }
  14722. }
  14723. }
  14724. me._thumbnail_title_mobile.ggUpdatePosition=function (useTransition) {
  14725. if (useTransition==='undefined') {
  14726. useTransition = false;
  14727. }
  14728. if (!useTransition) {
  14729. this.style[domTransition]='none';
  14730. }
  14731. if (this.parentNode) {
  14732. var pw=this.parentNode.clientWidth;
  14733. var w=this.offsetWidth + 0;
  14734. this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
  14735. var ph=this.parentNode.clientHeight;
  14736. var h=this.offsetHeight;
  14737. this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
  14738. }
  14739. }
  14740. me._thumbnail_active_mobile.appendChild(me._thumbnail_title_mobile);
  14741. me.__div.appendChild(me._thumbnail_active_mobile);
  14742. };
  14743. me.addSkin();
  14744. me._screentint.logicBlock_alpha();
  14745. me._tt_thumbnail_open.logicBlock_text();
  14746. me._thumbnail_menu.logicBlock_visible();
  14747. me._thumbnail_menu.logicBlock_alpha();
  14748. me._thumbnail_menu_mobile.logicBlock_visible();
  14749. me._thumbnail_menu_mobile.logicBlock_alpha();
  14750. me._loading_multires.logicBlock_visible();
  14751. me._fullscreen.logicBlock_alpha();
  14752. me._fullscreen_off.logicBlock_alpha();
  14753. me._tt_fullscreen.logicBlock_text();
  14754. me._show_controller_button.logicBlock_position();
  14755. me._controller.logicBlock_position();
  14756. me._controller.logicBlock_alpha();
  14757. me._controller_slider.logicBlock_position();
  14758. me._fullscreen_buttons.logicBlock_position();
  14759. me._fullscreen_buttons.logicBlock_visible();
  14760. me._gyro.logicBlock_position();
  14761. me._gyro.logicBlock_visible();
  14762. me._gyro_on.logicBlock_alpha();
  14763. me._gyro_off.logicBlock_alpha();
  14764. me._tt_gyro.logicBlock_text();
  14765. me._projection_buttons.logicBlock_position();
  14766. me._projection_buttons.logicBlock_visible();
  14767. me._thumbnail.logicBlock_position();
  14768. me._thumbnail.logicBlock_visible();
  14769. me._info.logicBlock_position();
  14770. me._info.logicBlock_visible();
  14771. me._autorotate_buttons.logicBlock_position();
  14772. me._autorotate_buttons.logicBlock_visible();
  14773. me._autorotate_start.logicBlock_alpha();
  14774. me._autorotate_stop.logicBlock_alpha();
  14775. me._tt_rotate.logicBlock_text();
  14776. me._zoomout.logicBlock_visible();
  14777. me._zoomin.logicBlock_visible();
  14778. me._thumbnail_menu.logicBlock_position();
  14779. me._thumbnail_menu_mobile.logicBlock_position();
  14780. me._web_page.logicBlock_visible();
  14781. me._userdata.logicBlock_visible();
  14782. me._information.logicBlock_visible();
  14783. me._image_popup.logicBlock_visible();
  14784. me._popup_image.logicBlock_visible();
  14785. me._video_popup_file.logicBlock_visible();
  14786. me._popup_video_file.logicBlock_visible();
  14787. me._video_popup_controls_file.logicBlock_visible();
  14788. me._video_popup_url.logicBlock_visible();
  14789. me._popup_video_url.logicBlock_visible();
  14790. me._video_popup_controls_url.logicBlock_visible();
  14791. me._video_popup_vimeo.logicBlock_visible();
  14792. me._popup_video_vimeo.logicBlock_visible();
  14793. me._video_popup_youtube.logicBlock_visible();
  14794. me._popup_video_youtube.logicBlock_visible();
  14795. me.__360image_gyro.logicBlock_visible();
  14796. me.__360image.logicBlock_position();
  14797. me.__360image.logicBlock_scaling();
  14798. me._phone2.logicBlock_scaling();
  14799. me._phone3.logicBlock_scaling();
  14800. me._close.logicBlock_visible();
  14801. me._loading.logicBlock_visible();
  14802. me._tt_show_controller.logicBlock_position();
  14803. me._tt_fullscreen.logicBlock_position();
  14804. me._tt_gyro.logicBlock_position();
  14805. me._tt_projection.logicBlock_position();
  14806. me._tt_thumbnail_open.logicBlock_position();
  14807. me._tt_userdata.logicBlock_position();
  14808. me._tt_rotate.logicBlock_position();
  14809. me._tt_zoomout.logicBlock_position();
  14810. me._tt_zoomin.logicBlock_position();
  14811. me._tt_projection.logicBlock_text();
  14812. player.addListener('sizechanged', function(args) { me._screentint.logicBlock_alpha();me._tt_thumbnail_open.logicBlock_text();me._thumbnail_menu.logicBlock_visible();me._thumbnail_menu.logicBlock_alpha();me._thumbnail_menu_mobile.logicBlock_visible();me._thumbnail_menu_mobile.logicBlock_alpha(); });
  14813. player.addListener('tilesready', function(args) { me._loading_multires.logicBlock_visible(); });
  14814. player.addListener('tilesrequested', function(args) { me._loading_multires.logicBlock_visible(); });
  14815. player.addListener('fullscreenenter', function(args) { me._fullscreen.logicBlock_alpha();me._fullscreen_off.logicBlock_alpha();me._tt_fullscreen.logicBlock_text(); });
  14816. player.addListener('fullscreenexit', function(args) { me._fullscreen.logicBlock_alpha();me._fullscreen_off.logicBlock_alpha();me._tt_fullscreen.logicBlock_text(); });
  14817. player.addListener('changenodeid', function(args) { me._show_controller_button.logicBlock_position();me._loading_multires.logicBlock_visible();me._screentint.logicBlock_alpha();me._controller.logicBlock_position();me._controller.logicBlock_alpha();me._controller_slider.logicBlock_position();me._fullscreen_buttons.logicBlock_position();me._fullscreen_buttons.logicBlock_visible();me._gyro.logicBlock_position();me._gyro.logicBlock_visible();me._gyro_on.logicBlock_alpha();me._gyro_off.logicBlock_alpha();me._tt_gyro.logicBlock_text();me._projection_buttons.logicBlock_position();me._projection_buttons.logicBlock_visible();me._thumbnail.logicBlock_position();me._thumbnail.logicBlock_visible();me._tt_thumbnail_open.logicBlock_text();me._info.logicBlock_position();me._info.logicBlock_visible();me._autorotate_buttons.logicBlock_position();me._autorotate_buttons.logicBlock_visible();me._autorotate_start.logicBlock_alpha();me._autorotate_stop.logicBlock_alpha();me._tt_rotate.logicBlock_text();me._zoomout.logicBlock_visible();me._zoomin.logicBlock_visible();me._thumbnail_menu.logicBlock_position();me._thumbnail_menu.logicBlock_visible();me._thumbnail_menu.logicBlock_alpha();me._thumbnail_menu_mobile.logicBlock_position();me._thumbnail_menu_mobile.logicBlock_visible();me._thumbnail_menu_mobile.logicBlock_alpha();me._web_page.logicBlock_visible();me._userdata.logicBlock_visible();me._information.logicBlock_visible();me._image_popup.logicBlock_visible();me._popup_image.logicBlock_visible();me._video_popup_file.logicBlock_visible();me._popup_video_file.logicBlock_visible();me._video_popup_controls_file.logicBlock_visible();me._video_popup_url.logicBlock_visible();me._popup_video_url.logicBlock_visible();me._video_popup_controls_url.logicBlock_visible();me._video_popup_vimeo.logicBlock_visible();me._popup_video_vimeo.logicBlock_visible();me._video_popup_youtube.logicBlock_visible();me._popup_video_youtube.logicBlock_visible();me.__360image_gyro.logicBlock_visible();me.__360image.logicBlock_position();me.__360image.logicBlock_scaling();me._phone2.logicBlock_scaling();me._phone3.logicBlock_scaling();me._close.logicBlock_visible();me._loading.logicBlock_visible(); });
  14818. player.addListener('configloaded', function(args) { me._tt_show_controller.logicBlock_position();me._fullscreen_buttons.logicBlock_visible();me._tt_fullscreen.logicBlock_position();me._gyro.logicBlock_visible();me._tt_gyro.logicBlock_position();me._tt_projection.logicBlock_position();me._thumbnail.logicBlock_visible();me._tt_thumbnail_open.logicBlock_position();me._tt_userdata.logicBlock_position();me._tt_rotate.logicBlock_position();me._tt_zoomout.logicBlock_position();me._tt_zoomin.logicBlock_position();me._thumbnail_menu.logicBlock_position();me._thumbnail_menu.logicBlock_visible();me._thumbnail_menu_mobile.logicBlock_visible();me.__360image_gyro.logicBlock_visible(); });
  14819. player.addListener('projectionchanged', function(args) { me._tt_projection.logicBlock_text(); });
  14820. player.addListener('autorotatechanged', function(args) { me._autorotate_start.logicBlock_alpha();me._autorotate_stop.logicBlock_alpha();me._tt_rotate.logicBlock_text(); });
  14821. player.addListener('gyrochanged', function(args) { me._gyro_on.logicBlock_alpha();me._gyro_off.logicBlock_alpha();me._tt_gyro.logicBlock_text(); });
  14822. player.addListener('varchanged_vis_timer', function(args) { me._controller.logicBlock_alpha();me._thumbnail_menu.logicBlock_alpha();me._thumbnail_menu_mobile.logicBlock_alpha(); });
  14823. player.addListener('varchanged_vis_userdata', function(args) { me._show_controller_button.logicBlock_position();me._screentint.logicBlock_alpha();me._controller.logicBlock_position();me._thumbnail_menu.logicBlock_position();me._thumbnail_menu_mobile.logicBlock_position();me._userdata.logicBlock_visible(); });
  14824. player.addListener('varchanged_vis_image_popup', function(args) { me._show_controller_button.logicBlock_position();me._screentint.logicBlock_alpha();me._controller.logicBlock_position();me._thumbnail_menu.logicBlock_position();me._image_popup.logicBlock_visible();me._popup_image.logicBlock_visible();me._close.logicBlock_visible(); });
  14825. player.addListener('varchanged_vis_info_popup', function(args) { me._show_controller_button.logicBlock_position();me._screentint.logicBlock_alpha();me._controller.logicBlock_position();me._thumbnail_menu.logicBlock_position();me._information.logicBlock_visible(); });
  14826. player.addListener('varchanged_vis_video_popup_file', function(args) { me._show_controller_button.logicBlock_position();me._screentint.logicBlock_alpha();me._controller.logicBlock_position();me._thumbnail_menu.logicBlock_position();me._video_popup_file.logicBlock_visible();me._popup_video_file.logicBlock_visible();me._video_popup_controls_file.logicBlock_visible();me._close.logicBlock_visible(); });
  14827. player.addListener('varchanged_vis_video_popup_url', function(args) { me._show_controller_button.logicBlock_position();me._screentint.logicBlock_alpha();me._controller.logicBlock_position();me._thumbnail_menu.logicBlock_position();me._video_popup_url.logicBlock_visible();me._popup_video_url.logicBlock_visible();me._video_popup_controls_url.logicBlock_visible();me._close.logicBlock_visible(); });
  14828. player.addListener('varchanged_vis_video_popup_vimeo', function(args) { me._show_controller_button.logicBlock_position();me._screentint.logicBlock_alpha();me._controller.logicBlock_position();me._thumbnail_menu.logicBlock_position();me._video_popup_vimeo.logicBlock_visible();me._popup_video_vimeo.logicBlock_visible();me._close.logicBlock_visible(); });
  14829. player.addListener('varchanged_vis_video_popup_youtube', function(args) { me._show_controller_button.logicBlock_position();me._screentint.logicBlock_alpha();me._controller.logicBlock_position();me._thumbnail_menu.logicBlock_position();me._video_popup_youtube.logicBlock_visible();me._popup_video_youtube.logicBlock_visible();me._close.logicBlock_visible(); });
  14830. player.addListener('varchanged_vis_website', function(args) { me._show_controller_button.logicBlock_position();me._screentint.logicBlock_alpha();me._controller.logicBlock_position();me._thumbnail_menu.logicBlock_position();me._web_page.logicBlock_visible();me._close.logicBlock_visible(); });
  14831. player.addListener('varchanged_opt_loader_mulires', function(args) { me._loading_multires.logicBlock_visible(); });
  14832. player.addListener('varchanged_vis_thumbnail_menu_mobile', function(args) { me._screentint.logicBlock_alpha();me._tt_thumbnail_open.logicBlock_text();me._thumbnail_menu_mobile.logicBlock_alpha(); });
  14833. player.addListener('varchanged_vis_thumbnail_menu_auto_hide', function(args) { me._screentint.logicBlock_alpha();me._thumbnail_menu.logicBlock_alpha();me._thumbnail_menu_mobile.logicBlock_alpha(); });
  14834. player.addListener('varchanged_opt_thumbnail', function(args) { me._thumbnail.logicBlock_visible();me._thumbnail_menu.logicBlock_visible();me._thumbnail_menu_mobile.logicBlock_visible(); });
  14835. player.addListener('varchanged_vis_thumbnail_menu_show', function(args) { me._tt_thumbnail_open.logicBlock_text();me._thumbnail_menu.logicBlock_alpha(); });
  14836. player.addListener('varchanged_opt_gyro', function(args) { me._gyro.logicBlock_visible();me.__360image_gyro.logicBlock_visible(); });
  14837. player.addListener('varchanged_vis_360image_once', function(args) { me.__360image_gyro.logicBlock_visible(); });
  14838. player.addListener('varchanged_opt_loader', function(args) { me._loading.logicBlock_visible(); });
  14839. player.addListener('varchanged_pos_controller', function(args) { me._controller_slider.logicBlock_position(); });
  14840. player.addListener('varchanged_pos_360image', function(args) { me.__360image.logicBlock_position();me.__360image.logicBlock_scaling();me._phone2.logicBlock_scaling();me._phone3.logicBlock_scaling(); });
  14841. player.addListener('varchanged_pos_fullscreen', function(args) { me._fullscreen_buttons.logicBlock_position(); });
  14842. player.addListener('varchanged_opt_fullscreen', function(args) { me._fullscreen_buttons.logicBlock_visible(); });
  14843. player.addListener('varchanged_pos_gyro', function(args) { me._gyro.logicBlock_position(); });
  14844. player.addListener('varchanged_pos_projection', function(args) { me._projection_buttons.logicBlock_position(); });
  14845. player.addListener('varchanged_opt_projection', function(args) { me._projection_buttons.logicBlock_visible(); });
  14846. player.addListener('varchanged_pos_thumbnail', function(args) { me._thumbnail.logicBlock_position(); });
  14847. player.addListener('varchanged_opt_info', function(args) { me._info.logicBlock_visible(); });
  14848. player.addListener('varchanged_pos_information', function(args) { me._info.logicBlock_position(); });
  14849. player.addListener('varchanged_opt_autorotate', function(args) { me._autorotate_buttons.logicBlock_visible(); });
  14850. player.addListener('varchanged_pos_autorotate', function(args) { me._autorotate_buttons.logicBlock_position(); });
  14851. player.addListener('varchanged_opt_zoom', function(args) { me._zoomout.logicBlock_visible();me._zoomin.logicBlock_visible(); });
  14852. player.addListener('changenodeid', function(args) { me._thumbnail_cloner.callChildLogicBlocks_changenodeid();me._thumbnail_cloner_mobile.callChildLogicBlocks_changenodeid(); });
  14853. player.addListener('mouseover', function(args) { me._thumbnail_cloner.callChildLogicBlocks_mouseover();me._thumbnail_cloner_mobile.callChildLogicBlocks_mouseover(); });
  14854. player.addListener('mouseover', function(args) { me._thumbnail_cloner.callChildLogicBlocks_mouseover();me._thumbnail_cloner_mobile.callChildLogicBlocks_mouseover(); });
  14855. player.addListener('changenodeid', function(args) { me._thumbnail_cloner.callChildLogicBlocks_active();me._thumbnail_cloner_mobile.callChildLogicBlocks_active(); });
  14856. player.addListener('varchanged_opt_thumbnail_tooltip', function(args) { me._thumbnail_cloner.callChildLogicBlocks_varchanged_opt_thumbnail_tooltip();me._thumbnail_cloner_mobile.callChildLogicBlocks_varchanged_opt_thumbnail_tooltip(); });
  14857. player.addListener('changenodeid', function(args) { me.callChildLogicBlocksHotspot_ht_node_changenodeid();me.callChildLogicBlocksHotspot_ht_url_changenodeid();me.callChildLogicBlocksHotspot_ht_info_changenodeid();me.callChildLogicBlocksHotspot_ht_image_changenodeid();me.callChildLogicBlocksHotspot_ht_video_file_changenodeid();me.callChildLogicBlocksHotspot_ht_video_url_changenodeid();me.callChildLogicBlocksHotspot_ht_video_vimeo_changenodeid();me.callChildLogicBlocksHotspot_ht_video_youtube_changenodeid(); });
  14858. player.addListener('configloaded', function(args) { me.callChildLogicBlocksHotspot_ht_node_configloaded();me.callChildLogicBlocksHotspot_ht_url_configloaded();me.callChildLogicBlocksHotspot_ht_info_configloaded();me.callChildLogicBlocksHotspot_ht_image_configloaded();me.callChildLogicBlocksHotspot_ht_video_file_configloaded();me.callChildLogicBlocksHotspot_ht_video_url_configloaded();me.callChildLogicBlocksHotspot_ht_video_vimeo_configloaded();me.callChildLogicBlocksHotspot_ht_video_youtube_configloaded(); });
  14859. player.addListener('mouseover', function(args) { me.callChildLogicBlocksHotspot_ht_node_mouseover();me.callChildLogicBlocksHotspot_ht_url_mouseover();me.callChildLogicBlocksHotspot_ht_info_mouseover();me.callChildLogicBlocksHotspot_ht_image_mouseover();me.callChildLogicBlocksHotspot_ht_video_file_mouseover();me.callChildLogicBlocksHotspot_ht_video_url_mouseover();me.callChildLogicBlocksHotspot_ht_video_vimeo_mouseover();me.callChildLogicBlocksHotspot_ht_video_youtube_mouseover(); });
  14860. player.addListener('changenodeid', function(args) { me.callChildLogicBlocksHotspot_ht_node_active(); });
  14861. player.addListener('varchanged_vis_timer', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_timer();me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_timer();me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_timer();me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_timer();me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_timer();me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_timer();me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_timer();me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_timer(); });
  14862. player.addListener('varchanged_vis_userdata', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_userdata();me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_userdata();me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_userdata();me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_userdata();me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_userdata();me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_userdata();me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_userdata();me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_userdata(); });
  14863. player.addListener('varchanged_vis_image_popup', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_image_popup(); });
  14864. player.addListener('varchanged_vis_info_popup', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_info_popup();me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_info_popup();me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_info_popup();me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_info_popup();me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_info_popup();me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_info_popup();me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_info_popup();me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_info_popup(); });
  14865. player.addListener('varchanged_vis_video_popup_file', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_video_popup_file();me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_video_popup_file();me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_video_popup_file();me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_video_popup_file();me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_video_popup_file();me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_video_popup_file();me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_video_popup_file();me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_video_popup_file(); });
  14866. player.addListener('varchanged_vis_video_popup_url', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_video_popup_url();me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_video_popup_url();me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_video_popup_url();me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_video_popup_url();me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_video_popup_url();me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_video_popup_url();me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_video_popup_url();me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_video_popup_url(); });
  14867. player.addListener('varchanged_vis_video_popup_vimeo', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_video_popup_vimeo();me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_video_popup_vimeo();me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_video_popup_vimeo();me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_video_popup_vimeo();me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_video_popup_vimeo();me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_video_popup_vimeo();me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_video_popup_vimeo();me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_video_popup_vimeo(); });
  14868. player.addListener('varchanged_vis_video_popup_youtube', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_video_popup_youtube();me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_video_popup_youtube();me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_video_popup_youtube();me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_video_popup_youtube();me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_video_popup_youtube();me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_video_popup_youtube();me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_video_popup_youtube();me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_video_popup_youtube(); });
  14869. player.addListener('varchanged_vis_website', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_vis_website();me.callChildLogicBlocksHotspot_ht_url_varchanged_vis_website();me.callChildLogicBlocksHotspot_ht_info_varchanged_vis_website();me.callChildLogicBlocksHotspot_ht_image_varchanged_vis_website();me.callChildLogicBlocksHotspot_ht_video_file_varchanged_vis_website();me.callChildLogicBlocksHotspot_ht_video_url_varchanged_vis_website();me.callChildLogicBlocksHotspot_ht_video_vimeo_varchanged_vis_website();me.callChildLogicBlocksHotspot_ht_video_youtube_varchanged_vis_website(); });
  14870. player.addListener('varchanged_opt_hotspot_preview', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_opt_hotspot_preview(); });
  14871. player.addListener('varchanged_opt_url', function(args) { me.callChildLogicBlocksHotspot_ht_url_varchanged_opt_url(); });
  14872. player.addListener('hotspotsremoved', function(args) { me.removeSkinHotspots(); });
  14873. document.addEventListener('keydown', function(e) {
  14874. var key = e.which || e.keyCode;
  14875. me.skinKeyPressed = key;
  14876. });
  14877. document.addEventListener('keyup', function(e) {
  14878. var key = e.which || e.keyCode;
  14879. me.skinKeyPressed = 0;
  14880. });
  14881. me.skinTimerEvent();
  14882. };