1app.requires.push('ng-nestable'); 2app.requires.push('ui.select2'); 3 4// app.requires.push('ui.select'); 5/* ######################################################## */ 6/* ############### RUN ############### */ 7/* ######################################################## */ 8app.run(function ($rootScope, $location, $timeout, $window, content,lang ) { 9 // angular.module('app').requires.push('ngNestable'); 10 moment.locale('pt-BR'); 11 12 13 $rootScope.APP_VARS = APP_VARS; 14 lang.coreTranslation = { 15 cta_seeMore_br : 'Ver mais', 16 cta_seeMore_us : 'See more', 17 cta_see_br : 'Quero ver', 18 cta_see_us : 'I want to see', 19 cta_visitNow_br : 'Visitar', 20 cta_visitNow_us : 'Visit', 21 cta_visitTruck_br : 'Visitar carreta', 22 cta_visitTruck_us : 'Visit truck', 23 cta_downloadNow_br : 'Baixar', 24 cta_downloadNow_us : 'Download', 25 cta_open_br : 'Abrir', 26 cta_open_us : 'Open', 27 cta_send_br : 'Enviar', 28 cta_send_us : 'Send', 29 cta_send_collaboration_br : 'Enviar colaboração', 30 cta_send_collaboration_us : 'Send collaboration', 31 cta_selectMedia_br : 'Selecionar mÃdia', 32 cta_selectMedia_us : 'Select media', 33 cta_enter_br : 'Entrar', 34 cta_enter_us : 'Login', 35 cta_exit_br : 'Sair', 36 cta_exit_us : 'Exit', 37 cta_edit_br : 'Editar', 38 cta_edit_us : 'Edit', 39 cta_remove_br : 'Remover', 40 cta_remove_us : 'Remove', 41 cta_register_br : 'Cadastrar', 42 cta_register_us : 'Sign Up', 43 cta_close_br : 'Fechar', 44 cta_close_us : 'Close', 45 cta_activate_br : 'Ativar', 46 cta_activate_us : 'Activate', 47 cta_deactivate_br : 'Desativar', 48 cta_deactivate_us : 'Deactivate', 49 cta_seeAllResults_br : 'Ver todos os resultados', 50 cta_seeAllResults_us : 'See all results', 51 cta_forgot_br : 'Esqueci a senha', 52 cta_forgot_us : 'Forgot the password', 53 cta_back_br : 'VOLTAR', 54 cta_back_us : 'BACK', 55 cta_allow_br : 'Permitir', 56 cta_allow_us : 'Allow', 57 cta_deny_br : 'Negar', 58 cta_deny_us : 'Deny', 59 cta_createCollection_br : 'Criar nova coleção', 60 cta_createCollection_us : 'Create new Collection', 61 cta_collaborateThisCollection_br : 'Colaborar nesta coleção', 62 cta_collaborateThisCollection_us : 'Collaborate on this collection', 63 cta_collaborateThisCollectionChape_br : 'COLABORAR NA COLECAO DA TORCIDA', 64 cta_collaborateThisCollectionChape_us : 'COLLABORATE IN THE TORCIDA COLLECTION', 65 cta_collaborateCollection_br: 'Colaborar em Coleção Existente', 66 cta_collaborateCollection_us: 'Collaborate on Existing Collection', 67 cta_createGallery3D_br : 'Criar nova galeria 3D', 68 cta_createGallery3D_us : 'Create new 3D Gallery', 69 cta_createGallery360_br : 'Criar nova galeria 360', 70 cta_createGallery360_us : 'Create new 360 Gallery', 71 cta_sendMedia_br : 'Enviar nova mÃdia', 72 cta_sendMedia_us : 'Send new media', 73 cta_createSubCollection_br : 'Criar subcoleção', 74 cta_createSubCollection_us : 'Create subcollection', 75 cta_enterExposition_br : 'Entrar na Exposição', 76 cta_enterExposition_us : 'Enter Exposition', 77 cta_backEmuseuSite_br : 'Voltar para o site eMuseu', 78 cta_backEmuseuSite_us : 'Back to eMuseu website', 79 cta_continue_br : 'Continuar', 80 cta_continue_us : 'Continue', 81 cta_firstMedia_br : 'Ir para a primeira obra', 82 cta_firstMedia_us : 'Go to first artwork', 83 cta_nextMedia_br : 'Ir para a próxima', 84 cta_nextMedia_us : 'Go to next', 85 cta_previousMedia_br : 'Voltar para a anterior', 86 cta_previousMedia_us : 'Back to previous', 87 cta_backMenu_br : 'Voltar para menu', 88 cta_backMenu_us : 'Back to menu', 89 cta_knowMore_br : 'Saber mais', 90 cta_knowMore_us : 'Know more', 91 cta_hearDescription_br : 'Ouça abaixo a áudio descrição', 92 cta_hearDescription_us : 'Hear Audio Description',
93 cta_pauseDescription_br : 'Parar Ãudio Descrição', 94 cta_pauseDescription_us : 'Stop Audio Description', 95 cta_tutorialDrag_br : 'Como mudar a ordem das coleções', 96 cta_tutorialDrag_us : 'How to sort collections', 97 cta_tutorialSubCollection_br: 'Como transformar coleção em subcoleção', 98 cta_tutorialSubCollection_us: 'How to transform Collection in Sub-Collection', 99 cta_generate_link_br : 'Gerar link', 100 cta_generate_link_us : 'Generate link', 101 cta_copy_link_br : 'Copiar Link', 102 cta_copy_link_us : 'Copy Link', 103 cta_open_guided_visit_br : 'Abrir visita', 104 cta_open_guided_visit_us : 'Open Guided Visit', 105 'ACCESSIBILITY-HALL1_br' : 'Corredor 1', 106 'ACCESSIBILITY-HALL1_us' : 'Hall 1', 107 'ACCESSIBILITY-HALL2_br' : 'Corredor 2', 108 'ACCESSIBILITY-HALL2_us' : 'Hall 2', 109 'ACCESSIBILITY-DESKS1_br' : 'Mesas 1', 110 'ACCESSIBILITY-DESKS1_us' : 'Desks 1', 111 'ACCESSIBILITY-DESKS2_br' : 'Mesas 2', 112 'ACCESSIBILITY-DESKS2_us' : 'Desks 2', 113 'ACCESSIBILITY-VIDEOROOM_br': 'Sala de VÃdeo', 114 'ACCESSIBILITY-VIDEOROOM_us': 'VÃdeo Room', 115 'ACCESSIBILITY-CENTRALROOM_br': 'Sala Central', 116 'ACCESSIBILITY-CENTRALROOM_us': 'Central Room', 117 'ACCESSIBILITY-EXIT_br': 'SaÃda', 118 'ACCESSIBILITY-EXIT_us': 'Exit', 119 120 artwork_br : 'Obra', 121 artwork_us : 'Artwork', 122 form_newCollection_br : 'Digite o nome da nova coleção', 123 form_newCollection_us : 'Type in your new collection name', 124 form_newSubCollection_br : 'Digite o nome da nova subcoleção', 125 form_newSubCollection_us : 'Type in your new subcollection name', 126 form_subject_br : 'Assunto', 127 form_subject_us : 'Subject', 128 form_selectOption_br : 'Selecione uma opção', 129 form_selectOption_us : 'Select an option', 130 form_selectProfile_br : 'Selecione seu perfil', 131 form_selectProfile_us : 'Select your profile', 132 form_selectState_br : 'Selecione seu Estado', 133 form_selectState_us : 'Select your State', 134 form_confederationOwner_br : 'Confederação Pertencente', 135 form_confederationOwner_us : 'Belonging Confederation', 136 form_none_br : 'Nenhuma', 137 form_none_us : 'N/A', 138 form_responsibleEntity_br : 'Nome do responsável pela entidade', 139 form_responsibleEntity_us : 'Name of the person responsible for the entity', 140 form_curatorEntityName_br : 'Nome do curador Responsável', 141 form_curatorEntityName_us : 'Responsible curator name', 142 form_curatorEntityEmail_br : 'Email do curador Responsável', 143 form_curatorEntityEmail_us : 'Responsible curator email', 144 form_curatorEntityCPF_br : 'CPF do curador Responsável', 145 form_curatorEntityCPF_us : 'Responsible curator CPF', 146 form_nameAthletes_br : 'Nome dos atletas', 147 form_nameAthletes_us : 'Name of athletes', 148 form_modalities_br : 'Modalidades', 149 form_modalities_us : 'Modalities', 150 form_sport_br : 'Esporte', 151 form_sport_us : 'Sport', 152 form_mobilePhone_br : 'Celular', 153 form_mobilePhone_us : 'Mobile phone', 154 form_phone_br : 'Telefone', 155 form_phone_us : 'Phone', 156 form_athlete_br : 'Atleta', 157 form_athlete_us : 'Athlete', 158 form_site_br : 'Site', 159 form_site_us : 'Website', 160 form_state_br : 'Estado', 161 form_state_us : 'State', 162 form_city_br : 'Cidade', 163 form_city_us : 'City', 164 form_workStudyParticipate_br: 'Você estuda / trabalha / participa de uma ou mais opções:', 165 form_workStudyParticipate_us: 'You study / work / participate in one or more options:', 166 form_which_br : 'Quais?', 167 form_which_us : 'What?', 168 form_educationalInstitution_br: 'Instituição de ensino', 169 form_educationalInstitution_us: 'Educational institution', 170 form_government_br : 'Governo', 171 form_government_us : 'Government', 172 form_company_br : 'Empresa', 173 form_company_us : 'Company', 174 175 176 177 178 179 form_isEnelCustomer_br : 'à cliente ENEL?', 180 form_isEnelCustomer_us : 'Are you an ENEL customer?', 181 form_yes_br : 'Sim', 182 form_yes_us : 'Yes', 183 form_no_br : 'Não', 184 form_no_us : 'No', 185 186 form_subjectOption1_br : 'PatrocÃnio', 187 form_subjectOption1_us : 'Sponsorship', 188 form_subjectOption2_br : 'Coleção própria 3D', 189 form_subjectOption2_us : 'Own collection 3D', 190 form_subjectOption3_br : 'Exposição virtual', 191 form_subjectOption3_us : 'Virtual Exposition', 192 form_subjectOption4_br : 'Exposição fÃsica', 193 form_subjectOption4_us : 'Physical Exposition', 194 form_subjectOption5_br : 'Sugestões', 195 form_subjectOption5_us : 'Sugestions', 196 form_subjectOption6_br : 'Outros', 197 form_subjectOption6_us : 'Others', 198 form_name_br : 'Nome', 199 form_name_us : 'Name', 200 form_email_br : 'E-mail', 201 form_email_us : 'E-mail', 202 form_security_key_br : 'Senha', 203 form_security_key_us : 'Password', 204 form_confirm_security_key_br: 'Confirmar Senha', 205 form_confirm_security_key_us: 'Confirm Password', 206 form_send_new_password_br : 'Enviar nova senha', 207 form_send_new_password_us : 'Submit new password', 208 form_accept_terms_br : "Li e aceito os <a href='" + lang.href("termos") + "' target='_BLANK'><b>termos e condições de uso</b></a>, <a href='" + lang.href("politicas") + "' target='_BLANK'><b>polÃticas de privacidade</b></a> do Emuseu.", 209 form_accept_terms_us : "I have read and accepted the <a href='" + lang.href("termos") + "' target='_BLANK'><b>terms and use conditions</b></a>, <a href='" + lang.href("politicas") + "' target='_BLANK'><b>privacy policy</b></a> from Emuseu.", 210 form_accept_terms1_br : "Li e aceito os ", 211 form_accept_terms1_us : "I have read and accepted the ", 212 form_accept_terms2_br : " termos e condições de uso ", 213 form_accept_terms2_us : " terms and use conditions ", 214 form_accept_terms3_br : " polÃticas de privacidade ", 215 form_accept_terms3_us : " privacy policy ", 216 form_accept_terms4_br : " do Emuseu. ", 217 form_accept_terms4_us : " from Emuseu. ", 218 form_news_br : "Receber e-mails informativos.", 219 form_news_us : "Receive informative e-mails.", 220 form_btn_login_br : 'Entrar', 221 form_btn_login_us : 'Login', 222 form_btn_signup_br : 'Realizar Cadastro', 223 form_btn_signup_us : 'Signup', 224 form_typeName_br : 'Digite seu nome', 225 form_typeName_br : 'Digite seu nome', 226 form_typeName_us : 'Type in your name', 227 form_typeEmail_br : 'Digite seu e-mail', 228 form_typeEmail_us : 'Type in your e-mail', 229 form_message_br : 'Mensagem', 230 form_message_us : 'Message', 231 form_collectionTitle_br : 'TÃtulo da coleção', 232 form_collectionTitle_us : 'Collection Title', 233 form_collectionImage_br : 'Imagem de Capa', 234 form_collectionImage_us : 'Cover Image', 235 title_truckEmuseu_br : 'CARRETAS EMUSEU DO ESPORTE', 236 title_truckEmuseu_us : 'TRUCKS EMUSEU DO ESPORTE', 237 title_truckChapecoense_br : 'EXPOSIÃÃO DA ASSOCIAÃÃO CHAPECOENSE DE FUT
237EBOL', 238 title_truckChapecoense_us : 'EXHIBITION OF THE CHAPECOENSE FOOTBALL ASSOCIATION', 239 240 collection_br : 'Coleção', 241 collection_us : 'Collection', 242 book_br : 'Livros', 243 book_us : 'Books', 244 collection_level2_br : 'Sub-coleçãoâ', 245 collection_level2_us : 'SubCollection', 246 collection_level3_br : 'Coleção nÃvel 3', 247 collection_level3_us : 'Collection level 3', 248 nav_expo_br : 'Exposições', 249 nav_expo_us : 'Exhibitions', 250 nav_collections_br : 'Coleções', 251 nav_collections_us : 'Collections', 252 nav_subcollections_br : 'Subcoleções', 253 nav_subcollections_us : 'Sub-collections', 254 nav_about_br : 'Quem Somos', 255 nav_about_us : 'About Us', 256 nav_sponsor_br : 'Patrocine', 257 nav_sponsor_us : 'Sponsor', 258 nav_contact_br : 'Contato', 259 nav_contact_us : 'Contact', 260 nav_terms_br : 'Termos de uso', 261 nav_terms_us : 'Terms of use', 262 nav_privacy_br : 'PolÃticas de privacidade', 263 nav_privacy_us : 'Privacy Policy', 264 nav_faq_br : 'FAQ', 265 nav_faq_us : 'FAQ', 266 nav_createCollection_br : 'Crie sua coleção', 267 nav_createCollection_us : 'Create your collection', 268 nav_recovery_text1_br : 'Seja bem-vindo', 269 nav_recovery_text1_us : 'Welcome', 270 nav_recovery_text2_br : 'Você está prestes a finalizar o processo de reconfiguração de senha.', 271 nav_recovery_text2_us : 'You are about to complete the password reset process', 272 nav_recovery_text3_br : 'Digite abaixo a nova senha e confirme:', 273 nav_recovery_text3_us : 'Enter the new password below and confirm:', 274 275 see_too_br : 'VEJA TAMBÃM', 276 see_too_us : 'SEE ALSO', 277 278 colecoes_br : 'VEJA TAMBÃM', 279 colecoes_us : 'SEE ALSO', 280 281 question_chapecoense1_br : '1) Você já conhecia a história do clube?', 282 question_chapecoense1_us : '1) Did you already know the history of the club?', 283 question_chapecoense2_br : '2) De 1 a 5, quanto você gostou do Museu Virtual da Chapecoense? Sendo 1 = pouco e 5 = muito', 284 question_chapecoense2_us : '2) From 1 to 5, how much did you like the Chapecoense Virtual Museum? Where 1 = little and 5 = a lot', 285 286 287 live_online_br : 'Estamos ao vivo', 288 live_online_us : 'We are live', 289 290 title_previousEditions_br : 'EDIÃÃES ANTERIORES', 291 title_previousEditions_us : 'PREVIOUS EDITIONS', 292 title_modalChapecoense_br : 'Para continuar, responda essas questões:', 293 title_modalChapecoense_us : 'To continue, answer these questions:', 294 title_vale_truck_br : 'CARRETA MG E ES', 295 title_vale_truck_us : 'TRUCK MG AND ES', 296 title_enel_truck_br : 'CARRETA RJ', 297 title_enel_truck_us : 'TRUCK RJ', 298 title_image_gallery_us : 'Image gallery', 299 title_image_gallery_br : 'Galeria de imagens', 300 title_image_gallery_us : 'Image gallery', 301 title_accessibility_visual_br : 'AcessÃvel para pessoas com deficiência visual', 302 title_accessibility_visual_us : 'Accessible for the Visually Impaired', 303 title_accessibility_br : 'AcessÃvel para pessoas com deficiência auditiva', 304 title_accessibility_us : 'Accessible for the Hearing Impaired', 305 title_freeDownload_br : 'BAIXE GRÃTIS', 306 title_freeDownload_us : 'FREE DOWNLOAD', 307 title_featured_br : 'DESTAQUES', 308 title_featured_us : 'FEATURED', 309 title_promo_br : 'Galerias 3D', 310 title_promo_us : '3D Galeries', 311 title_sponsorship_br : 'PatrocÃnio', 312 title_sponsorship_us : 'Sponsorship', 313 title_support_br : 'Apoio', 314 title_support_us : 'Support', 315 title_incentiveSport_br : 'Incentivo ao Esporte', 316 title_incentiveSport_us : 'Incentive to Sport', 317 title_realization_br : 'Realização', 318 title_realization_us : 'Realization', 319 title_notifications_br : 'Notificações', 320 title_notifications_us : 'Notifications', 321 title_menu_guided_visits_br : 'Visita Guiada em Grupo', 322 title_menu_guided_visits_us : 'Group Guided Tour', 323 title_guided_visits_br : 'Minha visita Guiada em Grupo', 324 title_guided_visits_us : 'My Group Guided Tour', 325 title_media_br : 'MÃdia', 326 title_media_us : 'Media', 327 title_collectionUser_br : 'Coleção / Usuário', 328 title_collectionUser_us : 'Collection / User', 329 title_date_br : 'Data', 330 title_date_us : 'Date', 331 title_authType_br : 'Tipo de autorização', 332 title_authType_us : 'Authorization Type', 333 title_authTypeContent_br : 'Contéudo', 334 title_authTypeContent_us : 'Content', 335 title_authTypeUser_br : 'Conta de acesso ao eMuseu', 336 title_authTypeUser_us : 'eMuseu Access Account', 337 title_modalLogin_br : 'Já tem cadastro? <br /> Faça seu login', 338 title_modalLogin_us : 'Are you registered? <br /> Sign in here', 339 title_modalRegister_br : 'Primeira vez? <br />Cadastre-se', 340 title_modalRegister_us : 'First time? <br />Sign Up', 341 title_sentBy_br : 'Enviado por', 342 title_sentBy_us : 'Sent by', 343 title_myCollections_br : 'Minhas Coleções', 344 title_myCollections_us : 'My Collections', 345 subtitle_myCollections_br : 'Estas são as coleções que você possui no eMuseu hoje. Use os botões para criar subcoleções dentro delas ou editar para adicionar mais fotos ou vÃdeos.', 346 subtitle_myCollections_us : 'These are the collections you have in the eMuseum today. Use the buttons to create sub-collections within them or edit to add more photos or videos.', 347 348 title_collaborate_br : 'Colaborar em uma coleção', 349 title_collaborate_us : 'Collaborate on a collection', 350 content_collaborate_br : '<p>Nessa opção você irá colaborar (com fotos e vÃdeos) em uma coleção de outra pessoa ou entidade que já existe no eMuseu.</p><p>
350Todo conteúdo enviado terá que ser aprovado pelo curador da coleção que você está tentando colaborar.</p>', 351 content_collaborate_us : '<p> In this option you will collaborate (with photos and videos) in a collection of another person or entity that already exists in the eMuseum. </p> <p> All submitted content must be approved by the curator of the collection you are trying to collaborate. </p>', 352 btn_collaborate_br : 'TUDO PRONTO! INICIAR COLABORAÃÃO', 353 btn_collaborate_us : 'ALL READY! START COLLABORATION', 354 355 text_click_br : 'Clique', 356 text_click_us : 'Click', 357 text_here_br : 'AQUI', 358 text_here_us : 'HERE', 359 text_read_media_guide_br : 'e leia o Media Guide', 360 text_read_media_guide_us : 'and read the Media Guide', 361 text_notFound_br : 'Conteúdo não encontrado', 362 text_notFound_us : 'Content not found', 363 364 title_createCollection_br : 'Criar nova coleção', 365 title_createCollection_us : 'Create new collection', 366 subtitle_createCollection_br: 'Nessa opção você irá criar uma nova coleção sua, do zero.', 367 subtitle_createCollection_us: 'In this option you will create a new collection of yours, from scratch.', 368 content_createCollection_br : '<p>Você irá precisar de:</p><div>1 foto de capa (será a chamada pra sua coleção na página do eMuseu)</div><div>3 fotos ou vÃdeos, no mÃnimo, para o conteúdo da sua coleção (pode colocar bem mais)</div><br><p>Prepare esse conteúdo antes de começar! Sua coleção aparecerá no eMuseu depois da aprovação.</p><div>Dúvidas sobre os formatos de fotos e vÃdeos?</div>', 369 content_createCollection_us : 'In this option you will create a new collection of yours, from scratch.', 370 btn_createCollection_br : 'TUDO PRONTO! INICIAR A CRIAÃÃO', 371 btn_createCollection_us : 'ALL READY! START CREATION', 372 373 title_createCollection3D_br : 'Criar nova Exposição 3D', 374 title_createCollection3D_us : 'Create new 3D Exhibition', 375 subtitle_createCollection3D_br : 'Nessa opção você irá criar uma nova Exposição 3D sua, do zero.', 376 subtitle_createCollection3D_us : 'In this option you will create a new 3D Exhibition of yours, from scratch.', 377 content_createCollection3D_br : '<p>Você irá precisar de:</p><div>1 foto de capa (será a chamada pra sua coleção na página do eMuseu)</div><div>15 ou mais fotos ou vÃdeos</div><p>Prepare esse conteúdo antes de começar! Sua galeria aparecerá no eMuseu depois da aprovação.</p>', 378 content_createCollection3D_us : '<p> You will need: </p> <div> 1 cover photo (it will be called for your collection on the eMuseum page) </div> <div> 15 or more photos or videos </div><p>Prepare this content before you start! Your gallery will appear in the eMuseum after approval. </p>', 379 btn_createCollection3D_br : 'TUDO PRONTO! INICIAR A CRIAÃÃO', 380 btn_createCollection3D_us : 'ALL READY! START CREATION', 381 382 title_createCollection360_br : 'Criar nova Exposição 360', 383 title_createCollection360_us : 'Create new 360 Exhibition', 384 subtitle_createCollection360_br : 'Nessa opção você irá criar uma nova exposição 360, do zero.', 385 subtitle_createCollection360_us : 'In this option you will create a new 360 exposure, from scratch.', 386 content_createCollection360_br : '<p>Você irá precisar de:</p><div>1 foto de capa (será a chamada pra sua coleção na página do eMuseu)</div><div>1 cover photo (will be the call to your collection on the eMuseum page)</div><br><p>Prepare esse conteúdo antes de começar! Sua coleção aparecerá no eMuseu depois da aprovação.</p>', 387 content_createCollection360_us : '<p> You will need: </p> <div> 1 cover photo (will be the call to your collection on the eMuseum page) </div> <div> 1 cover photo (will be the call to your collection on the eMuseum page) </div> <br> <p> Prepare this content before you start! Your collection will appear in the eMuseum after approval. </p>', 388 btn_createCollection360_br : 'TUDO PRONTO! INICIAR A CRIAÃÃO', 389 btn_createCollection360_us : 'ALL READY! START CREATION', 390 391 title_collectionInfo_br : 'Informações', 392 title_collectionInfo_us : 'Info', 393 title_collectionMedias_br : 'MÃdias', 394 title_collectionMedias_us : 'Medias', 395 title_mediaInfo_br : 'Informações da MÃdia', 396 title_mediaInfo_us : 'Media Info', 397 title_shortcuts_br : 'Atalhos', 398 title_shortcuts_us : 'Shortcuts', 399 title_ministry_present_br : 'MINISTÃRIO DA CULTURA E EMUSEU DO ESPORTE APRESENTAM', 400 title_ministry_present_us : 'MINISTRY OF CULTURE AND EMUSEUM OF SPORT PRESENT', 401 402 403 text_hello_br : 'Olá', 404 text_hello_us : 'Hello', 405 my_collections_br : 'Minhas coleções', 406 my_collections_us : 'My collections', 407 my_photos_br : 'Minhas fotos', 408 my_photos_us : 'My photos', 409 myinfo_br : 'Meus dados', 410 myinfo_us : 'My info', 411 notifications_br : 'Notificações', 412 notifications_us : 'Notifications', 413 logout_br : 'Sair', 414 logout_us : 'Logout', 415 text_createColaborateCollection_br: 'Crie sua coleção ou colabore em uma das coleções existentes:', 416 text_createColaborateCollection_us: 'Create your collection or collaborate to one of the existing:', 417 text_signNewsletter_br : 'Assine nossa newsletter e mantenha contato!', 418 text_signNewsletter_us : 'Subscribe to our newsletter and keep in touch!', 419 text_copyright_br : '@c 2022 Copyright eMuseu do Esporte. Todos os direitos reservados. Rio de Janeiro, RJ', 420 text_copyright_us : '@c 2022 Copyright eMuseum of Sports. All rights reserved. Rio de Janeiro, RJ.', 421 text_dragInstructions_br : 'Arraste uma coleção abaixo ou acima de outra para mudar a ordem', 422 text_dragInstructions_us : 'Drag one collection below or above another to create sort', 423 text_guided_visits_instructions_br : 'Nesta opção você pode criar um link pessoal para uma visita em grupo, no qual todos viverão a experiência juntos, guiados pelo eMuseu e podendo se comunicar através do chat da sala. Junte seu grupo, crie o link, mande pra eles e combinem uma data e hora para a visita. <br> <br> O link pode ser usado quantas vezes você quiser. Galerias disponÃveis:', 424 text_guided_visits_instructions_us : 'In this option you can create a personal link for a group visit, in which everyone will live the experience together, guided by the eMuseum and being able to communicate through the chat room. Join your group, create the link, send for them and arrange a date and time for the visit. <br> <br> The link can be used as many times as you like. Available Galleries:', 425 text_mediaInstructions_br : 'Selecione abaixo imagem(s) / vÃdeo(s) para colaborar, é possÃvel selecionar mais de um arquivo. Ao enviar mais de um arquivo todos terão as mesmas informações preenchidas abaixo, para informações diferentes os envios precisam ser separados.', 426 text_mediaInstructions_us : 'Select image (s) / video (s) below to collaborate, it is possible to select more than one file. When sending more than one file, everyone will have the same information filled in below, for different information the uploads need to be separated.', 427 428 text_selectMoreImage_br : 'Selecione mais de uma imagem', 429 text_selectMoreImage_us : 'Select more than one image.', 430 431 432 form_title_br : 'TÃtulo', 433 form_title_us : 'Title', 434 form_subtitle_br : 'SubtÃtulo', 435 form_subtitle_us : 'Subtitle', 436 form_content_br : 'Descrição', 437 form_content_us : 'Description', 438 form_cta_br : 'Texto do link da exposição', 439 form_cta_us : 'Exposition text link', 440 form_download_br : 'Baixar', 441 form_download_us : 'Download', 442 form_share_br : 'Compartilhar', 443 form_share_us : 'Share', 444 form_share_image_br : 'Compartilhar foto', 445 form_share_image_us : 'Share photo',
446 form_save_image_br : 'Salvar foto', 447 form_save_image_us : 'Save photo', 448 form_save_br : 'Salvar', 449 form_save_us : 'Save', 450 form_href_br : 'URL', 451 form_href_us : 'URL', 452 form_imageCover_br : 'Imagem de capa', 453 form_imageCover_us : 'Cover image', 454 form_imageAccessibility_br : 'Capa acessibilidade', 455 form_imageAccessibility_us : 'Accessibility cover', 456 form_image360_br : 'Imagem 360', 457 form_image360_us : '360 image', 458 form_imageWall1_br : 'Imagem parede 1', 459 form_imageWall1_us : 'Wall image 1', 460 form_imageWall2_br : 'Imagem parede 2', 461 form_imageWall2_us : 'Wall image 2', 462 form_audio_br : 'Ãudio', 463 form_audio_us : 'Audio', 464 465 466 } 467 $rootScope.$on("$routeChangeSuccess", function (event, next, current) { 468 $timeout(function(){ 469 $('.banner .text-holder').addClass('visible'); 470 },3000); 471 if ($window.ga) $window.ga('send', 'pageview', $location.path()); 472 473 $rootScope._path = $location.path().split('/'); 474 $rootScope._anchor = $location.path().split('#'); 475 if (!$rootScope._anchor) { 476 $('body').animate({ 'scrollTop': 0 }, 300); 477 } 478 479 }); 480 $rootScope.$on("$routeChangeStart", function (event, next, current) { 481 $('body').addClass('loading'); 482 $rootScope.loading = true; 483 if (next.params.lang) { 484 content.lang = next.params.lang; 485 } else if (localStorage.lang) { 486 content.lang = localStorage.lang; 487 } else { 488 content.lang = 'br'; 489 } 490 // content.getMenus(); 491 $rootScope.getContentPage(); 492 493 }); 494 495 496 $rootScope.errorHandler = function (err) { 497 var msg = ''; 498 switch (err) { 499 case 'password_mismatch': 500 msg = 'Senhas não conferem.'; 501 break; 502 case 'mandatory_fields': 503 msg = 'Preencha os campos obrigatórios marcados com (*)'; 504 break; 505 case 'card_error':
506 msg = 'Um ou mais dados em seu cartão estão inválidos.'; 507 break; 508 case 'insert_error': 509 msg = 'Erro ao criar o cadastro'; 510 break; 511 case 'existing_user': 512 msg = 'Cadastro já existente'; 513 break; 514 case 'invalid_email': 515 msg = 'Email inválido'; 516 break; 517 case 'invalid_voucher': 518 msg = 'Código promocional inválido ou expirado'; 519 break; 520 case 'invalid_document': 521 msg = 'CPF/CNPJ inválido'; 522 break; 523 case 'invalid_code': 524 msg = 'Código Promocioinal inválido!'; 525 break; 526 case 'used_code': 527 msg = 'Código Promocioinal já utilizado!'; 528 break; 529 case 'expired_code': 530 msg = 'Código Promocioinal expirado!'; 531 break; 532 case 'required_field_name': 533 msg = 'Nome é obrigatório!'; 534 break; 535 case 'required_field_email': 536 msg = 'E-mail é obrigatório!'; 537 break; 538 case 'required_field_msg': 539 msg = 'Mensagem é obrigatória!'; 540 break; 541 case 'required_field_title_br': 542 msg = 'TÃtulo é obrigatório'; 543 break; 544 case 'expo_not_exists': 545 msg = 'Exposição 3D não existe!'; 546 break; 547 default: 548 msg = 'Ocorreu um erro!'; 549 break; 550 } 551 new Swal({ title: 'Atenção', text: msg, icon: 'warning' }); 552 } 553 554}); 555 556const shareImageJS = async function(event) { 557 event.stopPropagation(); 558 let imgId = event.target.id.replace('share-', ''); 559 let shareimg = document.getElementById(imgId).src + '?v=' + Math.random(); 560 let shareurl = ''; 561 let sharetitle = 'Imagem Compartilhada eMuseu Do Esporte'; 562 let sharetext = ' ' 563 let filename = document.getElementById(imgId).src.split('/').pop(); 564 console.log('imgId', imgId); 565 console.log('shareimg', shareimg); 566 console.log('filename', filename); 567 try { 568 const response = await fetch(shareimg); 569 const blob = await response.blob(); 570 const file = new File([blob], filename, {type: 'image/png'}); 571 console.log('blob', blob); 572 console.log('file', file); 573 574 575 await navigator.share({ 576 title: sharetitle, 577 text: sharetext, 578 files: [file] 579 }); 580 } catch (err) { 581 console.log(err.name, err.message); 582 if(!navigator.canShare){ 583 window.open('https://www.addtoany.com/share#url=' + shareimg + '&title=', '_BLANK'); 584 } 585 } 586 };
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.