Palestine Islands
- Country: France, Jordan
- Language: Arabic dialogue, with English subtitle
- Duration: 22 minutes
- Production Year: 2023 (UAE Premiere)
Maha, a 12-year-old girl, is part of the final generation of Palestinian refugees from the Balata Camp. After seeing her blind grandfather faint, she imagines a crazy project: To make him believe that the Wall of Separation has fallen, thereby making a return to his native land possible. With the help of her friends from the camp, the young girl plans a fun trip for him.
Nour Ben Salem is a scriptwriter and director with a master’s in cinema from the Sorbonne and training from La Fémis. She co-wrote Hard Shell, Soft Shell (2021) and episodes of Reign Supreme (Arte/Netflix). Her directorial debut is Palestine Islands. Julien Menanteau studied cinema in Montreal and at the Sorbonne. He directed the short film RIKISHI, the documentary SAMARITAN, and his first fiction feature, LADS, which received an advance on receipts from the CNC.
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
Palestine Islands
- Country: France, Jordan
- Language: Arabic dialogue, with English subtitle
- Duration: 22 minutes
- Production Year: 2023 (UAE Premiere)
Maha, a 12-year-old girl, is part of the final generation of Palestinian refugees from the Balata Camp. After seeing her blind grandfather faint, she imagines a crazy project: To make him believe that the Wall of Separation has fallen, thereby making a return to his native land possible. With the help of her friends from the camp, the young girl plans a fun trip for him.
Nour Ben Salem is a scriptwriter and director with a master’s in cinema from the Sorbonne and training from La Fémis. She co-wrote Hard Shell, Soft Shell (2021) and episodes of Reign Supreme (Arte/Netflix). Her directorial debut is Palestine Islands. Julien Menanteau studied cinema in Montreal and at the Sorbonne. He directed the short film RIKISHI, the documentary SAMARITAN, and his first fiction feature, LADS, which received an advance on receipts from the CNC.
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
