In The Shadow Of The Cypress
- Country: Iran
- Language: No Dialogue
- Duration: 20 minutes
- Production Year: 2023 (Not a Premiere)
A captain grappling with PTSD, lives a challenging life with his daughter, and striving to be a supportive and caring father. One day, an unexpected event occurs—an unforeseen challenge or a hidden blessing—that could alter their lives in surprising ways.
Shirin Sohani was born in 1986, and holds an M.A. in Animation Directing from Tehran University of Art. She began her professional career in 2012 as a concept artist, background artist, scriptwriter, and production manager. Her graduation animated film won national & international awards. Hossein Molayemi was born in 1982, and earned an M.A. in Animation Directing from Tehran University of Art. He is a director, animator and university lecturer. His 1st film, Run Rostam Run has been selected in Annecy, Warsaw and several other Oscar qualifying film festivals and won national & international 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
In The Shadow Of The Cypress
- Country: Iran
- Language: No Dialogue
- Duration: 20 minutes
- Production Year: 2023 (Not a Premiere)
A captain grappling with PTSD, lives a challenging life with his daughter, and striving to be a supportive and caring father. One day, an unexpected event occurs—an unforeseen challenge or a hidden blessing—that could alter their lives in surprising ways.
Shirin Sohani was born in 1986, and holds an M.A. in Animation Directing from Tehran University of Art. She began her professional career in 2012 as a concept artist, background artist, scriptwriter, and production manager. Her graduation animated film won national & international awards. Hossein Molayemi was born in 1982, and earned an M.A. in Animation Directing from Tehran University of Art. He is a director, animator and university lecturer. His 1st film, Run Rostam Run has been selected in Annecy, Warsaw and several other Oscar qualifying film festivals and won national & international 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
