Out There
- Country: Russia
- Language: Russian dialogue, with Arabic & English subtitle
- Duration: 14 minutes
- Production Year: 2024 (Middle East Premiere)
Pete faces the blinding light beyond an invisible glass barrier, finding each step toward it difficult and disorienting. Despite the fear and confusion, he is driven by hope, believing that beyond the light lies a path to connection. Determined, he advances stair by stair, page by page, towards a brighter future.
Alexander Afonasyev was born in 1989, and he holds a Master’s degree in Graphic Design from Ural State University of Architecture and Art. He began his career in Yekaterinburg and joined Parovoz in 2014. As a lead modeler and production supervisor, he has worked on series like Paper Tales, Leo and Tig, and Fantasy Patrol. Evgeniy Golovin was born in 1973, and he is a Russian director and producer. He studied under Alexander Tatarsky and founded Parovoz studio in 2014. In 2017, he won the Icarus Award for Producer of the Year, and Parovoz’s animations are broadcast worldwide and have received numerous awards.
if ( window.Fancybox ){
var gvFancyboxSettings = {"animationEffect":"fade","toolbar":true,"closeExisting":true,"arrows":true,"mainClass":"gv-lightbox","buttons":["thumbs","close"],"l10n":{"CLOSE":"Close","NEXT":"Next","PREV":"Previous","MODAL":"Lightbox","ERROR":"The requested content cannot be loaded. Please try again later.","IMAGE_ERROR":"The requested content cannot be loaded. Please try again later.","ELEMENT_NOT_FOUND":"The requested content cannot be loaded. Please try again later.","AJAX_NOT_FOUND":"The requested content cannot be loaded. Please try again later.","AJAX_FORBIDDEN":"The requested content cannot be loaded. Please try again later.","IFRAME_ERROR":"The requested content cannot be loaded. Please try again later.","TOGGLE_ZOOM":"Zoom","TOGGLE_THUMBS":"Thumbnails","TOGGLE_SLIDESHOW":"Slideshow","TOGGLE_FULLSCREEN":"Full screen","DOWNLOAD":"Download"}};
// The dialog takes the current frame's name, or the generic lightbox name.
const gvNameFancyboxDialog = function ( fancybox ) {
const slide = fancybox.getSlide();
const name = slide && slide.$iframe ? slide.$iframe.getAttribute( 'title' ) : '';
if ( fancybox.$container ) {
fancybox.$container.setAttribute( 'aria-label', name || fancybox.localize( '{{MODAL}}' ) );
}
};
// A frame from another origin cannot be read, so it gets null.
const gvFrameDocument = function ( frame ) {
try {
return frame.contentDocument;
} catch ( e ) {
return null;
}
};
// Names a frame after the title GravityView gave the entry, then the link that opened it, then the frame's own title.
const gvNameFancyboxFrame = function ( fancybox, slide ) {
const frameDocument = gvFrameDocument( slide.$iframe );
const trigger = slide.$trigger && slide.$trigger.getAttribute ? slide.$trigger : null;
const image = trigger ? trigger.querySelector( 'img[alt]' ) : null;
const names = [
frameDocument && frameDocument.documentElement ? frameDocument.documentElement.getAttribute( 'data-gv-lightbox-title' ) : '',
trigger ? trigger.getAttribute( 'aria-label' ) : '',
trigger ? trigger.textContent : '',
frameDocument ? frameDocument.title : '',
image ? image.alt : '',
];
const name = names.map( function ( text ) {
return ( text || '' ).trim();
} ).find( Boolean );
slide.$iframe.setAttribute( 'title', name || fancybox.localize( '{{MODAL}}' ) );
};
// Keys pressed inside a frame go to the frame's own document, which Fancybox does not listen to.
const gvWatchFancyboxFrameKeys = function ( frame ) {
let frameWindow = null;
try {
frameWindow = frame.contentWindow;
if ( ! frameWindow || frameWindow.gvLightboxKeys ) {
return;
}
frameWindow.gvLightboxKeys = true;
} catch ( e ) {
return;
}
// A lightbox opened inside the frame takes Escape first, including while it is still closing.
let innerLightboxOpen = false;
frameWindow.addEventListener( 'keydown', function () {
innerLightboxOpen = !! frameWindow.document.querySelector( '.fancybox__container' );
}, true );
frameWindow.addEventListener( 'keydown', function ( event ) {
if ( 'Escape' !== event.key || event.defaultPrevented || innerLightboxOpen ) {
return;
}
if ( event.ctrlKey || event.altKey || event.shiftKey || event.metaKey ) {
return;
}
const fancybox = Fancybox.getInstance();
if ( ! fancybox || ! fancybox.$container || ! fancybox.$container.contains( frame ) ) {
return;
}
const keyboard = fancybox.option( 'keyboard' );
const action = keyboard ? keyboard.Escape : '';
// Same steps as Fancybox's own key handler, so its keydown event can still cancel the close.
if ( ! action || false === fancybox.trigger( 'keydown', 'Escape', event ) ) {
return;
}
if ( 'function' === typeof fancybox[ action ] ) {
fancybox[ action ]();
}
} );
};
// A frame can load a new document, such as after an Edit Entry save, so it is set up again on every load.
const gvSetUpFancyboxFrame = function ( fancybox, slide ) {
if ( ! slide || ! slide.$iframe ) {
return;
}
const frame = slide.$iframe;
const update = function () {
// Closing the lightbox empties its slides, and the frame can still fire load on the way out.
if ( slide.$iframe !== frame || ! frame.isConnected ) {
return;
}
gvNameFancyboxFrame( fancybox, slide );
gvWatchFancyboxFrameKeys( frame );
gvNameFancyboxDialog( fancybox );
};
if ( 'yes' !== frame.dataset.gvLightbox ) {
frame.dataset.gvLightbox = 'yes';
frame.addEventListener( 'load', update );
}
update();
};
// Stamp the per-View theme marker onto the body-mounted
// Fancybox container. The `gv-lightbox` hook is applied
// unconditionally via the `mainClass` setting; the theme
// classes are copied per-instance from the triggering element
// so only lightboxes opened from a themed View inherit the
// theme token scope.
gvFancyboxSettings.on = Object.assign( {}, gvFancyboxSettings.on, {
ready: function ( fancybox ) {
var trigger = fancybox.options && fancybox.options.$trigger;
var themed = trigger && trigger.closest ? trigger.closest( '.gv-themed' ) : null;
if ( themed && fancybox.$container ) {
fancybox.$container.classList.add( 'gv-themed' );
themed.classList.forEach( function ( cls ) {
if ( 0 === cls.indexOf( 'gv-theme-' ) ) {
fancybox.$container.classList.add( cls );
}
} );
}
},
// Reveal comes as soon as a frame has loaded, before the opening animation that done waits for.
reveal: gvSetUpFancyboxFrame,
'Carousel.change': function ( fancybox ) {
gvNameFancyboxDialog( fancybox );
},
// A frame can ask to stay open, such as an Edit Entry form with unsaved changes.
shouldClose: function ( fancybox ) {
const slide = fancybox.getSlide();
const frame = slide && slide.$iframe ? slide.$iframe : null;
if ( ! frame ) {
return true;
}
try {
const frameWindow = frame.contentWindow;
if ( frameWindow && 'function' === typeof frameWindow.gvLightboxConfirmClose ) {
return frameWindow.gvLightboxConfirmClose();
}
} catch ( e ) {
// A frame from another origin cannot be read; let it close.
}
return true;
}
} );
Fancybox.bind(".gravityview-fancybox", gvFancyboxSettings);
}
//# sourceURL=gravityview-fancybox-init-js-after
Out There
- Country: Russia
- Language: Russian dialogue, with Arabic & English subtitle
- Duration: 14 minutes
- Production Year: 2024 (Middle East Premiere)
Pete faces the blinding light beyond an invisible glass barrier, finding each step toward it difficult and disorienting. Despite the fear and confusion, he is driven by hope, believing that beyond the light lies a path to connection. Determined, he advances stair by stair, page by page, towards a brighter future.
Alexander Afonasyev was born in 1989, and he holds a Master’s degree in Graphic Design from Ural State University of Architecture and Art. He began his career in Yekaterinburg and joined Parovoz in 2014. As a lead modeler and production supervisor, he has worked on series like Paper Tales, Leo and Tig, and Fantasy Patrol. Evgeniy Golovin was born in 1973, and he is a Russian director and producer. He studied under Alexander Tatarsky and founded Parovoz studio in 2014. In 2017, he won the Icarus Award for Producer of the Year, and Parovoz’s animations are broadcast worldwide and have received numerous awards.
if ( window.Fancybox ){
var gvFancyboxSettings = {"animationEffect":"fade","toolbar":true,"closeExisting":true,"arrows":true,"mainClass":"gv-lightbox","buttons":["thumbs","close"],"l10n":{"CLOSE":"Close","NEXT":"Next","PREV":"Previous","MODAL":"Lightbox","ERROR":"The requested content cannot be loaded. Please try again later.","IMAGE_ERROR":"The requested content cannot be loaded. Please try again later.","ELEMENT_NOT_FOUND":"The requested content cannot be loaded. Please try again later.","AJAX_NOT_FOUND":"The requested content cannot be loaded. Please try again later.","AJAX_FORBIDDEN":"The requested content cannot be loaded. Please try again later.","IFRAME_ERROR":"The requested content cannot be loaded. Please try again later.","TOGGLE_ZOOM":"Zoom","TOGGLE_THUMBS":"Thumbnails","TOGGLE_SLIDESHOW":"Slideshow","TOGGLE_FULLSCREEN":"Full screen","DOWNLOAD":"Download"}};
// The dialog takes the current frame's name, or the generic lightbox name.
const gvNameFancyboxDialog = function ( fancybox ) {
const slide = fancybox.getSlide();
const name = slide && slide.$iframe ? slide.$iframe.getAttribute( 'title' ) : '';
if ( fancybox.$container ) {
fancybox.$container.setAttribute( 'aria-label', name || fancybox.localize( '{{MODAL}}' ) );
}
};
// A frame from another origin cannot be read, so it gets null.
const gvFrameDocument = function ( frame ) {
try {
return frame.contentDocument;
} catch ( e ) {
return null;
}
};
// Names a frame after the title GravityView gave the entry, then the link that opened it, then the frame's own title.
const gvNameFancyboxFrame = function ( fancybox, slide ) {
const frameDocument = gvFrameDocument( slide.$iframe );
const trigger = slide.$trigger && slide.$trigger.getAttribute ? slide.$trigger : null;
const image = trigger ? trigger.querySelector( 'img[alt]' ) : null;
const names = [
frameDocument && frameDocument.documentElement ? frameDocument.documentElement.getAttribute( 'data-gv-lightbox-title' ) : '',
trigger ? trigger.getAttribute( 'aria-label' ) : '',
trigger ? trigger.textContent : '',
frameDocument ? frameDocument.title : '',
image ? image.alt : '',
];
const name = names.map( function ( text ) {
return ( text || '' ).trim();
} ).find( Boolean );
slide.$iframe.setAttribute( 'title', name || fancybox.localize( '{{MODAL}}' ) );
};
// Keys pressed inside a frame go to the frame's own document, which Fancybox does not listen to.
const gvWatchFancyboxFrameKeys = function ( frame ) {
let frameWindow = null;
try {
frameWindow = frame.contentWindow;
if ( ! frameWindow || frameWindow.gvLightboxKeys ) {
return;
}
frameWindow.gvLightboxKeys = true;
} catch ( e ) {
return;
}
// A lightbox opened inside the frame takes Escape first, including while it is still closing.
let innerLightboxOpen = false;
frameWindow.addEventListener( 'keydown', function () {
innerLightboxOpen = !! frameWindow.document.querySelector( '.fancybox__container' );
}, true );
frameWindow.addEventListener( 'keydown', function ( event ) {
if ( 'Escape' !== event.key || event.defaultPrevented || innerLightboxOpen ) {
return;
}
if ( event.ctrlKey || event.altKey || event.shiftKey || event.metaKey ) {
return;
}
const fancybox = Fancybox.getInstance();
if ( ! fancybox || ! fancybox.$container || ! fancybox.$container.contains( frame ) ) {
return;
}
const keyboard = fancybox.option( 'keyboard' );
const action = keyboard ? keyboard.Escape : '';
// Same steps as Fancybox's own key handler, so its keydown event can still cancel the close.
if ( ! action || false === fancybox.trigger( 'keydown', 'Escape', event ) ) {
return;
}
if ( 'function' === typeof fancybox[ action ] ) {
fancybox[ action ]();
}
} );
};
// A frame can load a new document, such as after an Edit Entry save, so it is set up again on every load.
const gvSetUpFancyboxFrame = function ( fancybox, slide ) {
if ( ! slide || ! slide.$iframe ) {
return;
}
const frame = slide.$iframe;
const update = function () {
// Closing the lightbox empties its slides, and the frame can still fire load on the way out.
if ( slide.$iframe !== frame || ! frame.isConnected ) {
return;
}
gvNameFancyboxFrame( fancybox, slide );
gvWatchFancyboxFrameKeys( frame );
gvNameFancyboxDialog( fancybox );
};
if ( 'yes' !== frame.dataset.gvLightbox ) {
frame.dataset.gvLightbox = 'yes';
frame.addEventListener( 'load', update );
}
update();
};
// Stamp the per-View theme marker onto the body-mounted
// Fancybox container. The `gv-lightbox` hook is applied
// unconditionally via the `mainClass` setting; the theme
// classes are copied per-instance from the triggering element
// so only lightboxes opened from a themed View inherit the
// theme token scope.
gvFancyboxSettings.on = Object.assign( {}, gvFancyboxSettings.on, {
ready: function ( fancybox ) {
var trigger = fancybox.options && fancybox.options.$trigger;
var themed = trigger && trigger.closest ? trigger.closest( '.gv-themed' ) : null;
if ( themed && fancybox.$container ) {
fancybox.$container.classList.add( 'gv-themed' );
themed.classList.forEach( function ( cls ) {
if ( 0 === cls.indexOf( 'gv-theme-' ) ) {
fancybox.$container.classList.add( cls );
}
} );
}
},
// Reveal comes as soon as a frame has loaded, before the opening animation that done waits for.
reveal: gvSetUpFancyboxFrame,
'Carousel.change': function ( fancybox ) {
gvNameFancyboxDialog( fancybox );
},
// A frame can ask to stay open, such as an Edit Entry form with unsaved changes.
shouldClose: function ( fancybox ) {
const slide = fancybox.getSlide();
const frame = slide && slide.$iframe ? slide.$iframe : null;
if ( ! frame ) {
return true;
}
try {
const frameWindow = frame.contentWindow;
if ( frameWindow && 'function' === typeof frameWindow.gvLightboxConfirmClose ) {
return frameWindow.gvLightboxConfirmClose();
}
} catch ( e ) {
// A frame from another origin cannot be read; let it close.
}
return true;
}
} );
Fancybox.bind(".gravityview-fancybox", gvFancyboxSettings);
}
//# sourceURL=gravityview-fancybox-init-js-after
