TDV.PlayerAPI.defineScript({ "definitions": [
 {
  "vfov": 180,
  "hfovMax": 130,
  "hfovMin": 60,
  "partial": false,
  "cardboardMenu": {
   "class": "Menu",
   "opacity": 0.4,
   "rollOverOpacity": 0.8,
   "rollOverFontColor": "#FFFFFF",
   "fontFamily": "Arial",
   "fontColor": "#FFFFFF",
   "label": "Media",
   "backgroundColor": "#404040",
   "rollOverBackgroundColor": "#000000",
   "selectedFontColor": "#FFFFFF",
   "selectedBackgroundColor": "#202020",
   "id": "Menu_E07BC41D_EE8C_3F02_41C7_CA89E106A785",
   "children": [
    {
     "click": "this.mainPlayList.set('selectedIndex', 0)",
     "class": "MenuItem",
     "label": "Wohnen"
    },
    {
     "click": "this.mainPlayList.set('selectedIndex', 1)",
     "class": "MenuItem",
     "label": "Küche"
    },
    {
     "click": "this.mainPlayList.set('selectedIndex', 2)",
     "class": "MenuItem",
     "label": "Schlafen"
    },
    {
     "click": "this.mainPlayList.set('selectedIndex', 3)",
     "class": "MenuItem",
     "label": "Kind"
    },
    {
     "click": "this.mainPlayList.set('selectedIndex', 4)",
     "class": "MenuItem",
     "label": "Bad"
    },
    {
     "click": "this.mainPlayList.set('selectedIndex', 5)",
     "class": "MenuItem",
     "label": "Flur"
    }
   ]
  },
  "frames": [
   {
    "sphere": {
     "class": "ImageResource",
     "levels": [
      {
       "class": "ImageResourceLevel",
       "url": "media/panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD_hq.jpeg",
       "width": 5000,
       "height": 2500
      },
      {
       "class": "ImageResourceLevel",
       "url": "media/panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD_lq.jpeg",
       "width": 2048,
       "tags": "preload",
       "height": 1024
      },
      {
       "class": "ImageResourceLevel",
       "url": "media/panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD.jpeg",
       "width": 4002,
       "height": 2001
      }
     ]
    },
    "class": "SphericPanoramaFrame",
    "overlays": [
     {
      "enabledInCardboard": true,
      "id": "overlay_E38343A7_EE84_D90F_4194_4D4EE1FBB8EA",
      "areas": [
       {
        "class": "HotspotPanoramaOverlayArea",
        "mapColor": "image",
        "click": "this.startPanoramaWithCamera(this.panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439, this.camera_E1DEE475_EE8C_3F02_41D1_69E7755E81DB); this.mainPlayList.set('selectedIndex', 1)"
       }
      ],
      "items": [
       {
        "pitch": -1.06,
        "yaw": -132.11,
        "image": {
         "class": "ImageResource",
         "levels": [
          {
           "class": "ImageResourceLevel",
           "url": "media/panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD_0_HS_0_0.png",
           "width": 116,
           "height": 115
          }
         ]
        },
        "hfov": 8.35,
        "class": "HotspotPanoramaOverlayImage",
        "distance": 100
       }
      ],
      "useHandCursor": true,
      "class": "HotspotPanoramaOverlay",
      "data": {
       "label": "Image"
      },
      "maps": [],
      "rollOverDisplay": false
     }
    ],
    "thumbnailUrl": "media/panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD_t.jpg"
   }
  ],
  "id": "panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD",
  "pitch": 0,
  "thumbnailUrl": "media/panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD_t.jpg",
  "hfov": 360,
  "label": "Wohnen",
  "class": "Panorama",
  "adjacentPanoramas": [
   {
    "class": "AdjacentPanorama",
    "yaw": -132.11,
    "backwardYaw": 97.5,
    "distance": 1,
    "panorama": {
     "vfov": 180,
     "hfovMax": 130,
     "hfovMin": 60,
     "partial": false,
     "cardboardMenu": "this.Menu_E07BC41D_EE8C_3F02_41C7_CA89E106A785",
     "frames": [
      {
       "sphere": {
        "class": "ImageResource",
        "levels": [
         {
          "class": "ImageResourceLevel",
          "url": "media/panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439_hq.jpeg",
          "width": 5000,
          "height": 2500
         },
         {
          "class": "ImageResourceLevel",
          "url": "media/panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439_lq.jpeg",
          "width": 2048,
          "tags": "preload",
          "height": 1024
         },
         {
          "class": "ImageResourceLevel",
          "url": "media/panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439.jpeg",
          "width": 4002,
          "height": 2001
         }
        ]
       },
       "class": "SphericPanoramaFrame",
       "overlays": [
        {
         "enabledInCardboard": true,
         "id": "overlay_E0B74E6F_EE84_6B1F_41D1_2ADFE541F90F",
         "areas": [
          {
           "class": "HotspotPanoramaOverlayArea",
           "mapColor": "image",
           "click": "this.startPanoramaWithCamera(this.panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD, this.camera_E1975431_EE8C_3F02_41AD_ABE1AEFD7075); this.mainPlayList.set('selectedIndex', 0)"
          }
         ],
         "items": [
          {
           "pitch": -0.81,
           "yaw": 97.5,
           "image": {
            "class": "ImageResource",
            "levels": [
             {
              "class": "ImageResourceLevel",
              "url": "media/panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439_0_HS_0_0.png",
              "width": 116,
              "height": 115
             }
            ]
           },
           "hfov": 8.35,
           "class": "HotspotPanoramaOverlayImage",
           "distance": 100
          }
         ],
         "useHandCursor": true,
         "class": "HotspotPanoramaOverlay",
         "data": {
          "label": "Image"
         },
         "maps": [],
         "rollOverDisplay": false
        },
        {
         "enabledInCardboard": true,
         "id": "overlay_E330D9C4_EE87_E902_41EC_07AE5D147037",
         "areas": [
          {
           "class": "HotspotPanoramaOverlayArea",
           "mapColor": "image",
           "click": "this.mainPlayList.set('selectedIndex', 5)"
          }
         ],
         "items": [
          {
           "pitch": -1.31,
           "yaw": -156.73,
           "image": {
            "class": "ImageResource",
            "levels": [
             {
              "class": "ImageResourceLevel",
              "url": "media/panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439_0_HS_1_0.png",
              "width": 116,
              "height": 115
             }
            ]
           },
           "hfov": 8.35,
           "class": "HotspotPanoramaOverlayImage",
           "distance": 100
          }
         ],
         "useHandCursor": true,
         "class": "HotspotPanoramaOverlay",
         "data": {
          "label": "Image"
         },
         "maps": [],
         "rollOverDisplay": false
        }
       ],
       "thumbnailUrl": "media/panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439_t.jpg"
      }
     ],
     "id": "panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439",
     "pitch": 0,
     "thumbnailUrl": "media/panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439_t.jpg",
     "hfov": 360,
     "label": "K\u00fcche",
     "class": "Panorama",
     "adjacentPanoramas": [
      {
       "class": "AdjacentPanorama",
       "yaw": 97.5,
       "backwardYaw": -132.11,
       "distance": 1,
       "panorama": "this.panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD"
      },
      {
       "class": "AdjacentPanorama",
       "panorama": {
        "vfov": 180,
        "hfovMax": 130,
        "hfovMin": 60,
        "partial": false,
        "cardboardMenu": "this.Menu_E07BC41D_EE8C_3F02_41C7_CA89E106A785",
        "frames": [
         {
          "sphere": {
           "class": "ImageResource",
           "levels": [
            {
             "class": "ImageResourceLevel",
             "url": "media/panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A_hq.jpeg",
             "width": 5000,
             "height": 2500
            },
            {
             "class": "ImageResourceLevel",
             "url": "media/panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A_lq.jpeg",
             "width": 2048,
             "tags": "preload",
             "height": 1024
            },
            {
             "class": "ImageResourceLevel",
             "url": "media/panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A.jpeg",
             "width": 4002,
             "height": 2001
            }
           ]
          },
          "class": "SphericPanoramaFrame",
          "overlays": [
           {
            "enabledInCardboard": true,
            "id": "overlay_E0676D1F_EE84_693F_41DF_F6AB7E0A8011",
            "areas": [
             {
              "class": "HotspotPanoramaOverlayArea",
              "mapColor": "image",
              "click": "this.startPanoramaWithCamera(this.panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39, this.camera_E1A33445_EE8C_3F02_41E7_80F8558D720F); this.mainPlayList.set('selectedIndex', 2)"
             }
            ],
            "items": [
             {
              "pitch": -5.84,
              "yaw": -169.54,
              "image": {
               "class": "ImageResource",
               "levels": [
                {
                 "class": "ImageResourceLevel",
                 "url": "media/panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A_0_HS_0_0.png",
                 "width": 116,
                 "height": 115
                }
               ]
              },
              "hfov": 8.31,
              "class": "HotspotPanoramaOverlayImage",
              "distance": 100
             }
            ],
            "useHandCursor": true,
            "class": "HotspotPanoramaOverlay",
            "data": {
             "label": "Image"
            },
            "maps": [],
            "rollOverDisplay": false
           },
           {
            "enabledInCardboard": true,
            "id": "overlay_E0AF7872_EE84_3701_41E4_BC31AC287145",
            "areas": [
             {
              "class": "HotspotPanoramaOverlayArea",
              "mapColor": "image",
              "click": "this.startPanoramaWithCamera(this.panorama_E2778828_EE7D_F701_418D_D5ACC54AD142, this.camera_E1B5C44F_EE8C_3F1E_41D0_F380BF54D614); this.mainPlayList.set('selectedIndex', 4)"
             }
            ],
            "items": [
             {
              "pitch": 0.7,
              "yaw": -66.79,
              "image": {
               "class": "ImageResource",
               "levels": [
                {
                 "class": "ImageResourceLevel",
                 "url": "media/panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A_0_HS_1_0.png",
                 "width": 116,
                 "height": 115
                }
               ]
              },
              "hfov": 8.35,
              "class": "HotspotPanoramaOverlayImage",
              "distance": 100
             }
            ],
            "useHandCursor": true,
            "class": "HotspotPanoramaOverlay",
            "data": {
             "label": "Image"
            },
            "maps": [],
            "rollOverDisplay": false
           },
           {
            "enabledInCardboard": true,
            "id": "overlay_E002A6E5_EE84_DB02_41B4_2A8BFC06005B",
            "areas": [
             {
              "class": "HotspotPanoramaOverlayArea",
              "mapColor": "image",
              "click": "this.mainPlayList.set('selectedIndex', 0)"
             }
            ],
            "items": [
             {
              "pitch": -0.56,
              "yaw": 3.8,
              "image": {
               "class": "ImageResource",
               "levels": [
                {
                 "class": "ImageResourceLevel",
                 "url": "media/panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A_0_HS_2_0.png",
                 "width": 116,
                 "height": 115
                }
               ]
              },
              "hfov": 8.35,
              "class": "HotspotPanoramaOverlayImage",
              "distance": 100
             }
            ],
            "useHandCursor": true,
            "class": "HotspotPanoramaOverlay",
            "data": {
             "label": "Image"
            },
            "maps": [],
            "rollOverDisplay": false
           },
           {
            "enabledInCardboard": true,
            "id": "overlay_E04FB4F8_EE83_DF01_41EB_FDEB8F033B9A",
            "areas": [
             {
              "class": "HotspotPanoramaOverlayArea",
              "mapColor": "image",
              "click": "this.startPanoramaWithCamera(this.panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19, this.camera_E1BF5459_EE8C_3F02_41C4_53408E951C67); this.mainPlayList.set('selectedIndex', 3)"
             }
            ],
            "items": [
             {
              "pitch": -1.31,
              "yaw": 139.71,
              "image": {
               "class": "ImageResource",
               "levels": [
                {
                 "class": "ImageResourceLevel",
                 "url": "media/panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A_0_HS_3_0.png",
                 "width": 116,
                 "height": 115
                }
               ]
              },
              "hfov": 8.35,
              "class": "HotspotPanoramaOverlayImage",
              "distance": 100
             }
            ],
            "useHandCursor": true,
            "class": "HotspotPanoramaOverlay",
            "data": {
             "label": "Image"
            },
            "maps": [],
            "rollOverDisplay": false
           }
          ],
          "thumbnailUrl": "media/panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A_t.jpg"
         }
        ],
        "id": "panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A",
        "pitch": 0,
        "thumbnailUrl": "media/panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A_t.jpg",
        "hfov": 360,
        "label": "Flur",
        "class": "Panorama",
        "adjacentPanoramas": [
         {
          "class": "AdjacentPanorama",
          "yaw": -169.54,
          "backwardYaw": -94.93,
          "distance": 1,
          "panorama": {
           "vfov": 180,
           "hfovMax": 130,
           "hfovMin": 60,
           "partial": false,
           "cardboardMenu": "this.Menu_E07BC41D_EE8C_3F02_41C7_CA89E106A785",
           "frames": [
            {
             "sphere": {
              "class": "ImageResource",
              "levels": [
               {
                "class": "ImageResourceLevel",
                "url": "media/panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39_hq.jpeg",
                "width": 5000,
                "height": 2500
               },
               {
                "class": "ImageResourceLevel",
                "url": "media/panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39_lq.jpeg",
                "width": 2048,
                "tags": "preload",
                "height": 1024
               },
               {
                "class": "ImageResourceLevel",
                "url": "media/panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39.jpeg",
                "width": 4002,
                "height": 2001
               }
              ]
             },
             "class": "SphericPanoramaFrame",
             "overlays": [
              {
               "enabledInCardboard": true,
               "id": "overlay_E0032B08_EE84_6902_41EC_6D6BD983C7C3",
               "areas": [
                {
                 "class": "HotspotPanoramaOverlayArea",
                 "mapColor": "image",
                 "click": "this.startPanoramaWithCamera(this.panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A, this.camera_E19FC43C_EE8C_3F02_41E5_0FAA5A5C0B10); this.mainPlayList.set('selectedIndex', 5)"
                }
               ],
               "items": [
                {
                 "pitch": -3.07,
                 "yaw": -94.93,
                 "image": {
                  "class": "ImageResource",
                  "levels": [
                   {
                    "class": "ImageResourceLevel",
                    "url": "media/panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39_0_HS_0_0.png",
                    "width": 116,
                    "height": 115
                   }
                  ]
                 },
                 "hfov": 8.34,
                 "class": "HotspotPanoramaOverlayImage",
                 "distance": 100
                }
               ],
               "useHandCursor": true,
               "class": "HotspotPanoramaOverlay",
               "data": {
                "label": "Image"
               },
               "maps": [],
               "rollOverDisplay": false
              }
             ],
             "thumbnailUrl": "media/panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39_t.jpg"
            }
           ],
           "id": "panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39",
           "pitch": 0,
           "thumbnailUrl": "media/panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39_t.jpg",
           "hfov": 360,
           "label": "Schlafen",
           "class": "Panorama",
           "adjacentPanoramas": [
            {
             "class": "AdjacentPanorama",
             "yaw": -94.93,
             "backwardYaw": -169.54,
             "distance": 1,
             "panorama": "this.panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A"
            }
           ]
          }
         },
         {
          "class": "AdjacentPanorama",
          "yaw": -66.79,
          "backwardYaw": 38.97,
          "distance": 1,
          "panorama": {
           "vfov": 180,
           "hfovMax": 130,
           "hfovMin": 60,
           "partial": false,
           "cardboardMenu": "this.Menu_E07BC41D_EE8C_3F02_41C7_CA89E106A785",
           "frames": [
            {
             "sphere": {
              "class": "ImageResource",
              "levels": [
               {
                "class": "ImageResourceLevel",
                "url": "media/panorama_E2778828_EE7D_F701_418D_D5ACC54AD142_hq.jpeg",
                "width": 5000,
                "height": 2500
               },
               {
                "class": "ImageResourceLevel",
                "url": "media/panorama_E2778828_EE7D_F701_418D_D5ACC54AD142_lq.jpeg",
                "width": 2048,
                "tags": "preload",
                "height": 1024
               },
               {
                "class": "ImageResourceLevel",
                "url": "media/panorama_E2778828_EE7D_F701_418D_D5ACC54AD142.jpeg",
                "width": 4002,
                "height": 2001
               }
              ]
             },
             "class": "SphericPanoramaFrame",
             "overlays": [
              {
               "enabledInCardboard": true,
               "id": "overlay_E01CB2AC_EE84_5B01_41E7_2E57F64919E7",
               "areas": [
                {
                 "class": "HotspotPanoramaOverlayArea",
                 "mapColor": "image",
                 "click": "this.startPanoramaWithCamera(this.panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A, this.camera_E1CBF46C_EE8C_3F02_41E3_674A484D7F94); this.mainPlayList.set('selectedIndex', 5)"
                }
               ],
               "items": [
                {
                 "pitch": -4.33,
                 "yaw": 38.97,
                 "image": {
                  "class": "ImageResource",
                  "levels": [
                   {
                    "class": "ImageResourceLevel",
                    "url": "media/panorama_E2778828_EE7D_F701_418D_D5ACC54AD142_0_HS_0_0.png",
                    "width": 116,
                    "height": 115
                   }
                  ]
                 },
                 "hfov": 8.33,
                 "class": "HotspotPanoramaOverlayImage",
                 "distance": 100
                }
               ],
               "useHandCursor": true,
               "class": "HotspotPanoramaOverlay",
               "data": {
                "label": "Image"
               },
               "maps": [],
               "rollOverDisplay": false
              }
             ],
             "thumbnailUrl": "media/panorama_E2778828_EE7D_F701_418D_D5ACC54AD142_t.jpg"
            }
           ],
           "id": "panorama_E2778828_EE7D_F701_418D_D5ACC54AD142",
           "pitch": 0,
           "thumbnailUrl": "media/panorama_E2778828_EE7D_F701_418D_D5ACC54AD142_t.jpg",
           "hfov": 360,
           "label": "Bad",
           "class": "Panorama",
           "adjacentPanoramas": [
            {
             "class": "AdjacentPanorama",
             "yaw": 38.97,
             "backwardYaw": -66.79,
             "distance": 1,
             "panorama": "this.panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A"
            }
           ]
          }
         },
         {
          "class": "AdjacentPanorama",
          "panorama": "this.panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD"
         },
         {
          "class": "AdjacentPanorama",
          "yaw": 139.71,
          "backwardYaw": 164.33,
          "distance": 1,
          "panorama": {
           "vfov": 180,
           "hfovMax": 130,
           "hfovMin": 60,
           "partial": false,
           "cardboardMenu": "this.Menu_E07BC41D_EE8C_3F02_41C7_CA89E106A785",
           "frames": [
            {
             "sphere": {
              "class": "ImageResource",
              "levels": [
               {
                "class": "ImageResourceLevel",
                "url": "media/panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19_hq.jpeg",
                "width": 5000,
                "height": 2500
               },
               {
                "class": "ImageResourceLevel",
                "url": "media/panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19_lq.jpeg",
                "width": 2048,
                "tags": "preload",
                "height": 1024
               },
               {
                "class": "ImageResourceLevel",
                "url": "media/panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19.jpeg",
                "width": 4002,
                "height": 2001
               }
              ]
             },
             "class": "SphericPanoramaFrame",
             "overlays": [
              {
               "enabledInCardboard": true,
               "id": "overlay_E0FEE23D_EE84_3B03_41EC_2CE175B232E1",
               "areas": [
                {
                 "class": "HotspotPanoramaOverlayArea",
                 "mapColor": "image",
                 "click": "this.startPanoramaWithCamera(this.panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A, this.camera_E1C27462_EE8C_3F06_41E4_494499CB99CB); this.mainPlayList.set('selectedIndex', 5)"
                }
               ],
               "items": [
                {
                 "pitch": -3.32,
                 "yaw": 164.33,
                 "image": {
                  "class": "ImageResource",
                  "levels": [
                   {
                    "class": "ImageResourceLevel",
                    "url": "media/panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19_0_HS_0_0.png",
                    "width": 116,
                    "height": 115
                   }
                  ]
                 },
                 "hfov": 8.34,
                 "class": "HotspotPanoramaOverlayImage",
                 "distance": 100
                }
               ],
               "useHandCursor": true,
               "class": "HotspotPanoramaOverlay",
               "data": {
                "label": "Image"
               },
               "maps": [],
               "rollOverDisplay": false
              }
             ],
             "thumbnailUrl": "media/panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19_t.jpg"
            }
           ],
           "id": "panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19",
           "pitch": 0,
           "thumbnailUrl": "media/panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19_t.jpg",
           "hfov": 360,
           "label": "Kind",
           "class": "Panorama",
           "adjacentPanoramas": [
            {
             "class": "AdjacentPanorama",
             "yaw": 164.33,
             "backwardYaw": 139.71,
             "distance": 1,
             "panorama": "this.panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A"
            }
           ]
          }
         }
        ]
       }
      }
     ]
    }
   }
  ]
 },
 {
  "id": "MainViewerPanoramaPlayer",
  "displayPlaybackBar": true,
  "viewerArea": "this.MainViewer",
  "gyroscopeVerticalDraggingEnabled": true,
  "touchControlMode": "drag_rotation",
  "class": "PanoramaPlayer",
  "buttonCardboardView": "this.IconButton_8A0F8E1B_81F5_614F_41D7_902E661BACB8",
  "mouseControlMode": "drag_acceleration"
 },
 {
  "id": "panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD_camera",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": 0,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 "this.panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439",
 {
  "id": "panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439_camera",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": 0,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 "this.panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39",
 {
  "id": "panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39_camera",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": 0,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 "this.panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19",
 {
  "id": "panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19_camera",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": 0,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 "this.panorama_E2778828_EE7D_F701_418D_D5ACC54AD142",
 {
  "id": "panorama_E2778828_EE7D_F701_418D_D5ACC54AD142_camera",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": 0,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 "this.panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A",
 {
  "id": "panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A_camera",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": 0,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 {
  "class": "PlayList",
  "id": "mainPlayList",
  "items": [
   {
    "player": "this.MainViewerPanoramaPlayer",
    "camera": "this.panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD_camera",
    "class": "PanoramaPlayListItem",
    "media": "this.panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD",
    "begin": "this.setEndToItemIndex(this.mainPlayList, 0, 1)"
   },
   {
    "player": "this.MainViewerPanoramaPlayer",
    "camera": "this.panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439_camera",
    "class": "PanoramaPlayListItem",
    "media": "this.panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439",
    "begin": "this.setEndToItemIndex(this.mainPlayList, 1, 2)"
   },
   {
    "player": "this.MainViewerPanoramaPlayer",
    "camera": "this.panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39_camera",
    "class": "PanoramaPlayListItem",
    "media": "this.panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39",
    "begin": "this.setEndToItemIndex(this.mainPlayList, 2, 3)"
   },
   {
    "player": "this.MainViewerPanoramaPlayer",
    "camera": "this.panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19_camera",
    "class": "PanoramaPlayListItem",
    "media": "this.panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19",
    "begin": "this.setEndToItemIndex(this.mainPlayList, 3, 4)"
   },
   {
    "player": "this.MainViewerPanoramaPlayer",
    "camera": "this.panorama_E2778828_EE7D_F701_418D_D5ACC54AD142_camera",
    "class": "PanoramaPlayListItem",
    "media": "this.panorama_E2778828_EE7D_F701_418D_D5ACC54AD142",
    "begin": "this.setEndToItemIndex(this.mainPlayList, 4, 5)"
   },
   {
    "end": "this.trigger('tourEnded')",
    "player": "this.MainViewerPanoramaPlayer",
    "camera": "this.panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A_camera",
    "class": "PanoramaPlayListItem",
    "media": "this.panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A",
    "begin": "this.setEndToItemIndex(this.mainPlayList, 5, 0)"
   }
  ]
 },
 {
  "class": "PlayList",
  "id": "DropDown_8CA0C9B8_81F6_A348_41C8_D16FD5D0F160_playlist",
  "items": [
   {
    "player": "this.MainViewerPanoramaPlayer",
    "camera": "this.panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD_camera",
    "class": "PanoramaPlayListItem",
    "media": "this.panorama_E599E477_EE7C_3F0F_41DD_74461B0B44BD",
    "begin": "this.setEndToItemIndex(this.DropDown_8CA0C9B8_81F6_A348_41C8_D16FD5D0F160_playlist, 0, 1)"
   },
   {
    "player": "this.MainViewerPanoramaPlayer",
    "camera": "this.panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439_camera",
    "class": "PanoramaPlayListItem",
    "media": "this.panorama_E59C096F_EE7C_291F_41ED_57EB07D6F439",
    "begin": "this.setEndToItemIndex(this.DropDown_8CA0C9B8_81F6_A348_41C8_D16FD5D0F160_playlist, 1, 2)"
   },
   {
    "player": "this.MainViewerPanoramaPlayer",
    "camera": "this.panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39_camera",
    "class": "PanoramaPlayListItem",
    "media": "this.panorama_E59E3EEF_EE7C_2B1F_41A2_F4FFD5AD4D39",
    "begin": "this.setEndToItemIndex(this.DropDown_8CA0C9B8_81F6_A348_41C8_D16FD5D0F160_playlist, 2, 3)"
   },
   {
    "player": "this.MainViewerPanoramaPlayer",
    "camera": "this.panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19_camera",
    "class": "PanoramaPlayListItem",
    "media": "this.panorama_E59D741B_EE7D_DF07_41CE_C97306C3CD19",
    "begin": "this.setEndToItemIndex(this.DropDown_8CA0C9B8_81F6_A348_41C8_D16FD5D0F160_playlist, 3, 4)"
   },
   {
    "player": "this.MainViewerPanoramaPlayer",
    "camera": "this.panorama_E2778828_EE7D_F701_418D_D5ACC54AD142_camera",
    "class": "PanoramaPlayListItem",
    "media": "this.panorama_E2778828_EE7D_F701_418D_D5ACC54AD142",
    "begin": "this.setEndToItemIndex(this.DropDown_8CA0C9B8_81F6_A348_41C8_D16FD5D0F160_playlist, 4, 5)"
   },
   {
    "player": "this.MainViewerPanoramaPlayer",
    "camera": "this.panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A_camera",
    "class": "PanoramaPlayListItem",
    "media": "this.panorama_E5AB0EB8_EE7D_EB01_41E6_13407188846A",
    "begin": "this.setEndToItemIndex(this.DropDown_8CA0C9B8_81F6_A348_41C8_D16FD5D0F160_playlist, 5, 0)"
   }
  ]
 },
 "this.Menu_E07BC41D_EE8C_3F02_41C7_CA89E106A785",
 {
  "id": "camera_E1975431_EE8C_3F02_41AD_ABE1AEFD7075",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": 47.89,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 {
  "id": "camera_E19FC43C_EE8C_3F02_41E5_0FAA5A5C0B10",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": 10.46,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 {
  "id": "camera_E1A33445_EE8C_3F02_41E7_80F8558D720F",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": 85.07,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 {
  "id": "camera_E1B5C44F_EE8C_3F1E_41D0_F380BF54D614",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": -141.03,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 {
  "id": "camera_E1BF5459_EE8C_3F02_41C4_53408E951C67",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": -15.67,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 {
  "id": "camera_E1C27462_EE8C_3F06_41E4_494499CB99CB",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": -40.29,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 {
  "id": "camera_E1CBF46C_EE8C_3F02_41E3_674A484D7F94",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": 113.21,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 },
 {
  "id": "camera_E1DEE475_EE8C_3F02_41D1_69E7755E81DB",
  "automaticZoomSpeed": 10,
  "class": "PanoramaCamera",
  "initialPosition": {
   "class": "PanoramaCameraPosition",
   "yaw": -82.5,
   "pitch": 0
  },
  "initialSequence": {
   "restartMovementOnUserInteraction": false,
   "class": "PanoramaCameraSequence",
   "movements": [
    {
     "easing": "cubic_in",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    },
    {
     "easing": "linear",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 323
    },
    {
     "easing": "cubic_out",
     "class": "DistancePanoramaCameraMovement",
     "yawSpeed": 7.96,
     "yawDelta": 18.5
    }
   ]
  }
 }
], "children": [
 {
  "toolTipTextShadowBlurRadius": 3,
  "playbackBarBorderRadius": 0,
  "toolTipFontStyle": "normal",
  "toolTipBackgroundColor": "#F6F6F6",
  "progressBarBackgroundColorRatios": [
   0
  ],
  "playbackBarHeadShadowVerticalLength": 0,
  "progressBarOpacity": 1,
  "toolTipOpacity": 1,
  "progressHeight": 10,
  "minHeight": 50,
  "progressBarBorderRadius": 0,
  "toolTipShadowBlurRadius": 3,
  "progressBarBackgroundColorDirection": "vertical",
  "toolTipFontFamily": "Arial",
  "toolTipFontWeight": "normal",
  "progressBarBorderSize": 0,
  "progressBorderSize": 0,
  "toolTipShadowColor": "#333333",
  "class": "ViewerArea",
  "paddingRight": 0,
  "transitionDuration": 500,
  "playbackBarHeadBorderSize": 0,
  "toolTipBorderSize": 1,
  "progressRight": 0,
  "playbackBarHeadOpacity": 1,
  "progressBottom": 0,
  "playbackBarHeadShadowHorizontalLength": 0,
  "progressOpacity": 1,
  "toolTipTextShadowColor": "#000000",
  "playbackBarHeadBorderRadius": 0,
  "playbackBarHeadShadowOpacity": 0.7,
  "playbackBarHeadShadowColor": "#000000",
  "playbackBarBorderColor": "#FFFFFF",
  "progressBarBackgroundColor": [
   "#3399FF"
  ],
  "progressLeft": 0,
  "playbackBarBottom": 5,
  "shadow": false,
  "propagateClick": false,
  "toolTipTextShadowOpacity": 0,
  "toolTipShadowHorizontalLength": 0,
  "progressBackgroundColor": [
   "#FFFFFF"
  ],
  "playbackBarProgressOpacity": 1,
  "playbackBarProgressBackgroundColorDirection": "vertical",
  "toolTipShadowVerticalLength": 0,
  "toolTipPaddingBottom": 4,
  "borderRadius": 0,
  "playbackBarHeight": 10,
  "playbackBarHeadShadowBlurRadius": 3,
  "playbackBarHeadWidth": 6,
  "paddingLeft": 0,
  "playbackBarBorderSize": 0,
  "playbackBarLeft": 0,
  "playbackBarHeadShadow": true,
  "toolTipPaddingLeft": 6,
  "toolTipDisplayTime": 600,
  "progressBorderColor": "#000000",
  "toolTipPaddingTop": 4,
  "transitionMode": "blending",
  "paddingTop": 0,
  "playbackBarHeadBorderColor": "#000000",
  "progressBorderRadius": 0,
  "width": "100%",
  "playbackBarBackgroundColorDirection": "vertical",
  "toolTipFontColor": "#606060",
  "playbackBarHeadBackgroundColorRatios": [
   0,
   1
  ],
  "playbackBarBackgroundOpacity": 1,
  "progressBarBorderColor": "#000000",
  "toolTipShadowOpacity": 1,
  "toolTipBorderRadius": 3,
  "toolTipPaddingRight": 6,
  "toolTipFontSize": "1.11vh",
  "playbackBarProgressBorderSize": 0,
  "playbackBarRight": 0,
  "progressBackgroundOpacity": 1,
  "playbackBarProgressBorderRadius": 0,
  "height": "100%",
  "playbackBarProgressBackgroundColorRatios": [
   0
  ],
  "playbackBarHeadBackgroundColorDirection": "vertical",
  "paddingBottom": 0,
  "playbackBarHeadHeight": 15,
  "toolTipBorderColor": "#767676",
  "id": "MainViewer",
  "progressBackgroundColorRatios": [
   0
  ],
  "playbackBarProgressBackgroundColor": [
   "#3399FF"
  ],
  "playbackBarHeadBackgroundColor": [
   "#111111",
   "#666666"
  ],
  "borderSize": 0,
  "toolTipShadowSpread": 0,
  "minWidth": 100,
  "playbackBarBackgroundColor": [
   "#FFFFFF"
  ],
  "playbackBarOpacity": 1,
  "progressBackgroundColorDirection": "vertical",
  "playbackBarProgressBorderColor": "#000000"
 },
 {
  "height": 23,
  "backgroundOpacity": 0,
  "maxWidth": 35,
  "right": "0.42%",
  "paddingLeft": 0,
  "mode": "push",
  "width": 35,
  "paddingTop": 0,
  "minHeight": 1,
  "class": "IconButton",
  "paddingRight": 0,
  "maxHeight": 23,
  "top": "0.43%",
  "cursor": "hand",
  "horizontalAlign": "center",
  "paddingBottom": 0,
  "iconURL": "skin/IconButton_8A0F8E1B_81F5_614F_41D7_902E661BACB8.png",
  "verticalAlign": "middle",
  "transparencyActive": false,
  "id": "IconButton_8A0F8E1B_81F5_614F_41D7_902E661BACB8",
  "data": {
   "name": "IconButton7201"
  },
  "shadow": false,
  "propagateClick": false,
  "borderSize": 0,
  "minWidth": 1,
  "borderRadius": 0
 },
 {
  "selectedPopUpFontColor": "#FFFFFF",
  "height": "3.618%",
  "backgroundOpacity": 0.9,
  "backgroundColor": [
   "#666666",
   "#333333"
  ],
  "paddingLeft": 5,
  "fontSize": 14,
  "popUpBackgroundOpacity": 0.9,
  "textDecoration": "none",
  "popUpFontColor": "#000000",
  "popUpBorderRadius": 0,
  "paddingTop": 0,
  "fontFamily": "Arial",
  "gap": 0,
  "minHeight": 20,
  "fontStyle": "normal",
  "playList": "this.DropDown_8CA0C9B8_81F6_A348_41C8_D16FD5D0F160_playlist",
  "fontColor": "#FFFFFF",
  "popUpShadow": false,
  "class": "DropDown",
  "paddingRight": 5,
  "backgroundColorDirection": "vertical",
  "top": "0.65%",
  "fontWeight": "normal",
  "popUpShadowBlurRadius": 6,
  "popUpShadowColor": "#000000",
  "rollOverPopUpBackgroundColor": "#FFFFFF",
  "popUpGap": 0,
  "arrowColor": "#FFFFFF",
  "paddingBottom": 0,
  "popUpShadowSpread": 1,
  "popUpShadowOpacity": 0,
  "popUpBackgroundColor": "#FFFFFF",
  "id": "DropDown_8CA0C9B8_81F6_A348_41C8_D16FD5D0F160",
  "data": {
   "name": "DropDown1204"
  },
  "shadow": false,
  "propagateClick": false,
  "backgroundColorRatios": [
   0,
   1
  ],
  "arrowBeforeLabel": false,
  "borderSize": 0,
  "minWidth": 200,
  "left": "0.24%",
  "selectedPopUpBackgroundColor": "#333333",
  "borderRadius": 4,
  "width": "11.212%"
 }
], 
 "mouseWheelEnabled": true,
 "scripts": {
  "showComponentsWhileMouseOver": function(parentComponent, components, durationVisibleWhileOut){  var setVisibility = function(visible){ for(var i = 0, length = components.length; i<length; i++){ var component = components[i]; if(component.get('class') == 'HTMLText' && (component.get('html') == '' || component.get('html') == undefined)) { continue; } component.set('visible', visible); } }; if (this.rootPlayer.get('touchEnabled') == true){ setVisibility(true); } else { var timeoutID = -1; var rollOverFunction = function(){ setVisibility(true); if(timeoutID >= 0) clearTimeout(timeoutID); parentComponent.unbind('rollOver', rollOverFunction, this); parentComponent.bind('rollOut', rollOutFunction, this); }; var rollOutFunction = function(){ var timeoutFunction = function(){ setVisibility(false); parentComponent.unbind('rollOver', rollOverFunction, this); }; parentComponent.unbind('rollOut', rollOutFunction, this); parentComponent.bind('rollOver', rollOverFunction, this); timeoutID = setTimeout(timeoutFunction, durationVisibleWhileOut); }; parentComponent.bind('rollOver', rollOverFunction, this); } },
  "updateMediaLabelFromPlayList": function(playList, htmlText, playListItemStopToDispose){  var changeFunction = function(){ var index = playList.get('selectedIndex'); if(index >= 0){ var beginFunction = function(){ playListItem.unbind('begin', beginFunction); setMediaLabel(index); }; var setMediaLabel = function(index){ var media = playListItem.get('media'); var text = media.get('data'); if(!text) text = media.get('label'); setHtml(text); }; var setHtml = function(text){ if(text !== undefined) { htmlText.set('html', '<div style=\"text-align:left\"><SPAN STYLE=\"color:#FFFFFF;font-size:12px;font-family:Verdana\"><span color=\"white\" font-family=\"Verdana\" font-size=\"12px\">' + text + '</SPAN></div>'); } else { htmlText.set('html', ''); } }; var playListItem = playList.get('items')[index]; if(htmlText.get('html')){ setHtml('Loading...'); playListItem.bind('begin', beginFunction); } else{ setMediaLabel(index); } } }; var disposeFunction = function(){ htmlText.set('html', undefined); playList.unbind('change', changeFunction, this); playListItemStopToDispose.unbind('stop', disposeFunction, this); }; if(playListItemStopToDispose){ playListItemStopToDispose.bind('stop', disposeFunction, this); } playList.bind('change', changeFunction, this); changeFunction(); },
  "resumePlayers": function(players, onlyResumeCameraIfPanorama){  for(var i = 0; i<players.length; ++i){ var player = players[i]; if(onlyResumeCameraIfPanorama && player.get('class') == 'PanoramaPlayer' && typeof player.get('video') === 'undefined'){ player.resumeCamera(); } else{ player.play(); } } },
  "playGlobalAudio": function(audio, endCallback){  var endFunction = function(){ audio.unbind('end', endFunction, this); this.stopGlobalAudio(audio); if(endCallback) endCallback(); }; audio = this.getGlobalAudio(audio); var audios = window.currentGlobalAudios; if(!audios){ audios = window.currentGlobalAudios = {}; } audios[audio.get('id')] = audio; if(audio.get('state') == 'playing'){ return; } if(!audio.get('loop')){ audio.bind('end', endFunction, this); } audio.play(); },
  "showPopupImage": function(image, toggleImage, customWidth, customHeight, showEffect, hideEffect, closeButtonProperties, autoCloseMilliSeconds, audio, stopBackgroundAudio, loadedCallback, hideCallback){  var self = this; var closed = false; var playerClickFunction = function() { zoomImage.unbind('loaded', loadedFunction, self); hideFunction(); }; var clearAutoClose = function(){ zoomImage.unbind('click', clearAutoClose, this); if(timeoutID != undefined){ clearTimeout(timeoutID); } }; var resizeFunction = function(){ setTimeout(setCloseButtonPosition, 0); }; var loadedFunction = function(){ self.unbind('click', playerClickFunction, self); veil.set('visible', true); setCloseButtonPosition(); closeButton.set('visible', true); zoomImage.unbind('loaded', loadedFunction, this); zoomImage.bind('userInteractionStart', userInteractionStartFunction, this); zoomImage.bind('userInteractionEnd', userInteractionEndFunction, this); zoomImage.bind('resize', resizeFunction, this); timeoutID = setTimeout(timeoutFunction, 200); }; var timeoutFunction = function(){ timeoutID = undefined; if(autoCloseMilliSeconds){ var autoCloseFunction = function(){ hideFunction(); }; zoomImage.bind('click', clearAutoClose, this); timeoutID = setTimeout(autoCloseFunction, autoCloseMilliSeconds); } zoomImage.bind('backgroundClick', hideFunction, this); if(toggleImage) { zoomImage.bind('click', toggleFunction, this); zoomImage.set('imageCursor', 'hand'); } closeButton.bind('click', hideFunction, this); if(loadedCallback) loadedCallback(); }; var hideFunction = function() { self.MainViewer.set('toolTipEnabled', true); closed = true; if(timeoutID) clearTimeout(timeoutID); if(autoCloseMilliSeconds) clearAutoClose(); if(hideCallback) hideCallback(); zoomImage.set('visible', false); if(hideEffect && hideEffect.get('duration') > 0){ hideEffect.bind('end', endEffectFunction, this); } else{ zoomImage.set('image', null); } closeButton.set('visible', false); veil.set('visible', false); self.unbind('click', playerClickFunction, self); zoomImage.unbind('backgroundClick', hideFunction, this); zoomImage.unbind('userInteractionStart', userInteractionStartFunction, this); zoomImage.unbind('userInteractionEnd', userInteractionEndFunction, this, true); zoomImage.unbind('resize', resizeFunction, this); if(toggleImage) { zoomImage.unbind('click', toggleFunction, this); zoomImage.set('cursor', 'default'); } closeButton.unbind('click', hideFunction, this); self.resumePlayers(playersPaused, audio == null || stopBackgroundAudio); if(audio){ if(stopBackgroundAudio){ self.resumeGlobalAudios(); } self.stopGlobalAudio(audio); } }; var endEffectFunction = function() { zoomImage.set('image', null); hideEffect.unbind('end', endEffectFunction, this); }; var toggleFunction = function() { zoomImage.set('image', isToggleVisible() ? image : toggleImage); }; var isToggleVisible = function() { return zoomImage.get('image') == toggleImage; }; var setCloseButtonPosition = function() { var right = zoomImage.get('actualWidth') - zoomImage.get('imageLeft') - zoomImage.get('imageWidth') + 10; var top = zoomImage.get('imageTop') + 10; if(right < 10) right = 10; if(top < 10) top = 10; closeButton.set('right', right); closeButton.set('top', top); }; var userInteractionStartFunction = function() { if(timeoutUserInteractionID){ clearTimeout(timeoutUserInteractionID); timeoutUserInteractionID = undefined; } else{ closeButton.set('visible', false); } }; var userInteractionEndFunction = function() { if(!closed){ timeoutUserInteractionID = setTimeout(userInteractionTimeoutFunction, 300); } }; var userInteractionTimeoutFunction = function() { timeoutUserInteractionID = undefined; closeButton.set('visible', true); setCloseButtonPosition(); }; this.MainViewer.set('toolTipEnabled', false); var veil = this.veilPopupPanorama; var zoomImage = this.zoomImagePopupPanorama; var closeButton = this.closeButtonPopupPanorama; if(closeButtonProperties){ for(var key in closeButtonProperties){ closeButton.set(key, closeButtonProperties[key]); } } var playersPaused = this.pauseCurrentPlayers(audio == null || !stopBackgroundAudio); if(audio){ if(stopBackgroundAudio){ this.pauseGlobalAudios(); } this.playGlobalAudio(audio); } var timeoutID = undefined; var timeoutUserInteractionID = undefined; zoomImage.bind('loaded', loadedFunction, this); setTimeout(function(){ self.bind('click', playerClickFunction, self, false); }, 0); zoomImage.set('image', image); zoomImage.set('customWidth', customWidth); zoomImage.set('customHeight', customHeight); zoomImage.set('showEffect', showEffect); zoomImage.set('hideEffect', hideEffect); zoomImage.set('visible', true); return zoomImage; },
  "playGlobalAudioWhilePlay": function(playList, index, audio, endCallback){  var changeFunction = function(event){ if(event.data.previousSelectedIndex == index){ this.stopGlobalAudio(audio); if(isPanorama) { var media = playListItem.get('media'); var audios = media.get('audios'); audios.splice(audios.indexOf(audio), 1); media.set('audios', audios); } playList.unbind('change', changeFunction, this); if(endCallback) endCallback(); } }; var audios = window.currentGlobalAudios; if(audios && audio.get('id') in audios){ audio = audios[audio.get('id')]; if(audio.get('state') != 'playing'){ audio.play(); } return; } playList.bind('change', changeFunction, this); var playListItem = playList.get('items')[index]; var isPanorama = playListItem.get('class') == 'PanoramaPlayListItem'; if(isPanorama) { var media = playListItem.get('media'); var audios = (media.get('audios') || []).slice(); if(audio.get('class') == 'MediaAudio') { var panoramaAudio = this.rootPlayer.createInstance('PanoramaAudio'); panoramaAudio.set('autoplay', false); panoramaAudio.set('audio', audio.get('audio')); panoramaAudio.set('loop', audio.get('loop')); panoramaAudio.set('id', audio.get('id')); var stateChangeFunctions = audio.getBindings('stateChange'); for(var i = 0; i<stateChangeFunctions.length; ++i){ var f = stateChangeFunctions[i]; if(typeof f == 'string') f = new Function('event', f); panoramaAudio.bind('stateChange', f, this); } audio = panoramaAudio; } audios.push(audio); media.set('audios', audios); } this.playGlobalAudio(audio, endCallback); },
  "setStartTimeVideoSync": function(media, player){  this.setStartTimeVideo(media, player.get('currentTime')); },
  "changeBackgroundWhilePlay": function(playList, index, color){  var changeFunction = function(event){ if(event.data.previousSelectedIndex == index){ playList.unbind('change', changeFunction, this); if((color == viewerArea.get('backgroundColor')) && (colorRatios == viewerArea.get('backgroundColorRatios'))){ viewerArea.set('backgroundColor', backgroundColorBackup); viewerArea.set('backgroundColorRatios', backgroundColorRatiosBackup); } } }; var playListItem = playList.get('items')[index]; var player = playListItem.get('player'); var viewerArea = player.get('viewerArea'); var backgroundColorBackup = viewerArea.get('backgroundColor'); var backgroundColorRatiosBackup = viewerArea.get('backgroundColorRatios'); var colorRatios = [0]; if((color != backgroundColorBackup) || (colorRatios != backgroundColorRatiosBackup)){ viewerArea.set('backgroundColor', color); viewerArea.set('backgroundColorRatios', colorRatios); playList.bind('change', changeFunction, this); } },
  "setMainMediaByIndex": function(index){  if(index >= 0 && index < this.mainPlayList.get('items').length){ this.mainPlayList.set('selectedIndex', index); } },
  "pauseGlobalAudios": function(caller, exclude){  var audios = this.getByClassName('Audio').concat(this.getByClassName('VideoPanoramaOverlay')); if(window.currentGlobalAudios != undefined) audios = audios.concat(Object.values(window.currentGlobalAudios)); if(window.pauseGlobalAudiosState == undefined) window.pauseGlobalAudiosState = {}; var objs = window.pauseGlobalAudiosState[caller]; if(objs == undefined){ objs = []; window.pauseGlobalAudiosState[caller] = objs; } for (var i = 0, count = audios.length; i<count; ++i) { var a = audios[i]; if (a.get('state') == 'playing' && (exclude == undefined || exclude.indexOf(a) == -1)) { a.pause(); objs.push(a); } } },
  "setMediaBehaviour": function(playList, index, mediaDispatcher){  var self = this; var stateChangeFunction = function(event){ if(event.data.state == 'stopped'){ dispose(true); } }; var changeFunction = function(){ var index = playListDispatcher.get('selectedIndex'); if(index != -1){ indexDispatcher = index; dispose(false); } }; var disposeCallback = function(){ dispose(false); }; var dispose = function(forceDispose){ if(!playListDispatcher) return; var media = item.get('media'); if((media.get('class') == 'Video360' || media.get('class') == 'Video') && media.get('loop') == true && !forceDispose) return; playList.set('selectedIndex', -1); if(panoramaSequence && panoramaSequenceIndex != -1){ if(panoramaSequence) { if(panoramaSequenceIndex > 0 && panoramaSequence.get('movements')[panoramaSequenceIndex-1].get('class') == 'TargetPanoramaCameraMovement'){ var initialPosition = camera.get('initialPosition'); var oldYaw = initialPosition.get('yaw'); var oldPitch = initialPosition.get('pitch'); var oldHfov = initialPosition.get('hfov'); var previousMovement = panoramaSequence.get('movements')[panoramaSequenceIndex-1]; initialPosition.set('yaw', previousMovement.get('targetYaw')); initialPosition.set('pitch', previousMovement.get('targetPitch')); initialPosition.set('hfov', previousMovement.get('targetHfov')); var restoreInitialPositionFunction = function(event){ initialPosition.set('yaw', oldYaw); initialPosition.set('pitch', oldPitch); initialPosition.set('hfov', oldHfov); itemDispatcher.unbind('end', restoreInitialPositionFunction, self); }; itemDispatcher.bind('end', restoreInitialPositionFunction, self); } panoramaSequence.set('movementIndex', panoramaSequenceIndex); } } playListDispatcher.set('selectedIndex', indexDispatcher); if(player){ player.unbind('stateChange', stateChangeFunction, self); for(var i = 0; i<buttons.length; ++i) { buttons[i].unbind('click', disposeCallback, self); } } if(sameViewerArea){ if(playList != playListDispatcher) playListDispatcher.unbind('change', changeFunction, self); } else{ viewerArea.set('visible', false); } playListDispatcher = undefined; }; var mediaDispatcherByParam = mediaDispatcher != undefined; if(!mediaDispatcher){ var currentIndex = playList.get('selectedIndex'); var currentPlayer = (currentIndex != -1) ? playList.get('items')[playList.get('selectedIndex')].get('player') : this.getActivePlayerWithViewer(this.MainViewer); if(currentPlayer) { var playerClass = currentPlayer.get('class'); if(playerClass == 'PanoramaPlayer') { mediaDispatcher = currentPlayer.get('panorama'); if(mediaDispatcher == undefined) medisDispatcher = currentPlayer.get('video'); } else if(playerClass == 'VideoPlayer' || playerClass == 'Video360Player') mediaDispatcher = currentPlayer.get('video'); else if(playerClass == 'PhotoAlbumPlayer') mediaDispatcher = currentPlayer.get('photoAlbum'); else if(playerClass == 'MapPlayer') mediaDispatcher = currentPlayer.get('map'); } } var playListDispatcher = mediaDispatcher ? this.getPlayListWithMedia(mediaDispatcher, true) : undefined; if(!playListDispatcher){ playList.set('selectedIndex', index); return; } var indexDispatcher = playListDispatcher.get('selectedIndex'); if(playList.get('selectedIndex') == index || indexDispatcher == -1){ return; } var item = playList.get('items')[index]; var itemDispatcher = playListDispatcher.get('items')[indexDispatcher]; var viewerArea = item.get('player').get('viewerArea'); var sameViewerArea = viewerArea == itemDispatcher.get('player').get('viewerArea'); if(sameViewerArea){ if(playList != playListDispatcher){ playListDispatcher.set('selectedIndex', -1); playListDispatcher.bind('change', changeFunction, this); } } else{ viewerArea.set('visible', true); } var panoramaSequenceIndex = -1; var panoramaSequence = undefined; var camera = itemDispatcher.get('camera'); if(camera){ panoramaSequence = camera.get('initialSequence'); if(panoramaSequence) { panoramaSequenceIndex = panoramaSequence.get('movementIndex'); } } playList.set('selectedIndex', index); var player = undefined; var buttons = []; if(item.get('player') != itemDispatcher.get('player') || !mediaDispatcherByParam){ player = item.get('player'); if(player.get('class') == 'PanoramaPlayer' && item.get('media').get('class') != 'Video360') { var addButtons = function(property){ var value = player.get(property); if(Array.isArray(value)) buttons = buttons.concat(value); else buttons.push(value); }; addButtons('buttonStop'); for(var i = 0; i<buttons.length; ++i) { buttons[i].bind('click', disposeCallback, this); } } else { setTimeout(function(){player.bind('stateChange', stateChangeFunction, self)}, 100); } } this.executeFunctionWhenChange(playList, index, disposeCallback); },
  "getGlobalAudio": function(audio){  var audios = window.currentGlobalAudios; if(audios != undefined && audio.get('id') in audios){ audio = audios[audio.get('id')]; } return audio; },
  "getCurrentPlayers": function(){  var players = this.getByClassName('PanoramaPlayer'); players = players.concat(this.getByClassName('VideoPlayer')); players = players.concat(this.getByClassName('Video360Player')); players = players.concat(this.getByClassName('PhotoAlbumPlayer')); return players; },
  "isCardboardViewMode": function(){  var players = this.getByClassName('PanoramaPlayer'); return players.length > 0 && players[0].get('viewMode') == 'cardboard'; },
  "stopGlobalAudio": function(audio){  var audios = window.currentGlobalAudios; if(audios){ audio = audios[audio.get('id')]; if(audio){ delete audios[audio.get('id')]; if(Object.keys(audios).length == 0){ window.currentGlobalAudios = undefined; } } } if(audio) audio.stop(); },
  "openLink": function(url, name){  if(url == location.href) { return; } if (name == '_blank' && window && window.process && window.process.versions && window.process.versions['electron']){ if (url.startsWith('/')) { var r = window.location.href.split('/'); r.pop(); url = r.join('/') + url; } var extension = url.split('.').pop().toLowerCase(); if(extension != 'pdf' || !url.startsWith('http')) { var shell = require('electron').shell; shell.openExternal(url); } else { window.open(url, name); } } else { var newWindow = window.open(url, name); newWindow.focus(); } },
  "loopAlbum": function(playList, index){  var playListItem = playList.get('items')[index]; var player = playListItem.get('player'); var loopFunction = function(){ player.play(); }; this.executeFunctionWhenChange(playList, index, loopFunction); },
  "shareTwitter": function(url){  window.open('https://twitter.com/intent/tweet?source=webclient&url=' + url, '_blank'); },
  "getMediaByName": function(name){  var list = this.getByClassName('Media'); for(var i = 0, count = list.length; i<count; ++i){ var media = list[i]; if((media.get('class') == 'Audio' && media.get('data').label == name) || media.get('label') == name){ return media; } } return undefined; },
  "getPlayListWithMedia": function(media, onlySelected){  var playLists = this.getByClassName('PlayList'); for(var i = 0, count = playLists.length; i<count; ++i){ var playList = playLists[i]; if(onlySelected && playList.get('selectedIndex') == -1) continue; var items = playList.get('items'); for(var j = 0, countJ = items.length; j<countJ; ++j){ if(items[j].get('media') == media) return playList; } } return undefined; },
  "existsKey": function(key){  return key in window; },
  "playAudioList": function(audios){  if(audios.length == 0) return; var currentAudioCount = -1; var currentAudio; var playGlobalAudioFunction = this.playGlobalAudio; var playNext = function(){ if(++currentAudioCount >= audios.length) currentAudioCount = 0; currentAudio = audios[currentAudioCount]; playGlobalAudioFunction(currentAudio, playNext); }; playNext(); },
  "setMainMediaByName": function(name){  var items = this.mainPlayList.get('items'); for(var i = 0; i<items.length; ++i){ if(items[i].get('media').get('label') == name) { this.mainPlayList.set('selectedIndex', i); return; } } },
  "triggerOverlay": function(overlay, eventName){  if(overlay.get('areas') != undefined) { var areas = overlay.get('areas'); for(var i = 0; i<areas.length; ++i) { areas[i].trigger(eventName); } } else { overlay.trigger(eventName); } },
  "autotriggerAtStart": function(playListItem, callback, once){  var onPlaylistBegin = function(event){ callback(); if(once == true) playListItem.unbind('begin', onPlaylistBegin, this); }; playListItem.bind('begin', onPlaylistBegin, this); },
  "pauseGlobalAudio": function(audio){  var audios = window.currentGlobalAudios; if(audios){ audio = audios[audio.get('id')]; } if(audio.get('state') == 'playing') audio.pause(); },
  "getPlayListItems": function(media, player){  var itemClass = (function() { switch(media.get('class')) { case 'Panorama': case 'LivePanorama': case 'HDRPanorama': return 'PanoramaPlayListItem'; case 'Video360': return 'Video360PlayListItem'; case 'PhotoAlbum': return 'PhotoAlbumPlayListItem'; case 'Map': return 'MapPlayListItem'; case 'Video': return 'VideoPlayListItem'; } })(); if (itemClass != undefined) { var items = this.getByClassName(itemClass); for (var i = items.length-1; i>=0; --i) { var item = items[i]; if(item.get('media') != media || (player != undefined && item.get('player') != player)) { items.splice(i, 1); } } return items; } else { return []; } },
  "showPopupMedia": function(w, media, playList, popupMaxWidth, popupMaxHeight, autoCloseWhenFinished, containsAudio){  var self = this; var closeFunction = function(){ self.MainViewer.set('toolTipEnabled', true); this.resumePlayers(playersPaused, !containsAudio); if(isVideo) { this.unbind('resize', resizeFunction, this); } w.unbind('close', closeFunction, this); }; var endFunction = function(){ w.hide(); }; var resizeFunction = function(){ var parentWidth = self.get('actualWidth'); var parentHeight = self.get('actualHeight'); var mediaWidth = media.get('width'); var mediaHeight = media.get('height'); var popupMaxWidthNumber = parseFloat(popupMaxWidth) / 100; var popupMaxHeightNumber = parseFloat(popupMaxHeight) / 100; var windowWidth = popupMaxWidthNumber * parentWidth; var windowHeight = popupMaxHeightNumber * parentHeight; var footerHeight = w.get('footerHeight'); var headerHeight = w.get('headerHeight'); if(!headerHeight) { var closeButtonHeight = w.get('closeButtonIconHeight') + w.get('closeButtonPaddingTop') + w.get('closeButtonPaddingBottom'); var titleHeight = w.get('titleFontSize') + w.get('titlePaddingTop') + w.get('titlePaddingBottom'); headerHeight = closeButtonHeight > titleHeight ? closeButtonHeight : titleHeight; headerHeight += w.get('headerPaddingTop') + w.get('headerPaddingBottom'); } if(!footerHeight) { footerHeight = 0; } var contentWindowWidth = windowWidth - w.get('bodyPaddingLeft') - w.get('bodyPaddingRight') - w.get('paddingLeft') - w.get('paddingRight'); var contentWindowHeight = windowHeight - headerHeight - footerHeight - w.get('bodyPaddingTop') - w.get('bodyPaddingBottom') - w.get('paddingTop') - w.get('paddingBottom'); var parentAspectRatio = contentWindowWidth / contentWindowHeight; var mediaAspectRatio = mediaWidth / mediaHeight; if(parentAspectRatio > mediaAspectRatio) { windowWidth = contentWindowHeight * mediaAspectRatio + w.get('bodyPaddingLeft') + w.get('bodyPaddingRight') + w.get('paddingLeft') + w.get('paddingRight'); } else { windowHeight = contentWindowWidth / mediaAspectRatio + headerHeight + footerHeight + w.get('bodyPaddingTop') + w.get('bodyPaddingBottom') + w.get('paddingTop') + w.get('paddingBottom'); } if(windowWidth > parentWidth * popupMaxWidthNumber) { windowWidth = parentWidth * popupMaxWidthNumber; } if(windowHeight > parentHeight * popupMaxHeightNumber) { windowHeight = parentHeight * popupMaxHeightNumber; } w.set('width', windowWidth); w.set('height', windowHeight); w.set('x', (parentWidth - w.get('actualWidth')) * 0.5); w.set('y', (parentHeight - w.get('actualHeight')) * 0.5); }; if(autoCloseWhenFinished){ this.executeFunctionWhenChange(playList, 0, endFunction); } var isVideo = media.get('class') == 'Video'; if(isVideo){ this.bind('resize', resizeFunction, this); resizeFunction(); } else { w.set('width', popupMaxWidth); w.set('height', popupMaxHeight); } this.MainViewer.set('toolTipEnabled', false); var playersPaused = this.pauseCurrentPlayers(!containsAudio); w.bind('close', closeFunction, this); w.show(this, true); },
  "setComponentVisibility": function(component, visible, applyAt, effect, propertyEffect, ignoreClearTimeout){  this.unregisterKey('visibility_'+component.get('id')); var changeVisibility = function(){ if(effect && propertyEffect){ component.set(propertyEffect, effect); } component.set('visible', visible); if(component.get('class') == 'ViewerArea'){ try{ if(visible) component.restart(); else if(component.get('playbackState') == 'playing') component.pause(); } catch(e){}; } }; var effectTimeoutName = 'effectTimeout_'+component.get('id'); if(!ignoreClearTimeout && window.hasOwnProperty(effectTimeoutName)){ var effectTimeout = window[effectTimeoutName]; if(effectTimeout instanceof Array){ for(var i=0; i<effectTimeout.length; i++){ clearTimeout(effectTimeout[i]) } }else{ clearTimeout(effectTimeout); } delete window[effectTimeoutName]; } else if(visible == component.get('visible') && !ignoreClearTimeout) return; if(applyAt && applyAt > 0){ var effectTimeout = setTimeout(function(){ if(window[effectTimeoutName] instanceof Array) { var arrayTimeoutVal = window[effectTimeoutName]; var index = arrayTimeoutVal.indexOf(effectTimeout); arrayTimeoutVal.splice(index, 1); if(arrayTimeoutVal.length == 0){ delete window[effectTimeoutName]; } }else{ delete window[effectTimeoutName]; } changeVisibility(); }, applyAt); if(window.hasOwnProperty(effectTimeoutName)){ window[effectTimeoutName] = [window[effectTimeoutName], effectTimeout]; }else{ window[effectTimeoutName] = effectTimeout; } } else{ changeVisibility(); } },
  "pauseCurrentPlayers": function(onlyPauseCameraIfPanorama){  var players = this.getCurrentPlayers(); var i = players.length; while(i-- > 0){ var player = players[i]; if(player.get('state') == 'playing') { if(onlyPauseCameraIfPanorama && player.get('class') == 'PanoramaPlayer' && typeof player.get('video') === 'undefined'){ player.pauseCamera(); } else { player.pause(); } } else { players.splice(i, 1); } } return players; },
  "cloneCamera": function(camera){  var newCamera = this.rootPlayer.createInstance(camera.get('class')); newCamera.set('id', camera.get('id') + '_copy'); newCamera.set('idleSequence', camera.get('initialSequence')); return newCamera; },
  "executeFunctionWhenChange": function(playList, index, endFunction, changeFunction){  var endObject = undefined; var changePlayListFunction = function(event){ if(event.data.previousSelectedIndex == index){ if(changeFunction) changeFunction(); if(endFunction && endObject) endObject.unbind('end', endFunction, this); playList.unbind('change', changePlayListFunction, this); } }; if(endFunction){ var playListItem = playList.get('items')[index]; if(playListItem.get('class') == 'PanoramaPlayListItem'){ var camera = playListItem.get('camera'); if(camera != undefined) endObject = camera.get('initialSequence'); if(endObject == undefined) endObject = camera.get('idleSequence'); } else{ endObject = playListItem.get('media'); } if(endObject){ endObject.bind('end', endFunction, this); } } playList.bind('change', changePlayListFunction, this); },
  "startPanoramaWithCamera": function(media, camera){  if(window.currentPanoramasWithCameraChanged != undefined && window.currentPanoramasWithCameraChanged.indexOf(media) != -1){ return; } var playLists = this.getByClassName('PlayList'); if(playLists.length == 0) return; var restoreItems = []; for(var i = 0, count = playLists.length; i<count; ++i){ var playList = playLists[i]; var items = playList.get('items'); for(var j = 0, countJ = items.length; j<countJ; ++j){ var item = items[j]; if(item.get('media') == media && (item.get('class') == 'PanoramaPlayListItem' || item.get('class') == 'Video360PlayListItem')){ restoreItems.push({camera: item.get('camera'), item: item}); item.set('camera', camera); } } } if(restoreItems.length > 0) { if(window.currentPanoramasWithCameraChanged == undefined) { window.currentPanoramasWithCameraChanged = [media]; } else { window.currentPanoramasWithCameraChanged.push(media); } var restoreCameraOnStop = function(){ var index = window.currentPanoramasWithCameraChanged.indexOf(media); if(index != -1) { window.currentPanoramasWithCameraChanged.splice(index, 1); } for (var i = 0; i < restoreItems.length; i++) { restoreItems[i].item.set('camera', restoreItems[i].camera); restoreItems[i].item.unbind('stop', restoreCameraOnStop, this); } }; for (var i = 0; i < restoreItems.length; i++) { restoreItems[i].item.bind('stop', restoreCameraOnStop, this); } } },
  "getActivePlayerWithViewer": function(viewerArea){  var players = this.getByClassName('PanoramaPlayer'); players = players.concat(this.getByClassName('VideoPlayer')); players = players.concat(this.getByClassName('Video360Player')); players = players.concat(this.getByClassName('PhotoAlbumPlayer')); players = players.concat(this.getByClassName('MapPlayer')); var i = players.length; while(i-- > 0){ var player = players[i]; if(player.get('viewerArea') == viewerArea) { var playerClass = player.get('class'); if(playerClass == 'PanoramaPlayer' && (player.get('panorama') != undefined || player.get('video') != undefined)) return player; else if((playerClass == 'VideoPlayer' || playerClass == 'Video360Player') && player.get('video') != undefined) return player; else if(playerClass == 'PhotoAlbumPlayer' && player.get('photoAlbum') != undefined) return player; else if(playerClass == 'MapPlayer' && player.get('map') != undefined) return player; } } return undefined; },
  "setEndToItemIndex": function(playList, fromIndex, toIndex){  var endFunction = function(){ if(playList.get('selectedIndex') == fromIndex) playList.set('selectedIndex', toIndex); }; this.executeFunctionWhenChange(playList, fromIndex, endFunction); },
  "getKey": function(key){  return window[key]; },
  "registerKey": function(key, value){  window[key] = value; },
  "setPanoramaCameraWithSpot": function(playListItem, yaw, pitch){  var panorama = playListItem.get('media'); var newCamera = this.cloneCamera(playListItem.get('camera')); var initialPosition = newCamera.get('initialPosition'); initialPosition.set('yaw', yaw); initialPosition.set('pitch', pitch); this.startPanoramaWithCamera(panorama, newCamera); },
  "shareGoogle": function(url){  window.open('https://plus.google.com/share?url=' + url, '_blank'); },
  "getPanoramaOverlayByName": function(panorama, name){  var frames = panorama.get('frames'); for(var j = 0; j<frames.length; ++j){ var frame = frames[j]; var overlays = frame.get('overlays'); for(var i = 0, count = overlays.length; i<count; ++i){ var overlay = overlays[i]; var data = overlay.get('data'); if(data != undefined && data.label == name){ return overlay; } } } return undefined; },
  "setPanoramaCameraWithCurrentSpot": function(playListItem){  var currentPlayer = this.getActivePlayerWithViewer(this.MainViewer); if(currentPlayer == undefined){ return; } var playerClass = currentPlayer.get('class'); if(playerClass != 'PanoramaPlayer' && playerClass != 'Video360Player'){ return; } var fromMedia = currentPlayer.get('panorama'); if(fromMedia == undefined) { fromMedia = currentPlayer.get('video'); } var panorama = playListItem.get('media'); var newCamera = this.cloneCamera(playListItem.get('camera')); this.setCameraSameSpotAsMedia(newCamera, fromMedia); this.startPanoramaWithCamera(panorama, newCamera); },
  "visibleComponentsIfPlayerFlagEnabled": function(components, playerFlag){  var enabled = this.get(playerFlag); for(var i in components){ components[i].set('visible', enabled); } },
  "shareFacebook": function(url){  window.open('https://www.facebook.com/sharer/sharer.php?u=' + url, '_blank'); },
  "getComponentByName": function(name){  var list = this.getByClassName('UIComponent'); for(var i = 0, count = list.length; i<count; ++i){ var component = list[i]; var data = component.get('data'); if(data != undefined && data.name == name){ return component; } } return undefined; },
  "showPopupPanoramaVideoOverlay": function(popupPanoramaOverlay, closeButtonProperties){  var self = this; var showEndFunction = function() { popupPanoramaOverlay.unbind('showEnd', showEndFunction); closeButton.bind('click', hideFunction, this); setCloseButtonPosition(); closeButton.set('visible', true); }; var endFunction = function() { if(!popupPanoramaOverlay.get('loop')) hideFunction(); }; var hideFunction = function() { self.MainViewer.set('toolTipEnabled', true); popupPanoramaOverlay.set('visible', false); closeButton.set('visible', false); closeButton.unbind('click', hideFunction, self); popupPanoramaOverlay.unbind('end', endFunction, self); popupPanoramaOverlay.unbind('hideEnd', hideFunction, self, true); self.resumePlayers(playersPaused, true); self.resumeGlobalAudios(); }; var setCloseButtonPosition = function() { var right = 10; var top = 10; closeButton.set('right', right); closeButton.set('top', top); }; this.MainViewer.set('toolTipEnabled', false); var closeButton = this.closeButtonPopupPanorama; if(closeButtonProperties){ for(var key in closeButtonProperties){ closeButton.set(key, closeButtonProperties[key]); } } var playersPaused = this.pauseCurrentPlayers(true); this.pauseGlobalAudios(); popupPanoramaOverlay.bind('end', endFunction, this, true); popupPanoramaOverlay.bind('showEnd', showEndFunction, this, true); popupPanoramaOverlay.bind('hideEnd', hideFunction, this, true); popupPanoramaOverlay.set('visible', true); },
  "syncPlaylists": function(playLists){  var changeToMedia = function(media, playListDispatched){ for(var i = 0, count = playLists.length; i<count; ++i){ var playList = playLists[i]; if(playList != playListDispatched){ var items = playList.get('items'); for(var j = 0, countJ = items.length; j<countJ; ++j){ if(items[j].get('media') == media){ if(playList.get('selectedIndex') != j){ playList.set('selectedIndex', j); } break; } } } } }; var changeFunction = function(event){ var playListDispatched = event.source; var selectedIndex = playListDispatched.get('selectedIndex'); if(selectedIndex < 0) return; var media = playListDispatched.get('items')[selectedIndex].get('media'); changeToMedia(media, playListDispatched); }; var mapPlayerChangeFunction = function(event){ var panoramaMapLocation = event.source.get('panoramaMapLocation'); if(panoramaMapLocation){ var map = panoramaMapLocation.get('map'); changeToMedia(map); } }; for(var i = 0, count = playLists.length; i<count; ++i){ playLists[i].bind('change', changeFunction, this); } var mapPlayers = this.getByClassName('MapPlayer'); for(var i = 0, count = mapPlayers.length; i<count; ++i){ mapPlayers[i].bind('panoramaMapLocation_change', mapPlayerChangeFunction, this); } },
  "pauseGlobalAudiosWhilePlayItem": function(playList, index, caller, exclude){  var resumeFunction = this.resumeGlobalAudios; var endFunction = function(){ if(playList.get('selectedIndex') != index) { resumeFunction(caller); } }; this.pauseGlobalAudios(caller, exclude); this.executeFunctionWhenChange(playList, index, endFunction, endFunction); },
  "changePlayListWithSameSpot": function(playList, newIndex){  var currentIndex = playList.get('selectedIndex'); if (currentIndex >= 0 && newIndex >= 0 && currentIndex != newIndex) { var currentItem = playList.get('items')[currentIndex]; var newItem = playList.get('items')[newIndex]; var currentPlayer = currentItem.get('player'); var newPlayer = newItem.get('player'); if ((currentPlayer.get('class') == 'PanoramaPlayer' || currentPlayer.get('class') == 'Video360Player') && (newPlayer.get('class') == 'PanoramaPlayer' || newPlayer.get('class') == 'Video360Player')) { var newCamera = this.cloneCamera(newItem.get('camera')); this.setCameraSameSpotAsMedia(newCamera, currentItem.get('media')); this.startPanoramaWithCamera(newItem.get('media'), newCamera); } } },
  "setMapLocation": function(panoramaPlayListItem, mapPlayer){  var resetFunction = function(){ panoramaPlayListItem.unbind('stop', resetFunction, this); player.set('mapPlayer', null); }; panoramaPlayListItem.bind('stop', resetFunction, this); var player = panoramaPlayListItem.get('player'); player.set('mapPlayer', mapPlayer); },
  "showPopupPanoramaOverlay": function(popupPanoramaOverlay, closeButtonProperties, imageHD, toggleImage, toggleImageHD, autoCloseMilliSeconds, audio, stopBackgroundAudio){  var self = this; this.MainViewer.set('toolTipEnabled', false); var cardboardEnabled = this.isCardboardViewMode(); if(!cardboardEnabled) { var zoomImage = this.zoomImagePopupPanorama; var showDuration = popupPanoramaOverlay.get('showDuration'); var hideDuration = popupPanoramaOverlay.get('hideDuration'); var playersPaused = this.pauseCurrentPlayers(audio == null || !stopBackgroundAudio); var popupMaxWidthBackup = popupPanoramaOverlay.get('popupMaxWidth'); var popupMaxHeightBackup = popupPanoramaOverlay.get('popupMaxHeight'); var showEndFunction = function() { var loadedFunction = function(){ if(!self.isCardboardViewMode()) popupPanoramaOverlay.set('visible', false); }; popupPanoramaOverlay.unbind('showEnd', showEndFunction, self); popupPanoramaOverlay.set('showDuration', 1); popupPanoramaOverlay.set('hideDuration', 1); self.showPopupImage(imageHD, toggleImageHD, popupPanoramaOverlay.get('popupMaxWidth'), popupPanoramaOverlay.get('popupMaxHeight'), null, null, closeButtonProperties, autoCloseMilliSeconds, audio, stopBackgroundAudio, loadedFunction, hideFunction); }; var hideFunction = function() { var restoreShowDurationFunction = function(){ popupPanoramaOverlay.unbind('showEnd', restoreShowDurationFunction, self); popupPanoramaOverlay.set('visible', false); popupPanoramaOverlay.set('showDuration', showDuration); popupPanoramaOverlay.set('popupMaxWidth', popupMaxWidthBackup); popupPanoramaOverlay.set('popupMaxHeight', popupMaxHeightBackup); }; self.resumePlayers(playersPaused, audio == null || !stopBackgroundAudio); var currentWidth = zoomImage.get('imageWidth'); var currentHeight = zoomImage.get('imageHeight'); popupPanoramaOverlay.bind('showEnd', restoreShowDurationFunction, self, true); popupPanoramaOverlay.set('showDuration', 1); popupPanoramaOverlay.set('hideDuration', hideDuration); popupPanoramaOverlay.set('popupMaxWidth', currentWidth); popupPanoramaOverlay.set('popupMaxHeight', currentHeight); if(popupPanoramaOverlay.get('visible')) restoreShowDurationFunction(); else popupPanoramaOverlay.set('visible', true); self.MainViewer.set('toolTipEnabled', true); }; if(!imageHD){ imageHD = popupPanoramaOverlay.get('image'); } if(!toggleImageHD && toggleImage){ toggleImageHD = toggleImage; } popupPanoramaOverlay.bind('showEnd', showEndFunction, this, true); } else { var hideEndFunction = function() { self.resumePlayers(playersPaused, audio == null || stopBackgroundAudio); if(audio){ if(stopBackgroundAudio){ self.resumeGlobalAudios(); } self.stopGlobalAudio(audio); } popupPanoramaOverlay.unbind('hideEnd', hideEndFunction, self); self.MainViewer.set('toolTipEnabled', true); }; var playersPaused = this.pauseCurrentPlayers(audio == null || !stopBackgroundAudio); if(audio){ if(stopBackgroundAudio){ this.pauseGlobalAudios(); } this.playGlobalAudio(audio); } popupPanoramaOverlay.bind('hideEnd', hideEndFunction, this, true); } popupPanoramaOverlay.set('visible', true); },
  "updateVideoCues": function(playList, index){  var playListItem = playList.get('items')[index]; var video = playListItem.get('media'); if(video.get('cues').length == 0) return; var player = playListItem.get('player'); var cues = []; var changeFunction = function(){ if(playList.get('selectedIndex') != index){ video.unbind('cueChange', cueChangeFunction, this); playList.unbind('change', changeFunction, this); } }; var cueChangeFunction = function(event){ var activeCues = event.data.activeCues; for(var i = 0, count = cues.length; i<count; ++i){ var cue = cues[i]; if(activeCues.indexOf(cue) == -1 && (cue.get('startTime') > player.get('currentTime') || cue.get('endTime') < player.get('currentTime')+0.5)){ cue.trigger('end'); } } cues = activeCues; }; video.bind('cueChange', cueChangeFunction, this); playList.bind('change', changeFunction, this); },
  "loadFromCurrentMediaPlayList": function(playList, delta){  var currentIndex = playList.get('selectedIndex'); var totalItems = playList.get('items').length; var newIndex = (currentIndex + delta) % totalItems; while(newIndex < 0){ newIndex = totalItems + newIndex; }; if(currentIndex != newIndex){ playList.set('selectedIndex', newIndex); } },
  "resumeGlobalAudios": function(caller){  if (window.pauseGlobalAudiosState == undefined) return; var objs = window.pauseGlobalAudiosState[caller]; if (objs == undefined) return; delete window.pauseGlobalAudiosState[caller]; if (Object.keys(window.pauseGlobalAudiosState).length > 0) { if (window.restoreGlobalAudiosState == undefined) window.restoreGlobalAudiosState = {}; if (!(caller in window.restoreGlobalAudiosState)) window.restoreGlobalAudiosState[caller] = objs; } else { var restoreFunc = function(objs) { for (var i = 0, count = objs.length; i < count; ++i) { var a = objs[i]; if (a.get('state') == 'paused') a.play(); } }; restoreFunc(objs); if (window.restoreGlobalAudiosState != undefined) { while (window.restoreGlobalAudiosState.length > 0) { restoreFunc(window.restoreGlobalAudiosState.pop()); } window.restoreGlobalAudiosState = undefined; } } },
  "unregisterKey": function(key){  delete window[key]; },
  "setStartTimeVideo": function(media, time){  var items = this.getPlayListItems(media); var startTimeBackup = []; var restoreStartTimeFunc = function() { for(var i = 0; i<items.length; ++i){ var item = items[i]; item.set('startTime', startTimeBackup[i]); item.unbind('stop', restoreStartTimeFunc, this); } }; for(var i = 0; i<items.length; ++i) { var item = items[i]; startTimeBackup.push(item.get('startTime')); item.set('startTime', time); item.bind('stop', restoreStartTimeFunc, this); } },
  "stopAndGoCamera": function(camera, ms){  var sequence = camera.get('initialSequence'); sequence.pause(); var timeoutFunction = function(){ sequence.play(); }; setTimeout(timeoutFunction, ms); },
  "fixTogglePlayPauseButton": function(player){  var state = player.get('state'); var button = player.get('buttonPlayPause'); if(typeof button !== 'undefined' && player.get('state') == 'playing'){ button.set('pressed', true); } },
  "getCurrentPlayerWithMedia": function(media){  var playerClass = undefined; var mediaPropertyName = undefined; switch(media.get('class')) { case 'Panorama': case 'LivePanorama': case 'HDRPanorama': playerClass = 'PanoramaPlayer'; mediaPropertyName = 'panorama'; break; case 'Video360': playerClass = 'PanoramaPlayer'; mediaPropertyName = 'video'; break; case 'PhotoAlbum': playerClass = 'PhotoAlbumPlayer'; mediaPropertyName = 'photoAlbum'; break; case 'Map': playerClass = 'MapPlayer'; mediaPropertyName = 'map'; break; case 'Video': playerClass = 'VideoPlayer'; mediaPropertyName = 'video'; break; }; if(playerClass != undefined) { var players = this.getByClassName(playerClass); for(var i = 0; i<players.length; ++i){ var player = players[i]; if(player.get(mediaPropertyName) == media) { return player; } } } else { return undefined; } },
  "setCameraSameSpotAsMedia": function(camera, media){  var player = this.getCurrentPlayerWithMedia(media); if(player != undefined) { var position = camera.get('initialPosition'); position.set('yaw', player.get('yaw')); position.set('pitch', player.get('pitch')); position.set('hfov', player.get('hfov')); } },
  "showWindow": function(w, autoCloseMilliSeconds, containsAudio){  if(w.get('visible') == true){ return; } var closeFunction = function(){ clearAutoClose(); this.resumePlayers(playersPaused, !containsAudio); w.unbind('close', closeFunction, this); }; var clearAutoClose = function(){ w.unbind('click', clearAutoClose, this); if(timeoutID != undefined){ clearTimeout(timeoutID); } }; var timeoutID = undefined; if(autoCloseMilliSeconds){ var autoCloseFunction = function(){ w.hide(); }; w.bind('click', clearAutoClose, this); timeoutID = setTimeout(autoCloseFunction, autoCloseMilliSeconds); } var playersPaused = this.pauseCurrentPlayers(!containsAudio); w.bind('close', closeFunction, this); w.show(this, true); }
 },
 "scrollBarColor": "#000000",
 "scrollBarVisible": "rollOver",
 "start": "this.visibleComponentsIfPlayerFlagEnabled([this.IconButton_8A0F8E1B_81F5_614F_41D7_902E661BACB8], 'cardboardAvailable'); this.syncPlaylists([this.DropDown_8CA0C9B8_81F6_A348_41C8_D16FD5D0F160_playlist,this.mainPlayList]); this.mainPlayList.set('selectedIndex', 0)",
 "creationPolicy": "delayed",
 "paddingLeft": 0,
 "height": "100%",
 "mobileMipmappingEnabled": false,
 "scrollBarOpacity": 0.5,
 "layout": "absolute",
 "gap": 10,
 "minHeight": 20,
 "backgroundPreloadEnabled": true,
 "width": "100%",
 "class": "Player",
 "paddingRight": 0,
 "scrollBarMargin": 2,
 "vrPolyfillScale": 0.5,
 "paddingTop": 0,
 "overflow": "visible",
 "horizontalAlign": "left",
 "paddingBottom": 0,
 "verticalAlign": "top",
 "scrollBarWidth": 10,
 "id": "rootPlayer",
 "data": {
  "name": "Player503"
 },
 "shadow": false,
 "propagateClick": false,
 "borderSize": 0,
 "minWidth": 20,
 "contentOpaque": false,
 "borderRadius": 0
})